From 4f9c376ddf029da6414b038c43cb42bd4458e14f Mon Sep 17 00:00:00 2001 From: Jerko J <83344666+JJ-Cro@users.noreply.github.com> Date: Thu, 17 Oct 2024 17:33:36 +0200 Subject: [PATCH] feat(): updated examples --- examples/apidoc/FuturesClientV2/cancelAllFuturesOrders.js | 1 - examples/apidoc/FuturesClientV2/cancelFuturesOrder.js | 1 - examples/apidoc/FuturesClientV2/cancelFuturesPlanOrder.js | 1 - examples/apidoc/FuturesClientV2/getFuturesAccountAssets.js | 1 - .../apidoc/FuturesClientV2/getFuturesAccountOpenOrders.js | 1 - examples/apidoc/FuturesClientV2/getFuturesAccountOrder.js | 1 - .../apidoc/FuturesClientV2/getFuturesAccountOrderHistory.js | 1 - .../apidoc/FuturesClientV2/getFuturesAccountPlanOrders.js | 1 - .../apidoc/FuturesClientV2/getFuturesAccountPositions.js | 1 - examples/apidoc/FuturesClientV2/getFuturesAccountTrades.js | 1 - .../apidoc/FuturesClientV2/getFuturesAffiliateRebates.js | 1 - .../apidoc/FuturesClientV2/getFuturesAffiliateTrades.js | 1 - examples/apidoc/FuturesClientV2/getFuturesContractDepth.js | 1 - .../apidoc/FuturesClientV2/getFuturesContractDetails.js | 1 - examples/apidoc/FuturesClientV2/getFuturesFundingRate.js | 1 - examples/apidoc/FuturesClientV2/getFuturesKlines.js | 1 - examples/apidoc/FuturesClientV2/getFuturesOpenInterest.js | 1 - .../apidoc/FuturesClientV2/getFuturesSubTransferHistory.js | 1 - examples/apidoc/FuturesClientV2/getFuturesSubTransfers.js | 1 - examples/apidoc/FuturesClientV2/getFuturesSubWallet.js | 1 - examples/apidoc/FuturesClientV2/getFuturesTransfers.js | 1 - examples/apidoc/FuturesClientV2/getPositionRiskDetails.js | 1 - examples/apidoc/FuturesClientV2/getSystemStatus.js | 1 - examples/apidoc/FuturesClientV2/getSystemTime.js | 1 - examples/apidoc/FuturesClientV2/setFuturesLeverage.js | 1 - .../submitFuturesMainToSubTransferFromMain.js | 1 - examples/apidoc/FuturesClientV2/submitFuturesOrder.js | 1 - examples/apidoc/FuturesClientV2/submitFuturesPlanOrder.js | 1 - .../FuturesClientV2/submitFuturesSubToMainSubFromSub.js | 1 - .../submitFuturesSubToMainTransferFromMain.js | 1 - examples/apidoc/FuturesClientV2/submitFuturesTPSLOrder.js | 1 - examples/apidoc/FuturesClientV2/submitFuturesTransfer.js | 1 - examples/apidoc/FuturesClientV2/updateFuturesPlanOrder.js | 1 - .../apidoc/FuturesClientV2/updateFuturesPresetPlanOrder.js | 1 - examples/apidoc/FuturesClientV2/updateFuturesTPSLOrder.js | 1 - examples/apidoc/RestClient/cancelAllFuturesOrders.js | 1 - examples/apidoc/RestClient/cancelAllSpotOrders.js | 1 - examples/apidoc/RestClient/cancelFuturesOrder.js | 1 - examples/apidoc/RestClient/cancelFuturesPlanOrder.js | 1 - examples/apidoc/RestClient/cancelSpotBatchOrdersV4.js | 1 - examples/apidoc/RestClient/cancelSpotOrderV3.js | 1 - examples/apidoc/RestClient/cancelSpotOrdersV1.js | 1 - examples/apidoc/RestClient/getAccountBalancesV1.js | 1 - examples/apidoc/RestClient/getAccountCurrenciesV1.js | 1 - examples/apidoc/RestClient/getAccountDepositAddressV1.js | 1 - examples/apidoc/RestClient/getAccountSubTransfersV1.js | 1 - examples/apidoc/RestClient/getAccountWithdrawQuotaV1.js | 1 - examples/apidoc/RestClient/getActualSpotTradeFeeRateV1.js | 1 - examples/apidoc/RestClient/getBasicSpotFeeRateV1.js | 1 - examples/apidoc/RestClient/getBrokerRebate.js | 1 - examples/apidoc/RestClient/getDepositWithdrawDetailV1.js | 1 - examples/apidoc/RestClient/getDepositWithdrawHistoryV2.js | 1 - examples/apidoc/RestClient/getFuturesAccountAssets.js | 1 - examples/apidoc/RestClient/getFuturesAccountOpenOrders.js | 1 - examples/apidoc/RestClient/getFuturesAccountOrder.js | 1 - examples/apidoc/RestClient/getFuturesAccountOrderHistory.js | 1 - examples/apidoc/RestClient/getFuturesAccountPlanOrders.js | 1 - examples/apidoc/RestClient/getFuturesAccountPositions.js | 1 - examples/apidoc/RestClient/getFuturesAccountTrades.js | 1 - examples/apidoc/RestClient/getFuturesAffiliateRebates.js | 1 - examples/apidoc/RestClient/getFuturesAffiliateTrades.js | 1 - examples/apidoc/RestClient/getFuturesContractDepth.js | 1 - examples/apidoc/RestClient/getFuturesContractDetails.js | 1 - examples/apidoc/RestClient/getFuturesFundingRate.js | 1 - examples/apidoc/RestClient/getFuturesKlines.js | 1 - examples/apidoc/RestClient/getFuturesOpenInterest.js | 1 - examples/apidoc/RestClient/getFuturesSubTransferHistory.js | 1 - examples/apidoc/RestClient/getFuturesSubTransfers.js | 1 - examples/apidoc/RestClient/getFuturesSubWallet.js | 1 - examples/apidoc/RestClient/getFuturesTransfers.js | 1 - examples/apidoc/RestClient/getMarginAccountDetailsV1.js | 1 - examples/apidoc/RestClient/getMarginBorrowRecordV1.js | 1 - examples/apidoc/RestClient/getMarginBorrowingRatesV1.js | 1 - examples/apidoc/RestClient/getMarginRepayRecordV1.js | 1 - examples/apidoc/RestClient/getPositionRiskDetails.js | 1 - examples/apidoc/RestClient/getSpotAccountOrderTradesV4.js | 1 - examples/apidoc/RestClient/getSpotAccountTradesV4.js | 1 - examples/apidoc/RestClient/getSpotCurrenciesV1.js | 1 - examples/apidoc/RestClient/getSpotHistoricOrdersV4.js | 1 - examples/apidoc/RestClient/getSpotHistoryKlineV3.js | 1 - examples/apidoc/RestClient/getSpotKLineStepsV1.js | 1 - examples/apidoc/RestClient/getSpotKlinesV1.js | 1 - examples/apidoc/RestClient/getSpotLatestKlineV3.js | 1 - examples/apidoc/RestClient/getSpotOpenOrdersV4.js | 1 - examples/apidoc/RestClient/getSpotOrderBookDepthV1.js | 1 - examples/apidoc/RestClient/getSpotOrderBookDepthV3.js | 1 - examples/apidoc/RestClient/getSpotOrderByClientOrderIdV4.js | 1 - examples/apidoc/RestClient/getSpotOrderByIdV4.js | 1 - examples/apidoc/RestClient/getSpotRecentTrades.js | 1 - examples/apidoc/RestClient/getSpotTickerV1.js | 1 - examples/apidoc/RestClient/getSpotTickerV3.js | 1 - examples/apidoc/RestClient/getSpotTickersV2.js | 1 - examples/apidoc/RestClient/getSpotTickersV3.js | 1 - examples/apidoc/RestClient/getSpotTradingPairDetailsV1.js | 1 - examples/apidoc/RestClient/getSpotTradingPairsV1.js | 1 - examples/apidoc/RestClient/getSpotWalletBalanceV1.js | 1 - examples/apidoc/RestClient/getSubAccountsV1.js | 1 - examples/apidoc/RestClient/getSubSpotWalletBalancesV1.js | 1 - examples/apidoc/RestClient/getSubTransfersV1.js | 1 - examples/apidoc/RestClient/getSystemStatus.js | 1 - examples/apidoc/RestClient/getSystemTime.js | 1 - examples/apidoc/RestClient/marginBorrowV1.js | 1 - examples/apidoc/RestClient/marginRepayV1.js | 1 - examples/apidoc/RestClient/setFuturesLeverage.js | 1 - .../RestClient/submitFuturesMainToSubTransferFromMain.js | 1 - examples/apidoc/RestClient/submitFuturesOrder.js | 1 - examples/apidoc/RestClient/submitFuturesPlanOrder.js | 1 - .../apidoc/RestClient/submitFuturesSubToMainSubFromSub.js | 1 - .../RestClient/submitFuturesSubToMainTransferFromMain.js | 1 - examples/apidoc/RestClient/submitFuturesTransfer.js | 1 - examples/apidoc/RestClient/submitMainTransferMainToSubV1.js | 1 - examples/apidoc/RestClient/submitMainTransferSubToMainV1.js | 1 - examples/apidoc/RestClient/submitMainTransferSubToSubV1.js | 1 - examples/apidoc/RestClient/submitMarginAssetTransferV1.js | 1 - examples/apidoc/RestClient/submitMarginOrderV1.js | 1 - examples/apidoc/RestClient/submitSpotBatchOrdersV2.js | 1 - examples/apidoc/RestClient/submitSpotBatchOrdersV4.js | 1 - examples/apidoc/RestClient/submitSpotOrderV2.js | 1 - examples/apidoc/RestClient/submitSubTransferSubToMainV1.js | 1 - examples/apidoc/RestClient/submitSubTransferSubToSubV1.js | 1 - examples/apidoc/RestClient/submitWithdrawalV1.js | 1 - examples/futures-submit-order.ts | 6 +++--- 122 files changed, 3 insertions(+), 124 deletions(-) diff --git a/examples/apidoc/FuturesClientV2/cancelAllFuturesOrders.js b/examples/apidoc/FuturesClientV2/cancelAllFuturesOrders.js index e814850..9fcb5d2 100644 --- a/examples/apidoc/FuturesClientV2/cancelAllFuturesOrders.js +++ b/examples/apidoc/FuturesClientV2/cancelAllFuturesOrders.js @@ -5,7 +5,6 @@ const { FuturesClientV2 } = require('bitmart-api'); // ENDPOINT: contract/private/cancel-orders // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/FuturesClientV2.ts#L216 const client = new FuturesClientV2({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/FuturesClientV2/cancelFuturesOrder.js b/examples/apidoc/FuturesClientV2/cancelFuturesOrder.js index 8b574fd..02fab8f 100644 --- a/examples/apidoc/FuturesClientV2/cancelFuturesOrder.js +++ b/examples/apidoc/FuturesClientV2/cancelFuturesOrder.js @@ -5,7 +5,6 @@ const { FuturesClientV2 } = require('bitmart-api'); // ENDPOINT: contract/private/cancel-order // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/FuturesClientV2.ts#L210 const client = new FuturesClientV2({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/FuturesClientV2/cancelFuturesPlanOrder.js b/examples/apidoc/FuturesClientV2/cancelFuturesPlanOrder.js index 4d92b60..d1a6f05 100644 --- a/examples/apidoc/FuturesClientV2/cancelFuturesPlanOrder.js +++ b/examples/apidoc/FuturesClientV2/cancelFuturesPlanOrder.js @@ -5,7 +5,6 @@ const { FuturesClientV2 } = require('bitmart-api'); // ENDPOINT: contract/private/cancel-plan-order // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/FuturesClientV2.ts#L230 const client = new FuturesClientV2({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/FuturesClientV2/getFuturesAccountAssets.js b/examples/apidoc/FuturesClientV2/getFuturesAccountAssets.js index b87ee9f..01a91ff 100644 --- a/examples/apidoc/FuturesClientV2/getFuturesAccountAssets.js +++ b/examples/apidoc/FuturesClientV2/getFuturesAccountAssets.js @@ -5,7 +5,6 @@ const { FuturesClientV2 } = require('bitmart-api'); // ENDPOINT: contract/private/assets-detail // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/FuturesClientV2.ts#L141 const client = new FuturesClientV2({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/FuturesClientV2/getFuturesAccountOpenOrders.js b/examples/apidoc/FuturesClientV2/getFuturesAccountOpenOrders.js index 0c800cd..b0990fe 100644 --- a/examples/apidoc/FuturesClientV2/getFuturesAccountOpenOrders.js +++ b/examples/apidoc/FuturesClientV2/getFuturesAccountOpenOrders.js @@ -5,7 +5,6 @@ const { FuturesClientV2 } = require('bitmart-api'); // ENDPOINT: contract/private/get-open-orders // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/FuturesClientV2.ts#L163 const client = new FuturesClientV2({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/FuturesClientV2/getFuturesAccountOrder.js b/examples/apidoc/FuturesClientV2/getFuturesAccountOrder.js index cba5412..891954f 100644 --- a/examples/apidoc/FuturesClientV2/getFuturesAccountOrder.js +++ b/examples/apidoc/FuturesClientV2/getFuturesAccountOrder.js @@ -5,7 +5,6 @@ const { FuturesClientV2 } = require('bitmart-api'); // ENDPOINT: contract/private/order // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/FuturesClientV2.ts#L151 const client = new FuturesClientV2({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/FuturesClientV2/getFuturesAccountOrderHistory.js b/examples/apidoc/FuturesClientV2/getFuturesAccountOrderHistory.js index 78d6462..70ef258 100644 --- a/examples/apidoc/FuturesClientV2/getFuturesAccountOrderHistory.js +++ b/examples/apidoc/FuturesClientV2/getFuturesAccountOrderHistory.js @@ -5,7 +5,6 @@ const { FuturesClientV2 } = require('bitmart-api'); // ENDPOINT: contract/private/order-history // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/FuturesClientV2.ts#L157 const client = new FuturesClientV2({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/FuturesClientV2/getFuturesAccountPlanOrders.js b/examples/apidoc/FuturesClientV2/getFuturesAccountPlanOrders.js index 217f8dc..7d65aae 100644 --- a/examples/apidoc/FuturesClientV2/getFuturesAccountPlanOrders.js +++ b/examples/apidoc/FuturesClientV2/getFuturesAccountPlanOrders.js @@ -5,7 +5,6 @@ const { FuturesClientV2 } = require('bitmart-api'); // ENDPOINT: contract/private/current-plan-order // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/FuturesClientV2.ts#L169 const client = new FuturesClientV2({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/FuturesClientV2/getFuturesAccountPositions.js b/examples/apidoc/FuturesClientV2/getFuturesAccountPositions.js index b999b08..0bb9f1a 100644 --- a/examples/apidoc/FuturesClientV2/getFuturesAccountPositions.js +++ b/examples/apidoc/FuturesClientV2/getFuturesAccountPositions.js @@ -5,7 +5,6 @@ const { FuturesClientV2 } = require('bitmart-api'); // ENDPOINT: contract/private/position // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/FuturesClientV2.ts#L175 const client = new FuturesClientV2({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/FuturesClientV2/getFuturesAccountTrades.js b/examples/apidoc/FuturesClientV2/getFuturesAccountTrades.js index fe02499..60292e6 100644 --- a/examples/apidoc/FuturesClientV2/getFuturesAccountTrades.js +++ b/examples/apidoc/FuturesClientV2/getFuturesAccountTrades.js @@ -5,7 +5,6 @@ const { FuturesClientV2 } = require('bitmart-api'); // ENDPOINT: contract/private/trades // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/FuturesClientV2.ts#L190 const client = new FuturesClientV2({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/FuturesClientV2/getFuturesAffiliateRebates.js b/examples/apidoc/FuturesClientV2/getFuturesAffiliateRebates.js index 6f7db34..d2246d3 100644 --- a/examples/apidoc/FuturesClientV2/getFuturesAffiliateRebates.js +++ b/examples/apidoc/FuturesClientV2/getFuturesAffiliateRebates.js @@ -5,7 +5,6 @@ const { FuturesClientV2 } = require('bitmart-api'); // ENDPOINT: contract/private/affiliate/rebate-list // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/FuturesClientV2.ts#L354 const client = new FuturesClientV2({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/FuturesClientV2/getFuturesAffiliateTrades.js b/examples/apidoc/FuturesClientV2/getFuturesAffiliateTrades.js index c476354..74327cc 100644 --- a/examples/apidoc/FuturesClientV2/getFuturesAffiliateTrades.js +++ b/examples/apidoc/FuturesClientV2/getFuturesAffiliateTrades.js @@ -5,7 +5,6 @@ const { FuturesClientV2 } = require('bitmart-api'); // ENDPOINT: contract/private/affiliate/trade-list // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/FuturesClientV2.ts#L360 const client = new FuturesClientV2({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/FuturesClientV2/getFuturesContractDepth.js b/examples/apidoc/FuturesClientV2/getFuturesContractDepth.js index c6ba319..26b52db 100644 --- a/examples/apidoc/FuturesClientV2/getFuturesContractDepth.js +++ b/examples/apidoc/FuturesClientV2/getFuturesContractDepth.js @@ -5,7 +5,6 @@ const { FuturesClientV2 } = require('bitmart-api'); // ENDPOINT: contract/public/depth // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/FuturesClientV2.ts#L111 const client = new FuturesClientV2({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/FuturesClientV2/getFuturesContractDetails.js b/examples/apidoc/FuturesClientV2/getFuturesContractDetails.js index 6027864..5f118d3 100644 --- a/examples/apidoc/FuturesClientV2/getFuturesContractDetails.js +++ b/examples/apidoc/FuturesClientV2/getFuturesContractDetails.js @@ -5,7 +5,6 @@ const { FuturesClientV2 } = require('bitmart-api'); // ENDPOINT: contract/public/details // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/FuturesClientV2.ts#L105 const client = new FuturesClientV2({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/FuturesClientV2/getFuturesFundingRate.js b/examples/apidoc/FuturesClientV2/getFuturesFundingRate.js index d22a9b0..54281b9 100644 --- a/examples/apidoc/FuturesClientV2/getFuturesFundingRate.js +++ b/examples/apidoc/FuturesClientV2/getFuturesFundingRate.js @@ -5,7 +5,6 @@ const { FuturesClientV2 } = require('bitmart-api'); // ENDPOINT: contract/public/funding-rate // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/FuturesClientV2.ts#L123 const client = new FuturesClientV2({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/FuturesClientV2/getFuturesKlines.js b/examples/apidoc/FuturesClientV2/getFuturesKlines.js index e75fd2c..077c26e 100644 --- a/examples/apidoc/FuturesClientV2/getFuturesKlines.js +++ b/examples/apidoc/FuturesClientV2/getFuturesKlines.js @@ -5,7 +5,6 @@ const { FuturesClientV2 } = require('bitmart-api'); // ENDPOINT: contract/public/kline // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/FuturesClientV2.ts#L129 const client = new FuturesClientV2({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/FuturesClientV2/getFuturesOpenInterest.js b/examples/apidoc/FuturesClientV2/getFuturesOpenInterest.js index f207377..2eacf33 100644 --- a/examples/apidoc/FuturesClientV2/getFuturesOpenInterest.js +++ b/examples/apidoc/FuturesClientV2/getFuturesOpenInterest.js @@ -5,7 +5,6 @@ const { FuturesClientV2 } = require('bitmart-api'); // ENDPOINT: contract/public/open-interest // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/FuturesClientV2.ts#L117 const client = new FuturesClientV2({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/FuturesClientV2/getFuturesSubTransferHistory.js b/examples/apidoc/FuturesClientV2/getFuturesSubTransferHistory.js index 5d32080..b3b8516 100644 --- a/examples/apidoc/FuturesClientV2/getFuturesSubTransferHistory.js +++ b/examples/apidoc/FuturesClientV2/getFuturesSubTransferHistory.js @@ -5,7 +5,6 @@ const { FuturesClientV2 } = require('bitmart-api'); // ENDPOINT: account/contract/sub-account/v1/transfer-history // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/FuturesClientV2.ts#L339 const client = new FuturesClientV2({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/FuturesClientV2/getFuturesSubTransfers.js b/examples/apidoc/FuturesClientV2/getFuturesSubTransfers.js index a3fc8a5..f20aee1 100644 --- a/examples/apidoc/FuturesClientV2/getFuturesSubTransfers.js +++ b/examples/apidoc/FuturesClientV2/getFuturesSubTransfers.js @@ -5,7 +5,6 @@ const { FuturesClientV2 } = require('bitmart-api'); // ENDPOINT: account/contract/sub-account/main/v1/transfer-list // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/FuturesClientV2.ts#L330 const client = new FuturesClientV2({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/FuturesClientV2/getFuturesSubWallet.js b/examples/apidoc/FuturesClientV2/getFuturesSubWallet.js index de2e176..81e8895 100644 --- a/examples/apidoc/FuturesClientV2/getFuturesSubWallet.js +++ b/examples/apidoc/FuturesClientV2/getFuturesSubWallet.js @@ -5,7 +5,6 @@ const { FuturesClientV2 } = require('bitmart-api'); // ENDPOINT: account/contract/sub-account/main/v1/wallet // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/FuturesClientV2.ts#L319 const client = new FuturesClientV2({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/FuturesClientV2/getFuturesTransfers.js b/examples/apidoc/FuturesClientV2/getFuturesTransfers.js index a806720..77c9ee2 100644 --- a/examples/apidoc/FuturesClientV2/getFuturesTransfers.js +++ b/examples/apidoc/FuturesClientV2/getFuturesTransfers.js @@ -5,7 +5,6 @@ const { FuturesClientV2 } = require('bitmart-api'); // ENDPOINT: account/v1/transfer-contract-list // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/FuturesClientV2.ts#L196 const client = new FuturesClientV2({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/FuturesClientV2/getPositionRiskDetails.js b/examples/apidoc/FuturesClientV2/getPositionRiskDetails.js index b0964d7..18d7241 100644 --- a/examples/apidoc/FuturesClientV2/getPositionRiskDetails.js +++ b/examples/apidoc/FuturesClientV2/getPositionRiskDetails.js @@ -5,7 +5,6 @@ const { FuturesClientV2 } = require('bitmart-api'); // ENDPOINT: contract/private/position-risk // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/FuturesClientV2.ts#L184 const client = new FuturesClientV2({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/FuturesClientV2/getSystemStatus.js b/examples/apidoc/FuturesClientV2/getSystemStatus.js index 3ad1029..e7b49c4 100644 --- a/examples/apidoc/FuturesClientV2/getSystemStatus.js +++ b/examples/apidoc/FuturesClientV2/getSystemStatus.js @@ -5,7 +5,6 @@ const { FuturesClientV2 } = require('bitmart-api'); // ENDPOINT: system/service // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/FuturesClientV2.ts#L84 const client = new FuturesClientV2({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/FuturesClientV2/getSystemTime.js b/examples/apidoc/FuturesClientV2/getSystemTime.js index 01dffc0..51cc0db 100644 --- a/examples/apidoc/FuturesClientV2/getSystemTime.js +++ b/examples/apidoc/FuturesClientV2/getSystemTime.js @@ -5,7 +5,6 @@ const { FuturesClientV2 } = require('bitmart-api'); // ENDPOINT: system/time // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/FuturesClientV2.ts#L80 const client = new FuturesClientV2({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/FuturesClientV2/setFuturesLeverage.js b/examples/apidoc/FuturesClientV2/setFuturesLeverage.js index c8216e9..d9155de 100644 --- a/examples/apidoc/FuturesClientV2/setFuturesLeverage.js +++ b/examples/apidoc/FuturesClientV2/setFuturesLeverage.js @@ -5,7 +5,6 @@ const { FuturesClientV2 } = require('bitmart-api'); // ENDPOINT: contract/private/submit-leverage // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/FuturesClientV2.ts#L242 const client = new FuturesClientV2({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/FuturesClientV2/submitFuturesMainToSubTransferFromMain.js b/examples/apidoc/FuturesClientV2/submitFuturesMainToSubTransferFromMain.js index 53d61e1..0d7992b 100644 --- a/examples/apidoc/FuturesClientV2/submitFuturesMainToSubTransferFromMain.js +++ b/examples/apidoc/FuturesClientV2/submitFuturesMainToSubTransferFromMain.js @@ -5,7 +5,6 @@ const { FuturesClientV2 } = require('bitmart-api'); // ENDPOINT: account/contract/sub-account/main/v1/main-to-sub // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/FuturesClientV2.ts#L301 const client = new FuturesClientV2({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/FuturesClientV2/submitFuturesOrder.js b/examples/apidoc/FuturesClientV2/submitFuturesOrder.js index 5ca62ac..614ac9f 100644 --- a/examples/apidoc/FuturesClientV2/submitFuturesOrder.js +++ b/examples/apidoc/FuturesClientV2/submitFuturesOrder.js @@ -5,7 +5,6 @@ const { FuturesClientV2 } = require('bitmart-api'); // ENDPOINT: contract/private/submit-order // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/FuturesClientV2.ts#L204 const client = new FuturesClientV2({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/FuturesClientV2/submitFuturesPlanOrder.js b/examples/apidoc/FuturesClientV2/submitFuturesPlanOrder.js index fb300dd..fc85d79 100644 --- a/examples/apidoc/FuturesClientV2/submitFuturesPlanOrder.js +++ b/examples/apidoc/FuturesClientV2/submitFuturesPlanOrder.js @@ -5,7 +5,6 @@ const { FuturesClientV2 } = require('bitmart-api'); // ENDPOINT: contract/private/submit-plan-order // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/FuturesClientV2.ts#L222 const client = new FuturesClientV2({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/FuturesClientV2/submitFuturesSubToMainSubFromSub.js b/examples/apidoc/FuturesClientV2/submitFuturesSubToMainSubFromSub.js index be546fa..645f7b2 100644 --- a/examples/apidoc/FuturesClientV2/submitFuturesSubToMainSubFromSub.js +++ b/examples/apidoc/FuturesClientV2/submitFuturesSubToMainSubFromSub.js @@ -5,7 +5,6 @@ const { FuturesClientV2 } = require('bitmart-api'); // ENDPOINT: account/contract/sub-account/sub/v1/sub-to-main // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/FuturesClientV2.ts#L310 const client = new FuturesClientV2({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/FuturesClientV2/submitFuturesSubToMainTransferFromMain.js b/examples/apidoc/FuturesClientV2/submitFuturesSubToMainTransferFromMain.js index 36a71bb..db5d6fa 100644 --- a/examples/apidoc/FuturesClientV2/submitFuturesSubToMainTransferFromMain.js +++ b/examples/apidoc/FuturesClientV2/submitFuturesSubToMainTransferFromMain.js @@ -5,7 +5,6 @@ const { FuturesClientV2 } = require('bitmart-api'); // ENDPOINT: account/contract/sub-account/main/v1/sub-to-main // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/FuturesClientV2.ts#L292 const client = new FuturesClientV2({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/FuturesClientV2/submitFuturesTPSLOrder.js b/examples/apidoc/FuturesClientV2/submitFuturesTPSLOrder.js index 814e895..1db9b7d 100644 --- a/examples/apidoc/FuturesClientV2/submitFuturesTPSLOrder.js +++ b/examples/apidoc/FuturesClientV2/submitFuturesTPSLOrder.js @@ -5,7 +5,6 @@ const { FuturesClientV2 } = require('bitmart-api'); // ENDPOINT: contract/private/submit-tp-sl-order // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/FuturesClientV2.ts#L248 const client = new FuturesClientV2({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/FuturesClientV2/submitFuturesTransfer.js b/examples/apidoc/FuturesClientV2/submitFuturesTransfer.js index 78ef789..b9e24dc 100644 --- a/examples/apidoc/FuturesClientV2/submitFuturesTransfer.js +++ b/examples/apidoc/FuturesClientV2/submitFuturesTransfer.js @@ -5,7 +5,6 @@ const { FuturesClientV2 } = require('bitmart-api'); // ENDPOINT: account/v1/transfer-contract // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/FuturesClientV2.ts#L236 const client = new FuturesClientV2({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/FuturesClientV2/updateFuturesPlanOrder.js b/examples/apidoc/FuturesClientV2/updateFuturesPlanOrder.js index a946d6d..2bdc900 100644 --- a/examples/apidoc/FuturesClientV2/updateFuturesPlanOrder.js +++ b/examples/apidoc/FuturesClientV2/updateFuturesPlanOrder.js @@ -5,7 +5,6 @@ const { FuturesClientV2 } = require('bitmart-api'); // ENDPOINT: contract/private/modify-plan-order // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/FuturesClientV2.ts#L257 const client = new FuturesClientV2({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/FuturesClientV2/updateFuturesPresetPlanOrder.js b/examples/apidoc/FuturesClientV2/updateFuturesPresetPlanOrder.js index ae66cae..55781b6 100644 --- a/examples/apidoc/FuturesClientV2/updateFuturesPresetPlanOrder.js +++ b/examples/apidoc/FuturesClientV2/updateFuturesPresetPlanOrder.js @@ -5,7 +5,6 @@ const { FuturesClientV2 } = require('bitmart-api'); // ENDPOINT: contract/private/modify-preset-plan-order // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/FuturesClientV2.ts#L265 const client = new FuturesClientV2({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/FuturesClientV2/updateFuturesTPSLOrder.js b/examples/apidoc/FuturesClientV2/updateFuturesTPSLOrder.js index d34deeb..bfe8793 100644 --- a/examples/apidoc/FuturesClientV2/updateFuturesTPSLOrder.js +++ b/examples/apidoc/FuturesClientV2/updateFuturesTPSLOrder.js @@ -5,7 +5,6 @@ const { FuturesClientV2 } = require('bitmart-api'); // ENDPOINT: contract/private/modify-tp-sl-order // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/FuturesClientV2.ts#L278 const client = new FuturesClientV2({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/cancelAllFuturesOrders.js b/examples/apidoc/RestClient/cancelAllFuturesOrders.js index fc0d5aa..c27554f 100644 --- a/examples/apidoc/RestClient/cancelAllFuturesOrders.js +++ b/examples/apidoc/RestClient/cancelAllFuturesOrders.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: contract/private/cancel-orders // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L714 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/cancelAllSpotOrders.js b/examples/apidoc/RestClient/cancelAllSpotOrders.js index 1315cc4..973de10 100644 --- a/examples/apidoc/RestClient/cancelAllSpotOrders.js +++ b/examples/apidoc/RestClient/cancelAllSpotOrders.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: spot/v4/cancel_all // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L374 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/cancelFuturesOrder.js b/examples/apidoc/RestClient/cancelFuturesOrder.js index 265282a..2770d62 100644 --- a/examples/apidoc/RestClient/cancelFuturesOrder.js +++ b/examples/apidoc/RestClient/cancelFuturesOrder.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: contract/private/cancel-order // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L705 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/cancelFuturesPlanOrder.js b/examples/apidoc/RestClient/cancelFuturesPlanOrder.js index 879cf42..5570ac1 100644 --- a/examples/apidoc/RestClient/cancelFuturesPlanOrder.js +++ b/examples/apidoc/RestClient/cancelFuturesPlanOrder.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: contract/private/cancel-plan-order // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L734 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/cancelSpotBatchOrdersV4.js b/examples/apidoc/RestClient/cancelSpotBatchOrdersV4.js index 3eba6a2..9afb8eb 100644 --- a/examples/apidoc/RestClient/cancelSpotBatchOrdersV4.js +++ b/examples/apidoc/RestClient/cancelSpotBatchOrdersV4.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: spot/v4/cancel_orders // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L368 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/cancelSpotOrderV3.js b/examples/apidoc/RestClient/cancelSpotOrderV3.js index f29a006..2684775 100644 --- a/examples/apidoc/RestClient/cancelSpotOrderV3.js +++ b/examples/apidoc/RestClient/cancelSpotOrderV3.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: spot/v3/cancel_order // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L351 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/cancelSpotOrdersV1.js b/examples/apidoc/RestClient/cancelSpotOrdersV1.js index b3cf637..d4b7537 100644 --- a/examples/apidoc/RestClient/cancelSpotOrdersV1.js +++ b/examples/apidoc/RestClient/cancelSpotOrdersV1.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: spot/v1/cancel_orders // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L383 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getAccountBalancesV1.js b/examples/apidoc/RestClient/getAccountBalancesV1.js index 740772f..30da198 100644 --- a/examples/apidoc/RestClient/getAccountBalancesV1.js +++ b/examples/apidoc/RestClient/getAccountBalancesV1.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: account/v1/wallet // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L254 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getAccountCurrenciesV1.js b/examples/apidoc/RestClient/getAccountCurrenciesV1.js index 65bfb90..b5bb2d1 100644 --- a/examples/apidoc/RestClient/getAccountCurrenciesV1.js +++ b/examples/apidoc/RestClient/getAccountCurrenciesV1.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: account/v1/currencies // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L260 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getAccountDepositAddressV1.js b/examples/apidoc/RestClient/getAccountDepositAddressV1.js index 76bb29b..1f5940a 100644 --- a/examples/apidoc/RestClient/getAccountDepositAddressV1.js +++ b/examples/apidoc/RestClient/getAccountDepositAddressV1.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: account/v1/deposit/address // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L272 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getAccountSubTransfersV1.js b/examples/apidoc/RestClient/getAccountSubTransfersV1.js index 81091db..63c2b9e 100644 --- a/examples/apidoc/RestClient/getAccountSubTransfersV1.js +++ b/examples/apidoc/RestClient/getAccountSubTransfersV1.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: account/sub-account/v1/transfer-history // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L526 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getAccountWithdrawQuotaV1.js b/examples/apidoc/RestClient/getAccountWithdrawQuotaV1.js index e5ba5f8..247e55d 100644 --- a/examples/apidoc/RestClient/getAccountWithdrawQuotaV1.js +++ b/examples/apidoc/RestClient/getAccountWithdrawQuotaV1.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: account/v1/withdraw/charge // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L278 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getActualSpotTradeFeeRateV1.js b/examples/apidoc/RestClient/getActualSpotTradeFeeRateV1.js index 655417b..6782f7b 100644 --- a/examples/apidoc/RestClient/getActualSpotTradeFeeRateV1.js +++ b/examples/apidoc/RestClient/getActualSpotTradeFeeRateV1.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: spot/v1/trade_fee // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L318 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getBasicSpotFeeRateV1.js b/examples/apidoc/RestClient/getBasicSpotFeeRateV1.js index db78339..d7ba787 100644 --- a/examples/apidoc/RestClient/getBasicSpotFeeRateV1.js +++ b/examples/apidoc/RestClient/getBasicSpotFeeRateV1.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: spot/v1/user_fee // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L314 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getBrokerRebate.js b/examples/apidoc/RestClient/getBrokerRebate.js index 1405431..04915b2 100644 --- a/examples/apidoc/RestClient/getBrokerRebate.js +++ b/examples/apidoc/RestClient/getBrokerRebate.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: spot/v1/broker/rebate // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L868 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getDepositWithdrawDetailV1.js b/examples/apidoc/RestClient/getDepositWithdrawDetailV1.js index b526237..9cd3dd1 100644 --- a/examples/apidoc/RestClient/getDepositWithdrawDetailV1.js +++ b/examples/apidoc/RestClient/getDepositWithdrawDetailV1.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: account/v1/deposit-withdraw/detail // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L296 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getDepositWithdrawHistoryV2.js b/examples/apidoc/RestClient/getDepositWithdrawHistoryV2.js index ee46d1b..a1b95f7 100644 --- a/examples/apidoc/RestClient/getDepositWithdrawHistoryV2.js +++ b/examples/apidoc/RestClient/getDepositWithdrawHistoryV2.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: account/v2/deposit-withdraw/history // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L290 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getFuturesAccountAssets.js b/examples/apidoc/RestClient/getFuturesAccountAssets.js index 7c10e22..e673c35 100644 --- a/examples/apidoc/RestClient/getFuturesAccountAssets.js +++ b/examples/apidoc/RestClient/getFuturesAccountAssets.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: contract/private/assets-detail // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L610 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getFuturesAccountOpenOrders.js b/examples/apidoc/RestClient/getFuturesAccountOpenOrders.js index 80ab34a..10a9494 100644 --- a/examples/apidoc/RestClient/getFuturesAccountOpenOrders.js +++ b/examples/apidoc/RestClient/getFuturesAccountOpenOrders.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: contract/private/get-open-orders // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L641 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getFuturesAccountOrder.js b/examples/apidoc/RestClient/getFuturesAccountOrder.js index 6cc23f4..078dc2a 100644 --- a/examples/apidoc/RestClient/getFuturesAccountOrder.js +++ b/examples/apidoc/RestClient/getFuturesAccountOrder.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: contract/private/order // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L623 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getFuturesAccountOrderHistory.js b/examples/apidoc/RestClient/getFuturesAccountOrderHistory.js index c4e8ec2..869c431 100644 --- a/examples/apidoc/RestClient/getFuturesAccountOrderHistory.js +++ b/examples/apidoc/RestClient/getFuturesAccountOrderHistory.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: contract/private/order-history // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L632 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getFuturesAccountPlanOrders.js b/examples/apidoc/RestClient/getFuturesAccountPlanOrders.js index 63cd558..4303b15 100644 --- a/examples/apidoc/RestClient/getFuturesAccountPlanOrders.js +++ b/examples/apidoc/RestClient/getFuturesAccountPlanOrders.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: contract/private/current-plan-order // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L650 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getFuturesAccountPositions.js b/examples/apidoc/RestClient/getFuturesAccountPositions.js index b336e9b..8696785 100644 --- a/examples/apidoc/RestClient/getFuturesAccountPositions.js +++ b/examples/apidoc/RestClient/getFuturesAccountPositions.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: contract/private/position // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L659 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getFuturesAccountTrades.js b/examples/apidoc/RestClient/getFuturesAccountTrades.js index 757c2ae..760df52 100644 --- a/examples/apidoc/RestClient/getFuturesAccountTrades.js +++ b/examples/apidoc/RestClient/getFuturesAccountTrades.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: contract/private/trades // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L677 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getFuturesAffiliateRebates.js b/examples/apidoc/RestClient/getFuturesAffiliateRebates.js index 9a1a14b..22ef9a7 100644 --- a/examples/apidoc/RestClient/getFuturesAffiliateRebates.js +++ b/examples/apidoc/RestClient/getFuturesAffiliateRebates.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: contract/private/affiliate/rebate-list // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L847 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getFuturesAffiliateTrades.js b/examples/apidoc/RestClient/getFuturesAffiliateTrades.js index 571c13f..b5a8eda 100644 --- a/examples/apidoc/RestClient/getFuturesAffiliateTrades.js +++ b/examples/apidoc/RestClient/getFuturesAffiliateTrades.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: contract/private/affiliate/trade-list // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L856 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getFuturesContractDepth.js b/examples/apidoc/RestClient/getFuturesContractDepth.js index f0915b8..8d6a0a0 100644 --- a/examples/apidoc/RestClient/getFuturesContractDepth.js +++ b/examples/apidoc/RestClient/getFuturesContractDepth.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: contract/public/depth // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L568 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getFuturesContractDetails.js b/examples/apidoc/RestClient/getFuturesContractDetails.js index 9dfba2b..ba422d8 100644 --- a/examples/apidoc/RestClient/getFuturesContractDetails.js +++ b/examples/apidoc/RestClient/getFuturesContractDetails.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: contract/public/details // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L559 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getFuturesFundingRate.js b/examples/apidoc/RestClient/getFuturesFundingRate.js index 07690cc..d174422 100644 --- a/examples/apidoc/RestClient/getFuturesFundingRate.js +++ b/examples/apidoc/RestClient/getFuturesFundingRate.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: contract/public/funding-rate // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L586 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getFuturesKlines.js b/examples/apidoc/RestClient/getFuturesKlines.js index 2433ef7..f61b85c 100644 --- a/examples/apidoc/RestClient/getFuturesKlines.js +++ b/examples/apidoc/RestClient/getFuturesKlines.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: contract/public/kline // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L595 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getFuturesOpenInterest.js b/examples/apidoc/RestClient/getFuturesOpenInterest.js index 4086f9b..21839ed 100644 --- a/examples/apidoc/RestClient/getFuturesOpenInterest.js +++ b/examples/apidoc/RestClient/getFuturesOpenInterest.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: contract/public/open-interest // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L577 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getFuturesSubTransferHistory.js b/examples/apidoc/RestClient/getFuturesSubTransferHistory.js index 0e2126d..2258983 100644 --- a/examples/apidoc/RestClient/getFuturesSubTransferHistory.js +++ b/examples/apidoc/RestClient/getFuturesSubTransferHistory.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: account/contract/sub-account/v1/transfer-history // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L829 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getFuturesSubTransfers.js b/examples/apidoc/RestClient/getFuturesSubTransfers.js index d1ba9e4..1e18192 100644 --- a/examples/apidoc/RestClient/getFuturesSubTransfers.js +++ b/examples/apidoc/RestClient/getFuturesSubTransfers.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: account/contract/sub-account/main/v1/transfer-list // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L817 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getFuturesSubWallet.js b/examples/apidoc/RestClient/getFuturesSubWallet.js index cf24741..17a871f 100644 --- a/examples/apidoc/RestClient/getFuturesSubWallet.js +++ b/examples/apidoc/RestClient/getFuturesSubWallet.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: account/contract/sub-account/main/v1/wallet // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L803 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getFuturesTransfers.js b/examples/apidoc/RestClient/getFuturesTransfers.js index 0a5e27f..2e28675 100644 --- a/examples/apidoc/RestClient/getFuturesTransfers.js +++ b/examples/apidoc/RestClient/getFuturesTransfers.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: account/v1/transfer-contract-list // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L686 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getMarginAccountDetailsV1.js b/examples/apidoc/RestClient/getMarginAccountDetailsV1.js index 42834fb..a4f14b3 100644 --- a/examples/apidoc/RestClient/getMarginAccountDetailsV1.js +++ b/examples/apidoc/RestClient/getMarginAccountDetailsV1.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: spot/v1/margin/isolated/account // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L302 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getMarginBorrowRecordV1.js b/examples/apidoc/RestClient/getMarginBorrowRecordV1.js index a24bad9..64b2e1f 100644 --- a/examples/apidoc/RestClient/getMarginBorrowRecordV1.js +++ b/examples/apidoc/RestClient/getMarginBorrowRecordV1.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: spot/v1/margin/isolated/borrow_record // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L457 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getMarginBorrowingRatesV1.js b/examples/apidoc/RestClient/getMarginBorrowingRatesV1.js index 388a12b..a7a8e2f 100644 --- a/examples/apidoc/RestClient/getMarginBorrowingRatesV1.js +++ b/examples/apidoc/RestClient/getMarginBorrowingRatesV1.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: spot/v1/margin/isolated/pairs // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L472 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getMarginRepayRecordV1.js b/examples/apidoc/RestClient/getMarginRepayRecordV1.js index 911c141..e5a57cb 100644 --- a/examples/apidoc/RestClient/getMarginRepayRecordV1.js +++ b/examples/apidoc/RestClient/getMarginRepayRecordV1.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: spot/v1/margin/isolated/repay_record // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L463 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getPositionRiskDetails.js b/examples/apidoc/RestClient/getPositionRiskDetails.js index dda6b8e..ad6f1ee 100644 --- a/examples/apidoc/RestClient/getPositionRiskDetails.js +++ b/examples/apidoc/RestClient/getPositionRiskDetails.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: contract/private/position-risk // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L668 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getSpotAccountOrderTradesV4.js b/examples/apidoc/RestClient/getSpotAccountOrderTradesV4.js index 9c395c3..05ac3d2 100644 --- a/examples/apidoc/RestClient/getSpotAccountOrderTradesV4.js +++ b/examples/apidoc/RestClient/getSpotAccountOrderTradesV4.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: spot/v4/query/order-trades // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L432 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getSpotAccountTradesV4.js b/examples/apidoc/RestClient/getSpotAccountTradesV4.js index 5b3279b..c77a1c9 100644 --- a/examples/apidoc/RestClient/getSpotAccountTradesV4.js +++ b/examples/apidoc/RestClient/getSpotAccountTradesV4.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: spot/v4/query/trades // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L423 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getSpotCurrenciesV1.js b/examples/apidoc/RestClient/getSpotCurrenciesV1.js index 8cace25..066c238 100644 --- a/examples/apidoc/RestClient/getSpotCurrenciesV1.js +++ b/examples/apidoc/RestClient/getSpotCurrenciesV1.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: spot/v1/currencies // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L149 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getSpotHistoricOrdersV4.js b/examples/apidoc/RestClient/getSpotHistoricOrdersV4.js index 750e378..a8b1d6f 100644 --- a/examples/apidoc/RestClient/getSpotHistoricOrdersV4.js +++ b/examples/apidoc/RestClient/getSpotHistoricOrdersV4.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: spot/v4/query/history-orders // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L414 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getSpotHistoryKlineV3.js b/examples/apidoc/RestClient/getSpotHistoryKlineV3.js index 22f2590..3a9860c 100644 --- a/examples/apidoc/RestClient/getSpotHistoryKlineV3.js +++ b/examples/apidoc/RestClient/getSpotHistoryKlineV3.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: spot/quotation/v3/klines // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L181 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getSpotKLineStepsV1.js b/examples/apidoc/RestClient/getSpotKLineStepsV1.js index b6937ab..32f07d2 100644 --- a/examples/apidoc/RestClient/getSpotKLineStepsV1.js +++ b/examples/apidoc/RestClient/getSpotKLineStepsV1.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: spot/v1/steps // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L226 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getSpotKlinesV1.js b/examples/apidoc/RestClient/getSpotKlinesV1.js index 67fc367..effa9b5 100644 --- a/examples/apidoc/RestClient/getSpotKlinesV1.js +++ b/examples/apidoc/RestClient/getSpotKlinesV1.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: spot/v1/symbols/kline // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L233 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getSpotLatestKlineV3.js b/examples/apidoc/RestClient/getSpotLatestKlineV3.js index 8a7bc87..60855d8 100644 --- a/examples/apidoc/RestClient/getSpotLatestKlineV3.js +++ b/examples/apidoc/RestClient/getSpotLatestKlineV3.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: spot/quotation/v3/lite-klines // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L175 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getSpotOpenOrdersV4.js b/examples/apidoc/RestClient/getSpotOpenOrdersV4.js index 0b5c1b0..34ab3aa 100644 --- a/examples/apidoc/RestClient/getSpotOpenOrdersV4.js +++ b/examples/apidoc/RestClient/getSpotOpenOrdersV4.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: spot/v4/query/open-orders // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L408 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getSpotOrderBookDepthV1.js b/examples/apidoc/RestClient/getSpotOrderBookDepthV1.js index f657f60..6f5c3b7 100644 --- a/examples/apidoc/RestClient/getSpotOrderBookDepthV1.js +++ b/examples/apidoc/RestClient/getSpotOrderBookDepthV1.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: spot/v1/symbols/book // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L242 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getSpotOrderBookDepthV3.js b/examples/apidoc/RestClient/getSpotOrderBookDepthV3.js index 8abf653..7a5c259 100644 --- a/examples/apidoc/RestClient/getSpotOrderBookDepthV3.js +++ b/examples/apidoc/RestClient/getSpotOrderBookDepthV3.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: spot/quotation/v3/books // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L187 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getSpotOrderByClientOrderIdV4.js b/examples/apidoc/RestClient/getSpotOrderByClientOrderIdV4.js index 16210a7..75a2054 100644 --- a/examples/apidoc/RestClient/getSpotOrderByClientOrderIdV4.js +++ b/examples/apidoc/RestClient/getSpotOrderByClientOrderIdV4.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: spot/v4/query/client-order // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L402 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getSpotOrderByIdV4.js b/examples/apidoc/RestClient/getSpotOrderByIdV4.js index 1a78559..75f2ff5 100644 --- a/examples/apidoc/RestClient/getSpotOrderByIdV4.js +++ b/examples/apidoc/RestClient/getSpotOrderByIdV4.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: spot/v4/query/order // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L393 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getSpotRecentTrades.js b/examples/apidoc/RestClient/getSpotRecentTrades.js index 1c2bc61..8d48c24 100644 --- a/examples/apidoc/RestClient/getSpotRecentTrades.js +++ b/examples/apidoc/RestClient/getSpotRecentTrades.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: spot/quotation/v3/trades // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L194 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getSpotTickerV1.js b/examples/apidoc/RestClient/getSpotTickerV1.js index 3303f5f..18b9a1d 100644 --- a/examples/apidoc/RestClient/getSpotTickerV1.js +++ b/examples/apidoc/RestClient/getSpotTickerV1.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: spot/v1/ticker_detail // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L217 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getSpotTickerV3.js b/examples/apidoc/RestClient/getSpotTickerV3.js index daf1b66..625b285 100644 --- a/examples/apidoc/RestClient/getSpotTickerV3.js +++ b/examples/apidoc/RestClient/getSpotTickerV3.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: spot/quotation/v3/ticker // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L169 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getSpotTickersV2.js b/examples/apidoc/RestClient/getSpotTickersV2.js index 0db13cb..a7ec18c 100644 --- a/examples/apidoc/RestClient/getSpotTickersV2.js +++ b/examples/apidoc/RestClient/getSpotTickersV2.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: spot/v2/ticker // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L210 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getSpotTickersV3.js b/examples/apidoc/RestClient/getSpotTickersV3.js index cc0e69f..be9a15d 100644 --- a/examples/apidoc/RestClient/getSpotTickersV3.js +++ b/examples/apidoc/RestClient/getSpotTickersV3.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: spot/quotation/v3/tickers // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L165 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getSpotTradingPairDetailsV1.js b/examples/apidoc/RestClient/getSpotTradingPairDetailsV1.js index 0eda3c0..b30fcb2 100644 --- a/examples/apidoc/RestClient/getSpotTradingPairDetailsV1.js +++ b/examples/apidoc/RestClient/getSpotTradingPairDetailsV1.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: spot/v1/symbols/details // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L159 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getSpotTradingPairsV1.js b/examples/apidoc/RestClient/getSpotTradingPairsV1.js index f8c4991..9001060 100644 --- a/examples/apidoc/RestClient/getSpotTradingPairsV1.js +++ b/examples/apidoc/RestClient/getSpotTradingPairsV1.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: spot/v1/symbols // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L155 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getSpotWalletBalanceV1.js b/examples/apidoc/RestClient/getSpotWalletBalanceV1.js index ba416fc..715fc89 100644 --- a/examples/apidoc/RestClient/getSpotWalletBalanceV1.js +++ b/examples/apidoc/RestClient/getSpotWalletBalanceV1.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: spot/v1/wallet // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L266 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getSubAccountsV1.js b/examples/apidoc/RestClient/getSubAccountsV1.js index 1d4cc77..143357d 100644 --- a/examples/apidoc/RestClient/getSubAccountsV1.js +++ b/examples/apidoc/RestClient/getSubAccountsV1.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: account/sub-account/main/v1/subaccount-list // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L538 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getSubSpotWalletBalancesV1.js b/examples/apidoc/RestClient/getSubSpotWalletBalancesV1.js index 273d43f..9570b9e 100644 --- a/examples/apidoc/RestClient/getSubSpotWalletBalancesV1.js +++ b/examples/apidoc/RestClient/getSubSpotWalletBalancesV1.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: account/sub-account/main/v1/wallet // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L532 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getSubTransfersV1.js b/examples/apidoc/RestClient/getSubTransfersV1.js index 1a9dcc7..18c232b 100644 --- a/examples/apidoc/RestClient/getSubTransfersV1.js +++ b/examples/apidoc/RestClient/getSubTransfersV1.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: account/sub-account/main/v1/transfer-list // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L520 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getSystemStatus.js b/examples/apidoc/RestClient/getSystemStatus.js index de2c52c..617316c 100644 --- a/examples/apidoc/RestClient/getSystemStatus.js +++ b/examples/apidoc/RestClient/getSystemStatus.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: system/service // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L139 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getSystemTime.js b/examples/apidoc/RestClient/getSystemTime.js index 7a289e0..455bb02 100644 --- a/examples/apidoc/RestClient/getSystemTime.js +++ b/examples/apidoc/RestClient/getSystemTime.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: system/time // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L135 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/marginBorrowV1.js b/examples/apidoc/RestClient/marginBorrowV1.js index 531da38..5898860 100644 --- a/examples/apidoc/RestClient/marginBorrowV1.js +++ b/examples/apidoc/RestClient/marginBorrowV1.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: spot/v1/margin/isolated/borrow // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L445 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/marginRepayV1.js b/examples/apidoc/RestClient/marginRepayV1.js index d2c2ad4..d601b25 100644 --- a/examples/apidoc/RestClient/marginRepayV1.js +++ b/examples/apidoc/RestClient/marginRepayV1.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: spot/v1/margin/isolated/repay // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L451 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/setFuturesLeverage.js b/examples/apidoc/RestClient/setFuturesLeverage.js index 72d615a..e77a7d6 100644 --- a/examples/apidoc/RestClient/setFuturesLeverage.js +++ b/examples/apidoc/RestClient/setFuturesLeverage.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: contract/private/submit-leverage // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L752 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/submitFuturesMainToSubTransferFromMain.js b/examples/apidoc/RestClient/submitFuturesMainToSubTransferFromMain.js index 1c4d4c1..8879d87 100644 --- a/examples/apidoc/RestClient/submitFuturesMainToSubTransferFromMain.js +++ b/examples/apidoc/RestClient/submitFuturesMainToSubTransferFromMain.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: account/contract/sub-account/main/v1/main-to-sub // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L779 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/submitFuturesOrder.js b/examples/apidoc/RestClient/submitFuturesOrder.js index da5a255..72f2344 100644 --- a/examples/apidoc/RestClient/submitFuturesOrder.js +++ b/examples/apidoc/RestClient/submitFuturesOrder.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: contract/private/submit-order // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L697 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/submitFuturesPlanOrder.js b/examples/apidoc/RestClient/submitFuturesPlanOrder.js index 8098067..338f635 100644 --- a/examples/apidoc/RestClient/submitFuturesPlanOrder.js +++ b/examples/apidoc/RestClient/submitFuturesPlanOrder.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: contract/private/submit-plan-order // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L723 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/submitFuturesSubToMainSubFromSub.js b/examples/apidoc/RestClient/submitFuturesSubToMainSubFromSub.js index a53dd0a..da5789f 100644 --- a/examples/apidoc/RestClient/submitFuturesSubToMainSubFromSub.js +++ b/examples/apidoc/RestClient/submitFuturesSubToMainSubFromSub.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: account/contract/sub-account/sub/v1/sub-to-main // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L791 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/submitFuturesSubToMainTransferFromMain.js b/examples/apidoc/RestClient/submitFuturesSubToMainTransferFromMain.js index b90244d..51dc36c 100644 --- a/examples/apidoc/RestClient/submitFuturesSubToMainTransferFromMain.js +++ b/examples/apidoc/RestClient/submitFuturesSubToMainTransferFromMain.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: account/contract/sub-account/main/v1/sub-to-main // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L767 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/submitFuturesTransfer.js b/examples/apidoc/RestClient/submitFuturesTransfer.js index 8bb1f4e..6079887 100644 --- a/examples/apidoc/RestClient/submitFuturesTransfer.js +++ b/examples/apidoc/RestClient/submitFuturesTransfer.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: account/v1/transfer-contract // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L743 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/submitMainTransferMainToSubV1.js b/examples/apidoc/RestClient/submitMainTransferMainToSubV1.js index e52e56e..8fb0783 100644 --- a/examples/apidoc/RestClient/submitMainTransferMainToSubV1.js +++ b/examples/apidoc/RestClient/submitMainTransferMainToSubV1.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: account/sub-account/main/v1/main-to-sub // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L502 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/submitMainTransferSubToMainV1.js b/examples/apidoc/RestClient/submitMainTransferSubToMainV1.js index 4d9ca95..0d86777 100644 --- a/examples/apidoc/RestClient/submitMainTransferSubToMainV1.js +++ b/examples/apidoc/RestClient/submitMainTransferSubToMainV1.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: account/sub-account/main/v1/sub-to-main // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L487 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/submitMainTransferSubToSubV1.js b/examples/apidoc/RestClient/submitMainTransferSubToSubV1.js index 14b7124..b3216d0 100644 --- a/examples/apidoc/RestClient/submitMainTransferSubToSubV1.js +++ b/examples/apidoc/RestClient/submitMainTransferSubToSubV1.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: account/sub-account/main/v1/sub-to-sub // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L508 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/submitMarginAssetTransferV1.js b/examples/apidoc/RestClient/submitMarginAssetTransferV1.js index f60009c..d1efed3 100644 --- a/examples/apidoc/RestClient/submitMarginAssetTransferV1.js +++ b/examples/apidoc/RestClient/submitMarginAssetTransferV1.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: spot/v1/margin/isolated/transfer // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L308 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/submitMarginOrderV1.js b/examples/apidoc/RestClient/submitMarginOrderV1.js index 7cd8ba7..579f20a 100644 --- a/examples/apidoc/RestClient/submitMarginOrderV1.js +++ b/examples/apidoc/RestClient/submitMarginOrderV1.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: spot/v1/margin/submit_order // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L336 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/submitSpotBatchOrdersV2.js b/examples/apidoc/RestClient/submitSpotBatchOrdersV2.js index 5f41a16..b99f8bf 100644 --- a/examples/apidoc/RestClient/submitSpotBatchOrdersV2.js +++ b/examples/apidoc/RestClient/submitSpotBatchOrdersV2.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: spot/v2/batch_orders // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L345 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/submitSpotBatchOrdersV4.js b/examples/apidoc/RestClient/submitSpotBatchOrdersV4.js index 09c441c..966c57c 100644 --- a/examples/apidoc/RestClient/submitSpotBatchOrdersV4.js +++ b/examples/apidoc/RestClient/submitSpotBatchOrdersV4.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: spot/v4/batch_orders // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L357 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/submitSpotOrderV2.js b/examples/apidoc/RestClient/submitSpotOrderV2.js index cb0477e..85666d6 100644 --- a/examples/apidoc/RestClient/submitSpotOrderV2.js +++ b/examples/apidoc/RestClient/submitSpotOrderV2.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: spot/v2/submit_order // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L330 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/submitSubTransferSubToMainV1.js b/examples/apidoc/RestClient/submitSubTransferSubToMainV1.js index 95d7378..d4a8aee 100644 --- a/examples/apidoc/RestClient/submitSubTransferSubToMainV1.js +++ b/examples/apidoc/RestClient/submitSubTransferSubToMainV1.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: account/sub-account/sub/v1/sub-to-main // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L496 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/submitSubTransferSubToSubV1.js b/examples/apidoc/RestClient/submitSubTransferSubToSubV1.js index 901e7b4..6526348 100644 --- a/examples/apidoc/RestClient/submitSubTransferSubToSubV1.js +++ b/examples/apidoc/RestClient/submitSubTransferSubToSubV1.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: account/sub-account/sub/v1/sub-to-sub // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L514 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/submitWithdrawalV1.js b/examples/apidoc/RestClient/submitWithdrawalV1.js index 01a802f..7cd7778 100644 --- a/examples/apidoc/RestClient/submitWithdrawalV1.js +++ b/examples/apidoc/RestClient/submitWithdrawalV1.js @@ -5,7 +5,6 @@ const { RestClient } = require('bitmart-api'); // ENDPOINT: account/v1/withdraw/apply // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/bitmart-api/blob/master/src/RestClient.ts#L284 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/futures-submit-order.ts b/examples/futures-submit-order.ts index 3b0e9bb..e21d418 100644 --- a/examples/futures-submit-order.ts +++ b/examples/futures-submit-order.ts @@ -17,10 +17,10 @@ const client = new FuturesClientV2({ async function SumbitFuturesOrder() { try { const order = await client.submitFuturesOrder({ - symbol: 'BTC_USDT', + symbol: 'BTCUSDT', + type: 'market', side: 1, // Order side - 1=buy_open_long -2=buy_close_short -3=sell_close_long -4=sell_open_short - leverage: '5', - size: 0.001, + size: 1, open_type: 'cross', });