How To
Task-focused guides for the most common workflows.
- Fetch Market Data — public prices, order books, and candles
- Listen To Streams — subscribe to market data and account event streams
- Place & Manage Orders — submit, query, cancel, and list spot orders
- Fetch Account Data — balances, positions, and trade history
- Query & Manage Earn Instruments — Simple Earn products, positions, subscribe, and redeem
- Manage Deposits & Withdrawals — deposit addresses/history and withdrawals
- Paginate Through Results — walk a time range across multiple pages
These guides use Spot (client.spot.http, client.spot.streams, client.spot.ws) as the
common case. USD-M futures (client.usdm_futures.http), COIN-M futures
(client.coinm_futures.http), and options (client.options.http) mirror client.spot.http's
market/trading/account shape on their own hosts. Portfolio margin
(client.portfolio_margin.http) only exposes account and trading — it has no market data
of its own.