Expand description
Binance venue constants and API endpoints.
Structs§
- Binance
Rate Limit Quota - Describes a static rate limit quota for a product type.
Constants§
- BINANCE
- The Binance venue identifier string.
- BINANCE_
API_ KEY_ HEADER - HTTP header name for the Binance API key.
- BINANCE_
BOOK_ DEPTHS - Valid order book depth levels for Binance.
- BINANCE_
DAPI_ PATH - Binance COIN-M Futures API version path.
- BINANCE_
DAPI_ RATE_ LIMITS - COIN-M Futures REST limits (default IP weights).
- BINANCE_
EAPI_ PATH - Binance European Options API version path.
- BINANCE_
EAPI_ RATE_ LIMITS - Options REST limits (default IP weights).
- BINANCE_
FAPI_ PATH - Binance USD-M Futures API version path.
- BINANCE_
FAPI_ RATE_ LIMITS - USD-M Futures REST limits (default IP weights).
- BINANCE_
FUTURES_ COIN_ DEMO_ HTTP_ URL - Binance COIN-M Futures API base URL (demo).
- BINANCE_
FUTURES_ COIN_ DEMO_ WS_ URL - Binance COIN-M Futures WebSocket base URL (demo).
- BINANCE_
FUTURES_ COIN_ HTTP_ URL - Binance COIN-M Futures API base URL (live exchange).
- BINANCE_
FUTURES_ COIN_ TESTNET_ HTTP_ URL - Binance COIN-M Futures API base URL (testnet).
- BINANCE_
FUTURES_ COIN_ TESTNET_ WS_ URL - Binance COIN-M Futures WebSocket base URL (testnet).
- BINANCE_
FUTURES_ COIN_ WS_ URL - Binance COIN-M Futures WebSocket base URL (live exchange).
- BINANCE_
FUTURES_ DUAL_ SIDE_ SYNC_ REJECT_ CODE - Binance USD-M Futures error code for
dualSidePositionsync rejection between UM (USDM) and CM (Coin-M) accounts on Portfolio Margin. - BINANCE_
FUTURES_ USD_ DEMO_ HTTP_ URL - Binance USD-M Futures API base URL (demo).
- BINANCE_
FUTURES_ USD_ DEMO_ WS_ URL - Binance USD-M Futures WebSocket base URL (demo).
- BINANCE_
FUTURES_ USD_ HTTP_ URL - Binance USD-M Futures API base URL (live exchange).
- BINANCE_
FUTURES_ USD_ TESTNET_ HTTP_ URL - Binance USD-M Futures API base URL (testnet).
- BINANCE_
FUTURES_ USD_ TESTNET_ WS_ URL - Binance USD-M Futures WebSocket base URL (testnet).
- BINANCE_
FUTURES_ USD_ WS_ API_ TESTNET_ URL - Binance USD-M Futures WebSocket Trading API URL (testnet).
- BINANCE_
FUTURES_ USD_ WS_ API_ URL - Binance USD-M Futures WebSocket Trading API URL (live exchange).
- BINANCE_
FUTURES_ USD_ WS_ PRIVATE_ URL - Binance USD-M Futures WebSocket private stream URL (live exchange).
- BINANCE_
FUTURES_ USD_ WS_ PUBLIC_ URL - Binance USD-M Futures WebSocket public stream URL (live exchange, high-frequency book data).
- BINANCE_
FUTURES_ USD_ WS_ URL - Binance USD-M Futures WebSocket base URL (live exchange).
- BINANCE_
GTX_ ORDER_ REJECT_ CODE - Binance error code for GTX (post-only) order rejection.
- BINANCE_
NAUTILUS_ FUTURES_ BROKER_ ID - Binance Link and Trade broker ID for Futures.
- BINANCE_
NAUTILUS_ SPOT_ BROKER_ ID - Binance Link and Trade broker ID for Spot.
- BINANCE_
NEW_ ORDER_ REJECTED_ CODE - Binance error code for new order rejected.
- BINANCE_
NO_ SUCH_ ORDER_ CODE - Binance error code returned when an order is not found.
- BINANCE_
OPTIONS_ HTTP_ URL - Binance European Options API base URL (live exchange).
- BINANCE_
OPTIONS_ TESTNET_ HTTP_ URL - Binance European Options API base URL (testnet/demo).
- BINANCE_
OPTIONS_ TESTNET_ WS_ PRIVATE_ URL - Binance European Options WebSocket private stream URL (testnet/demo).
- BINANCE_
OPTIONS_ TESTNET_ WS_ PUBLIC_ URL - Binance European Options WebSocket public stream URL (testnet/demo).
- BINANCE_
OPTIONS_ TESTNET_ WS_ URL - Binance European Options WebSocket base URL (testnet/demo).
- BINANCE_
OPTIONS_ WS_ URL - Binance European Options WebSocket base URL (live exchange).
- BINANCE_
SPOT_ API_ PATH - Binance Spot API version path.
- BINANCE_
SPOT_ DEMO_ HTTP_ URL - Binance Spot API base URL (demo).
- BINANCE_
SPOT_ DEMO_ WS_ URL - Binance Spot WebSocket base URL (demo).
- BINANCE_
SPOT_ HTTP_ URL - Binance Spot API base URL (live exchange).
- BINANCE_
SPOT_ POST_ ONLY_ REJECT_ MSG - Binance Spot LIMIT_MAKER rejection message.
- BINANCE_
SPOT_ RATE_ LIMITS - Spot & margin REST limits (default IP weights).
- BINANCE_
SPOT_ SBE_ WS_ API_ DEMO_ URL - Binance Spot SBE WebSocket API URL (demo).
- BINANCE_
SPOT_ SBE_ WS_ API_ TESTNET_ URL - Binance Spot SBE WebSocket API URL (testnet).
- BINANCE_
SPOT_ SBE_ WS_ API_ URL - Binance Spot SBE WebSocket API URL (live exchange).
- BINANCE_
SPOT_ SBE_ WS_ URL - Binance Spot SBE WebSocket stream URL (live exchange).
- BINANCE_
SPOT_ TESTNET_ HTTP_ URL - Binance Spot API base URL (testnet).
- BINANCE_
SPOT_ TESTNET_ WS_ URL - Binance Spot WebSocket base URL (testnet).
- BINANCE_
SPOT_ WS_ URL - Binance Spot WebSocket base URL (live exchange).
- BINANCE_
STATUS_ UNKNOWN_ CODE - Binance error code returned when order execution status is unknown.
- BINANCE_
UNEXPECTED_ RESPONSE_ CODE - Binance error code returned when order execution status is unknown.
Statics§
- BINANCE_
CLIENT_ ID - Static client ID instance for Binance.
- BINANCE_
RATE_ LIMIT_ KEY_ SUBSCRIPTION - Pre-interned rate limit key for WebSocket subscription operations.
- BINANCE_
VENUE - Static venue instance for Binance.
- BINANCE_
WS_ CONNECTION_ QUOTA - WebSocket connection rate limit: 1 per second (conservative).
- BINANCE_
WS_ SUBSCRIPTION_ QUOTA - WebSocket subscription rate limit: 5 messages per second.