Skip to main content

Enums Definitions

side

  • BUY
  • SELL

timeInForce

  • GTCGood Till Cancel
  • FOKFill or Kill
  • IOCImmediate or Cancel

symbol

  • BTCUSDT
  • ETHUSDT
  • BTCUSDC
  • ...
    You can get all symbols with the instrument endpoint.

orderType

  • MARKET
  • LIMIT
  • LIMIT_MAKER

currency/coin

  • BTC
  • ETH
  • USDT
  • ...

Cross Margin Trading Endpoints support below currency:

  • BTC
  • ETH
  • XRP
  • SOL
  • LTC
  • EOS
  • LINK
  • XLM
  • USDC
  • USDT You could find all supported coins of margin trade here.

orderStatus

  • NEWnormal order is placed
  • ORDER_NEWTP/SL order is placed
  • PARTIALLY_FILLED
  • FILLED
  • ORDER_FILLEDTP/SL order is filled
  • CANCELEDnormal order is cancelled
  • ORDER_CANCELEDTP/SL order is cancelled
  • REJECTED
  • ORDER_REJECTEDTP/SL order is cancelled
  • PARTIALLY_FILLED_CANCELED
  • ORDER_FAILEDTP/SL order is failed

interval

  • 1m1 minute
  • 3m3 minutes
  • 5m5 minutes
  • 15m15 minutes
  • 30m30 minutes
  • 1h1 hour
  • 2h2 hours
  • 4h4 hours
  • 6h6 hours
  • 12h12 hours
  • 1d1 day
  • 1w1 week
  • 1M1 month

ltStatus

  • 1ETP can be purchased and redeemed
  • 2ETP can be purchased, but not redeemed
  • 3ETP can be redeemed, but not purchased
  • 4ETP cannot be purchased nor redeemed

ltOrderStatus

  • 1Completed
  • 2In progress
  • 3Failed

ltOrderType

  • 1Purchase
  • 2Redemption

smpType

  • default: None
  • CancelMaker
  • CancelTaker
  • CancelBoth