Expand description
Exchange snapshot API handler.
POST /api/exchange/snapshot — Fetches full market snapshot (order book, ticker, recent trades) for a given venue and pair.
Structs§
- Ohlc
Request - Request body for exchange OHLC.
- Snapshot
Request - Request body for exchange snapshot.
- Trades
Request - Request body for exchange trades.
Functions§
- handle
- POST /api/exchange/snapshot — Full market snapshot.
- handle_
ohlc - POST /api/exchange/ohlc — OHLC candlestick data for a venue/pair.
- handle_
trades - POST /api/exchange/trades — Recent trades for a venue/pair.