Skip to content

Releases: bitmartexchange/bitmart-java-sdk-api

v2.8.0 Release

Choose a tag to compare

@BitMartDeveloper BitMartDeveloper released this 15 Jul 03:33

New Features

  • New
    • /account/v1/get-deposit-account Get Deposit Account (KEYED)
    • /account/v1/set-deposit-account Set Deposit Account (SIGNED)
    • /account/v1/transfer Account Transfer (SIGNED)
    • /uapi-key/v1/account/info Get Account Info (KEYED)
    • /contract/private/close-all-position Close All Positions (SIGNED)
    • /contract/private/account/v1/transfer Contract Account Transfer (SIGNED)
  • Update
    • /account/v1/withdraw/apply Withdraw (SIGNED): Add new request field sourceAccount

v2.7.0 Release

Choose a tag to compare

@BitMartDeveloper BitMartDeveloper released this 16 Jun 07:10

New Features

  • New
    • /newearn/cloud/v1/earn Get Savings (Earn) Account Holdings (KEYED)
    • /newearn/cloud/v1/saving/product Get Flexible Savings Product List (KEYED)
    • /newearn/cloud/v1/saving/subscribe Subscribe Flexible Savings (SIGNED)
    • /newearn/cloud/v1/saving/redeem Redeem Flexible Savings (SIGNED)
    • /newearn/cloud/v1/saving/earn Get Flexible Savings Holdings (KEYED)
    • /newearn/cloud/v1/saving/record Get Flexible Savings Records (KEYED)
    • /newearn/cloud/v1/saving/fixed/product Get Fixed Savings Product List (KEYED)
    • /newearn/cloud/v1/saving/fixed/subscribe Subscribe Fixed Savings (SIGNED)
    • /newearn/cloud/v1/saving/fixed/earn Get Fixed Savings Holdings (KEYED)
    • /newearn/cloud/v1/saving/fixed/record Get Fixed Savings Records (KEYED)
    • /newearn/cloud/v1/saving/fixed/redeem Early-Redeem Fixed Savings (SIGNED)
    • /newearn/cloud/v1/saving/fixed/subscribe/operate Modify Fixed Savings Auto-Renewal (SIGNED)
    • /newearn/cloud/v1/saving/subscribe/batch/operate Toggle Global Auto-Earn (SIGNED)
    • /newearn/cloud/v1/saving/subscribe/batch Get Global Auto-Earn Status (KEYED)
    • /newearn/cloud/v1/saving/subscribe/operate Toggle Flexible Product Auto-Subscribe (SIGNED)
    • /newearn/cloud/v1/saving/subscribe/status Get Flexible Product Auto-Subscribe Status (KEYED)

v2.6.0 Release

Choose a tag to compare

@BitMartDeveloper BitMartDeveloper released this 15 Jun 07:49

New Features

  • New
    • /account/sub-account/main/v1/sub-to-main Sub-Account to Main-Account (For Main Account) (SIGNED)
    • /account/sub-account/sub/v1/sub-to-main Sub-Account to Main-Account (For Sub-Account) (SIGNED)
    • /account/sub-account/main/v1/main-to-sub Main-Account to Sub-Account (For Main Account) (SIGNED)
    • /account/sub-account/main/v1/sub-to-sub Sub-Account to Sub-Account (For Main Account) (SIGNED)
    • /account/sub-account/main/v1/transfer-list Get Sub-Transfer History (For Main Account) (KEYED)
    • /account/sub-account/v1/transfer-history Get Account Transfer History (For Main and Sub Account) (KEYED)
    • /account/sub-account/main/v1/wallet Get Sub-Account Spot Wallet Balance (For Main Account) (KEYED)
    • /account/sub-account/main/v1/subaccount-list Get Sub-Account List (For Main Account) (KEYED)
    • /account/contract/sub-account/main/v1/sub-to-main Contract Sub-Account to Main-Account (For Main Account) (SIGNED)
    • /account/contract/sub-account/main/v1/main-to-sub Contract Main-Account to Sub-Account (For Main Account) (SIGNED)
    • /account/contract/sub-account/sub/v1/sub-to-main Contract Sub-Account to Main-Account (For Sub-Account) (SIGNED)
    • /account/contract/sub-account/main/v1/wallet Get Contract Sub-Account Wallet Balance (For Main Account) (KEYED)
    • /account/contract/sub-account/main/v1/transfer-list Get Contract Sub-Transfer History (For Main Account) (KEYED)
    • /account/contract/sub-account/v1/transfer-history Get Contract Account Transfer History (For Main and Sub Account) (KEYED)

v2.5.0 Release

Choose a tag to compare

@11101171 11101171 released this 09 Jun 15:20

New Features

  • New
    • /spot/v4/algo/submit_order Submit Algo Order(v4) (SIGNED)
    • /spot/v4/algo/cancel_order Cancel Algo Order(v4) (SIGNED)
    • /spot/v4/algo/cancel_all Cancel All Algo Orders(v4) (SIGNED)
    • /spot/v4/query/algo/order Query Algo Order by orderId(v4) (SIGNED)
    • /spot/v4/query/algo/client-order Query Algo Order by clientOrderId(v4) (SIGNED)
    • /spot/v4/query/algo/open-orders Query Algo Current Orders(v4) (SIGNED)
    • /spot/v4/query/algo/history-orders Query Algo History Orders(v4) (SIGNED)
    • /contract/public/funding-rate-v2 Get Current Funding Rate V2
    • /contract/private/auto_repayment Query Auto Repayment Records (KEYED)
    • /contract/private/cross_collateral/interest_log Query Interest Accrual Log (KEYED)
    • /contract/private/claim Claim Demo Assets (SIGNED)
    • /contract/private/affiliate/rebate-inviteUser Query Invited Users Rebate (KEYED)
    • /contract/private/affiliate/invite-check Check Invited User (KEYED)
    • /contract/private/affiliate/rebate-user Query Single User Rebate (KEYED)
    • /contract/private/affiliate/rebate-api Query Single API User Rebate (KEYED)
    • /contract/private/affiliate/deposit-withdrawal-list Query Invited Users Deposit And Withdraw (KEYED)
    • /contract/private/affiliate/aff-customer-info Query Invited User Contract Account Info (KEYED)
    • /contract/private/affiliate/rebate-list Query Rebate Records (KEYED)
    • /contract/private/affiliate/trade-list Query Invited Users Trade Records (KEYED)
    • spot/bookTicker:{symbol} [WebSocket] New public Best Order (bookTicker) channel
  • Update
    • /contract/private/trades Get Order Trade (KEYED): Add new request field order_id, client_order_id

v2.3.0 Release

Choose a tag to compare

@11101171 11101171 released this 25 Jan 13:48

New Features

  • New
    • /contract/private/submit-trail-order Submit Trail Order (SIGNED)
    • /contract/private/cancel-trail-order Cancel Trail Order (SIGNED)
    • /contract/public/funding-rate-history Query Funding Rate History
    • /contract/public/transaction-history Query Transaction History (KEYED)
  • Update
    • /contract/private/submit-order Submit Order (SIGNED): Remove the Request Parameters related replacing trail orders
    • /contract/private/modify-plan-order Modify Plan Order (SIGNED): Remove the Request Parameters client_order_id

v2.2.1 Release

Choose a tag to compare

@11101171 11101171 released this 12 Nov 12:54

Improvements

  • The domain name wss://openapi-ws.bitmart.com will not provide Futures 1.0 Websocket services.
    Please use the domain name wss://openapi-ws-v2.bitmart.com to access Futures 2.0 Websocket services
  • Rename GlobalConst.CLOUD_WS_URL to GlobalConst.CLOUD_SPOT_WS_PUBLIC_URL
  • Rename GlobalConst.CLOUD_WS_PRIVATE_URL to GlobalConst.CLOUD_SPOT_WS_PRIVATE_URL
  • Rename GlobalConst.CLOUD_CONTRACT_WS_URL to GlobalConst.CLOUD_FUTURES_WS_PUBLIC_URL
    and change the value from wss://openapi-ws.bitmart.com/api?protocol=1.1 to wss://openapi-ws-v2.bitmart.com/api?protocol=1.1
  • Rename GlobalConst.CLOUD_CONTRACT_WS_PRIVATE_URL to GlobalConst.CLOUD_FUTURES_WS_PRIVATE_URL
    and change the value from wss://openapi-ws.bitmart.com/user?protocol=1.1 to wss://openapi-ws-v2.bitmart.com/user?protocol=1.1
  • Upgrading dependencies with vulnerabilities
    • remove org.bouncycastle:bcprov-jdk15on:1.70

v2.2.0 Release

Choose a tag to compare

@11101171 11101171 released this 23 Oct 14:16

New Features

  • New
    • /contract/private/trade-fee-rate Support querying trade fee rate(KEYED)

Improvements

  • Add GlobalConst.CLOUD_V2_URL=https://api-cloud-v2.bitmart.com
  • Optimize websocket
    • The ping/pong mechanism of the spot websocket has been modified to support ping text
    • The send function replaces the subscribe function and can be used to subscribe and unsubscribe
    • Remove the isDebug function and isPrint variable, and use the log level to set debug instead
  • Upgrading dependencies with vulnerabilities
    • com.squareup.okhttp3 has been upgraded to 4.11.0
    • io.netty has been upgraded to 4.1.114.Final
    • org.bouncycastle has been upgraded to 1.70
    • ch.qos.logback has been upgraded to 1.2.13

v2.1.0 Release

Choose a tag to compare

@11101171 11101171 released this 20 Sep 09:31

New Features

  • New
    • /contract/private/submit-tp-sl-order
    • /contract/private/modify-plan-order
    • /contract/private/modify-preset-plan-order
    • /contract/private/modify-tp-sl-order
  • Updated
    • contract/private/cancel-order Add new request field client_order_id
    • /contract/private/cancel-plan-order Add new request field client_order_id
    • /contract/private/current-plan-order Add new request field plan_type

v2.0.1 Release

Choose a tag to compare

@11101171 11101171 released this 16 Sep 12:53

Improvements

  • Updated examples in the readme file

Bug Fixes

  • The post request does not carry the request header X-BM-KEY

v2.0.0 Release

Choose a tag to compare

@11101171 11101171 released this 16 Sep 12:52

New Features

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

Improvements

  • Support custom request headers
  • Class Renaming
    • OrderRequest renamed to GetOrderDetailRequest
    • OrderHistoryRequest renamed to GetOrderHistoryRequest
    • PositionRequest renamed to GetPositionRequest

Bug Fixes

  • Fix the exception caused by returning compressed data when logging into spot WebSocket