Skip to main content

Enums Definitions

accountType

  • UNIFIEDUnified account
  • CONTRACTFuture account
  • COPYTRADINGCopyTrading account

transferStatus

  • SUCCESS
  • PENDING
  • FAILED

symbol

CopyTrading supports USDT Perpetual only

  • BTCUSDT
  • ETHUSDT
  • SOLUSDT
  • ...

orderType

  • Market
  • Limit

triggerBy

  • LastPrice
  • IndexPrice
  • MarkPrice

copyTradeOrderStatus

  • UNKNOWN
  • PendingNew
  • New
  • OpenOrderPartiallyFilled
  • OpenOrderFilled
  • OpenOrderClosing
  • OpenOrderClosedFilled
  • CloseOrderPartiallyFilled
  • CloseOrderFilled
  • Cancelled
  • Untriggered
  • Triggered

timeInForce

  • GoodTillCancel
  • ImmediateOrCancel
  • FillOrKill
  • PostOnly

positionIdx

  • 0one-way mode
  • 1Buy side hedge mode
  • 2Sell side hedge mode

interval

  • 1 3 5 15 30 60 120 240 360 720minute
  • Dday
  • Wweek
  • Mmonth

tickDirection

It indicates price fluctuation relative to the last trade.

  • PlusTickprice rise
  • ZeroPlusTicktrade occurs at the same price as the previous trade, which occurred at a price higher than that for the trade preceding it
  • MinusTickprice drop
  • ZeroMinusTicktrade occurs at the same price as the previous trade, which occurred at a price lower than that for the trade preceding it

execType

lastLiquidityInd

  • AddedLiquidityadd liquidity
  • RemovedLiquiditytake liquidity
  • LiquidityIndNALiquidity not applicable