Module enums

Module enums 

Source
Expand description

Enumerations mapping OKX concepts onto idiomatic Nautilus variants.

Structs§

OKXAccountModeIter
An iterator over the variants of OKXAccountMode
OKXAlgoOrderStatusIter
An iterator over the variants of OKXAlgoOrderStatus
OKXAlgoOrderTypeIter
An iterator over the variants of OKXAlgoOrderType
OKXBarSizeIter
An iterator over the variants of OKXBarSize
OKXBookActionIter
An iterator over the variants of OKXBookAction
OKXCandleConfirmIter
An iterator over the variants of OKXCandleConfirm
OKXContractTypeIter
An iterator over the variants of OKXContractType
OKXExecTypeIter
An iterator over the variants of OKXExecType
OKXInstrumentStatusIter
An iterator over the variants of OKXInstrumentStatus
OKXInstrumentTypeIter
An iterator over the variants of OKXInstrumentType
OKXMarginModeIter
An iterator over the variants of OKXMarginMode
OKXOptionTypeIter
An iterator over the variants of OKXOptionType
OKXOrderStatusIter
An iterator over the variants of OKXOrderStatus
OKXOrderTypeIter
An iterator over the variants of OKXOrderType
OKXPositionModeIter
An iterator over the variants of OKXPositionMode
OKXPositionSideIter
An iterator over the variants of OKXPositionSide
OKXSelfTradePreventionModeIter
An iterator over the variants of OKXSelfTradePreventionMode
OKXSideIter
An iterator over the variants of OKXSide
OKXTakeProfitKindIter
An iterator over the variants of OKXTakeProfitKind
OKXTradeModeIter
An iterator over the variants of OKXTradeMode
OKXTransactionTypeIter
An iterator over the variants of OKXTransactionType
OKXTriggerTypeIter
An iterator over the variants of OKXTriggerType
OKXVipLevelIter
An iterator over the variants of OKXVipLevel

Enums§

OKXAccountMode
Represents an OKX account mode.
OKXAlgoOrderStatus
OKXAlgoOrderType
OKXBarSize
OKXBookAction
Represents the type of book action.
OKXBookChannel
Represents an OKX order book channel.
OKXCandleConfirm
Represents the possible states of an order throughout its lifecycle.
OKXContractType
Represents an instrument contract type on OKX.
OKXExecType
Represents the type of execution that generated a trade.
OKXInstrumentStatus
Represents an instrument status on OKX.
OKXInstrumentType
Represents instrument types on OKX.
OKXMarginMode
Represents the margin mode for OKX accounts.
OKXOptionType
Represents an option type on OKX.
OKXOrderStatus
Represents the possible states of an order throughout its lifecycle.
OKXOrderType
Represents the available order types on OKX.
OKXPositionMode
Represents the position mode for OKX accounts.
OKXPositionSide
OKXSelfTradePreventionMode
OKXSide
Represents the side of an order or trade (Buy/Sell).
OKXTakeProfitKind
OKXTradeMode
Represents the trading mode for OKX orders.
OKXTransactionType
OKXTriggerType
OKXVipLevel
Represents OKX VIP level tiers for trading fee structure and API limits.

Functions§

conditional_order_to_algo_type
Converts Nautilus conditional order types to OKX algo order type.
is_conditional_order
Helper to determine if an order type requires algo order handling.