2020-05-14
The following has been online in May 2020
1.Add the following 21 contract API interfaces:
Interface | Interface Name |
---|---|
/contract/v1/ifcontract/contracts | Get contract list |
/contract/v1/ifcontract/indexes | Query the index price of all contracts |
/contract/v1/ifcontract/pnls | Get ADL list |
/contract/v1/ifcontract/depth | Get contract depth |
/contract/v1/ifcontract/fundingrate | Get Funding Rate |
/contract/v1/ifcontract/indexquote | Get index price K-Line |
/contract/v1/ifcontract/quote | Get K-Line data |
/contract/v1/ifcontract/tickers | Get the latest contract prices |
/contract/v1/ifcontract/trades | Get historical contract trade records |
/contract/v1/ifcontract/accounts | Query user account information |
/contract/v1/ifcontract/batchOrders | Order in bulk |
/contract/v1/ifcontract/cancelOrders | Cancel Order |
/contract/v1/ifcontract/marginOper | Adjust margin |
/contract/v1/ifcontract/orderTrades | Order transaction records |
/contract/v1/ifcontract/positionFee | Query Position Fees |
/contract/v1/ifcontract/submitOrder | Submit Order |
/contract/v1/ifcontract/userLiqRecords | Query liquidation records |
/contract/v1/ifcontract/userOrderInfo | Check Order Details |
/contract/v1/ifcontract/userOrders | Query order records |
/contract/v1/ifcontract/userPositions | Query user positions |
/contract/v1/ifcontract/userTrades | Query trade records |
2.Add the following 15 spot API interfaces:
Interface | Interface Name |
---|---|
/spot/v1/currencies | Get a list of all cryptocurrencies on the platform |
/spot/v1/symbols | Get a list of all trading pairs on the platform |
/spot/v1/symbols/details | Get a detailed list of all trading pairs on the platform |
/spot/v1/ticker | Get ticker |
/spot/v1/steps | Get K-Line steps |
/spot/v1/symbols/kline | Get k-Line |
/spot/v1/symbols/book | Get orderbook |
/spot/v1/symbols/trades | Get trades |
/spot/v1/wallet | Get user wallet |
/spot/v1/submit_order | Place order |
/spot/v1/cancel_order | Cancel order |
/spot/v1/cancel_orders | Cancel all outstanding orders in the specified direction for the specified trading pair |
/spot/v1/order_detail | Get order details |
/spot/v1/orders | Get user recent orders |
/spot/v1/trades | Get user trade history |