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.
RawRequestParams
A flexible, untyped request-parameter builder for unsupported or newly introduced OKX fields.
RestRow
A broad OKX response row for low-frequency endpoints.

Enums§

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

Type Aliases§

RequestParams
Backward-compatible name for RawRequestParams.