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 1807 times ]


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


Attachment:
File comment: issue and buyback shares - see bottom of the window
finances.png
finances.png [ 28 KiB | Viewed 1807 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

Author:  xmart2k [ Wed Oct 17, 2018 11:15 am ]
Post subject:  Re: "Railroad Tycoon"-style stock market and shares

I think is a great idea. Keep up the good work!

Author:  Lucardes [ Thu Nov 15, 2018 1:31 am ]
Post subject:  Re: "Railroad Tycoon"-style stock market and shares

openbu.org wrote:
Candlestick chart


Hey how did you get those cop cars and beautiful buildings? I also use 32bit/extra zoom and I would die to get those grfs you have.. die for!

If you can reference URL's or better if you can upload them somewhere for me to get them I would be in your debt.

Thank you so much man and I hope you see my msg :)

Author:  Baldy's Boss [ Tue Nov 20, 2018 7:09 pm ]
Post subject:  Re: "Railroad Tycoon"-style stock market and shares

This would be great (as would access to the company's full financial history).The stock price can be added to the available charts.
(Maybe this would be the added feature that moves the version from 1.x to 2.x?)

I regard the company manager face/name as my employee,not myself (my first TT game I had a manager named "Baldy Specs",which described him,and I have had other "Baldy" managers though am not bald myself...hence my username here).
How will you be treating that?

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

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