Stock Market Simulation and Game World Computer Code... Does this already exist?

I have several questions about how to make a stock market simulation. I found a website called quantopedia that has data that includes minute by minute stock trading data. It is in a python database I believe. I would like to make a stock market simulation in which a player can go to their computer in the video game world and place trades. However, I do not know if I am allowed to do this with quantopedia’s data. I also would not mind using a pre-made solution to this. By the way the computer is a computer based in the video game, not the actual computer of the player. How would I go about doing this?

Thank you.

For starters, their Terms of Service says you can’t reproduce or distribute anything from their site without express written permission. I imagine this would be the case with just about any online source of real trading data. One of my first programming jobs back in the late 80s was writing real-time market graphing and analysis tools; they’re all pretty tight with their licensing.

If I were you I’d probably be thinking about faking the data instead.

2 Likes

If realism is a concern, another option might be to buy a whole bunch of historical data.

1 Like

Yahoo has some publicly facing API for getting delayed finance quotes, but I could not find any documentation on it.
Eg: http://finance.yahoo.com/webservice/v1/symbols/GOOG/quote?format=json

1 Like