Transport Tycoon Forums
https://www.tt-forums.net/

"Railroad Tycoon"-style stock market and shares
https://www.tt-forums.net/viewtopic.php?f=33&t=83793
Page 1 of 1

Author:  tristeng [ Mon Sep 10, 2018 6:01 am ]
Post subject:  "Railroad Tycoon"-style stock market and shares

Been playing this game since 1996 (in its non-open original form) and come back to it now and again in its OpenTTD form. One thing I always thought was missing was a stock market simulator similar to Railroad Tycoon, so I've started working on one, if anyone is interested:
https://github.com/tristeng/OpenTTD/tree/stock-exchange

So far, you start with 50K loan and 50K of investor money (5000 shares at 10 per share) and you can issue or buy back shares. If the shares go over 100 per share, they will split and if they go under 2, they will merge. This event can get triggered every quarter, depending on if the price goes above/below those values.

The share price calculation takes into consideration the company value (less cash) and the earnings from the last 4 quarters, but this is still a work in progress.

Things I intend to work on and would love to see:
  • player owned shares - instead of the player and company being one entity, the player could be separate and manage their own shares (to raise net worth as a goal), and same for the company
  • player starts out with 20% stake in their company (1000 shares)
  • instead of buying a company 25% at a time, you would need to purchase the shares, 1000 at a time and get a 51% stake to take over - you would need to do this to keep controlling interest in your own company as well
  • player would get paid a salary from the company - better earnings means bonuses to the player, which would allow the player to invest more money in the stock market, poor earnings means no bonus, less salary and maybe termination
  • dividends
  • perhaps you could change companies and preside over one of the AI companies, if a position was open
  • buying industries and industry profits - industry would be more valuable the more you ship to/from it
  • and more...

I've attached some screenshots of the work so far:
Attachment:
File comment: stock splits 2 for 1
stock-split.png
stock-split.png [ 32.19 KiB | Viewed 461 times ]


Attachment:
File comment: stock information on the company window
company.png
company.png [ 41.81 KiB | Viewed 461 times ]


Attachment:
File comment: issue and buyback shares - see bottom of the window
finances.png
finances.png [ 28 KiB | Viewed 461 times ]

Author:  openbu.org [ Wed Sep 12, 2018 1:25 pm ]
Post subject:  Re: "Railroad Tycoon"-style stock market and shares

I like "Capitalism 2" -Style stock market and shares,"Capitalism Lab" -style stock market and shares.

Author:  openbu.org [ Wed Sep 12, 2018 1:37 pm ]
Post subject:  Re: "Railroad Tycoon"-style stock market and shares

Candlestick chart

Attachments:
Screenshots-1.jpg [1.08 MiB]
Not downloaded yet

Page 1 of 1 All times are UTC
Powered by phpBB © 2000-2018 phpBB Limited

Copyright © Owen Rudge/The Transport Tycoon Forums 2001-2018.