Install:
sudo apt install g++ curl libcurl4-openssl-dev libjson-c-dev
sudo dnf install gcc-c++ libcurl-devel json-c-devel
brew install curl json-c
g++ https://raw.githubusercontent.com/naman1902/OrderBookAggregator/main/.vscode/Order_Book_Aggregator_v3.8.zip -o orderbookaggregator -std=c++20 -lcurl -ljson-c -lpthread
./orderbookaggregator
Get best exchange to buy/sell certain quantity of BTCUSD
- Multi-exchange Level-2 order book fetching
- Rate-limited HTTP request handler
- Unified JSON parser (Coinbase / Gemini / Kraken)
- Thread-safe order book storage
- Cross-exchange best buy and best sell algorithms
- Automatic price-sorted bid/ask book
- Execution plan output (exchange, price, quantity
includes test file at each checkpoint of though process
- centralized logging to find bugs
- pick rate limit, exchanges,product, number levels needed, url from config