Stock Market for Automated Traders
Python Shell
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bots
students
.gitignore
IRC
README.md
Schematic of Connections.png
__init__.py
account.py
botRunner.sh
bot_descriptions.py
botgenerator.py
echoclient.py
order.py
publicBot.py
randomExample.py
randomTemplate.gen
server.py
server_api.py
smartBotPseudocode.txt
stock.py
studentTemplate.gen
testBot.py
traderbot.py

README.md

StockMarket

Stock Market for Automated Traders

This project was developed in January 2014 during Hack@Brown 2014, as a simulated stock market where automated trading algorithms could be tested. We sought to develop a system where stocks could be bought and sold on the the virtual market, and prices/quantities would adjust dynamically just as they would on a real stock market. As well, we created some sample "bots" with rudimentary trading logic that would influence the market with their investment strategies. For example, some bots had "random" trading strategies where they would pick a random stock market, and sell it as soon as possible for an arbitrary price. Others had more complex strategies. We didn't get too far with developing more high-tech bots, or populating a market with large amounts of traders.

In the 24 hour duration of the hackathon, in addition to the testing bots, we created a market with virtual stocks that could be bought and sold by the bots through an API. We ran out of time to test it thoroughly, if memory serves (this README is being written 1.5 years later), but all the basics worked.