Enumeration
category
SPOT SpotMARGIN Spot MarginUSDT-FUTURES USDT FuturesCOIN-FUTURES Coin-M FuturesUSDC-FUTURES USDC Futures
side
orderType
posSide
timeInForce
gtc Good 'til canceled. It remains active until it is either filled or manually canceled.post_only Post only. It will only be added to the order book as a maker.fok Fill or Kill. It must be fully executed immediately, or it is canceled entirely.ioc Immediate or cancel. It must be executed immediately, with any unfilled portion canceled
holdMode
one_way_mode Oneway mode. _Only single direction supported.hedge_mode Hedge mode. Both directions supported.
marginMode
crossed Crossed margin modeisolated Isolated margin mode
reduceOnly
yes Only position reduction supported.no Both reduction and increase are supported.
execType
normal Normaloffset Offsetreduce Forced reductionliquidation Liquidationdelivery Delivery
orderStatus
live Livepartially_filled Partially filledfilled Fully filledcancelled Cancelled
tradeScope
taker Taker, who executes an existing order, removing liquidity.maker Maker, who places a new order, adding liquidity.
assetMode
type (financial records)
TRANSFER_IN Fund transferTRANSFER_OUT Fund transferORDER_DEALT_FROZEN_OUT Order dealt fund outORDER_DEALT_IN Order dealt fund inORDER_PLF_FEE_OUT handling fee deductionEXCHANGE_SOURCE_TOKEN_USER_OUT RedeemEXCHANGE_TARGET_TOKEN_USER_IN RedeemOPEN_LONG Open longOPEN_SHORT Open shortBUY_DEAL BuySELL_DEAL SellCLOSE_LONG Close longCLOSE_SHORT Close shortFORCE_CLOSE_LONG Forced reduction of long positionFORCE_CLOSE_SHORT Forced reduction of short positionBURST_CLOSE_LONG Liquidate long positionBURST_CLOSE_SHORT Liquidate short positionOFFSET_REDUCE_CLOSE_LONG Offset close longOFFSET_REDUCE_CLOSE_SHORT Offset close shortFORCE_BUY_SSM Forced buyFORCE_SELL_SSM Forced sellBURST_BUY_SSM Liquidate buyBURST_SELL_SSM Liquidate sellRISK_LIQ_USER_IN User money in due to liquidation riskRISK_LIQ_USER_OUT User money out due to liquidation riskINTEREST_SETTLEMENT_OUT Interest deductionCONTRACT_MAIN_SETTLE_FEE_USER_IN Funding fee collectionCONTRACT_MAIN_SETTLE_FEE_USER_OUT Funding Fee deductionBORROW Ins Loan borrowRESERVE_TRANSFER_IN Reserve transfer inRESERVE_TRANSFER_OUTReserve transfer outREPAYMENT Ins Loan repaymentINTEREST_REPAYMENT INTEREST REPAYMENT LIQ_FUND_OUTLiquidation fund outLIQ_CONVERT_INLiquidation convert inLIQ_CONVERT_OUTLiquidation convert outLIQ_TRANSFER_INLiquidation transfer inLIQ_TRANSFER_OUTLiquidation transfer outLIQ_FUND_INLiquidation fund inLIQ_FEELiquidation feeLIQ_REPAYMENT Liquidation repayment
symbolType
perpetual Perpetual contractdelivery Delivery contract
status (instruments)
listed Listed (not yet open)online Normallimit_open Order placement restrictedoffline Delisted / Under maintenancerestrictedAPI API restricted
deliveryStatus
delivery_config_period Delivery configuration perioddelivery_normal Normal delivery perioddelivery_before Before delivery. No position opening is allowed 10 minutesdelivery_period Delivery period. Opening, closing, and canceling orders is prohibited
granularity
1m (1 minute)3m (3 minutes)5m (5 minutes)15m (15 minutes)30m (30 minutes)1H (1 hour)4H (4 hours)6H (6 hours)12H (12 hours)1D (1 day)3D (3 days)1W (1 week)1M (1 month)6Hutc (zero time zone 6-hour line)12Hutc (zero time zone 12-hour line)1Dutc (zero time zone 1-day line)3Dutc (zero time zone 3-day line)1Wutc (zero time zone 1-week line)1Mutc (zero time zone 1-month line)
kLineType
MARK mark price K lineINDEX index price K lineMARKET Market price K line
cancelReason
normal_cancel Normal cancellationtrade_too_many_times_cancel Trading user restriction, only for special userstrade_count_too_small Order cancelled due to too small tradable quantitytrade_too_many_times_cancel Your order has been matched too many times and cannot continue to be filledfok_not_full_cancel FOK order not fully filledioc_not_full_cancel IOC order not fully filledpost_only_fill_cancel Post-only order filled immediately upon placementself_trade_cancel Self-trade cancellationtrade_max_deal_size_cancel Your order has been filled too many times and cannot continue to be filledtpsl_plan_cancel Cancelled by conditional triggerback_contract_cancel Reverse position cancellationdelegated_risk_order_cancel Risk control cancellation of delegated orderstrader_order_cancel Copy trading order cancellationdelivery_order_cancel Delivery cancellationmodify_limit_order Limit order modification cancellationslippage_cancel Cancelled due to slippage ratioadl_cancel ADL cancellationpenetrate_cancel Liquidation risk controlstp_cancel Self-trade prevention cancellationcall_auction_cancel Order cancelled due to call auction failurelimit_price_exceed_cancel Order price exceeds limit rangeburst_cancel All your orders are automatically cancelled as your account enters liquidation/reduction state
tradeSide
open_long Open longclose_long Close longopen_short Open Shortclose_short Close shortreduce_close_long: Liquidate partial long positions for hedge position modereduce_close_short:Liquidate partial short positions for hedge position modeburst_close_long:Liquidate long positions for hedge position modeburst_close_short:Liquidate short positions for hedge position modeoffset_close_long:Liquidate partial long positions for netting for hedge position modeoffset_close_short:Liquidate partial short positions for netting for hedge position modedelivery_close_long:Delivery long positions for hedge position modedelivery_close_short:Delivery short positions for hedge position modedte_sys_adl_close_long:ADL close long position for hedge position modedte_sys_adl_close_short:ADL close short position for hedge position modebuy_single:Buy, one way postion modesell_single:Sell, one way postion modereduce_buy_single:Liquidate partial positions, buy, one way position modereduce_sell_single:Liquidate partial positions, sell, one way position modeburst_buy_single:Liquidate short positions, buy, one way postion modeburst_sell_single:Liquidate partial positions, sell, one way position modedelivery_sell_single:Delivery sell, one way position modedelivery_buy_single:Delivery buy, one way position modedte_sys_adl_buy_in_single_side_mode:ADL close position, buy, one way position modedte_sys_adl_sell_in_single_side_mode:ADL close position, sell, one way position mode
Tax type
TRANSFER_IN Transfer InTRANSFER_OUT Transfer OutORDER_DEALT_FROZEN_OUT Order Dealt Deduction - User OutORDER_DEALT_IN Order Dealt In - User InORDER_PLF_FEE_OUT Exchange Token Fee Deduction - User OutREPAY_SOURCE_USER_OUT Repayment Out - User OutREPAY_TARGET_USER_IN Repayment In - User InOPEN_LONG Open Long Position SuccessfullyOPEN_SHORT Open Short Position SuccessfullyBUY_DEAL Buy Executed in Single-Side ModeSELL_DEAL Sell Executed in Single-Side ModeCLOSE_LONG Close LongCLOSE_SHORT Close ShortFORCE_CLOSE_LONG Forced Reduce LongFORCE_CLOSE_SHORT Forced Reduce ShortBURST_CLOSE_LONG Liquidation Close LongBURST_CLOSE_SHORT Liquidation Close ShortOFFSET_REDUCE_CLOSE_LONG Net-Off Forced Reduce LongOFFSET_REDUCE_CLOSE_SHORT Net-Off Forced Reduce ShortFORCE_BUY_SSM Forced BuyFORCE_SELL_SSM Forced SellBURST_BUY_SSM Liquidation BuyBURST_SELL_SSM Liquidation SellRISK_LIQ_USER_IN Risk Control - Debt Liquidation User InRISK_LIQ_USER_OUT Risk Control - Debt Liquidation User OutINTEREST_SETTLEMENT_OUT Interest Deduction - User OutCONTRACT_MAIN_SETTLE_FEE_USER_IN Cross Margin Funding Fee - User InCONTRACT_MAIN_SETTLE_FEE_USER_OUT Cross Margin Funding Fee - User OutPAPTRADING_USER_IN Demo Fund In - User InPAPTRADING_USER_OUT Demo Fund Out - User OutRISK_TARGET_USER_IN Forced Liquidation In - User InRISK_SOURCE_USER_OUT Forced Liquidation Out - User OutADL_CLOSE_LONG ADL Close LongADL_CLOSE_SHORT ADL Close ShortADL_BUY_IN_SINGLE_SIDE_MODE ADL Buy (Single-Side Mode)ADL_SELL_IN_SINGLE_SIDE_MODE ADL Sell (Single-Side Mode)INS_LOAN_DISBURSE_USER_IN Institutional Loan Disbursement - User InINS_LOAN_DISBURSE_RESERVE_USER_OUT Institutional Loan Disbursement to Reserve - User OutINS_LOAN_REPAY_POOL_USER_OUT Institutional Loan Repayment to Pool - User OutINS_LOAN_REPAY_INTEREST_USER_OUT Institutional Loan Repayment to Interest - User OutINS_LOAN_REPAY_RESERVE_USER_IN Institutional Loan Repayment to Reserve - User InINS_LOAN_REPAY_FUND_USER_IN Institutional Loan Repayment to Risk Fund - User InINS_LOAN_EXCHANGE_USER_IN Institutional Loan - Forced Liquidation Swap - User InINS_LOAN_EXCHANGE_USER_OUT Institutional Loan - Forced Liquidation Swap - User OutINS_LOAN_TRANSFER_USER_IN Institutional Loan - Forced Liquidation Transfer - User InINS_LOAN_TRANSFER_USER_OUT Institutional Loan - Forced Liquidation Transfer - User OutINS_LOAN_REPAY_FEE_USER_OUT Institutional Loan Repayment - Forced Liquidation Fee - User OutINS_LOAN_REPAY_NON_MARGIN_USER_OUT Institutional Loan Repayment - Forced Liquidation Recovery - User OutDELIST_MARGIN_TOKEN_TARGET_USER_IN Margin Delisted Token Redeem In - User InDELIST_MARGIN_TOKEN_SOURCE_USER_OUT Margin Delisted Token Redeem Out - User OutSYSTEM_TRANSFER_OUT System Transfer OutSYSTEM_TRANSFER_IN System Transfer InSMALL_ASSET_SOURCE_TOKEN_USER_OUT Small Asset Conversion - Source Token Out - User OutSMALL_ASSET_TARGET_TOKEN_USER_IN Small Asset Conversion - Target Token In - User InFIXED_OPEN_LONG Isolated Margin Open Long Position SuccessfullyFIXED_OPEN_SHORT Isolated Margin Open Short Position SuccessfullyFIXED_BUY_DEAL Isolated Margin Open Buy Executed (Single-Side)FIXED_SELL_DEAL Isolated Margin Open Sell Executed (Single-Side)FIXED_BACK Isolated Margin ReturnFIXED_INCREASE_MARGIN Increase Isolated MarginFIXED_REDUCE_MARGIN Decrease Isolated MarginFIXED_SETTLE_FEE_USER_IN Isolated Margin Funding Fee - User InFIXED_SETTLE_FEE_USER_OUT Isolated Margin Funding Fee - User OutFIXED_LEVER_POS_IN Isolated Margin Leverage Adjustment - Increase MarginFIXED_REDUCE_ONLY_OFFSET_IN_SSM_LONG Isolated Margin Single-Side Mode Long Reduce OnlyFIXED_REDUCE_ONLY_OFFSET_IN_SSM_SHORT Isolated Margin Single-Side Mode Short Reduce OnlyFIXED_OFFSET_IN_SSM_LONG Isolated Margin Reduce LongFIXED_OFFSET_IN_SSM_SHORT Isolated Margin Reduce ShortFIXED_ORDER_PLACE_FROZEN Isolated Margin Order Placed FrozenFIXED_ORDER_FROZEN_RETURN Isolated Margin Unfreeze ReturnFIXED_CLOSE_LONG Isolated Margin Close LongFIXED_CLOSE_SHORT Isolated Margin Close ShortFIXED_FORCE_CLOSE_LONG Isolated Margin Forced Reduce LongFIXED_FORCE_CLOSE_SHORT Isolated Margin Forced Reduce ShortFIXED_BURST_CLOSE_LONG Isolated Margin Liquidation Close LongFIXED_BURST_CLOSE_SHORT Isolated Margin Liquidation Close ShortFIXED_ADL_CLOSE_LONG Isolated Margin ADL Close LongFIXED_ADL_CLOSE_SHORT Isolated Margin ADL Close ShortFIXED_RISK_LIQ_USER_IN Isolated Margin Risk Control - Debt Liquidation User InFIXED_RISK_LIQ_USER_OUT Isolated Margin Risk Control - Debt Liquidation User OutFIXED_FORCE_BUY_SSM Isolated Margin Forced BuyFIXED_FORCE_SELL_SSM Isolated Margin Forced SellFIXED_BURST_BUY_SSM Isolated Margin Liquidation BuyFIXED_BURST_SELL_SSM Isolated Margin Liquidation Sell
How was your Reading Experience with us?