Skip to main content

Enumeration

category

  • SPOT Spot
  • MARGIN Spot Margin
  • USDT-FUTURES USDT Futures
  • COIN-FUTURES Coin-M Futures
  • USDC-FUTURES USDC Futures

side

  • buy Buy
  • sell Sell

orderType

  • limit Limit
  • market Market

posSide

  • long Long
  • short Short

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 mode
  • isolated Isolated margin mode

reduceOnly

  • yes Only position reduction supported.
  • no Both reduction and increase are supported.

execType

  • normal Normal
  • offset Offset
  • reduce Forced reduction
  • liquidation Liquidation
  • delivery Delivery

orderStatus

  • live Live
  • partially_filled Partially filled
  • filled Fully filled
  • cancelled Cancelled

tradeScope

  • taker Taker, who executes an existing order, removing liquidity.
  • maker Maker, who places a new order, adding liquidity.

assetMode

  • union union-margin mode

type (financial records)

  • TRANSFER_IN Fund transfer
  • TRANSFER_OUT Fund transfer
  • ORDER_DEALT_FROZEN_OUT Order dealt fund out
  • ORDER_DEALT_IN Order dealt fund in
  • ORDER_PLF_FEE_OUT handling fee deduction
  • EXCHANGE_SOURCE_TOKEN_USER_OUT Redeem
  • EXCHANGE_TARGET_TOKEN_USER_IN Redeem
  • OPEN_LONG Open long
  • OPEN_SHORT Open short
  • BUY_DEAL Buy
  • SELL_DEAL Sell
  • CLOSE_LONG Close long
  • CLOSE_SHORT Close short
  • FORCE_CLOSE_LONG Forced reduction of long position
  • FORCE_CLOSE_SHORT Forced reduction of short position
  • BURST_CLOSE_LONG Liquidate long position
  • BURST_CLOSE_SHORT Liquidate short position
  • OFFSET_REDUCE_CLOSE_LONG Offset close long
  • OFFSET_REDUCE_CLOSE_SHORT Offset close short
  • FORCE_BUY_SSM Forced buy
  • FORCE_SELL_SSM Forced sell
  • BURST_BUY_SSM Liquidate buy
  • BURST_SELL_SSM Liquidate sell
  • RISK_LIQ_USER_IN User money in due to liquidation risk
  • RISK_LIQ_USER_OUT User money out due to liquidation risk
  • INTEREST_SETTLEMENT_OUT Interest deduction
  • CONTRACT_MAIN_SETTLE_FEE_USER_IN Funding fee collection
  • CONTRACT_MAIN_SETTLE_FEE_USER_OUT Funding Fee deduction
  • BORROW Ins Loan borrow
  • RESERVE_TRANSFER_IN Reserve transfer in
  • RESERVE_TRANSFER_OUTReserve transfer out
  • REPAYMENT Ins Loan repayment
  • LIQ_FUND_OUTLiquidation fund out
  • LIQ_CONVERT_INLiquidation convert in
  • LIQ_CONVERT_OUTLiquidation convert out
  • LIQ_TRANSFER_INLiquidation transfer in
  • LIQ_TRANSFER_OUTLiquidation transfer out
  • LIQ_FUND_INLiquidation fund in
  • LIQ_FEELiquidation fee
  • LIQ_REPAYMENT Liquidation repayment

symbolType

  • perpetual Perpetual contract
  • delivery Delivery contract

status (instruments)

  • listed Listed (not yet open)
  • online Normal
  • limit_open Order placement restricted
  • offline Delisted / Under maintenance
  • restrictedAPI API restricted

deliveryStatus

  • delivery_config_period Delivery configuration period
  • delivery_normal Normal delivery period
  • delivery_before Before delivery. No position opening is allowed 10 minutes
  • delivery_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 line
  • INDEX index price K line
  • MARKET Market price K line

cancelReason

  • normal_cancel Normal cancellation
  • trade_too_many_times_cancel Trading user restriction, only for special users
  • trade_count_too_small Order cancelled due to too small tradable quantity
  • trade_too_many_times_cancel Your order has been matched too many times and cannot continue to be filled
  • fok_not_full_cancel FOK order not fully filled
  • ioc_not_full_cancel IOC order not fully filled
  • post_only_fill_cancel Post-only order filled immediately upon placement
  • self_trade_cancel Self-trade cancellation
  • trade_max_deal_size_cancel Your order has been filled too many times and cannot continue to be filled
  • tpsl_plan_cancel Cancelled by conditional trigger
  • back_contract_cancel Reverse position cancellation
  • delegated_risk_order_cancel Risk control cancellation of delegated orders
  • trader_order_cancel Copy trading order cancellation
  • delivery_order_cancel Delivery cancellation
  • modify_limit_order Limit order modification cancellation
  • slippage_cancel Cancelled due to slippage ratio
  • adl_cancel ADL cancellation
  • penetrate_cancel Liquidation risk control
  • stp_cancel Self-trade prevention cancellation
  • call_auction_cancel Order cancelled due to call auction failure
  • limit_price_exceed_cancel Order price exceeds limit range
  • burst_cancel All your orders are automatically cancelled as your account enters liquidation/reduction state

tradeSide

  • close: Close position
  • open: Open position
  • reduce_close_long: Liquidate partial long positions for hedge position mode
  • reduce_close_short:Liquidate partial short positions for hedge position mode
  • burst_close_long:Liquidate long positions for hedge position mode
  • burst_close_short:Liquidate short positions for hedge position mode
  • offset_close_long:Liquidate partial long positions for netting for hedge position mode
  • offset_close_short:Liquidate partial short positions for netting for hedge position mode
  • delivery_close_long:Delivery long positions for hedge position mode
  • delivery_close_short:Delivery short positions for hedge position mode
  • dte_sys_adl_close_long:ADL close long position for hedge position mode
  • dte_sys_adl_close_short:ADL close short position for hedge position mode
  • buy_single:Buy, one way postion mode
  • sell_single:Sell, one way postion mode
  • reduce_buy_single:Liquidate partial positions, buy, one way position mode
  • reduce_sell_single:Liquidate partial positions, sell, one way position mode
  • burst_buy_single:Liquidate short positions, buy, one way postion mode
  • burst_sell_single:Liquidate partial positions, sell, one way position mode
  • delivery_sell_single:Delivery sell, one way position mode
  • delivery_buy_single:Delivery buy, one way position mode
  • dte_sys_adl_buy_in_single_side_mode:ADL close position, buy, one way position mode
  • dte_sys_adl_sell_in_single_side_mode:ADL close position, sell, one way position mode

How was your Reading Experience with us?