Skip to content

Releases: binance/binance-connector-python

v3.10.0 Release

29 Nov 08:32
Compare
Choose a tag to compare

Added

  • Margin

    • POST /sapi/v1/margin/order/oto
    • POST /sapi/v1/margin/order/otoco
  • Portfolio

    • GET /sapi/v2/portfolio/account
    • GET /sapi/v1/portfolio/balance
    • GET /sapi/v2/portfolio/collateralRate
  • Simple Earn

    • POST /sapi/v1/simple-earn/locked/setRedeemOption
  • Staking

    • GET /sapi/v2/eth-staking/account
    • GET /sapi/v1/eth-staking/eth/quota
    • POST /sapi/v2/eth-staking/eth/stake
    • POST /sapi/v1/eth-staking/eth/redeem
    • POST /sapi/v1/eth-staking/wbeth/wrap
    • GET /sapi/v1/eth-staking/eth/history/stakingHistory
    • GET /sapi/v1/eth-staking/eth/history/redemptionHistory
    • GET /sapi/v1/eth-staking/eth/history/rewardsHistory
    • GET /sapi/v1/eth-staking/eth/history/wbethRewardsHistory
    • GET /sapi/v1/eth-staking/eth/history/rateHistory
    • GET /sapi/v1/eth-staking/wbeth/history/wrapHistory
    • GET /sapi/v1/eth-staking/wbeth/history/unwrapHistory
  • Wallet

    • POST /sapi/v1/localentity/withdraw/apply
    • GET /sapi/v1/localentity/withdraw/history
    • PUT /sapi/v1/localentity/deposit/provide-info
    • GET /sapi/v1/localentity/deposit/history
  • Websocket Stream

    • <symbol>kline_<interval>+08:00

Updated

  • Add parameters showPermissionSets and symbolStatus to GET /api/v3/exchangeInfo
  • Add parameter timeZone to GET /api/v3/klines, GET /api/v3/uiKlines, klines and uiKlines
  • Add parameter redeemTo to POST /sapi/v1/simple-earn/locked/subscribe
  • Add parameters txId and includeSource to GET /sapi/v1/capital/deposit/hisrec
  • Add parameter idList to GET /sapi/v1/capital/withdraw/history and GET /sapi/v1/capital/deposit/subHisrec
  • Update Documentation
  • Update JSONDecodeError error response

Removed

  • Crypto-loans
    • GET /sapi/v1/loan/collateral/data
    • POST /sapi/v1/loan/borrow
    • POST /sapi/v1/loan/repay
    • POST /sapi/v1/loan/adjust/ltv
    • POST /sapi/v1/loan/customize/margin_call
    • GET /sapi/v1/loan/ongoing/orders

v3.9.0 Release

02 Oct 07:16
Compare
Choose a tag to compare

Removed

  • Futures

    • POST /sapi/v1/futures/transfer
    • GET /sapi/v1/futures/transfer
  • BLVT

    • GET /sapi/v1/blvt/tokenInfo
    • POST /sapi/v1/blvt/subscribe
    • GET /sapi/v1/blvt/subscribe/record
    • POST /sapi/v1/blvt/redeem
    • GET /sapi/v1/blvt/redeem/record
    • GET /sapi/v1/blvt/userLimit
  • Wallet

    • POST /sapi/v1/asset/convert-transfer
    • GET /sapi/v1/asset/convert-transfer/queryByPage
    • GET /sapi/v1/capital/contract/convertible-coins
    • POST /sapi/v1/capital/contract/convertible-coins

v3.8.1 Release

25 Jul 09:32
Compare
Choose a tag to compare

Added

  • .readthedocs.yml to resolve documentation issue

Changed

  • GET /api/v3/account has a new optional parameter omitZeroBalances, which if enabled hides all zero balances.
  • POST /api/v3/order/cancelReplace has a new optional parameter orderRateLimitExceededMode.

v3.8.0 Release

04 Jul 06:14
Compare
Choose a tag to compare

Added

  • Trade
    • Spot
      • POST /api/v3/orderList/oto
      • POST /api/v3/orderList/otoco
    • Websocket API
      • orderList.place.oto
      • orderList.place.otoco

Updated

  • Updated and Resolved documentation issue
  • Updated Restful OCO trade deprecated endpoint POST /api/v3/order/oco to POST /api/v3/orderList/oco
  • Updated Websocket API OCO trade deprecated endpoint orderList.place to orderList.place.oco

v3.7.0 Release

03 May 08:18
Compare
Choose a tag to compare

Added

  • Convert

    • POST /sapi/v1/convert/limit/placeOrder
    • POST /sapi/v1/convert/limit/cancelOrder
    • GET /sapi/v1/convert/limit/queryOpenOrders
  • Margin

    • GET /sapi/v1/margin/available-inventory
    • POST /sapi/v1/margin/manual-liquidation
    • GET /sapi/v1/margin/leverageBracket
  • Market

    • GET /api/v3/ticker/tradingDay
  • Trade

    • GET /api/v3/myAllocations
    • GET /api/v3/account/commission
  • Wallet

    • GET /sapi/v1/capital/deposit/address/list
    • GET /sapi/v1/spot/delist-schedule

Updated

  • POST /sapi/v1/asset/dust-btc add parameter accountType
  • POST /sapi/v1/asset/dust add parameter accountType
  • GET /sapi/v1/asset/dribblet add parameter accountType
  • POST /sapi/v1/margin/order/oco: New enumerate value AUTO_BORROW_REPAY for the field of sideEffectType
  • POST /sapi/v1/margin/order: New enumerate value AUTO_BORROW_REPAY for the field of sideEffectType
  • Update documentation
  • Add new handle exception in websocket read_data

Removed

  • Bswap

    • GET /sapi/v1/bswap/pools
    • GET /sapi/v1/bswap/liquidity
    • POST /sapi/v1/bswap/liquidityAdd
    • POST /sapi/v1/bswap/liquidityRemove
    • GET /sapi/v1/bswap/liquidityOps
    • GET /sapi/v1/bswap/quote
    • POST /sapi/v1/bswap/swap
    • GET /sapi/v1/bswap/swap
    • GET /sapi/v1/bswap/poolConfigure
    • GET /sapi/v1/bswap/addLiquidityPreview
    • GET /sapi/v1/bswap/removeLiquidityPreview
    • GET /sapi/v1/bswap/unclaimedRewards
    • POST /sapi/v1/bswap/claimRewards
    • GET /sapi/v1/bswap/claimedHistory
  • Loan

    • POST /sapi/v1/loan/flexible/borrow
    • GET /sapi/v1/loan/flexible/ongoing/orders
    • GET /sapi/v1/loan/flexible/borrow/history
    • POST /sapi/v1/loan/flexible/repay
    • GET /sapi/v1/loan/flexible/repay/history
    • POST /sapi/v1/loan/flexible/adjust/ltv
    • GET /sapi/v1/loan/flexible/ltv/adjustment/history
    • GET /sapi/v1/loan/flexible/loanable/data
    • GET /sapi/v1/loan/flexible/collateral/data
  • Staking

    • 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

v3.6.0

07 Mar 11:58
Compare
Choose a tag to compare

Removed

  • 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

Added

  • POST /sapi/v1/margin/borrow-repay
  • GET /sapi/v1/margin/borrow-repay

Updated

  • GET /sapi/v1/margin/transfer add parameter isolatedSymbol
  • GET /sapi/v1/margin/allAssets add parameter asset
  • GET /sapi/v1/margin/allPairs add parameter symbol
  • GET /sapi/v1/margin/isolated/allPairs add parameter symbol

v3.5.1 Release

17 Nov 02:22
Compare
Choose a tag to compare

Fixed

  • Set the default timeout value to None in WebSocket clients

v3.5.0 Release

26 Oct 09:53
@2pd 2pd
75c5d53
Compare
Choose a tag to compare

Changed

  • Add timeout parameter to Websocket clients
  • Add method for GET /sapi/v1/asset/wallet/balance

v3.4.0 Release

07 Oct 04:15
@2pd 2pd
3367d18
Compare
Choose a tag to compare

Added

  • Portfolio endpoints:
    • POST /sapi/v1/portfolio/interest-history
    • POST /sapi/v1/portfolio/asset-index-price
    • POST /sapi/v1/portfolio/auto-collection
    • POST /sapi/v1/portfolio/bnb-transfer
    • POST /sapi/v1/portfolio/repay-futures-switch
    • GET /sapi/v1/portfolio/repay-futures-switch
    • POST /sapi/v1/portfolio/repay-futures-negative-balance
    • POST /sapi/v1/portfolio/asset-collection
  • Convert
    • GET /sapi/v1/convert/exchangeInfo
    • GET /sapi/v1/convert/assetInfo
    • POST /sapi/v1/convert/getQuote
    • POST /sapi/v1/convert/acceptQuote
    • GET /sapi/v1/convert/orderStatus
  • Crypto Loan
    • POST /sapi/v1/loan/flexible/borrow
    • GET /sapi/v1/loan/flexible/ongoing/order
    • GET /sapi/v1/loan/flexible/borrow/history
    • POST /sapi/v1/loan/flexible/repay
    • GET /sapi/v1/loan/flexible/repay/history
    • POST /sapi/v1/loan/flexible/adjust/ltv
    • GET /sapi/v1/loan/flexible/ltv/adjustment/history
    • GET /sapi/v1/loan/flexible/loanable/data
    • GET /sapi/v1/loan/flexible/collateral/data
  • Margin
    • GET /sapi/v1/margin/crossMarginCollateralRatio
    • GET /sapi/v1/margin/exchange-small-liability
    • GET /sapi/v1/margin/exchange-small-liability-history
    • GET /sapi/v1/margin/next-hourly-interest-rate
    • GET /sapi/v1/margin/dust
    • POST /sapi/v1/margin/dust
    • GET /sapi/v1/margin/max-leverage
  • SubAccount
  • POST /sapi/v4/sub-account/assets
  • POST /sapi/v1/sub-account/eoptions/enable
  • GET /sapi/v1/sub-account/transaction-statistics
  • GET /sapi/v1/managed-subaccount/query-trans-log
  • GET /sapi/v1/managed-subaccount/info
  • GET /sapi/v1/managed-subaccount/marginAsset
  • GET /sapi/v1/managed-subaccount/fetch-future-asset
  • GET /sapi/v1/sub-account/futures/positionRisk
  • GET /sapi/v1/sub-account/futures/accountSummary
  • GET /sapi/v1/sub-account/futures/account
  • Trade
    • GET /api/v3/myPreventedMatches
  • Wallet
    • POST /sapi/v1/capital/deposit/credit-apply
  • Simple Earn
    • GET /sapi/v1/simple-earn/flexible/list
    • GET /sapi/v1/simple-earn/locked/list
    • POST /sapi/v1/simple-earn/flexible/subscribe
    • POST /sapi/v1/simple-earn/locked/subscribe
    • POST /sapi/v1/simple-earn/flexible/redeem
    • POST /sapi/v1/simple-earn/locked/redeem
    • GET /sapi/v1/simple-earn/flexible/position
    • GET /sapi/v1/simple-earn/locked/position
    • GET /sapi/v1/simple-earn/account
    • GET /sapi/v1/simple-earn/flexible/history/subscriptionRecord
    • GET /sapi/v1/simple-earn/locked/history/subscriptionRecord
    • GET /sapi/v1/simple-earn/flexible/history/redemptionRecord
    • GET /sapi/v1/simple-earn/locked/history/redemptionRecord
    • GET /sapi/v1/simple-earn/flexible/history/rewardsRecord
    • GET /sapi/v1/simple-earn/locked/history/rewardsRecord
    • POST /sapi/v1/simple-earn/flexible/setAutoSubscribe
    • POST /sapi/v1/simple-earn/locked/setAutoSubscribe
    • GET /sapi/v1/simple-earn/flexible/personalLeftQuota
    • GET /sapi/v1/simple-earn/locked/personalLeftQuota
    • GET /sapi/v1/simple-earn/flexible/subscriptionPreview
    • GET /sapi/v1/simple-earn/locked/subscriptionPreview
    • GET /sapi/v1/simple-earn/flexible/history/rateHistory
    • GET /sapi/v1/simple-earn/flexible/history/collateralRecord
  • All Auto-Invest endpoints

Deleted

  • GET /sapi/v1/lending/daily/product/list
  • GET /sapi/v1/lending/daily/userLeftQuota
  • POST /sapi/v1/lending/daily/purchase
  • GET /sapi/v1/lending/daily/userRedemptionQuota
  • POST /sapi/v1/lending/daily/redeem
  • GET /sapi/v1/lending/daily/token/position
  • GET /sapi/v1/lending/union/account
  • GET /sapi/v1/lending/union/purchaseRecord
  • GET /sapi/v1/lending/union/redemptionRecord
  • GET /sapi/v1/lending/union/interestHistory
  • GET /sapi/v1/lending/project/list
  • POST /sapi/v1/lending/customizedFixed/purchase
  • GET /sapi/v1/lending/project/position/list
  • POST /sapi/v1/lending/positionChanged
  • GET /sapi/v1/futures/loan/borrow/history
  • GET /sapi/v1/futures/loan/repay/history
  • GET /sapi/v2/futures/loan/wallet
  • GET /sapi/v1/futures/loan/adjustCollateral/history
  • GET /sapi/v1/futures/loan/liquidationHistory
  • GET /sapi/v1/futures/loan/interestHistory

Changed

  • Change Loan module name to Crypto Loan
  • Pump dependencies
  • Allow setting custom logger for WebSocket

v3.3.1 Release

23 Aug 11:05
@2pd 2pd
a417706
Compare
Choose a tag to compare

Changed

  • Add missing enum values in the User Universal Transfer endpoint