Expand description
Common types used across exchanges
Structs§
- ApiError
- Common API error structure
- ApiResponse
- Common API response wrapper
- Rate
Limit Info - Rate limit information
- Symbol
- Symbol type representing a trading pair (e.g., “BTC-USDT”, “ETH-BTC”)
- WsSubscription
- WebSocket subscription request
Enums§
- Exchange
- Supported exchanges
Functions§
- exchange_
default_ ws_ port - Get default WebSocket port for exchange
- exchange_
requires_ passphrase - Check if exchange requires passphrase at compile time
- is_
alphanumeric_ ascii - Check if a character is alphanumeric (for symbol validation)
- is_
valid_ symbol_ separator - Compile-time validation and utility functions Check if a character is a valid symbol separator
- max_
api_ key_ length - Calculate maximum API key length for buffer sizing
- max_
symbol_ length - Calculate maximum symbol length for buffer sizing