Margin
:POST /sapi/v1/margin/order/oto
POST /sapi/v1/margin/order/otoco
Portfolio
:GET /sapi/v1/portfolio/balance
GET /sapi/v2/portfolio/account
GET /sapi/v2/portfolio/collateralRate
Simple Earn
:POST /sapi/v1/simple-earn/locked/setRedeemOption
Wallet
:GET /sapi/v1/account/info
GET /sapi/v1/asset/custody/transfer-history
GET /sapi/v1/asset/wallet/balance
GET /sapi/v1/capital/deposit/address/list
GET /sapi/v1/spot/delist-schedule
- Updated dependencies
- Added optional parameters
showPermissionSets
andsymbolStatus
to endpointGET /api/v3/exchangeInfo
- Fixed response type issue in
GET /sapi/v1/margin/crossMarginCollateralRatio
POST /sapi/v1/simple-earn/locked/subscribe
new parameter:redeemTo
- Updated fields in response for the following endpoints:
GET /sapi/v1/margin/account
GET /sapi/v1/simple-earn/locked/position
GET /sapi/v1/simple-earn/flexible/history/subscriptionRecord
GET /sapi/v1/simple-earn/locked/history/subscriptionRecord
GET /sapi/v1/simple-earn/locked/history/redemptionRecord
GET /sapi/v4/sub-account/assets
GET /sapi/v3/sub-account/assets
Dual Investment
:GET /sapi/v1/dci/product/list
POST /sapi/v1/dci/product/subscribe
GET /sapi/v1/dci/product/positions
GET /sapi/v1/dci/product/accounts
POST /sapi/v1/dci/product/auto_compound/edit-status
- Fixed an issue with string arrays in market endpoints
- Updated
GET /sapi/v1/account/apiRestrictions
response
- Added
LogLevel
to exported enums
- Updated dependencies
- BUSD Wallet endpoints:
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
- Updated dependencies
- Added
omitZeroBalances
option inaccountInformation
method
- Updated dependencies
POST /api/v3/orderList/oto
POST /api/v3/orderList/otoco
- Updated dependencies
- Updated
Restful
OCO trade deprecated endpointPOST /api/v3/order/oco
toPOST /api/v3/orderList/oco
- Updated
Websocket API
OCO trade deprecated endpointorderList.place
toorderList.place.oco
- Updated
updateIpRestrictionForSubAccountApiKey
function typo toaddIpRestrictionForSubAccountApiKey
- Updated following enums:
OCOOrderStatus
toOrderListOrderStatus
OCOStatusType
toOrderListStatusType
-
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
POST /sapi/v1/convert/limit/placeOrder
POST /sapi/v1/convert/limit/cancelOrder
GET /sapi/v1/convert/limit/queryOpenOrders
GET /sapi/v1/convert/tradeFlow
-
Portfolio
:GET /sapi/v1/portfolio/account
GET /sapi/v1/portfolio/collateralRate
GET /sapi/v1/portfolio/pmLoan
POST /sapi/v1/portfolio/repay
GET /sapi/v1/portfolio/interest-history
GET /sapi/v1/portfolio/asset-index-price
POST /sapi/v1/portfolio/auto-collection
POST /sapi/v1/portfolio/asset-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
GET /sapi/v1/portfolio/margin-asset-leverage
- Update dependencies
- Update
GET /api/v3/exchangeInfo
response type - Correct
createMarginListenKey
,renewMarginListenKey
andcloseMarginListenKey
url - Update combined streams for websocket streams
- Update Websocket Testnet endpoint
- Update types
- Update dependencies
- Add logger class
- Fix issue #14: Add new
WebsocketStream
type - Fix issue #16: Update parameters of
GET /api/v3/ticker/tradingDay
- Fix issue #18: Multiple websocket streams subscription are now handled
POST /sapi/v1/margin/borrow-repay
POST /sapi/v1/margin/manual-liquidation
POST /api/v3/sor/order
POST /api/v3/sor/order/test
GET /sapi/v1/margin/available-inventory
GET /sapi/v1/margin/borrow-repay
GET /sapi/v1/margin/leverageBracket
GET /api/v3/account/commission
GET /api/v3/myPreventedMatches
GET /api/v3/myAllocations
GET /api/v3/ticker/tradingDay
GET /api/v3/avgPrice
: response has a new fieldcloseTime
, indicating the last trade time.- Upgrade dependencies
POST /sapi/v1/margin/dust
POST /sapi/v1/margin/isolated/transfer
POST /sapi/v1/margin/loan
POST /sapi/v1/margin/repay
POST /sapi/v1/margin/transfer
GET /sapi/v1/margin/asset
GET /sapi/v1/margin/dribblet
GET /sapi/v1/margin/dust
GET /sapi/v1/margin/isolated/pair
GET /sapi/v1/margin/isolated/transfer
GET /sapi/v1/margin/loan
GET /sapi/v1/margin/pair
GET /sapi/v1/margin/repay
- Add new Enums
- Update Websocket types
- Upgrade dependencies
- Fix sentences grammar
Upgrade dependencies
Fix issue from previous release
Update configuration to resolve files exported issue
First release