Releases: bitmartexchange/bitmart-python-sdk-api
Releases · bitmartexchange/bitmart-python-sdk-api
Release list
v2.8.0 Release
New Features
- New
/account/v1/get-deposit-accountGet Deposit Account (KEYED)/account/v1/set-deposit-accountSet Deposit Account (SIGNED)/account/v1/transferAccount Transfer between Spot and Fund (SIGNED)/uapi-key/v1/account/infoGet Account Info (KEYED)/contract/private/close-all-positionClose All Positions (SIGNED)/contract/private/account/v1/transferAccount Transfer between Fund and Contract (SIGNED)
- Update
/account/v1/withdraw/applyWithdraw (SIGNED): Add new request field sourceAccount
v2.7.0 Release
New Features
- New (Finance / Earn — new
APIFinanceclass)/newearn/cloud/v1/earnGet Earn Account Holdings (KEYED)/newearn/cloud/v1/saving/productGet Flexible Savings Product List (KEYED)/newearn/cloud/v1/saving/subscribeSubscribe Flexible Savings (SIGNED)/newearn/cloud/v1/saving/redeemRedeem Flexible Savings (SIGNED)/newearn/cloud/v1/saving/earnGet Flexible Savings Holdings (KEYED)/newearn/cloud/v1/saving/recordGet Flexible Savings History Records (KEYED)/newearn/cloud/v1/saving/fixed/productGet Fixed Savings Product List (KEYED)/newearn/cloud/v1/saving/fixed/subscribeSubscribe Fixed Savings (SIGNED)/newearn/cloud/v1/saving/fixed/earnGet Fixed Savings Holdings (KEYED)/newearn/cloud/v1/saving/fixed/recordGet Fixed Savings History Records (KEYED)/newearn/cloud/v1/saving/fixed/redeemEarly Redeem Fixed Savings (SIGNED)/newearn/cloud/v1/saving/fixed/subscribe/operateModify Fixed Savings Auto-Renewal (SIGNED)/newearn/cloud/v1/saving/subscribe/batch/operateToggle Global Auto Earn (SIGNED)/newearn/cloud/v1/saving/subscribe/batchGet Global Auto Earn Status (KEYED)/newearn/cloud/v1/saving/subscribe/operateToggle Flexible Product Auto Subscribe (SIGNED)/newearn/cloud/v1/saving/subscribe/statusGet Flexible Product Auto Subscribe Status (KEYED)
v2.6.1 Release
New Features
- New (Spot Sub-Account)
/account/sub-account/main/v1/sub-to-mainSub-Account to Main-Account, For Main Account (SIGNED)/account/sub-account/sub/v1/sub-to-mainSub-Account to Main-Account, For Sub Account (SIGNED)/account/sub-account/main/v1/main-to-subMain-Account to Sub-Account, For Main Account (SIGNED)/account/sub-account/main/v1/sub-to-subSub-Account to Sub-Account, For Main Account (SIGNED)/account/sub-account/main/v1/transfer-listGet Sub-Account Transfer History, For Main Account (KEYED)/account/sub-account/v1/transfer-historyGet Account Transfer History, For Main and Sub Account (KEYED)/account/sub-account/main/v1/walletGet Sub-Account Spot Wallet Balance, For Main Account (KEYED)/account/sub-account/main/v1/subaccount-listGet Sub-Account List, For Main Account (KEYED)
- New (Futures Sub-Account)
/account/contract/sub-account/main/v1/sub-to-mainSub-Account to Main-Account, For Main Account (SIGNED)/account/contract/sub-account/sub/v1/sub-to-mainSub-Account to Main-Account, For Sub Account (SIGNED)/account/contract/sub-account/main/v1/main-to-subMain-Account to Sub-Account, For Main Account (SIGNED)/account/contract/sub-account/main/v1/transfer-listGet Sub-Account Transfer History, For Main Account (KEYED)/account/contract/sub-account/v1/transfer-historyGet Account Transfer History, For Main and Sub Account (KEYED)/account/contract/sub-account/main/v1/walletGet Sub-Account Futures Wallet Balance, For Main Account (KEYED)
v2.6.0 Release
New Features
- New
/spot/v4/algo/submit_orderAlgo Order Place(v4) (SIGNED)/spot/v4/algo/cancel_orderCancel Algo Order(v4) (SIGNED)/spot/v4/algo/cancel_allCancel All Algo Orders(v4) (SIGNED)/spot/v4/query/algo/orderQuery Algo Order by orderId(v4) (SIGNED)/spot/v4/query/algo/client-orderQuery Algo Order by clientOrderId(v4) (SIGNED)/spot/v4/query/algo/open-ordersQuery Current Algo Orders(v4) (SIGNED)/spot/v4/query/algo/history-ordersQuery Algo Order History(v4) (SIGNED)/contract/public/funding-rate-v2Get Current Funding Rate (V2)/contract/private/claimClaim Demo Trading Assets (SIGNED)/contract/private/auto_repaymentGet Auto Repayment Records (KEYED)/contract/private/cross_collateral/interest_logGet Cross Collateral Interest Log (KEYED)/contract/private/affiliate/aff-customer-infoGet Invited User Futures Account Info (KEYED)/contract/private/affiliate/deposit-withdrawal-listGet Invited User Deposit/Withdrawal List (KEYED)/contract/private/affiliate/rebate-inviteUserGet Invited Customer List (KEYED)/contract/private/affiliate/invite-checkCheck If Invited User (KEYED)/contract/private/affiliate/rebate-userGet Single User Rebate (KEYED)/contract/private/affiliate/rebate-apiGet Single API User Rebate (KEYED)/contract/private/affiliate/rebate-listGet Rebate Records (KEYED)/contract/private/affiliate/trade-listGet Trade Records (KEYED)
- Websocket
spot/bookTickerAdd public best bid/ask (book ticker) channel
Improvements
- Tests:
tests/data.pynow loads API credentials from a project-level.envfile (priority:.env> OS environment variable > placeholder), supportingBITMART_API_KEY,BITMART_SECRET_KEY,BITMART_MEMOandBITMART_API_URL. Added a.env.exampletemplate; the real.envis git-ignored.
v2.5.0 Release
New Features
- New
/contract/private/cancel-all-afterApplicable for canceling all contract orders timed(SIGNED)/contract/private/get-position-modeGet Position Mode (KEYED)/contract/private/set-position-modeSet Position Mode (SIGNED)/contract/private/position-v2Get Current Position V2 (KEYED)/contract/public/leverage-bracketGet Current Leverage Risk Limit/contract/public/market-tradeQuery the latest trade data
- Update
/contract/private/orderGet Order Detail (KEYED): Add new request field account/contract/private/order-historyGet Order History (KEYED): Add new request field account and order_id and client_order_id/contract/private/positionGet Current Position (KEYED): Add new request field account/contract/private/position-riskGet Current Position Risk Details(KEYED): Add new request field account/contract/private/tradesGet Order Trade (KEYED): Add new request field account, request field symbol changed to optional/contract/private/transaction-historyGet Transaction History (KEYED): Add new request field account/account/v1/walletGet Account Balance (KEYED): Add new request field needUsdValuation/spot/v4/batch_ordersNew Batch Order(v4) (SIGNED): Add new request field stpMode/spot/v2/submit_orderNew Order(v2) (SIGNED): Add new request field stpMode
v2.4.2 Release
Improvements
- Websocket: Add a name field to the WebSocket client.
- Websocket: When the client receives a close frame from the server, it should reconnect.
v2.4.1 Release
New Features
- New
/contract/private/modify-limit-orderModify Limit Order (SIGNED)
- Update
/contract/private/submit-orderSubmit Order (SIGNED): Add new request field stp_mode
Improvements
- Logging: Added daily polling log files
- Websocket: Output detailed log when exception occurs;Add a sample to subscribe to 1000 topics
v2.4.0 Release
New Features
- New
/account/v1/withdraw/address/listWithdraw Address (KEYED)/contract/public/markprice-klineGet MarkPrice K-line
- Update
/account/v1/currenciesGet Currencies: Add new request field currencies/account/v2/deposit-withdraw/historyGet Deposit And Withdraw History (KEYED): Add new request field startTime and endTime
v2.3.1 Release
Bug Fixes
- Fix the issue that Spot WebSocket login failure
v2.3.0 Release
New Features
- New
/contract/private/submit-trail-orderSubmit Trail Order (SIGNED)/contract/private/cancel-trail-orderCancel Trail Order (SIGNED)/contract/public/funding-rate-historyQuery Funding Rate History/contract/public/transaction-historyQuery Transaction History (KEYED)
- Update
/contract/private/submit-orderSubmit Order (SIGNED): Remove the Request Parameters related replacing trail orders/contract/private/modify-plan-orderModify Plan Order (SIGNED): Remove the Request Parameters client_order_id