Skip to content

v2.0.0 Release

Compare
Choose a tag to compare
@11101171 11101171 released this 21 Sep 03:27

New Features

  • New
    • /spot/v4/batch_orders
    • /spot/v4/cancel_orders
    • /spot/v4/cancel_all
    • /contract/private/position-risk
    • /contract/private/current-plan-order
  • Updated
    • /account/v1/withdraw/apply
    • /account/v2/deposit-withdraw/history
    • /contract/private/position
    • /contract/private/trades
    • /contract/private/submit-order
  • Removed
    • /spot/v2/ticker
    • /spot/v1/ticker_detail
    • /spot/v1/steps
    • /spot/v1/symbols/kline
    • /spot/v1/symbols/book
    • /spot/v1/symbols/trades
    • /spot/v2/batch_orders
    • /spot/v1/cancel_orders

Improvements

  • Support Custom Logger Integration
  • Support Custom request headers
  • Dependency upgrade, websockets used are replaced with websocket-client
  • Remove the asynchronous call mechanism and support customers’ more convenient custom asynchronous subscriptions.
  • Log upgrade, replace print with logging
  • Add examples directory
  • Constants Renamed
    • WS_URL renamed to SPOT_PUBLIC_WS_URL
    • WS_URL_USER renamed to SPOT_PRIVATE_WS_URL
    • CONTRACT_WS_URL renamed to FUTURES_PUBLIC_WS_URL
    • CONTRACT_WS_URL_USER renamed to FUTURES_PRIVATE_WS_URL