Enums Definitions
locale
de-DE
en-US
es-AR
es-ES
es-MX
fr-FR
kk-KZ
id-ID
uk-UA
ja-JP
ru-RU
th-TH
pt-BR
tr-TR
vi-VN
zh-TW
ar-SA
hi-IN
fil-PH
category
Normal Account
linear
USDT perpinverse
Inverse contract, including Inverse perp, Inverse futures
orderStatus
Created
order has been accepted by the system but not yet put through the matching engineNew
order has been placed successfullyRejected
PartiallyFilled
Filled
Cancelled
In derivatives, orders with this status may have an executed qtyUntriggered
Triggered
Deactivated
Active
order has been triggered and the new active order has been successfully placed. Is the final state of a successful conditional order
timeInForce
GTC
GoodTillCancelIOC
ImmediateOrCancelFOK
FillOrKill- PostOnly
execType
Trade
AdlTrade
Auto-DeleveragingFunding
Funding feeBustTrade
LiquidationBlockTrade
stopOrderType
TakeProfit
StopLoss
TrailingStop
Stop
PartialTakeProfit
PartialStopLoss
tickDirection
PlusTick
price riseZeroPlusTick
trade occurs at the same price as the previous trade, which occurred at a price higher than that for the trade preceding itMinusTick
price dropZeroMinusTick
trade occurs at the same price as the previous trade, which occurred at a price lower than that for the trade preceding it
interval
1
3
5
15
30
60
120
240
360
720
minuteD
dayW
weekM
month
positionIdx
0
one-way mode position1
Buy side of hedge-mode position2
Sell side of hedge-mode position
positionStatus
Normal
Liq
in the liquidation progressAdl
in the auto-deleverage progress
rejectReason
EC_NoError
EC_Others
EC_UnknownMessageType
EC_MissingClOrdID
EC_MissingOrigClOrdID
EC_ClOrdIDOrigClOrdIDAreTheSame
EC_DuplicatedClOrdID
EC_OrigClOrdIDDoesNotExist
EC_TooLateToCancel
EC_UnknownOrderType
EC_UnknownSide
EC_UnknownTimeInForce
EC_WronglyRouted
EC_MarketOrderPriceIsNotZero
EC_LimitOrderInvalidPrice
EC_NoEnoughQtyToFill
EC_NoImmediateQtyToFill
EC_PerCancelRequest
EC_MarketOrderCannotBePostOnly
EC_PostOnlyWillTakeLiquidity
EC_CancelReplaceOrder
EC_InvalidSymbolStatus
accountType
CONTRACT
Derivatives AccountSPOT
Spot AccountFUND
Funding AccountCOPYTRADING
Copy trade Account
transferStatus
SUCCESS
PENDING
FAILED
depositStatus
0
unknown1
toBeConfirmed2
processing3
success4
deposit failed
withdrawStatus
Pending Review
Pending Transfer
Rejected
Transferred successfully
Cancelled
Fail
triggerBy
LastPrice
IndexPrice
MarkPrice
cancelType
CancelByUser
CancelByReduceOnly
CancelByPrepareLiq
CancelAllBeforeLiq
Cancelled due to liquidationCancelByPrepareAdl
CancelAllBeforeAdl
Cancelled due to ADLCancelByAdmin
CancelByTpSlTsClear
CancelByPzSideCh
CancelBySmp
period
- BTC:
7
,14
,21
,30
,60
,90
,180
,270
days - ETH:
7
,14
,21
,30
,60
,90
,180
,270
days - SOL:
7
,14
,21
,30
,60
,90
days
contractType
InversePerpetual
LinearPerpetual
status
PreLaunch
Trading
Settling
Closed
type
TRANSFER_IN
TRANSFER_OUT
TRADE
SETTLEMENT
DELIVERY
LIQUIDATION
BONUS
FEE_REFUND
INTEREST
CURRENCY_BUY
CURRENCY_SELL
unifiedMarginStatus
1
Regular account
ltStatus
1
LT can be purchased and redeemed2
LT can be purchased, but not redeemed3
LT can be redeemed, but not purchased4
LT cannot be purchased nor redeemed5
Adjusting position
symbol
USDT Perpetual:
BTCUSDT
ETHUSDT
Inverse Perpetual:
BTCUSD
ETHUSD
vipLevel
- No VIP
- PRO-1
- PRO-2
- PRO-3
- VIP-1
- VIP-2
- VIP-3
- MM-1
- MM-2
- MM-3
adlRankIndicator
0
default value of empty position1
2
3
4
5