-
Notifications
You must be signed in to change notification settings - Fork 44
SDK interfaces
A list of recent public trades
[
{
"id": 28457,
"price": "4.00000100",
"qty": "12.00000000",
"quoteQty": "48.000012",
"time": 1499865549590,
"isBuyerMaker": true,
"isBestMatch": true
}
]
[{
"time": "2014-11-07T22:19:28.578544Z",
"trade_id": 74,
"price": "10.00000000",
"size": "0.01000000",
"side": "buy"
}, {
"time": "2014-11-07T01:08:43.642366Z",
"trade_id": 73,
"price": "100.00000000",
"size": "0.01000000",
"side": "sell"
}]
parameters
Name | Type | Mandatory | Description |
---|---|---|---|
symbol | STRING | YES | ex: BTCUUSDT |
Returned Type:
[
{
"id": Int,
"time": Datetime,
"price": Decimal,
"qty": Decimal,
}
]
a list of trading pairs and their statuses + market structure
a list of tokens or assets and their statuses + currency structure
min/max order volume, price, cost, precision, etc...
trading fees, either public or personal
a list of withdrawal limits
24h volumes and stats + ticker structure
L2/L3 + orderbook structure
the personal history of filled trades for the account
a list of candles or kline data for traded volumes in different timeframes 1m, 15m, 1h, 1d, ... + OHLCV structure
Private API Trading
for all types of accounts + balance structure
required if the exchange has multiple accounts or sub-accounts
limit/market orders + order structure
change the price and/or amount of an open order
one order by order id + order structure
a list of all open orders
a list of all orders
the personal history of filled trades for the account + trade structure
transactions, transfers, referrals, cashbacks + ledger entry structure
required if exchange has multiple accounts or sub-accounts