{"id":16842662,"url":"https://github.com/rofl0r/financial-time-machine","last_synced_at":"2025-03-18T05:42:15.251Z","repository":{"id":23491449,"uuid":"26856718","full_name":"rofl0r/financial-time-machine","owner":"rofl0r","description":"revival of an amiga classic.","archived":false,"fork":false,"pushed_at":"2014-11-19T13:41:43.000Z","size":436,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-24T12:25:53.945Z","etag":null,"topics":["amiga","economics","game","original","simulator"],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rofl0r.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-11-19T10:41:28.000Z","updated_at":"2017-12-27T02:40:24.000Z","dependencies_parsed_at":"2022-08-22T00:31:12.548Z","dependency_job_id":null,"html_url":"https://github.com/rofl0r/financial-time-machine","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rofl0r%2Ffinancial-time-machine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rofl0r%2Ffinancial-time-machine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rofl0r%2Ffinancial-time-machine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rofl0r%2Ffinancial-time-machine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rofl0r","download_url":"https://codeload.github.com/rofl0r/financial-time-machine/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244166638,"owners_count":20409177,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["amiga","economics","game","original","simulator"],"created_at":"2024-10-13T12:47:48.196Z","updated_at":"2025-03-18T05:42:15.228Z","avatar_url":"https://github.com/rofl0r.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"November 2014\n\nFinancial Time Machine first appeared in 1982 as \n\"The Great Wall Street Fortune Hunt\" for the Odyssey 2 Console.\nlater it reappeared as C64 version with the current title.\nThe version for the Commodore Amiga from 1985 was shipped together\nwith its C source code, although a single source file (lessee6.c)\nhas been lost.\nhttp://eab.abime.net/showthread.php?t=71641\n\nthis project here is based on that source code and tries to recreate\nthe missing functionality and use modern backend to be able to run\nthe game on recent operating systems in order to preserve it for\nthe generations to come.\n\nTo compile it, a C99 compiler, SDL library, and \"make\" utility\nis required, however lacking the latter, it should be sufficient to\njust manually compile ftm.c.\n\nOriginal README follows.\n\n\t\t\t\t\trofl0r\n\n\n\nNovember 1985\n\n    This new release of THE FINANCIAL TIME MACHINE includes a new\ncommand for those people who can't wait for history to repeat\nitself slowly.\n\nThe new command is called JUMP.\n\nThis command allows you to set the game into a mode where it\nspeeds through time.  This means that it is no longer necessary\nfor you to wait through long periods of inactivity to see how\nwell your investment strategy is doing.  In addition, for those\nintrepid enough to try, you'll find that all regular commands are\nstill active in JUMP mode!  And for the real speed addicts, if\nyou turn off the stock ticker click (by holding down the control\nkey and typing Q) things really being to fly.  To play along at\nthis speed you'll need a crystal ball and blindingly fast\nfingers.\n\nHere's how the command works. Type:\n\n    JUMP 10\n\nThis will put in JUMP mode for 10 weeks.\n\nIf you try:\n\n    JUMP *\n\nit will put you into JUMP mode for 3500 weeks, enough weeks to\nplay the entire 55 years.  Don't panic if you need to get back\nout of JUMP mode.  Just type:\n\n    JUMP 0\n\nGood Luck!\n\n\nADDITIONAL INFO \u0026 HINTS\n-----------------------\n\n    For those of you who like short cuts and hate typing you'll\nfind that FTM recognizes any distinct abbreviation for a command,\nas well as for stock names.  For example:\n\n    B  2  IBM\n\nis as good as\n\n    BU\t2  IB\n\nis as good as\n\n    BUY 2 IBM\n\nbut\n\n    B  2  I\n\n    is no good because FTM can't tell if you want to buy IBM,\nIMF, or ITT.  In addition you can always check a command by\nhitting the ESCAPE key.  This will NEVER execute the command but\nit will expand commands into a more readable form.  For example:\n\n    B  2  R\n\nwould expand to\n\n    BUY 2 RES AT 120\n\nwhen you hit the ESCAPE key.\n\n\nON TAXES\n--------\n\n    If you don't hold a stock at least a year then anything you\nmake is taxable as short term gains (50% tax rate).  If you DO\nhold it a year or more it's Long Term Gains (only 25% tax rate.\nFTM always sells the shares that you've held the longest first in\norder to give you the best deal.  For those interested in really\nplaying the angles on taxes this is how taxes are figured.\n\nIf both Short Term and Long Term Gains are positive or both are\nnegative then just multiply both by their respective tax rates\n(50% and 25%) to come up with your taxes due or tax credit.  If\none or the other is positive and the other is negative then\nthings are a bit more complicated.  This is what happens.  First\nyou add the two numbers together (Short Term Gains + Long Term\nGains; where one of the two is negative, a loss).   Then you pick\nwhich of the two numbers (Short or Long Term Gains) is largest,\nignoring the negative sign, and use that numbers tax rate on the\nnumber you got by adding the two together.  Essentially what is\nhappening is that you can cancel Short and Long Term gains and\nlosses against each other and the tax rate is determined by which\none of the two was largest (in an absolute sense).  Got it???  If\nnot don't worry the program takes care of all this for you.\n\n    Bond interest is always taxed at 50% and is considered Other\nEarnings, as are earnings from options.  If a stock splits and\nyou can't hold the extra shares  (the limit is 9999) then you get\ncash instead and that's taxed as Other Earnings as well.  If you\nown IMF when ANY stock splits you get a cash dividend as well,\nagain taxed as Other Earnings (50% rate).  If all this taxation\nis getting you down then you'll be pleased to know that FTM\nautomatically carries forward any tax losses you might have from\nyear to year.  Sorry, no refunds.\n\n\nA HINT\n------\n    In the real world it's tough to make money and so it is in\nthe world of THE FINANCIAL TIME MACHINE.  Those bar charts in the\ninstruction manual for each of stocks are the key.  They provide\na measure of how stocks generally (but only generally) react to\nvarious events.  It's worth the time to study them.  Also don't\nbe reluctant to deal in options, there is money to be made, as\nwell as lost.  In addition, if you buy on margin you effectively\ndouble your buying power and potential return (while at the same\ntime doubling you risk).  But interest accrues on you margin debt\nso beware.  And, after all is said and done, keep in mind that\nthe prime rate generally reflects the inflation rate and that in\nreal life you would be fighting against inflation as well as\ntrying to make money.  Those of you interested in seeing how you\nare doing against some benchmark can try one of two methods.\nEither set up a second dummy player that invests everything in\nbonds (this will reflect how much you could have made by just\nholding bonds; remember bonds don't incur any brokerage fees\neither), or set up a dummy player that invests everything in IMF\n(this reflects how well the market performed overall).\tTake some\nrisks and enjoy!\n\n\n\n\n\t\t\t\t\tNMc\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frofl0r%2Ffinancial-time-machine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frofl0r%2Ffinancial-time-machine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frofl0r%2Ffinancial-time-machine/lists"}