Enums Definitions
locale
de-DEen-USes-ARes-ESes-MXfr-FRkk-KZid-IDuk-UAja-JPru-RUth-THpt-BRtr-TRvi-VNzh-TWar-SAhi-INfil-PH
category
Normal Account
linearUSDT perpinverseInverse contract, including Inverse perp, Inverse futures
orderStatus
Createdorder has been accepted by the system but not yet put through the matching engineNeworder has been placed successfullyRejectedPartiallyFilledFilledCancelledIn derivatives, orders with this status may have an executed qtyUntriggeredTriggeredDeactivatedActiveorder has been triggered and the new active order has been successfully placed. Is the final state of a successful conditional order
timeInForce
GTCGoodTillCancelIOCImmediateOrCancelFOKFillOrKill- PostOnly
execType
TradeAdlTradeAuto-DeleveragingFundingFunding feeBustTradeLiquidationBlockTrade
stopOrderType
TakeProfitStopLossTrailingStopStopPartialTakeProfitPartialStopLoss
tickDirection
PlusTickprice riseZeroPlusTicktrade occurs at the same price as the previous trade, which occurred at a price higher than that for the trade preceding itMinusTickprice dropZeroMinusTicktrade occurs at the same price as the previous trade, which occurred at a price lower than that for the trade preceding it
interval
135153060120240360720minuteDdayWweekMmonth
positionIdx
0one-way mode position1Buy side of hedge-mode position2Sell side of hedge-mode position
positionStatus
NormalLiqin the liquidation progressAdlin the auto-deleverage progress
rejectReason
EC_NoErrorEC_OthersEC_UnknownMessageTypeEC_MissingClOrdIDEC_MissingOrigClOrdIDEC_ClOrdIDOrigClOrdIDAreTheSameEC_DuplicatedClOrdIDEC_OrigClOrdIDDoesNotExistEC_TooLateToCancelEC_UnknownOrderTypeEC_UnknownSideEC_UnknownTimeInForceEC_WronglyRoutedEC_MarketOrderPriceIsNotZeroEC_LimitOrderInvalidPriceEC_NoEnoughQtyToFillEC_NoImmediateQtyToFillEC_PerCancelRequestEC_MarketOrderCannotBePostOnlyEC_PostOnlyWillTakeLiquidityEC_CancelReplaceOrderEC_InvalidSymbolStatus
accountType
CONTRACTDerivatives AccountSPOTSpot AccountFUNDFunding AccountCOPYTRADINGCopy trade AccountUNIFIEDTrading account
transferStatus
SUCCESSPENDINGFAILED
depositStatus
0unknown1toBeConfirmed2processing3success4deposit failed
withdrawStatus
Pending ReviewPending TransferRejectedTransferred successfullyCancelledFail
triggerBy
LastPriceIndexPriceMarkPrice
cancelType
CancelByUserCancelByReduceOnlyCancelByPrepareLiqCancelAllBeforeLiqCancelled due to liquidationCancelByPrepareAdlCancelAllBeforeAdlCancelled due to ADLCancelByAdminCancelByTpSlTsClearCancelByPzSideChCancelBySmp
period
- BTC:
7,14,21,30,60,90,180,270days - ETH:
7,14,21,30,60,90,180,270days - SOL:
7,14,21,30,60,90days
contractType
InversePerpetualLinearPerpetual
status
PreLaunchTradingSettlingClosed
type
TRANSFER_INTRANSFER_OUTTRADESETTLEMENTDELIVERYLIQUIDATIONBONUSFEE_REFUNDINTERESTCURRENCY_BUYCURRENCY_SELL
unifiedMarginStatus
1Regular account
ltStatus
1LT can be purchased and redeemed2LT can be purchased, but not redeemed3LT can be redeemed, but not purchased4LT cannot be purchased nor redeemed5Adjusting position
symbol
USDT Perpetual:
BTCUSDTETHUSDT
Inverse Perpetual:
BTCUSDETHUSD
vipLevel
- No VIP
- PRO-1
- PRO-2
- PRO-3
- VIP-1
- VIP-2
- VIP-3
- MM-1
- MM-2
- MM-3
adlRankIndicator
0default value of empty position12345
bizType
SPOTDERIVATIVES
msg
API limit updated successfullyAPI limit updated successfullyRequested limit exceeds maximum allowed per userRequested limit exceeds maximum allowed per userNo permission to operate these UIDsNo permission to operate these UIDsAPI cap configuration not foundAPI cap configuration not foundAPI cap configuration not found for bizTypeAPI cap configuration not found for bizTypeRequested limit would exceed institutional quotaRequested limit would exceed institutional quota