Skip to main content

Module model

Module model 

Source
Expand description

Shared data types: the NumberString wrapper, the response envelope, and the common string enums used across the API modules.

Structs§

NumberString
A numeric value returned by OKX as a JSON string.

Enums§

InstType
Instrument type.
OrderSide
Order side.
OrderState
Order lifecycle state.
OrderType
Order type.
PositionSide
Position side.
TradeMode
Trade (margin) mode.