Constants§
- OKX
- OKX_
HTTP_ URL - OKX_
NAUTILUS_ BROKER_ ID - See https://www.okx.com/docs-v5/en/#overview-broker-program for further details.
- OKX_
SUPPORTED_ ORDER_ TYPES - OKX supported order types.
- OKX_
SUPPORTED_ TIME_ IN_ FORCE - OKX supported order time in force for market orders.
- OKX_
WS_ BUSINESS_ URL - OKX_
WS_ DEMO_ BUSINESS_ URL - OKX_
WS_ DEMO_ PRIVATE_ URL - OKX_
WS_ DEMO_ PUBLIC_ URL - OKX_
WS_ PRIVATE_ URL - OKX_
WS_ PUBLIC_ URL
Statics§
- OKX_
RETRY_ ERROR_ CODES - OKX error codes that should trigger retries. Based on OKX API documentation: https://www.okx.com/docs-v5/en/#error-codes Only retry on temporary network/system issues.
- OKX_
VENUE
Functions§
- should_
retry_ error_ code - Determines if an OKX error code should trigger a retry.