FastboxEx

Examples

git clone https://exchange.samuel-drapeau.info/examples.git
cd examples && git pull      # later, for updates

No git? Download the zip.

ExampleWhat it showsNeeds
01_hello.pyWho you are, which server you reached, what you can tradeA login
02_market_board.pyLive board of the public marketsA login
03_order_book.pyLive 10-level book of one marketA login
05_strategies/Mean reversion and momentum: edit one functionA code from your teacher
06_class_game/play.pyYour seat in the class gameA code from your teacher
04_first_arena.pyYour own private market, against a botThe right to create arenas
07_record_and_plot.pySell on a schedule, save everything, chart itThe right to create arenas
08_portfolio.pyThe two ways to watch an accountThe right to create arenas
09_live_demo.pySix trading styles compete, for presentationsThe right to create arenas

Run any of them with fastboxex run, for example fastboxex run examples/01_hello.py. Options go after the script. Ctrl-C stops every script cleanly.