1 Star 0 Fork 0

zhaohui/huobi_Java

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
CHANGE_LOG.md 7.09 KB
一键复制 编辑 原始数据 按行查看 历史
eynzhang 提交于 5年前 . Update CHANGE_LOG.md

Huobi Java SDK Change Log

This is Huobi Java SDK, This is a lightweight java library, you can import to your java project and use this SDK to query all market data, trading and manage your account.

The SDK supports both synchronous RESTful API invoking, and subscribe the market data from the Websocket connection.

Table of Contents

Huobi Global API JAVA SDK version 1.0.12

2020-04-13

  • Modify API request and response field

    GET /v1/cross-margin/loan-orders				Add sub-id as optional parameters
    GET /v1/cross-margin/accounts/balance		Add sub-id as optional parameters
    GET /market/tickers											Add best bid offer response field
    POST /v1/order/orders/place							Add FOK order types
    POST /v1/order/batch-orders							Add FOK order types
    
  • Add new API

    GET https://status.huobigroup.com/api/v2/summary.json
    WebSocket topic market.$symbol.mbp.refresh.$levels
    GET /v2/account/ledger
    

Huobi Global API JAVA SDK version 1.0.11

2020-04-02

  • modify subscribe for account update with currency balance information

     subscribe : account update
    

Huobi Global API JAVA SDK version 1.0.10

2020-02-26

  • modify api for response&params

     GET /v1/order/orders/{order-id}      1. add client-order-id in response
     GET /v1/order/orders/getClientOrder  1. add client-order-id in response
     GET /v1/order/openOrders             1. add client-order-id in response
     GET /v1/order/orders                 1. add client-order-id in response   2.add params start-time and end-time
     GET /v1/order/history                1. add client-order-id in response
     GET /v2/reference/currencies         1. add baseChain,baseChainProtocol in response
    
  • add new api

     GET /v2/reference/transact-fee-rate
     GET /v1/margin/loan-info
     GET /v1/cross-margin/loan-info
    

Huobi Global API JAVA SDK version 1.0.9

2020-01-07

  • add new api
     1. POST /v1/order/batch-orders
     2. POST /v2/sub-user/management
    
  • modify api
     1. POST /v1/order/orders/batchcancel
        param add client-order-ids 
        return success and failed detail info
    

Huobi Global API JAVA SDK version 1.0.8

2019-12-11

  • add subscribe
    add subscribe accounts.update#{mode}
    add subscribe trade.clearing#${symbol}
    

Huobi Global API JAVA SDK version 1.0.7

2019-11-27

  • align response timestamp to UTC time

    remove timeserver
    
  • add subscribe mbp and request mbp

    market.$symbol.mbp.$levels
    
  • UT code update

    UT code update
    

Huobi Global API Java SDK version 1.0.6

version 1.0.6

2019-11-08

withdraw add params chain

Huobi Global API Java SDK version 1.0.5

version 1.0.5

2019-11-02

compatiable tradeId for subscribe trade detail and request trade detail.
Trade model no change and no impact to user test case

Huobi Global API Java SDK version 1.0.4

version 1.0.4

2019-10-30

  • add new api

    /v2/reference/currencies
    /v2/account/deposit/address
    /v2/account/withdraw/quota
    /v1/account/history
    
    /v1/cross-margin/transfer-in
    /v1/cross-margin/transfer-out
    /v1/cross-margin/orders
    /v1/cross-margin/orders/{order-id}/repay
    /v1/cross-margin/loan-orders
    /v1/cross-margin/accounts/balance
    
  • add data item tradeId in below apis

    /market/trade
    /market/history/trade
    market.$symbol.trade.detail
    
  • align output data with API document for below apis

    /v1/margin/loan-orders   
    /v1/query/deposit-withdraw 
    

Huobi Global API Java SDK version 1.0.3

version 1.0.3

2019-10-28

修改的点:

  • 类中增加字段

    • Account 
      CancelOpenOrderRequest 
      NewOrderRequest
      OpenOrderRequest
      中加入subtype字段
      
  • 枚举:

    • LoanOrderStates 缺少failed字段

    • OrderState增加如下值

      pre-submmitted;
      submitting;
      failed;
      place-timeout;
      canceling;  
      
    • AccountType增加如下值

    minepool; etf; agency; super-margin;

    
    
  • 方法重载

    • User类重载以下方法,增加subtype字段
    getAccount
    
  • account解析时增加subtype字段

Huobi Global API Java SDK version 1.0.2

version 1.0.2

2019-09-26

  1. Added support for the following Websocket request interface:

Market Websocket:

"req": "market.$symbol.kline.$period"
"req": "market.type"
"req": "market.$symbol.trade.detail"
"req": "market.$symbol.detail"

Asset Websocket:

"topic": "accounts.list"
"topic": "orders.list"
"topic": "orders.detail"
  1. Added support following Websocket subscription topic:
market.$symbol.bbo

Huobi Global API Java SDK version 1.0.1

version 1.0.1

2019-09-19

  1. Supported following REST endpoints:
 GET /v1/order/orders/getClientOrder
 POST /v1/order/orders/submitCancelClientOrder
 GET /v1/fee/fee-rate/get
 GET /v1/common/symbols
 POST /v1/futures/transfer
 GET /v1/order/history
 GET /market/trade
  1. Supported following Websocket subscription topic:
orders.$symbol.update
  1. Enhanced features to support request fields “from”, “direct”, and “size”, for following REST endpoints:
 GET /v1/order/orders
 GET /v1/order/matchresults
 GET /v1/order/openOrders
  1. Enhanced features to support stop limit order type for following endpoint:
POST /v1/order/orders/place
  1. Enhanced features to support response fields “role”, “filled-points”, and “fee-deduct-currency”, for following REST endpoints:
GET /v1/order/orders/{order-id}/matchresults
GET /v1/order/matchresults
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zhaohuidev_2017/huobi_Java.git
git@gitee.com:zhaohuidev_2017/huobi_Java.git
zhaohuidev_2017
huobi_Java
huobi_Java
master

搜索帮助