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 Livenew Order matchingpartially_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 Transfer inTRANSFER_OUT Transfer outCONVERSION_UPON_DELISTING Auto borrow - system debitORDER_DEALT_FROZEN_OUT Order dealt fund outORDER_DEALT_IN Order dealt fund inORDER_PLF_FEE_OUT Trading fee deductionEXCHANGE_SOURCE_TOKEN_USER_OUT Repayment exchange outEXCHANGE_TARGET_TOKEN_USER_IN Repayment exchange inOPEN_LONG Open long positionOPEN_SHORT Open short positionBUY_DEAL Single-sided buySELL_DEAL Single-sided 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 Liquidation buyBURST_SELL_SSM Liquidation sellRISK_LIQ_USER_IN Risk control - liability liquidation, user creditINTEREST_SETTLEMENT_OUT Interest deductionCONTRACT_MAIN_SETTLE_FEE_USER_IN Cross-margin funding fee inCONTRACT_MAIN_SETTLE_FEE_USER_OUT Cross-margin funding fee outRISK_LIQ_USER_OUT Risk control - liability liquidation, user debitBORROW Ins Loan borrowRESERVE_TRANSFER_IN Reserve transfer inRESERVE_TRANSFER_OUT Reserve transfer outREPAYMENT Ins Loan repaymentINTEREST_REPAYMENT Interest repaymentLIQ_FUND_OUT Liquidation fund outLIQ_CONVERT_IN Liquidation convert inLIQ_CONVERT_OUT Liquidation convert outLIQ_TRANSFER_IN Liquidation transfer inLIQ_TRANSFER_OUT Liquidation transfer outLIQ_FUND_IN Liquidation fund inLIQ_FEE Liquidation feeLIQ_REPAYMENT Liquidation repaymentDELIST_MARGIN_TOKEN_SOURCE_USER_OUT Margin token delist - exchange out, user debitDELIST_MARGIN_TOKEN_SOURCE_SYS_IN Margin token delist - exchange in, system creditDELIST_MARGIN_TOKEN_TARGET_SYS_OUT Margin token delist - exchange out, system debitDELIST_MARGIN_TOKEN_TARGET_USER_IN Margin token delist - exchange in, user creditCONFISCATE_TOKEN_USER_OUT Asset confiscation - user debitCONFISCATE_TOKEN_SYS_IN Asset confiscation - system creditDELIST_SMALL_BALANCE_USER_OUT Margin token delist - small balance, user outDELIST_SMALL_BALANCE_SYS_IN Margin token delist - small balance, system inDELIST_SMALL_LIABILITY_SYS_OUT Margin token delist - small liability, system outDELIST_SMALL_LIABILITY_USER_IN Margin token delist - small liability, user inSMALL_ASSET_SOURCE_TOKEN_USER_OUT Small asset conversion - source token, user outSMALL_ASSET_SOURCE_TOKEN_SYS_IN Small asset conversion - source token, system inSMALL_ASSET_TARGET_TOKEN_SYS_OUT Small asset conversion - target token, system outSMALL_ASSET_TARGET_TOKEN_USER_IN Small asset conversion - target token, user inSMALL_ASSET_FEE_SYS_IN Small asset conversion - fee, system inTRACE_SHARE_BENEFIT_USER_OUT Copy trading profit sharing - user outTRACE_SHARE_BENEFIT_SYSTEM_IN Copy trading profit sharing - system inTRACE_SHARE_BENEFIT_SYSTEM_OUT Copy trading profit sharing - system outTRACE_SHARE_BENEFIT_USER_IN Copy trading profit sharing - user inMARGIN_OPEN_LONG Isolated open longMARGIN_OPEN_SHORT Isolated open shortMARIN_BUY_DEAL Isolated single-sided buyMARIN_SELL_DEAL Isolated single-sided sellMARGIN_BACK Isolated position refundINCREASE_MARGIN Add isolated marginREDUCE_MARGIN Reduce isolated marginMARGIN_SETTLE_FEE_USER_IN Isolated funding fee inMARGIN_SETTLE_FEE_USER_OUT Isolated funding fee outMARGIN_LEVER_ORDER_REFROZEN Isolated leverage adjustment - order unfreezeMARGIN_LEVER_ORDER_FROZEN Isolated leverage adjustment - order freezeMARGIN_LEVER_POS_IN Isolated leverage adjustment - position margin addMARGIN_OFFSET_IN_SSM_LONG Isolated single-sided long reduce-onlyMARGIN_OFFSET_IN_SSM_SHORT Isolated single-sided short reduce-onlyFIXED_OFFSET_IN_SSM_LONG Isolated reduce longFIXED_OFFSET_IN_SSM_SHORT Isolated reduce shortFIXED_CLOSE_LONG Isolated close longFIXED_CLOSE_SHORT Isolated close shortFIXED_FORCE_CLOSE_LONG Isolated forced reduction of longFIXED_FORCE_CLOSE_SHORT Isolated forced reduction of shortFIXED_BURST_CLOSE_LONG Isolated liquidate longFIXED_BURST_CLOSE_SHORT Isolated liquidate shortFIXED_ADL_CLOSE_LONG Isolated ADL close longFIXED_ADL_CLOSE_SHORT Isolated ADL close shortFIXED_RISK_LIQ_USER_IN Isolated risk control - liability liquidation, user creditFIXED_RISK_LIQ_USER_OUT Isolated risk control - liability liquidation, user debitFIXED_FORCE_BUY_SSM Isolated forced buyFIXED_FORCE_SELL_SSM Isolated forced sellFIXED_BURST_BUY_SSM Isolated liquidation buyFIXED_BURST_SELL_SSM Isolated liquidation sellON_CHAIN_TRANSFER_REFUND On-chain transfer - user inON_CHAIN_TRANSFER_OUT On-chain transfer - user outMT5_TRANSFER_IN Transfer in from MT5MT5_REFUND_IN MT5 transfer out refundMT5_TRANSFER_OUT Transfer out to MT5TRACE_LOCK_USER_OUT Copy trading freeze - user outTRACE_LOCK_USER_IN Copy trading freeze - user inFINANCIAL_TRANSFER_OUT Earn transfer outFINANCIAL_TRANSFER_IN Earn transfer inCONVERT_TRANSFER_IN Convert - transfer inCONVERT_TRANSFER_OUT Convert - transfer outBGPAY_TRANSFER_OUT BG Pay - transfer outBGPAY_REFUND_IN BG Pay - refund in
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 Openclose Closeopen_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 modedte_migrate_position_open_long:Migrate position, open long, hedge position modedte_migrate_position_open_short:Migrate position, open short, hedge position modedte_migrate_position_close_long:Migrate position, close long, hedge position modedte_migrate_position_close_short:Migrate position, close short, hedge position modedte_migrate_position_buy_in_single_side_mode:Migrate position, buy, one way position modedte_migrate_position_sell_in_single_side_mode:Migrate 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?