2024-10-08
- [POST] /api/v1.1/spot/order added "stpMode" request content
PARAMETER | TYPE | Example values | DESCRIPTION |
---|---|---|---|
stpMode | ENUM | EXPIRE_TAKER | Self Trade Prevention Mode. Enum: EXPIRE_TAKER, EXPIRE_MAKER Default EXPIRE_TAKER if not specified. |
- [POST] /api/v1/futures/order added "stpMode" request content
PARAMETER | TYPE | Example values | DESCRIPTION |
---|---|---|---|
stpMode | ENUM | EXPIRE_TAKER | Self Trade Prevention Mode. Enum: EXPIRE_TAKER, EXPIRE_MAKER Default EXPIRE_TAKER if not specified. |
2024-09-26
- [GET] /api/v1/account/type added "userId" response content
PARAMETER | TYPE | Example values | DESCRIPTION |
---|---|---|---|
userId | LONG | 1655106005183319296 | UserId of the account |
2024-09-17
Introduced new endpoint to query chainType to support the use of network when making deposit or withdrawal
- [GET] /api/v1/account/chainType
PARAMETER | TYPE | Req 'd | DESCRIPTION |
---|---|---|---|
coinId | STRING | Y | The unique identifier of the cryptocurrency |
2024-09-12
Introduced new endpoint to query coin details, such as chainType, withdrawFee, min/max Deposit/Withdrawal quantity
- [GET] /api/v1/coinInfo
PARAMETER | TYPE | Req 'd | DESCRIPTION |
---|---|---|---|
coinId | STRING | Y | The unique identifier of the cryptocurrency |
2024-06-28
Withdraw now supports Exchange platform
- [POST] /api/v1/account/withdraw added "platform" request parameters
PARAMETER | TYPE | Req'd | Example values | DESCRIPTION |
---|---|---|---|---|
platform | STRING | Binance | Network name |
- [GET] /api/v1/account/withdrawOrders added "platform" response content
PARAMETER | TYPE | Example values | DESCRIPTION |
---|---|---|---|
platform | STRING | Binance | Network name |
2024-06-19
- Added Perpetual Futures Guide and FAQ
- Futures Trading endpoint is now LIVE
2024-06-03
Introduced new endpoint for Liquidation orders for Market Makers
- Get Liquidation assign status [GET] /api/v1/futures/liquidationAssignStatus to check assignment status and requirements
- New Response content Query Futures history orders [GET] /api/v1/futures/historyOrders
PARAMETER | TYPE | Example values | DESCRIPTION |
---|---|---|---|
isLiquidationOrder | BOOLEAN | true | Whether the order is a liquidation order |
liquidationType | STRING | "LIQUIDATION_MAKER_ADL", "LIQUIDATION_MAKER", "LIQUIDATION_TAKER". Available when isLiquidationOrder is true | |
indexPrice | STRING | Index price. Available when isLiquidationOrder is true |
- New Response content Get Sub Account Futures History Orders [GET] /api/v1/futures/subAccount/historyOrders
PARAMETER | TYPE | Example values | DESCRIPTION |
---|---|---|---|
isLiquidationOrder | BOOLEAN | true | Whether the order is a liquidation order |
liquidationType | STRING | "LIQUIDATION_MAKER_ADL", "LIQUIDATION_MAKER", "LIQUIDATION_TAKER". Available when isLiquidationOrder is true |
- New field contractExecutionReport websocket feed
PARAMETER | TYPE | DESCRIPTION |
---|---|---|
P | STRING | Index Price |
lo | BOOLEAN | Whether the order is a liquidation order |
lt | STRING | "LIQUIDATION_MAKER_ADL", "LIQUIDATION_MAKER", "LIQUIDATION_TAKER", |
2024-04-30
Introduced new endpoints for Futures trading for Beta testing in sandbox environment
- Change Futures leverage [POST] /api/v1/futures/leverage
- Query Futures leverage [GET] /api/v1/futures/leverage
- Create new Futures order [POST] /api/v1/futures/order
- Set trading stop [POST] /api/v1/futures/position/trading-stop
- Batch create new Futures order [POST] /api/v1/futures/batchOrders
- Cancel Futures order [DELETE] /api/v1/futures/order
- Batch cancel Futures order [DELETE] /api/v1/futures/batchOrders
- Batch cancel Futures order by order id [DELETE] /api/v1/futures/cancelOrderByIds
- Get Futures order [GET] /api/v1/futures/order
- Query open Futures orders [GET] /api/v1/futures/openOrders
- Query Futures trades [GET] /api/v1/futures/userTrades
- Get Futures positions [GET] /api/v1/futures/positions
- Query Futures history orders [GET] /api/v1/futures/historyOrders
- Get Futures account balance [GET] /api/v1/futures/balance
- Get Futures funding rate [GET] /api/v1/futures/fundingRate
- Get Futures history funding rate [GET] /api/v1/futures/historyFundingRate
- Query Futures risk limit [GET] /api/v1/futures/riskLimit
- Get Futures commission rate [GET] /api/v1/futures/commissionRate
- Get Futures best order [GET] /api/v1/futures/getBestOrder
- Get Mark Price [GET] /quote/v1/markPrice
- Get Index Price [GET] /quote/v1/index
- Get Sub Account Futures Open Orders[GET] /api/v1/futures/subAccount/openOrders
- Get Sub Account Futures History Orders[GET] /api/v1/futures/subAccount/historyOrders
- Get Sub Account Futures trades [GET] /api/v1/futures/subAccount/userTrades
Added new websocket push feed
- New Future account balance change. Event type: outboundContractAccountInfo
- New Future account order update. Event type: contractExecutionReport
2024-04-05
In order to improve system performance and optimise user experience, HashKey will update the most optimal limit and require user to insert mandatory fields for querying our data. Please finish the adjustment as soon as possible.
[DELETE]/api/v1/spot/openOrders endpoint
- Updated upper limit of 200 orders
- Updated Request parameters "symbol" to required
PARAMETER | TYPE | Req'd | Example values | DESCRIPTION |
---|---|---|---|---|
symbol | STRING | Y | BTCUSDC | Currency pair name (separated by multiple ,) |
[GET] /api/v1/spot/openOrders endpoint
- Updated field name "orderId" to "fromOrderId"
PARAMETER | TYPE | Req'd | Example values | DESCRIPTION |
---|---|---|---|---|
fromOrderId | LONG | 1470930457684189696 | Order ID |
[GET] /api/v1/spot/tradeOrders endpoint
- Updated field name "orderId" to "fromOrderId"
PARAMETER | TYPE | Req'd | Example values | DESCRIPTION |
---|---|---|---|---|
fromOrderId | LONG | 1470930457684189696 | Order ID |
Newly added endpoint
- Query Sub-account Open Orders [GET] /api/v1/spot/subAccount/openOrders
- Query Sub-account Trade Orders [GET] /api/v1/spot/subAccount/tradeOrders
- Get Account Trade List [GET] /api/v1/subAccount/trades
- Authenticate Deposit [POST] /api/v1/account/authAddress