Quantitative Trading Bootcamp teaches the fundamentals of quantitative trading: markets, order books, auctions, risk and sizing, adverse selection, arbitrage, and how quant trading firms make money. Our philosophy is that the best way to learn to trade is by trading. This repository contains the exchange we use to run a simulated economy and allow students to make and trade on markets.
Read python-client/README.md.
- Rust >= 1.8 for backend
- node 20 and pnpm for frontend
- uv for python client
- protobuf-compiler for schema updates
- Place a .env file in backend/ and populate it. See backend/example.env for which keys are needed.
- Install
sqlx-cliif you haven't already:cargo install sqlx-cli - Run
cd backend && sqlx db create && sqlx migrate run
- Place a .env file in frontend/ and populate it. See frontend/example.env for which keys are needed.
- From the root directory, run
pnpm i
- Place a .env file in python-client/ and populate it with the values copied to clipboard on the accounts page.
- Run
cd python-client && uv sync
- Run
cd backend && cargo runto start the backend - Run
pnpm devfrom the root directory to start the frontend - Run
cd python-client && uv run min_max_bot.pyto run the example bot