Skip to content

Naming Dictionary

Reference table of all enum values and data structures used by the crypto trading API.

side (Trade Direction)

ValueDescription
BUYBuy
SELLSell

ord_type (Order Type)

ValueDescription
LIMITLimit order
MARKETMarket order
TAKE_PROFIT_LIMITTake profit limit order
TAKE_PROFIT_MARKETTake profit market order
STOP_LOSS_LIMITStop loss limit order
STOP_LOSS_MARKETStop loss market order

time_in_force (Order Time in Force)

ValueDescription
TIF_GTCGood Till Cancel — active until manually cancelled. Applies to LIMIT, TAKE_PROFIT_LIMIT, STOP_LOSS_LIMIT
TIF_IOCImmediate Or Cancel — fill immediately, cancel any unfilled remainder. Applies to MARKET, TAKE_PROFIT_MARKET, STOP_LOSS_MARKET

ord_status (Order Status)

ValueDescription
PENDING_TRIGGERPending trigger (conditional order)
PENDING_NEWPending new
NEWNew order
PARTIAL_FILLEDPartially filled
FILLEDFully filled
CANCELEDCancelled
REJECTEDRejected
CANCELLED_PARTPartially filled then cancelled
EXPIREDExpired
FAILEDOrder placement failed

OrderItem (Order Object)

The order object returned by order query endpoints.

FieldTypeDescription
order_idstringOrder ID, unchanged throughout the order lifecycle
versionuint32Order version number; required when modifying an order (must be the latest value)
symbol_pairSymbolPairTrading pair
sidesideTrade direction
order_qtystringOrder quantity
pricestringOrder price
order_amountstringOrder amount
cum_qtystringCumulative filled quantity
avg_pxstringAverage fill price
fill_amountstringTotal fill amount
ord_typeord_typeOrder type
time_in_forcetime_in_forceOrder time in force
create_timeint64Order creation time (Unix microseconds)
update_timeint64Order last update time (Unix microseconds)
ord_statusord_statusOrder status
order_show_idstringDisplay order ID for client UI
is_closeboolWhether the order has reached a terminal state
trigger_pricestringTrigger price for conditional orders; empty string for non-conditional orders
trigger_timeint64Trigger time for conditional orders (Unix microseconds); 0 if not yet triggered
cash_order_qtystringAmount for amount-based orders; empty string for quantity-based orders

FillItem (Fill Object)

The fill object returned by fill query endpoints.

FieldTypeDescription
order_idstringAssociated order ID
fill_idstringFill ID
symbol_pairSymbolPairTrading pair
sidesideTrade direction
quantitystringFill quantity
pricestringFill price
amountstringFill amount
fill_timeint64Fill time (Unix microseconds)

SymbolPair (Trading Pair Object)

FieldTypeDescription
symbolstringTrading pair, e.g. BTCUSD
basestringBase asset, e.g. BTC
quotestringQuote asset, e.g. USD