CCXT Pro
CCXT supports WebSockets (Pro part) for many exchanges.
CCXT Pro
CCXT supports WebSockets (Pro part) for many exchanges.
- User Manual
- Architecture Overview
- Prerequisites
- Streaming Specifics
- Linking
- Instantiation
- Exchange Properties
- Unified API
- Public Methods
- Market Data
watchOrderBook (symbol, limit, params)watchOrderBookForSymbols (symbols, limit, params)watchTicker (symbol, params)watchTickers (symbols, params)watchOHLCV (symbol, timeframe, since, limit, params)watchOHLCVForSymbols (symbolsAndTimeframes, since, limit, params)watchTrades (symbol, since, limit, params)watchTradesForSymbols (symbols, since, limit, params)watchBidsAsks (symbols, params)watchLiquidations (symbol, since, limit, params)watchLiquidationsForSymbols (symbols, since, limit, params)
- Market Data
- Private Methods
- Authentication
- Trading
watchBalance (params)watchOrders (symbol, since, limit, params)watchOrdersForSymbols (symbols, since, limit, params)watchPosition (symbol, since, limit, params)watchPositions (symbols, since, limit, params)watchMyTrades (symbol, since, limit, params)watchDepositsWithdrawals (code, limit, params)watchMyLiquidations (symbols, since, limit, params)watchMyLiquidationsForSymbols (symbols, since, limit, params)
- REST alternatives:
In addition to above methods, some major exchanges also support websocket methods for REST methods, like
createOrderWs(which has same signature ascreateOrder). You can find them inexchange.hasdictionary.
- Public Methods
- UnWatch (for stopping watch methods).
- Error Handling
- Troubleshooting
- How To Submit An Issue
- Usage Examples