API Public Parameters
side(order direction)
| Field | Description | 
|---|---|
sell | Sell order | 
buy | Buy order | 
orderType (Order Type)
| Field | Description | 
|---|---|
limit | Limit order | 
market | Market order | 
force (Order Type)
| Field | Description | 
|---|---|
normal | Default order, no special controls needed | 
postOnly | Post-only order | 
fok | Fill-Or-Kill order | 
ioc | Immediate-Or-Cancel order | 
status (Order Status)
| Field | Description | 
|---|---|
new | Unfilled | 
partial_fill | Partially filled | 
full_fill | All Filled | 
cancelled | Canceled | 
groupType (Major transaction types)
| Field | Description | 
|---|---|
deposit | Deposit | 
withdraw | Withdraw | 
transaction | Trade | 
transfer | Transfer | 
other | Others | 
bizType (Account capital flow operation type)
| Field | Description | 
|---|---|
deposit | Deposit | 
withdraw | Withdraw | 
buy | Buy | 
sell | Sell | 
transfer-in | Inbound transfer | 
transfer-out | Outbound transfer | 
status (Order status)
| Field | Description | 
|---|---|
cancel | Canceled | 
reject | Rejected | 
success | Success | 
wallet-fail | Wallet failed | 
wallet-processing | Wallet is processing | 
first-audit | First review | 
recheck | Second review | 
first-reject | First review rejected | 
recheck-reject | Second review rejected | 
type (Withdrawal address query)
| Field | Description | 
|---|---|
chain-on | On-chain | 
inner-transfer | Internal address | 
accountType (Account type)
Not case-sensitive
| Field | Description | 
|---|---|
EXCHANGE | Spot account | 
OTC_SGD | OTC account | 
CONTRACT | Futures account | 
USD_MIX | Quanto swap account | 
USDT_MIX | USDT-M perpetual futures account | 
Candlestick intervals (granularity)
- 1min (1 minute)
 - 5min (5 minutes)
 - 15min (15 minutes)
 - 30min (30 minutes)
 - 1h (1 hour)
 - 4h (4 hours)
 - 12h (12 hours)
 - 1day (1 day)
 - 1week (1 week)