Bug Fixes

This commit is contained in:
Luis Fernando Molina committed 2020-02-09 16:35:17 +01:00
1 parent 82bc086e92
commit b1af6e078c
131 files changed
+8597 -1930

No files matched your search

+17
View File
@@ -87,14 +87,22 @@ module.exports = class huobipro extends Exchange {
],
},
'private': {
// todo add v2 endpoints
// 'GET /v2/account/withdraw/quota
// 'GET /v2/reference/currencies
// 'GET /v2/account/deposit/address
'get': [
'account/accounts', // 查询当前用户的所有账户(即account-id)
'account/accounts/{id}/balance', // 查询指定账户的余额
'account/accounts/{sub-uid}',
'account/history',
'cross-margin/loan-info',
'fee/fee-rate/get',
'order/openOrders',
'order/orders',
'order/orders/{id}', // 查询某个订单详情
'order/orders/{id}/matchresults', // 查询某个订单的成交明细
'order/orders/getClientOrder',
'order/history', // 查询当前委托、历史委托
'order/matchresults', // 查询当前成交、历史成交
'dw/withdraw-virtual/addresses', // 查询虚拟币提现地址
@@ -104,9 +112,17 @@ module.exports = class huobipro extends Exchange {
'points/actions',
'points/orders',
'subuser/aggregate-balance',
'stable-coin/exchange_rate',
'stable-coin/quote',
],
// todo add v2 endpoints
// POST /v2/sub-user/management
'post': [
'futures/transfer',
'order/batch-orders',
'order/orders/place', // 创建并执行一个新订单 (一步下单, 推荐使用)
'order/orders/submitCancelClientOrder',
'order/orders/batchCancelOpenOrders',
'order/orders', // 创建一个新的订单请求 (仅创建订单,不执行下单)
'order/orders/{id}/place', // 执行一个订单 (仅执行已创建的订单)
'order/orders/{id}/submitcancel', // 申请撤销一个订单请求
@@ -120,6 +136,7 @@ module.exports = class huobipro extends Exchange {
'dw/transfer-out/margin', // 借贷账户划出至现货账户
'margin/orders', // 申请借贷
'margin/orders/{id}/repay', // 归还借贷
'stable-coin/exchange',
'subuser/transfer',
],
},