An attempt at a Stock Exchange Simulation
make build
You will need NATS server running somewhere. Check the docker-compose for details on ports and such.
./dist/trade_exchange
./dist/trade_http_server
HTTP server runs on 8088.
- https://www.investopedia.com/articles/investing/082614/how-stock-market-works.asp
- https://www.investopedia.com/terms/c/currentprice.asp
- https://www.investopedia.com/terms/b/bid-and-ask.asp
- https://en.wikipedia.org/wiki/Order_(exchange)
https://en.wikipedia.org/wiki/List_of_electronic_trading_protocols
https://www.nyse.com/publicdocs/NYSE_Pillar_Gateway_Binary_Protocol_Specification.pdf