Skip to content

Latest commit

 

History

History
175 lines (140 loc) · 6.82 KB

CHANGELOG.md

File metadata and controls

175 lines (140 loc) · 6.82 KB

Change log

v0.8.0 - 2024-11-20

Added

  • Added Wallet Endpoints:

    • GET /sapi/v1/account/info - Fetch account info detail
    • GET /sapi/v1/asset/custody/transfer-history - Query user delegation history
    • GET /sapi/v1/asset/wallet/balance - Query user wallet balance
    • GET /sapi/v1/capital/deposit/address/list - Fetch deposit address list with network
    • GET /sapi/v1/spot/delist-schedule - Query spot delist schedule
  • Added Margin Endpoints:

    • GET /sapi/v1/margin/available-inventory
    • GET /sapi/v1/margin/capital-flow
    • GET /sapi/v1/margin/leverageBracket
    • POST /sapi/v1/margin/manual-liquidation
    • POST /sapi/v1/margin/max-leverage
    • POST /sapi/v1/margin/order/oto
    • POST /sapi/v1/margin/order/otoco

Fixed

  • Fixed TestConnectivityResponse.RateLimits type - updated to array
  • Fixed NewTickerPriceService.Do unmarshaling issue
  • Fixed SystemStatusResponse type
  • Fixed variable named CumulativeQuoteQty to CummulativeQuoteQty
  • Fixed SubAccountTransferHistoryService response type
  • Fixed field Fills type in CancelReplaceResponse

Updated

  • Added the parameters symbol, symbols, permissions , showPermissionSets and symbolStatus to endpoint GET /api/v3/exchangeInfo
  • Added parameter accountType to endpoint POST /sapi/v1/asset/dust-btc
  • Added response fields Created, CollateralMarginLevel, TotalCollateralValueInUSDT, TransferInEnabled, TransferOutEnabled and AccountType to endpoint GET /sapi/v1/margin/account
  • Added response fields EnableFixApiTrade, EnableFixReadOnly and EnablePortfolioMarginTrading to endpoint GET /sapi/v1/account/apiRestrictions
  • Updated SymbolInfo and SymbolFilter types
  • Removed response field resetAddressStatus and added fields contractAddressUrl and contractAddress from endpoint GET /sapi/v1/capital/config/getall

Removed

  • Removed Wallet endpoints:
    • GET /sapi/v1/capital/contract/convertible-coins
    • POST /sapi/v1/asset/convert-transfer

v0.7.0 - 2024-08-23

Added

  • SPOT FIAT Endpoints:
    • GET /sapi/v1/fiat/orders - Get Fiat Deposit/Withdraw History
    • GET /sapi/v1/fiat/payments - Get Fiat Payments History
  • Websocket Stream:
    • <symbol>@miniTicker - Individual Symbol Mini Ticker Stream

Updated

  • Updated SymbolInfo and SymbolFilter types

Fixed

  • Fixed issue with stopCh not stopping the WebSocket connection
  • Fixed the stop method for userDataStream
  • Fixed symbols method for NewTicker24hrService

v0.6.0 - 2024-06-19

Fixed

  • Fixed following Margin endpoints to correctly return their response:
    • MarginAccountOpenOrder
    • MarginAccountAllOrder
    • MarginAccountQueryAllOCO
    • MarginAccountQueryOpenOCO
    • MarginAccountQueryTradeList
  • Fixed example files for the following endpoints:
    • MarginAccountQueryTradeList
    • MarginInterestRateHistory
    • MarginAccountQueryOCO
    • MarginAccountOrder
  • Added signature to TestNewOrder endpoint
  • Fixed typo of InterestHistoryResponse parameters
  • Fixed type of MarginInterestRateHistoryResponse parameter

Updated

  • Updated Dependencies
  • Updated Go version to 1.22

Removed

  • Removed Margin endpoints:

    • POST /sapi/v1/margin/transfer
    • POST /sapi/v1/margin/isolated/transfer
    • POST /sapi/v1/margin/loan
    • POST /sapi/v1/margin/repay
    • GET /sapi/v1/margin/isolated/transfer
    • GET /sapi/v1/margin/asset
    • GET /sapi/v1/margin/pair
    • GET /sapi/v1/margin/isolated/pair
    • GET /sapi/v1/margin/loan
    • GET /sapi/v1/margin/repay
    • GET /sapi/v1/margin/dribblet
    • GET /sapi/v1/margin/dust
    • POST /sapi/v1/margin/dust
  • Removed Staking endpoints:

    • GET /sapi/v1/staking/productList
    • POST /sapi/v1/staking/purchase
    • POST /sapi/v1/staking/redeem
    • GET /sapi/v1/staking/position
    • GET /sapi/v1/staking/stakingRecord
    • POST /sapi/v1/staking/setAutoStaking
    • GET /sapi/v1/staking/personalLeftQuota

v0.5.2 - 2023-08-22

Fixed

  • Fixed formatting issues causing JSON Unmarshal error in some wallet methods.

v0.5.1 - 2023-08-21

Fixed

  • Implemented a fix for the automatic conversion to scientific notation when handling large quantity values.

v0.5.0 - 2023-06-30

Added

  • Added Websocket API Endpoints
  • Added User-Agent header to Websocket and Websocket API

Fixed

  • bookTickerService Endpoint fixed to correctly support individual symbol parameter.

v0.4.0 - 2023-05-08

Added

  • Staking Endpoints Implemented

v0.3.0 - 2023-05-02

Added

  • New Endpoint, NewGetManagedSubAccountDepositAddressService(): GET /sapi/v1/managed-subaccount/deposit/address - Get Managed Sub-account Deposit Address (For Investor Master Account) (USER_DATA)

Fixed

  • Added separate USDT-M and COIN-M Response Types for relevant Subaccount Endpoints
  • Added support for Conditional Fields in relevant responses on Account Endpoints
  • Responses for POST /api/v3/order/cancelReplace support all 4 Response Types
  • Support for specifying recvWindow via WithRecvWindow() function
  • strategyId and strategyType parameters added to TestNewOrder and CreateOrderService endpoints
  • UiKlines: corrected limit parameter to not be sent as interval

v0.2.0 - 2023-04-21

Added

  • WebsocketStreamClient
    • Websocket Client can be initialized with 2 parameters, NewWebsocketStreamClient(isCombined, baseURL):
    • isCombined is a MANDATORY boolean value that specifies whether you are calling a combined stream or not.
      • If isCombined is set to true, "/stream?streams=" will be appended to the baseURL to allow for Combining streams.
      • Otherwise, if set to false, "/ws/" will be appended to the baseURL.
    • baseURL is an OPTIONAL string value that determines the base URL to use for the websocket connection.
      • If baseURL is not set, it will default to the Live Exchange URL: "wss://stream.binance.com:9443".

Fixed

  • Order Response Types for CreateOrderService - POST /api/v3/order
    • Added support for all 3 Order Response Types - ACK, RESULT and FULL
  • Order Response Types for MarginAccountNewOrderService - POST /sapi/v1/margin/order
    • Added support for all 3 Order Response Types - ACK, RESULT and FULL
  • Different Response Types for MarginIsolatedAccountInfoService - GET /sapi/v1/margin/isolated/account
    • Added support for both Response Types, depending on whether symbols is set or not.

Changed

  • Renamed WsAllMiniMarketsStatServe to WsAllMarketMiniTickersStatServe.
  • Renamed WsMarketsStatServe to WsMarketTickersStatServe.
  • Renamed WsAllMarketsStatServe to WsAllMarketTickersStatServe.
  • Updated Github Action UnitTest.

Removed

  • Removed unused setFormParam, setFormParams, WithRecvWindow, WithHeader and WithHeaders functions from request.go.

v0.1.0 - 2023-03-31

  • First release