From 27a599e1bf90ea5bd422ed3842cdeb238671b58b Mon Sep 17 00:00:00 2001 From: Jerko J <83344666+JJ-Cro@users.noreply.github.com> Date: Fri, 8 Nov 2024 11:13:42 +0100 Subject: [PATCH] chore(): Updated examples so each client matches the proper initialisation --- examples/apidoc/FuturesClientV2/cancelAllFuturesOrders.js | 5 +++-- examples/apidoc/FuturesClientV2/cancelFuturesOrder.js | 5 +++-- examples/apidoc/FuturesClientV2/cancelFuturesPlanOrder.js | 5 +++-- examples/apidoc/FuturesClientV2/getFuturesAccountAssets.js | 5 +++-- .../apidoc/FuturesClientV2/getFuturesAccountOpenOrders.js | 5 +++-- examples/apidoc/FuturesClientV2/getFuturesAccountOrder.js | 5 +++-- .../apidoc/FuturesClientV2/getFuturesAccountOrderHistory.js | 5 +++-- .../apidoc/FuturesClientV2/getFuturesAccountPlanOrders.js | 5 +++-- .../apidoc/FuturesClientV2/getFuturesAccountPositions.js | 5 +++-- examples/apidoc/FuturesClientV2/getFuturesAccountTrades.js | 5 +++-- .../apidoc/FuturesClientV2/getFuturesAffiliateRebates.js | 5 +++-- examples/apidoc/FuturesClientV2/getFuturesAffiliateTrades.js | 5 +++-- examples/apidoc/FuturesClientV2/getFuturesContractDepth.js | 5 +++-- examples/apidoc/FuturesClientV2/getFuturesContractDetails.js | 5 +++-- examples/apidoc/FuturesClientV2/getFuturesFundingRate.js | 5 +++-- examples/apidoc/FuturesClientV2/getFuturesKlines.js | 5 +++-- examples/apidoc/FuturesClientV2/getFuturesOpenInterest.js | 5 +++-- .../apidoc/FuturesClientV2/getFuturesSubTransferHistory.js | 5 +++-- examples/apidoc/FuturesClientV2/getFuturesSubTransfers.js | 5 +++-- examples/apidoc/FuturesClientV2/getFuturesSubWallet.js | 5 +++-- examples/apidoc/FuturesClientV2/getFuturesTradeFeeRate.js | 5 +++-- examples/apidoc/FuturesClientV2/getFuturesTransfers.js | 5 +++-- examples/apidoc/FuturesClientV2/getPositionRiskDetails.js | 5 +++-- examples/apidoc/FuturesClientV2/getSystemStatus.js | 5 +++-- examples/apidoc/FuturesClientV2/getSystemTime.js | 5 +++-- examples/apidoc/FuturesClientV2/setFuturesLeverage.js | 5 +++-- .../submitFuturesMainToSubTransferFromMain.js | 5 +++-- examples/apidoc/FuturesClientV2/submitFuturesOrder.js | 5 +++-- examples/apidoc/FuturesClientV2/submitFuturesPlanOrder.js | 5 +++-- .../FuturesClientV2/submitFuturesSubToMainSubFromSub.js | 5 +++-- .../submitFuturesSubToMainTransferFromMain.js | 5 +++-- examples/apidoc/FuturesClientV2/submitFuturesTPSLOrder.js | 5 +++-- examples/apidoc/FuturesClientV2/submitFuturesTransfer.js | 5 +++-- examples/apidoc/FuturesClientV2/updateFuturesPlanOrder.js | 5 +++-- .../apidoc/FuturesClientV2/updateFuturesPresetPlanOrder.js | 5 +++-- examples/apidoc/FuturesClientV2/updateFuturesTPSLOrder.js | 5 +++-- examples/apidoc/RestClient/cancelAllFuturesOrders.js | 5 +++-- examples/apidoc/RestClient/cancelAllSpotOrders.js | 5 +++-- examples/apidoc/RestClient/cancelFuturesOrder.js | 5 +++-- examples/apidoc/RestClient/cancelFuturesPlanOrder.js | 5 +++-- examples/apidoc/RestClient/cancelSpotBatchOrdersV4.js | 5 +++-- examples/apidoc/RestClient/cancelSpotOrderV3.js | 5 +++-- examples/apidoc/RestClient/cancelSpotOrdersV1.js | 5 +++-- examples/apidoc/RestClient/getAccountBalancesV1.js | 5 +++-- examples/apidoc/RestClient/getAccountCurrenciesV1.js | 5 +++-- examples/apidoc/RestClient/getAccountDepositAddressV1.js | 5 +++-- examples/apidoc/RestClient/getAccountSubTransfersV1.js | 5 +++-- examples/apidoc/RestClient/getAccountWithdrawQuotaV1.js | 5 +++-- examples/apidoc/RestClient/getActualSpotTradeFeeRateV1.js | 5 +++-- examples/apidoc/RestClient/getBasicSpotFeeRateV1.js | 5 +++-- examples/apidoc/RestClient/getBrokerRebate.js | 5 +++-- examples/apidoc/RestClient/getDepositWithdrawDetailV1.js | 5 +++-- examples/apidoc/RestClient/getDepositWithdrawHistoryV2.js | 5 +++-- examples/apidoc/RestClient/getFuturesAccountAssets.js | 5 +++-- examples/apidoc/RestClient/getFuturesAccountOpenOrders.js | 5 +++-- examples/apidoc/RestClient/getFuturesAccountOrder.js | 5 +++-- examples/apidoc/RestClient/getFuturesAccountOrderHistory.js | 5 +++-- examples/apidoc/RestClient/getFuturesAccountPlanOrders.js | 5 +++-- examples/apidoc/RestClient/getFuturesAccountPositions.js | 5 +++-- examples/apidoc/RestClient/getFuturesAccountTrades.js | 5 +++-- examples/apidoc/RestClient/getFuturesAffiliateRebates.js | 5 +++-- examples/apidoc/RestClient/getFuturesAffiliateTrades.js | 5 +++-- examples/apidoc/RestClient/getFuturesContractDepth.js | 5 +++-- examples/apidoc/RestClient/getFuturesContractDetails.js | 5 +++-- examples/apidoc/RestClient/getFuturesFundingRate.js | 5 +++-- examples/apidoc/RestClient/getFuturesKlines.js | 5 +++-- examples/apidoc/RestClient/getFuturesOpenInterest.js | 5 +++-- examples/apidoc/RestClient/getFuturesSubTransferHistory.js | 5 +++-- examples/apidoc/RestClient/getFuturesSubTransfers.js | 5 +++-- examples/apidoc/RestClient/getFuturesSubWallet.js | 5 +++-- examples/apidoc/RestClient/getFuturesTransfers.js | 5 +++-- examples/apidoc/RestClient/getMarginAccountDetailsV1.js | 5 +++-- examples/apidoc/RestClient/getMarginBorrowRecordV1.js | 5 +++-- examples/apidoc/RestClient/getMarginBorrowingRatesV1.js | 5 +++-- examples/apidoc/RestClient/getMarginRepayRecordV1.js | 5 +++-- examples/apidoc/RestClient/getPositionRiskDetails.js | 5 +++-- examples/apidoc/RestClient/getSpotAccountOrderTradesV4.js | 5 +++-- examples/apidoc/RestClient/getSpotAccountTradesV4.js | 5 +++-- examples/apidoc/RestClient/getSpotCurrenciesV1.js | 5 +++-- examples/apidoc/RestClient/getSpotHistoricOrdersV4.js | 5 +++-- examples/apidoc/RestClient/getSpotHistoryKlineV3.js | 5 +++-- examples/apidoc/RestClient/getSpotKLineStepsV1.js | 5 +++-- examples/apidoc/RestClient/getSpotKlinesV1.js | 5 +++-- examples/apidoc/RestClient/getSpotLatestKlineV3.js | 5 +++-- examples/apidoc/RestClient/getSpotOpenOrdersV4.js | 5 +++-- examples/apidoc/RestClient/getSpotOrderBookDepthV1.js | 5 +++-- examples/apidoc/RestClient/getSpotOrderBookDepthV3.js | 5 +++-- examples/apidoc/RestClient/getSpotOrderByClientOrderIdV4.js | 5 +++-- examples/apidoc/RestClient/getSpotOrderByIdV4.js | 5 +++-- examples/apidoc/RestClient/getSpotRecentTrades.js | 5 +++-- examples/apidoc/RestClient/getSpotTickerV1.js | 5 +++-- examples/apidoc/RestClient/getSpotTickerV3.js | 5 +++-- examples/apidoc/RestClient/getSpotTickersV2.js | 5 +++-- examples/apidoc/RestClient/getSpotTickersV3.js | 5 +++-- examples/apidoc/RestClient/getSpotTradingPairDetailsV1.js | 5 +++-- examples/apidoc/RestClient/getSpotTradingPairsV1.js | 5 +++-- examples/apidoc/RestClient/getSpotWalletBalanceV1.js | 5 +++-- examples/apidoc/RestClient/getSubAccountsV1.js | 5 +++-- examples/apidoc/RestClient/getSubSpotWalletBalancesV1.js | 5 +++-- examples/apidoc/RestClient/getSubTransfersV1.js | 5 +++-- examples/apidoc/RestClient/getSystemStatus.js | 5 +++-- examples/apidoc/RestClient/getSystemTime.js | 5 +++-- examples/apidoc/RestClient/marginBorrowV1.js | 5 +++-- examples/apidoc/RestClient/marginRepayV1.js | 5 +++-- examples/apidoc/RestClient/setFuturesLeverage.js | 5 +++-- .../RestClient/submitFuturesMainToSubTransferFromMain.js | 5 +++-- examples/apidoc/RestClient/submitFuturesOrder.js | 5 +++-- examples/apidoc/RestClient/submitFuturesPlanOrder.js | 5 +++-- .../apidoc/RestClient/submitFuturesSubToMainSubFromSub.js | 5 +++-- .../RestClient/submitFuturesSubToMainTransferFromMain.js | 5 +++-- examples/apidoc/RestClient/submitFuturesTransfer.js | 5 +++-- examples/apidoc/RestClient/submitMainTransferMainToSubV1.js | 5 +++-- examples/apidoc/RestClient/submitMainTransferSubToMainV1.js | 5 +++-- examples/apidoc/RestClient/submitMainTransferSubToSubV1.js | 5 +++-- examples/apidoc/RestClient/submitMarginAssetTransferV1.js | 5 +++-- examples/apidoc/RestClient/submitMarginOrderV1.js | 5 +++-- examples/apidoc/RestClient/submitSpotBatchOrdersV2.js | 5 +++-- examples/apidoc/RestClient/submitSpotBatchOrdersV4.js | 5 +++-- examples/apidoc/RestClient/submitSpotOrderV2.js | 5 +++-- examples/apidoc/RestClient/submitSubTransferSubToMainV1.js | 5 +++-- examples/apidoc/RestClient/submitSubTransferSubToSubV1.js | 5 +++-- examples/apidoc/RestClient/submitWithdrawalV1.js | 5 +++-- 122 files changed, 366 insertions(+), 244 deletions(-) diff --git a/examples/apidoc/FuturesClientV2/cancelAllFuturesOrders.js b/examples/apidoc/FuturesClientV2/cancelAllFuturesOrders.js index 9fcb5d2..15307fd 100644 --- a/examples/apidoc/FuturesClientV2/cancelAllFuturesOrders.js +++ b/examples/apidoc/FuturesClientV2/cancelAllFuturesOrders.js @@ -7,8 +7,9 @@ const { FuturesClientV2 } = require('bitmart-api'); // PUBLIC: NO const client = new FuturesClientV2({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.cancelAllFuturesOrders(params) diff --git a/examples/apidoc/FuturesClientV2/cancelFuturesOrder.js b/examples/apidoc/FuturesClientV2/cancelFuturesOrder.js index 02fab8f..ffe854d 100644 --- a/examples/apidoc/FuturesClientV2/cancelFuturesOrder.js +++ b/examples/apidoc/FuturesClientV2/cancelFuturesOrder.js @@ -7,8 +7,9 @@ const { FuturesClientV2 } = require('bitmart-api'); // PUBLIC: NO const client = new FuturesClientV2({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.cancelFuturesOrder(params) diff --git a/examples/apidoc/FuturesClientV2/cancelFuturesPlanOrder.js b/examples/apidoc/FuturesClientV2/cancelFuturesPlanOrder.js index d1a6f05..e358888 100644 --- a/examples/apidoc/FuturesClientV2/cancelFuturesPlanOrder.js +++ b/examples/apidoc/FuturesClientV2/cancelFuturesPlanOrder.js @@ -7,8 +7,9 @@ const { FuturesClientV2 } = require('bitmart-api'); // PUBLIC: NO const client = new FuturesClientV2({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.cancelFuturesPlanOrder(params) diff --git a/examples/apidoc/FuturesClientV2/getFuturesAccountAssets.js b/examples/apidoc/FuturesClientV2/getFuturesAccountAssets.js index 01a91ff..e37be9d 100644 --- a/examples/apidoc/FuturesClientV2/getFuturesAccountAssets.js +++ b/examples/apidoc/FuturesClientV2/getFuturesAccountAssets.js @@ -7,8 +7,9 @@ const { FuturesClientV2 } = require('bitmart-api'); // PUBLIC: NO const client = new FuturesClientV2({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getFuturesAccountAssets(params) diff --git a/examples/apidoc/FuturesClientV2/getFuturesAccountOpenOrders.js b/examples/apidoc/FuturesClientV2/getFuturesAccountOpenOrders.js index b0990fe..031b4a9 100644 --- a/examples/apidoc/FuturesClientV2/getFuturesAccountOpenOrders.js +++ b/examples/apidoc/FuturesClientV2/getFuturesAccountOpenOrders.js @@ -7,8 +7,9 @@ const { FuturesClientV2 } = require('bitmart-api'); // PUBLIC: NO const client = new FuturesClientV2({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getFuturesAccountOpenOrders(params) diff --git a/examples/apidoc/FuturesClientV2/getFuturesAccountOrder.js b/examples/apidoc/FuturesClientV2/getFuturesAccountOrder.js index 891954f..129ad6a 100644 --- a/examples/apidoc/FuturesClientV2/getFuturesAccountOrder.js +++ b/examples/apidoc/FuturesClientV2/getFuturesAccountOrder.js @@ -7,8 +7,9 @@ const { FuturesClientV2 } = require('bitmart-api'); // PUBLIC: NO const client = new FuturesClientV2({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getFuturesAccountOrder(params) diff --git a/examples/apidoc/FuturesClientV2/getFuturesAccountOrderHistory.js b/examples/apidoc/FuturesClientV2/getFuturesAccountOrderHistory.js index 70ef258..9bbd182 100644 --- a/examples/apidoc/FuturesClientV2/getFuturesAccountOrderHistory.js +++ b/examples/apidoc/FuturesClientV2/getFuturesAccountOrderHistory.js @@ -7,8 +7,9 @@ const { FuturesClientV2 } = require('bitmart-api'); // PUBLIC: NO const client = new FuturesClientV2({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getFuturesAccountOrderHistory(params) diff --git a/examples/apidoc/FuturesClientV2/getFuturesAccountPlanOrders.js b/examples/apidoc/FuturesClientV2/getFuturesAccountPlanOrders.js index 7d65aae..72683d5 100644 --- a/examples/apidoc/FuturesClientV2/getFuturesAccountPlanOrders.js +++ b/examples/apidoc/FuturesClientV2/getFuturesAccountPlanOrders.js @@ -7,8 +7,9 @@ const { FuturesClientV2 } = require('bitmart-api'); // PUBLIC: NO const client = new FuturesClientV2({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getFuturesAccountPlanOrders(params) diff --git a/examples/apidoc/FuturesClientV2/getFuturesAccountPositions.js b/examples/apidoc/FuturesClientV2/getFuturesAccountPositions.js index 0bb9f1a..d1c436e 100644 --- a/examples/apidoc/FuturesClientV2/getFuturesAccountPositions.js +++ b/examples/apidoc/FuturesClientV2/getFuturesAccountPositions.js @@ -7,8 +7,9 @@ const { FuturesClientV2 } = require('bitmart-api'); // PUBLIC: NO const client = new FuturesClientV2({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getFuturesAccountPositions(params) diff --git a/examples/apidoc/FuturesClientV2/getFuturesAccountTrades.js b/examples/apidoc/FuturesClientV2/getFuturesAccountTrades.js index 60292e6..4552b4c 100644 --- a/examples/apidoc/FuturesClientV2/getFuturesAccountTrades.js +++ b/examples/apidoc/FuturesClientV2/getFuturesAccountTrades.js @@ -7,8 +7,9 @@ const { FuturesClientV2 } = require('bitmart-api'); // PUBLIC: NO const client = new FuturesClientV2({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getFuturesAccountTrades(params) diff --git a/examples/apidoc/FuturesClientV2/getFuturesAffiliateRebates.js b/examples/apidoc/FuturesClientV2/getFuturesAffiliateRebates.js index d2246d3..8c6229f 100644 --- a/examples/apidoc/FuturesClientV2/getFuturesAffiliateRebates.js +++ b/examples/apidoc/FuturesClientV2/getFuturesAffiliateRebates.js @@ -7,8 +7,9 @@ const { FuturesClientV2 } = require('bitmart-api'); // PUBLIC: NO const client = new FuturesClientV2({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getFuturesAffiliateRebates(params) diff --git a/examples/apidoc/FuturesClientV2/getFuturesAffiliateTrades.js b/examples/apidoc/FuturesClientV2/getFuturesAffiliateTrades.js index 74327cc..90ea5f9 100644 --- a/examples/apidoc/FuturesClientV2/getFuturesAffiliateTrades.js +++ b/examples/apidoc/FuturesClientV2/getFuturesAffiliateTrades.js @@ -7,8 +7,9 @@ const { FuturesClientV2 } = require('bitmart-api'); // PUBLIC: NO const client = new FuturesClientV2({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getFuturesAffiliateTrades(params) diff --git a/examples/apidoc/FuturesClientV2/getFuturesContractDepth.js b/examples/apidoc/FuturesClientV2/getFuturesContractDepth.js index 26b52db..711015f 100644 --- a/examples/apidoc/FuturesClientV2/getFuturesContractDepth.js +++ b/examples/apidoc/FuturesClientV2/getFuturesContractDepth.js @@ -7,8 +7,9 @@ const { FuturesClientV2 } = require('bitmart-api'); // PUBLIC: YES const client = new FuturesClientV2({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getFuturesContractDepth(params) diff --git a/examples/apidoc/FuturesClientV2/getFuturesContractDetails.js b/examples/apidoc/FuturesClientV2/getFuturesContractDetails.js index 5f118d3..728c0da 100644 --- a/examples/apidoc/FuturesClientV2/getFuturesContractDetails.js +++ b/examples/apidoc/FuturesClientV2/getFuturesContractDetails.js @@ -7,8 +7,9 @@ const { FuturesClientV2 } = require('bitmart-api'); // PUBLIC: YES const client = new FuturesClientV2({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getFuturesContractDetails(params) diff --git a/examples/apidoc/FuturesClientV2/getFuturesFundingRate.js b/examples/apidoc/FuturesClientV2/getFuturesFundingRate.js index 54281b9..5018153 100644 --- a/examples/apidoc/FuturesClientV2/getFuturesFundingRate.js +++ b/examples/apidoc/FuturesClientV2/getFuturesFundingRate.js @@ -7,8 +7,9 @@ const { FuturesClientV2 } = require('bitmart-api'); // PUBLIC: YES const client = new FuturesClientV2({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getFuturesFundingRate(params) diff --git a/examples/apidoc/FuturesClientV2/getFuturesKlines.js b/examples/apidoc/FuturesClientV2/getFuturesKlines.js index 077c26e..701ee09 100644 --- a/examples/apidoc/FuturesClientV2/getFuturesKlines.js +++ b/examples/apidoc/FuturesClientV2/getFuturesKlines.js @@ -7,8 +7,9 @@ const { FuturesClientV2 } = require('bitmart-api'); // PUBLIC: YES const client = new FuturesClientV2({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getFuturesKlines(params) diff --git a/examples/apidoc/FuturesClientV2/getFuturesOpenInterest.js b/examples/apidoc/FuturesClientV2/getFuturesOpenInterest.js index 2eacf33..26e3ef3 100644 --- a/examples/apidoc/FuturesClientV2/getFuturesOpenInterest.js +++ b/examples/apidoc/FuturesClientV2/getFuturesOpenInterest.js @@ -7,8 +7,9 @@ const { FuturesClientV2 } = require('bitmart-api'); // PUBLIC: YES const client = new FuturesClientV2({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getFuturesOpenInterest(params) diff --git a/examples/apidoc/FuturesClientV2/getFuturesSubTransferHistory.js b/examples/apidoc/FuturesClientV2/getFuturesSubTransferHistory.js index b3b8516..8bc3295 100644 --- a/examples/apidoc/FuturesClientV2/getFuturesSubTransferHistory.js +++ b/examples/apidoc/FuturesClientV2/getFuturesSubTransferHistory.js @@ -7,8 +7,9 @@ const { FuturesClientV2 } = require('bitmart-api'); // PUBLIC: NO const client = new FuturesClientV2({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getFuturesSubTransferHistory(params) diff --git a/examples/apidoc/FuturesClientV2/getFuturesSubTransfers.js b/examples/apidoc/FuturesClientV2/getFuturesSubTransfers.js index f20aee1..0babf3e 100644 --- a/examples/apidoc/FuturesClientV2/getFuturesSubTransfers.js +++ b/examples/apidoc/FuturesClientV2/getFuturesSubTransfers.js @@ -7,8 +7,9 @@ const { FuturesClientV2 } = require('bitmart-api'); // PUBLIC: NO const client = new FuturesClientV2({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getFuturesSubTransfers(params) diff --git a/examples/apidoc/FuturesClientV2/getFuturesSubWallet.js b/examples/apidoc/FuturesClientV2/getFuturesSubWallet.js index 81e8895..c42ff8d 100644 --- a/examples/apidoc/FuturesClientV2/getFuturesSubWallet.js +++ b/examples/apidoc/FuturesClientV2/getFuturesSubWallet.js @@ -7,8 +7,9 @@ const { FuturesClientV2 } = require('bitmart-api'); // PUBLIC: NO const client = new FuturesClientV2({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getFuturesSubWallet(params) diff --git a/examples/apidoc/FuturesClientV2/getFuturesTradeFeeRate.js b/examples/apidoc/FuturesClientV2/getFuturesTradeFeeRate.js index f0fd5ef..2492f84 100644 --- a/examples/apidoc/FuturesClientV2/getFuturesTradeFeeRate.js +++ b/examples/apidoc/FuturesClientV2/getFuturesTradeFeeRate.js @@ -7,8 +7,9 @@ const { FuturesClientV2 } = require('bitmart-api'); // PUBLIC: NO const client = new FuturesClientV2({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getFuturesTradeFeeRate(params) diff --git a/examples/apidoc/FuturesClientV2/getFuturesTransfers.js b/examples/apidoc/FuturesClientV2/getFuturesTransfers.js index 77c9ee2..5e160ee 100644 --- a/examples/apidoc/FuturesClientV2/getFuturesTransfers.js +++ b/examples/apidoc/FuturesClientV2/getFuturesTransfers.js @@ -7,8 +7,9 @@ const { FuturesClientV2 } = require('bitmart-api'); // PUBLIC: NO const client = new FuturesClientV2({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getFuturesTransfers(params) diff --git a/examples/apidoc/FuturesClientV2/getPositionRiskDetails.js b/examples/apidoc/FuturesClientV2/getPositionRiskDetails.js index 18d7241..974857c 100644 --- a/examples/apidoc/FuturesClientV2/getPositionRiskDetails.js +++ b/examples/apidoc/FuturesClientV2/getPositionRiskDetails.js @@ -7,8 +7,9 @@ const { FuturesClientV2 } = require('bitmart-api'); // PUBLIC: NO const client = new FuturesClientV2({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getPositionRiskDetails(params) diff --git a/examples/apidoc/FuturesClientV2/getSystemStatus.js b/examples/apidoc/FuturesClientV2/getSystemStatus.js index e7b49c4..50adb83 100644 --- a/examples/apidoc/FuturesClientV2/getSystemStatus.js +++ b/examples/apidoc/FuturesClientV2/getSystemStatus.js @@ -7,8 +7,9 @@ const { FuturesClientV2 } = require('bitmart-api'); // PUBLIC: YES const client = new FuturesClientV2({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getSystemStatus(params) diff --git a/examples/apidoc/FuturesClientV2/getSystemTime.js b/examples/apidoc/FuturesClientV2/getSystemTime.js index 51cc0db..0877654 100644 --- a/examples/apidoc/FuturesClientV2/getSystemTime.js +++ b/examples/apidoc/FuturesClientV2/getSystemTime.js @@ -7,8 +7,9 @@ const { FuturesClientV2 } = require('bitmart-api'); // PUBLIC: YES const client = new FuturesClientV2({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getSystemTime(params) diff --git a/examples/apidoc/FuturesClientV2/setFuturesLeverage.js b/examples/apidoc/FuturesClientV2/setFuturesLeverage.js index d9155de..07419e6 100644 --- a/examples/apidoc/FuturesClientV2/setFuturesLeverage.js +++ b/examples/apidoc/FuturesClientV2/setFuturesLeverage.js @@ -7,8 +7,9 @@ const { FuturesClientV2 } = require('bitmart-api'); // PUBLIC: NO const client = new FuturesClientV2({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.setFuturesLeverage(params) diff --git a/examples/apidoc/FuturesClientV2/submitFuturesMainToSubTransferFromMain.js b/examples/apidoc/FuturesClientV2/submitFuturesMainToSubTransferFromMain.js index 0d7992b..95542c6 100644 --- a/examples/apidoc/FuturesClientV2/submitFuturesMainToSubTransferFromMain.js +++ b/examples/apidoc/FuturesClientV2/submitFuturesMainToSubTransferFromMain.js @@ -7,8 +7,9 @@ const { FuturesClientV2 } = require('bitmart-api'); // PUBLIC: NO const client = new FuturesClientV2({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.submitFuturesMainToSubTransferFromMain(params) diff --git a/examples/apidoc/FuturesClientV2/submitFuturesOrder.js b/examples/apidoc/FuturesClientV2/submitFuturesOrder.js index 614ac9f..dafd540 100644 --- a/examples/apidoc/FuturesClientV2/submitFuturesOrder.js +++ b/examples/apidoc/FuturesClientV2/submitFuturesOrder.js @@ -7,8 +7,9 @@ const { FuturesClientV2 } = require('bitmart-api'); // PUBLIC: NO const client = new FuturesClientV2({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.submitFuturesOrder(params) diff --git a/examples/apidoc/FuturesClientV2/submitFuturesPlanOrder.js b/examples/apidoc/FuturesClientV2/submitFuturesPlanOrder.js index fc85d79..7211308 100644 --- a/examples/apidoc/FuturesClientV2/submitFuturesPlanOrder.js +++ b/examples/apidoc/FuturesClientV2/submitFuturesPlanOrder.js @@ -7,8 +7,9 @@ const { FuturesClientV2 } = require('bitmart-api'); // PUBLIC: NO const client = new FuturesClientV2({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.submitFuturesPlanOrder(params) diff --git a/examples/apidoc/FuturesClientV2/submitFuturesSubToMainSubFromSub.js b/examples/apidoc/FuturesClientV2/submitFuturesSubToMainSubFromSub.js index 645f7b2..5806aba 100644 --- a/examples/apidoc/FuturesClientV2/submitFuturesSubToMainSubFromSub.js +++ b/examples/apidoc/FuturesClientV2/submitFuturesSubToMainSubFromSub.js @@ -7,8 +7,9 @@ const { FuturesClientV2 } = require('bitmart-api'); // PUBLIC: NO const client = new FuturesClientV2({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.submitFuturesSubToMainSubFromSub(params) diff --git a/examples/apidoc/FuturesClientV2/submitFuturesSubToMainTransferFromMain.js b/examples/apidoc/FuturesClientV2/submitFuturesSubToMainTransferFromMain.js index db5d6fa..bde4e38 100644 --- a/examples/apidoc/FuturesClientV2/submitFuturesSubToMainTransferFromMain.js +++ b/examples/apidoc/FuturesClientV2/submitFuturesSubToMainTransferFromMain.js @@ -7,8 +7,9 @@ const { FuturesClientV2 } = require('bitmart-api'); // PUBLIC: NO const client = new FuturesClientV2({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.submitFuturesSubToMainTransferFromMain(params) diff --git a/examples/apidoc/FuturesClientV2/submitFuturesTPSLOrder.js b/examples/apidoc/FuturesClientV2/submitFuturesTPSLOrder.js index 1db9b7d..55e4aab 100644 --- a/examples/apidoc/FuturesClientV2/submitFuturesTPSLOrder.js +++ b/examples/apidoc/FuturesClientV2/submitFuturesTPSLOrder.js @@ -7,8 +7,9 @@ const { FuturesClientV2 } = require('bitmart-api'); // PUBLIC: NO const client = new FuturesClientV2({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.submitFuturesTPSLOrder(params) diff --git a/examples/apidoc/FuturesClientV2/submitFuturesTransfer.js b/examples/apidoc/FuturesClientV2/submitFuturesTransfer.js index b9e24dc..ac65844 100644 --- a/examples/apidoc/FuturesClientV2/submitFuturesTransfer.js +++ b/examples/apidoc/FuturesClientV2/submitFuturesTransfer.js @@ -7,8 +7,9 @@ const { FuturesClientV2 } = require('bitmart-api'); // PUBLIC: NO const client = new FuturesClientV2({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.submitFuturesTransfer(params) diff --git a/examples/apidoc/FuturesClientV2/updateFuturesPlanOrder.js b/examples/apidoc/FuturesClientV2/updateFuturesPlanOrder.js index 2bdc900..f3f4f19 100644 --- a/examples/apidoc/FuturesClientV2/updateFuturesPlanOrder.js +++ b/examples/apidoc/FuturesClientV2/updateFuturesPlanOrder.js @@ -7,8 +7,9 @@ const { FuturesClientV2 } = require('bitmart-api'); // PUBLIC: NO const client = new FuturesClientV2({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.updateFuturesPlanOrder(params) diff --git a/examples/apidoc/FuturesClientV2/updateFuturesPresetPlanOrder.js b/examples/apidoc/FuturesClientV2/updateFuturesPresetPlanOrder.js index 55781b6..4699d39 100644 --- a/examples/apidoc/FuturesClientV2/updateFuturesPresetPlanOrder.js +++ b/examples/apidoc/FuturesClientV2/updateFuturesPresetPlanOrder.js @@ -7,8 +7,9 @@ const { FuturesClientV2 } = require('bitmart-api'); // PUBLIC: NO const client = new FuturesClientV2({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.updateFuturesPresetPlanOrder(params) diff --git a/examples/apidoc/FuturesClientV2/updateFuturesTPSLOrder.js b/examples/apidoc/FuturesClientV2/updateFuturesTPSLOrder.js index bfe8793..284a407 100644 --- a/examples/apidoc/FuturesClientV2/updateFuturesTPSLOrder.js +++ b/examples/apidoc/FuturesClientV2/updateFuturesTPSLOrder.js @@ -7,8 +7,9 @@ const { FuturesClientV2 } = require('bitmart-api'); // PUBLIC: NO const client = new FuturesClientV2({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.updateFuturesTPSLOrder(params) diff --git a/examples/apidoc/RestClient/cancelAllFuturesOrders.js b/examples/apidoc/RestClient/cancelAllFuturesOrders.js index c27554f..df56372 100644 --- a/examples/apidoc/RestClient/cancelAllFuturesOrders.js +++ b/examples/apidoc/RestClient/cancelAllFuturesOrders.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.cancelAllFuturesOrders(params) diff --git a/examples/apidoc/RestClient/cancelAllSpotOrders.js b/examples/apidoc/RestClient/cancelAllSpotOrders.js index 973de10..3a4d618 100644 --- a/examples/apidoc/RestClient/cancelAllSpotOrders.js +++ b/examples/apidoc/RestClient/cancelAllSpotOrders.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.cancelAllSpotOrders(params) diff --git a/examples/apidoc/RestClient/cancelFuturesOrder.js b/examples/apidoc/RestClient/cancelFuturesOrder.js index 2770d62..2b68ab9 100644 --- a/examples/apidoc/RestClient/cancelFuturesOrder.js +++ b/examples/apidoc/RestClient/cancelFuturesOrder.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.cancelFuturesOrder(params) diff --git a/examples/apidoc/RestClient/cancelFuturesPlanOrder.js b/examples/apidoc/RestClient/cancelFuturesPlanOrder.js index 5570ac1..3d6ff5e 100644 --- a/examples/apidoc/RestClient/cancelFuturesPlanOrder.js +++ b/examples/apidoc/RestClient/cancelFuturesPlanOrder.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.cancelFuturesPlanOrder(params) diff --git a/examples/apidoc/RestClient/cancelSpotBatchOrdersV4.js b/examples/apidoc/RestClient/cancelSpotBatchOrdersV4.js index 9afb8eb..1058f47 100644 --- a/examples/apidoc/RestClient/cancelSpotBatchOrdersV4.js +++ b/examples/apidoc/RestClient/cancelSpotBatchOrdersV4.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.cancelSpotBatchOrdersV4(params) diff --git a/examples/apidoc/RestClient/cancelSpotOrderV3.js b/examples/apidoc/RestClient/cancelSpotOrderV3.js index 2684775..74c4f58 100644 --- a/examples/apidoc/RestClient/cancelSpotOrderV3.js +++ b/examples/apidoc/RestClient/cancelSpotOrderV3.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.cancelSpotOrderV3(params) diff --git a/examples/apidoc/RestClient/cancelSpotOrdersV1.js b/examples/apidoc/RestClient/cancelSpotOrdersV1.js index d4b7537..5297f0f 100644 --- a/examples/apidoc/RestClient/cancelSpotOrdersV1.js +++ b/examples/apidoc/RestClient/cancelSpotOrdersV1.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.cancelSpotOrdersV1(params) diff --git a/examples/apidoc/RestClient/getAccountBalancesV1.js b/examples/apidoc/RestClient/getAccountBalancesV1.js index 30da198..6e5cf25 100644 --- a/examples/apidoc/RestClient/getAccountBalancesV1.js +++ b/examples/apidoc/RestClient/getAccountBalancesV1.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getAccountBalancesV1(params) diff --git a/examples/apidoc/RestClient/getAccountCurrenciesV1.js b/examples/apidoc/RestClient/getAccountCurrenciesV1.js index b5bb2d1..c734ea0 100644 --- a/examples/apidoc/RestClient/getAccountCurrenciesV1.js +++ b/examples/apidoc/RestClient/getAccountCurrenciesV1.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: YES const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getAccountCurrenciesV1(params) diff --git a/examples/apidoc/RestClient/getAccountDepositAddressV1.js b/examples/apidoc/RestClient/getAccountDepositAddressV1.js index 1f5940a..7eea05e 100644 --- a/examples/apidoc/RestClient/getAccountDepositAddressV1.js +++ b/examples/apidoc/RestClient/getAccountDepositAddressV1.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getAccountDepositAddressV1(params) diff --git a/examples/apidoc/RestClient/getAccountSubTransfersV1.js b/examples/apidoc/RestClient/getAccountSubTransfersV1.js index 63c2b9e..f3ac3b6 100644 --- a/examples/apidoc/RestClient/getAccountSubTransfersV1.js +++ b/examples/apidoc/RestClient/getAccountSubTransfersV1.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getAccountSubTransfersV1(params) diff --git a/examples/apidoc/RestClient/getAccountWithdrawQuotaV1.js b/examples/apidoc/RestClient/getAccountWithdrawQuotaV1.js index 247e55d..5de44d1 100644 --- a/examples/apidoc/RestClient/getAccountWithdrawQuotaV1.js +++ b/examples/apidoc/RestClient/getAccountWithdrawQuotaV1.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getAccountWithdrawQuotaV1(params) diff --git a/examples/apidoc/RestClient/getActualSpotTradeFeeRateV1.js b/examples/apidoc/RestClient/getActualSpotTradeFeeRateV1.js index 6782f7b..a9bc9e1 100644 --- a/examples/apidoc/RestClient/getActualSpotTradeFeeRateV1.js +++ b/examples/apidoc/RestClient/getActualSpotTradeFeeRateV1.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getActualSpotTradeFeeRateV1(params) diff --git a/examples/apidoc/RestClient/getBasicSpotFeeRateV1.js b/examples/apidoc/RestClient/getBasicSpotFeeRateV1.js index d7ba787..17de7bb 100644 --- a/examples/apidoc/RestClient/getBasicSpotFeeRateV1.js +++ b/examples/apidoc/RestClient/getBasicSpotFeeRateV1.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getBasicSpotFeeRateV1(params) diff --git a/examples/apidoc/RestClient/getBrokerRebate.js b/examples/apidoc/RestClient/getBrokerRebate.js index 04915b2..ea177bc 100644 --- a/examples/apidoc/RestClient/getBrokerRebate.js +++ b/examples/apidoc/RestClient/getBrokerRebate.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getBrokerRebate(params) diff --git a/examples/apidoc/RestClient/getDepositWithdrawDetailV1.js b/examples/apidoc/RestClient/getDepositWithdrawDetailV1.js index 9cd3dd1..ac80f2a 100644 --- a/examples/apidoc/RestClient/getDepositWithdrawDetailV1.js +++ b/examples/apidoc/RestClient/getDepositWithdrawDetailV1.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getDepositWithdrawDetailV1(params) diff --git a/examples/apidoc/RestClient/getDepositWithdrawHistoryV2.js b/examples/apidoc/RestClient/getDepositWithdrawHistoryV2.js index a1b95f7..b542e23 100644 --- a/examples/apidoc/RestClient/getDepositWithdrawHistoryV2.js +++ b/examples/apidoc/RestClient/getDepositWithdrawHistoryV2.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getDepositWithdrawHistoryV2(params) diff --git a/examples/apidoc/RestClient/getFuturesAccountAssets.js b/examples/apidoc/RestClient/getFuturesAccountAssets.js index e673c35..7379eb9 100644 --- a/examples/apidoc/RestClient/getFuturesAccountAssets.js +++ b/examples/apidoc/RestClient/getFuturesAccountAssets.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getFuturesAccountAssets(params) diff --git a/examples/apidoc/RestClient/getFuturesAccountOpenOrders.js b/examples/apidoc/RestClient/getFuturesAccountOpenOrders.js index 10a9494..5307aec 100644 --- a/examples/apidoc/RestClient/getFuturesAccountOpenOrders.js +++ b/examples/apidoc/RestClient/getFuturesAccountOpenOrders.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getFuturesAccountOpenOrders(params) diff --git a/examples/apidoc/RestClient/getFuturesAccountOrder.js b/examples/apidoc/RestClient/getFuturesAccountOrder.js index 078dc2a..65a54ab 100644 --- a/examples/apidoc/RestClient/getFuturesAccountOrder.js +++ b/examples/apidoc/RestClient/getFuturesAccountOrder.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getFuturesAccountOrder(params) diff --git a/examples/apidoc/RestClient/getFuturesAccountOrderHistory.js b/examples/apidoc/RestClient/getFuturesAccountOrderHistory.js index 869c431..4c2aded 100644 --- a/examples/apidoc/RestClient/getFuturesAccountOrderHistory.js +++ b/examples/apidoc/RestClient/getFuturesAccountOrderHistory.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getFuturesAccountOrderHistory(params) diff --git a/examples/apidoc/RestClient/getFuturesAccountPlanOrders.js b/examples/apidoc/RestClient/getFuturesAccountPlanOrders.js index 4303b15..b812ba1 100644 --- a/examples/apidoc/RestClient/getFuturesAccountPlanOrders.js +++ b/examples/apidoc/RestClient/getFuturesAccountPlanOrders.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getFuturesAccountPlanOrders(params) diff --git a/examples/apidoc/RestClient/getFuturesAccountPositions.js b/examples/apidoc/RestClient/getFuturesAccountPositions.js index 8696785..4087bfd 100644 --- a/examples/apidoc/RestClient/getFuturesAccountPositions.js +++ b/examples/apidoc/RestClient/getFuturesAccountPositions.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getFuturesAccountPositions(params) diff --git a/examples/apidoc/RestClient/getFuturesAccountTrades.js b/examples/apidoc/RestClient/getFuturesAccountTrades.js index 760df52..0e81a7f 100644 --- a/examples/apidoc/RestClient/getFuturesAccountTrades.js +++ b/examples/apidoc/RestClient/getFuturesAccountTrades.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getFuturesAccountTrades(params) diff --git a/examples/apidoc/RestClient/getFuturesAffiliateRebates.js b/examples/apidoc/RestClient/getFuturesAffiliateRebates.js index 22ef9a7..62ddb65 100644 --- a/examples/apidoc/RestClient/getFuturesAffiliateRebates.js +++ b/examples/apidoc/RestClient/getFuturesAffiliateRebates.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getFuturesAffiliateRebates(params) diff --git a/examples/apidoc/RestClient/getFuturesAffiliateTrades.js b/examples/apidoc/RestClient/getFuturesAffiliateTrades.js index b5a8eda..ae10ea5 100644 --- a/examples/apidoc/RestClient/getFuturesAffiliateTrades.js +++ b/examples/apidoc/RestClient/getFuturesAffiliateTrades.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getFuturesAffiliateTrades(params) diff --git a/examples/apidoc/RestClient/getFuturesContractDepth.js b/examples/apidoc/RestClient/getFuturesContractDepth.js index 8d6a0a0..099600f 100644 --- a/examples/apidoc/RestClient/getFuturesContractDepth.js +++ b/examples/apidoc/RestClient/getFuturesContractDepth.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: YES const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getFuturesContractDepth(params) diff --git a/examples/apidoc/RestClient/getFuturesContractDetails.js b/examples/apidoc/RestClient/getFuturesContractDetails.js index ba422d8..6482b02 100644 --- a/examples/apidoc/RestClient/getFuturesContractDetails.js +++ b/examples/apidoc/RestClient/getFuturesContractDetails.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: YES const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getFuturesContractDetails(params) diff --git a/examples/apidoc/RestClient/getFuturesFundingRate.js b/examples/apidoc/RestClient/getFuturesFundingRate.js index d174422..736f58f 100644 --- a/examples/apidoc/RestClient/getFuturesFundingRate.js +++ b/examples/apidoc/RestClient/getFuturesFundingRate.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: YES const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getFuturesFundingRate(params) diff --git a/examples/apidoc/RestClient/getFuturesKlines.js b/examples/apidoc/RestClient/getFuturesKlines.js index f61b85c..777dc8e 100644 --- a/examples/apidoc/RestClient/getFuturesKlines.js +++ b/examples/apidoc/RestClient/getFuturesKlines.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: YES const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getFuturesKlines(params) diff --git a/examples/apidoc/RestClient/getFuturesOpenInterest.js b/examples/apidoc/RestClient/getFuturesOpenInterest.js index 21839ed..ab706a5 100644 --- a/examples/apidoc/RestClient/getFuturesOpenInterest.js +++ b/examples/apidoc/RestClient/getFuturesOpenInterest.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: YES const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getFuturesOpenInterest(params) diff --git a/examples/apidoc/RestClient/getFuturesSubTransferHistory.js b/examples/apidoc/RestClient/getFuturesSubTransferHistory.js index 2258983..ea178c7 100644 --- a/examples/apidoc/RestClient/getFuturesSubTransferHistory.js +++ b/examples/apidoc/RestClient/getFuturesSubTransferHistory.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getFuturesSubTransferHistory(params) diff --git a/examples/apidoc/RestClient/getFuturesSubTransfers.js b/examples/apidoc/RestClient/getFuturesSubTransfers.js index 1e18192..fc02353 100644 --- a/examples/apidoc/RestClient/getFuturesSubTransfers.js +++ b/examples/apidoc/RestClient/getFuturesSubTransfers.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getFuturesSubTransfers(params) diff --git a/examples/apidoc/RestClient/getFuturesSubWallet.js b/examples/apidoc/RestClient/getFuturesSubWallet.js index 17a871f..ac3fed8 100644 --- a/examples/apidoc/RestClient/getFuturesSubWallet.js +++ b/examples/apidoc/RestClient/getFuturesSubWallet.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getFuturesSubWallet(params) diff --git a/examples/apidoc/RestClient/getFuturesTransfers.js b/examples/apidoc/RestClient/getFuturesTransfers.js index 2e28675..7318ac9 100644 --- a/examples/apidoc/RestClient/getFuturesTransfers.js +++ b/examples/apidoc/RestClient/getFuturesTransfers.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getFuturesTransfers(params) diff --git a/examples/apidoc/RestClient/getMarginAccountDetailsV1.js b/examples/apidoc/RestClient/getMarginAccountDetailsV1.js index a4f14b3..17304b4 100644 --- a/examples/apidoc/RestClient/getMarginAccountDetailsV1.js +++ b/examples/apidoc/RestClient/getMarginAccountDetailsV1.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getMarginAccountDetailsV1(params) diff --git a/examples/apidoc/RestClient/getMarginBorrowRecordV1.js b/examples/apidoc/RestClient/getMarginBorrowRecordV1.js index 64b2e1f..47ef8ed 100644 --- a/examples/apidoc/RestClient/getMarginBorrowRecordV1.js +++ b/examples/apidoc/RestClient/getMarginBorrowRecordV1.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getMarginBorrowRecordV1(params) diff --git a/examples/apidoc/RestClient/getMarginBorrowingRatesV1.js b/examples/apidoc/RestClient/getMarginBorrowingRatesV1.js index a7a8e2f..3298609 100644 --- a/examples/apidoc/RestClient/getMarginBorrowingRatesV1.js +++ b/examples/apidoc/RestClient/getMarginBorrowingRatesV1.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getMarginBorrowingRatesV1(params) diff --git a/examples/apidoc/RestClient/getMarginRepayRecordV1.js b/examples/apidoc/RestClient/getMarginRepayRecordV1.js index e5a57cb..563bf3a 100644 --- a/examples/apidoc/RestClient/getMarginRepayRecordV1.js +++ b/examples/apidoc/RestClient/getMarginRepayRecordV1.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getMarginRepayRecordV1(params) diff --git a/examples/apidoc/RestClient/getPositionRiskDetails.js b/examples/apidoc/RestClient/getPositionRiskDetails.js index ad6f1ee..ff0ba25 100644 --- a/examples/apidoc/RestClient/getPositionRiskDetails.js +++ b/examples/apidoc/RestClient/getPositionRiskDetails.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getPositionRiskDetails(params) diff --git a/examples/apidoc/RestClient/getSpotAccountOrderTradesV4.js b/examples/apidoc/RestClient/getSpotAccountOrderTradesV4.js index 05ac3d2..22c7c3f 100644 --- a/examples/apidoc/RestClient/getSpotAccountOrderTradesV4.js +++ b/examples/apidoc/RestClient/getSpotAccountOrderTradesV4.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getSpotAccountOrderTradesV4(params) diff --git a/examples/apidoc/RestClient/getSpotAccountTradesV4.js b/examples/apidoc/RestClient/getSpotAccountTradesV4.js index c77a1c9..65a1bea 100644 --- a/examples/apidoc/RestClient/getSpotAccountTradesV4.js +++ b/examples/apidoc/RestClient/getSpotAccountTradesV4.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getSpotAccountTradesV4(params) diff --git a/examples/apidoc/RestClient/getSpotCurrenciesV1.js b/examples/apidoc/RestClient/getSpotCurrenciesV1.js index 066c238..78131fb 100644 --- a/examples/apidoc/RestClient/getSpotCurrenciesV1.js +++ b/examples/apidoc/RestClient/getSpotCurrenciesV1.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: YES const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getSpotCurrenciesV1(params) diff --git a/examples/apidoc/RestClient/getSpotHistoricOrdersV4.js b/examples/apidoc/RestClient/getSpotHistoricOrdersV4.js index a8b1d6f..0637a97 100644 --- a/examples/apidoc/RestClient/getSpotHistoricOrdersV4.js +++ b/examples/apidoc/RestClient/getSpotHistoricOrdersV4.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getSpotHistoricOrdersV4(params) diff --git a/examples/apidoc/RestClient/getSpotHistoryKlineV3.js b/examples/apidoc/RestClient/getSpotHistoryKlineV3.js index 3a9860c..fc44c33 100644 --- a/examples/apidoc/RestClient/getSpotHistoryKlineV3.js +++ b/examples/apidoc/RestClient/getSpotHistoryKlineV3.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: YES const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getSpotHistoryKlineV3(params) diff --git a/examples/apidoc/RestClient/getSpotKLineStepsV1.js b/examples/apidoc/RestClient/getSpotKLineStepsV1.js index 32f07d2..56efd4e 100644 --- a/examples/apidoc/RestClient/getSpotKLineStepsV1.js +++ b/examples/apidoc/RestClient/getSpotKLineStepsV1.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: YES const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getSpotKLineStepsV1(params) diff --git a/examples/apidoc/RestClient/getSpotKlinesV1.js b/examples/apidoc/RestClient/getSpotKlinesV1.js index effa9b5..ecebba6 100644 --- a/examples/apidoc/RestClient/getSpotKlinesV1.js +++ b/examples/apidoc/RestClient/getSpotKlinesV1.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: YES const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getSpotKlinesV1(params) diff --git a/examples/apidoc/RestClient/getSpotLatestKlineV3.js b/examples/apidoc/RestClient/getSpotLatestKlineV3.js index 60855d8..5b9dce5 100644 --- a/examples/apidoc/RestClient/getSpotLatestKlineV3.js +++ b/examples/apidoc/RestClient/getSpotLatestKlineV3.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: YES const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getSpotLatestKlineV3(params) diff --git a/examples/apidoc/RestClient/getSpotOpenOrdersV4.js b/examples/apidoc/RestClient/getSpotOpenOrdersV4.js index 34ab3aa..f67afae 100644 --- a/examples/apidoc/RestClient/getSpotOpenOrdersV4.js +++ b/examples/apidoc/RestClient/getSpotOpenOrdersV4.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getSpotOpenOrdersV4(params) diff --git a/examples/apidoc/RestClient/getSpotOrderBookDepthV1.js b/examples/apidoc/RestClient/getSpotOrderBookDepthV1.js index 6f5c3b7..84e64bd 100644 --- a/examples/apidoc/RestClient/getSpotOrderBookDepthV1.js +++ b/examples/apidoc/RestClient/getSpotOrderBookDepthV1.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: YES const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getSpotOrderBookDepthV1(params) diff --git a/examples/apidoc/RestClient/getSpotOrderBookDepthV3.js b/examples/apidoc/RestClient/getSpotOrderBookDepthV3.js index 7a5c259..2382f84 100644 --- a/examples/apidoc/RestClient/getSpotOrderBookDepthV3.js +++ b/examples/apidoc/RestClient/getSpotOrderBookDepthV3.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: YES const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getSpotOrderBookDepthV3(params) diff --git a/examples/apidoc/RestClient/getSpotOrderByClientOrderIdV4.js b/examples/apidoc/RestClient/getSpotOrderByClientOrderIdV4.js index 75a2054..55cf1a2 100644 --- a/examples/apidoc/RestClient/getSpotOrderByClientOrderIdV4.js +++ b/examples/apidoc/RestClient/getSpotOrderByClientOrderIdV4.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getSpotOrderByClientOrderIdV4(params) diff --git a/examples/apidoc/RestClient/getSpotOrderByIdV4.js b/examples/apidoc/RestClient/getSpotOrderByIdV4.js index 75f2ff5..bafb10e 100644 --- a/examples/apidoc/RestClient/getSpotOrderByIdV4.js +++ b/examples/apidoc/RestClient/getSpotOrderByIdV4.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getSpotOrderByIdV4(params) diff --git a/examples/apidoc/RestClient/getSpotRecentTrades.js b/examples/apidoc/RestClient/getSpotRecentTrades.js index 8d48c24..e4a6d0f 100644 --- a/examples/apidoc/RestClient/getSpotRecentTrades.js +++ b/examples/apidoc/RestClient/getSpotRecentTrades.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: YES const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getSpotRecentTrades(params) diff --git a/examples/apidoc/RestClient/getSpotTickerV1.js b/examples/apidoc/RestClient/getSpotTickerV1.js index 18b9a1d..4740d3e 100644 --- a/examples/apidoc/RestClient/getSpotTickerV1.js +++ b/examples/apidoc/RestClient/getSpotTickerV1.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: YES const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getSpotTickerV1(params) diff --git a/examples/apidoc/RestClient/getSpotTickerV3.js b/examples/apidoc/RestClient/getSpotTickerV3.js index 625b285..9bbbb8f 100644 --- a/examples/apidoc/RestClient/getSpotTickerV3.js +++ b/examples/apidoc/RestClient/getSpotTickerV3.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: YES const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getSpotTickerV3(params) diff --git a/examples/apidoc/RestClient/getSpotTickersV2.js b/examples/apidoc/RestClient/getSpotTickersV2.js index a7ec18c..3a6898c 100644 --- a/examples/apidoc/RestClient/getSpotTickersV2.js +++ b/examples/apidoc/RestClient/getSpotTickersV2.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: YES const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getSpotTickersV2(params) diff --git a/examples/apidoc/RestClient/getSpotTickersV3.js b/examples/apidoc/RestClient/getSpotTickersV3.js index be9a15d..24715f3 100644 --- a/examples/apidoc/RestClient/getSpotTickersV3.js +++ b/examples/apidoc/RestClient/getSpotTickersV3.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: YES const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getSpotTickersV3(params) diff --git a/examples/apidoc/RestClient/getSpotTradingPairDetailsV1.js b/examples/apidoc/RestClient/getSpotTradingPairDetailsV1.js index b30fcb2..0b812dc 100644 --- a/examples/apidoc/RestClient/getSpotTradingPairDetailsV1.js +++ b/examples/apidoc/RestClient/getSpotTradingPairDetailsV1.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: YES const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getSpotTradingPairDetailsV1(params) diff --git a/examples/apidoc/RestClient/getSpotTradingPairsV1.js b/examples/apidoc/RestClient/getSpotTradingPairsV1.js index 9001060..25b8bf9 100644 --- a/examples/apidoc/RestClient/getSpotTradingPairsV1.js +++ b/examples/apidoc/RestClient/getSpotTradingPairsV1.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: YES const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getSpotTradingPairsV1(params) diff --git a/examples/apidoc/RestClient/getSpotWalletBalanceV1.js b/examples/apidoc/RestClient/getSpotWalletBalanceV1.js index 715fc89..fa8c14d 100644 --- a/examples/apidoc/RestClient/getSpotWalletBalanceV1.js +++ b/examples/apidoc/RestClient/getSpotWalletBalanceV1.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getSpotWalletBalanceV1(params) diff --git a/examples/apidoc/RestClient/getSubAccountsV1.js b/examples/apidoc/RestClient/getSubAccountsV1.js index 143357d..607cbf2 100644 --- a/examples/apidoc/RestClient/getSubAccountsV1.js +++ b/examples/apidoc/RestClient/getSubAccountsV1.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getSubAccountsV1(params) diff --git a/examples/apidoc/RestClient/getSubSpotWalletBalancesV1.js b/examples/apidoc/RestClient/getSubSpotWalletBalancesV1.js index 9570b9e..1a66375 100644 --- a/examples/apidoc/RestClient/getSubSpotWalletBalancesV1.js +++ b/examples/apidoc/RestClient/getSubSpotWalletBalancesV1.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getSubSpotWalletBalancesV1(params) diff --git a/examples/apidoc/RestClient/getSubTransfersV1.js b/examples/apidoc/RestClient/getSubTransfersV1.js index 18c232b..d871f4d 100644 --- a/examples/apidoc/RestClient/getSubTransfersV1.js +++ b/examples/apidoc/RestClient/getSubTransfersV1.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getSubTransfersV1(params) diff --git a/examples/apidoc/RestClient/getSystemStatus.js b/examples/apidoc/RestClient/getSystemStatus.js index 617316c..2920bc1 100644 --- a/examples/apidoc/RestClient/getSystemStatus.js +++ b/examples/apidoc/RestClient/getSystemStatus.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: YES const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getSystemStatus(params) diff --git a/examples/apidoc/RestClient/getSystemTime.js b/examples/apidoc/RestClient/getSystemTime.js index 455bb02..4a5a29e 100644 --- a/examples/apidoc/RestClient/getSystemTime.js +++ b/examples/apidoc/RestClient/getSystemTime.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: YES const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.getSystemTime(params) diff --git a/examples/apidoc/RestClient/marginBorrowV1.js b/examples/apidoc/RestClient/marginBorrowV1.js index 5898860..3159152 100644 --- a/examples/apidoc/RestClient/marginBorrowV1.js +++ b/examples/apidoc/RestClient/marginBorrowV1.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.marginBorrowV1(params) diff --git a/examples/apidoc/RestClient/marginRepayV1.js b/examples/apidoc/RestClient/marginRepayV1.js index d601b25..0a662b8 100644 --- a/examples/apidoc/RestClient/marginRepayV1.js +++ b/examples/apidoc/RestClient/marginRepayV1.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.marginRepayV1(params) diff --git a/examples/apidoc/RestClient/setFuturesLeverage.js b/examples/apidoc/RestClient/setFuturesLeverage.js index e77a7d6..1d64a9e 100644 --- a/examples/apidoc/RestClient/setFuturesLeverage.js +++ b/examples/apidoc/RestClient/setFuturesLeverage.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.setFuturesLeverage(params) diff --git a/examples/apidoc/RestClient/submitFuturesMainToSubTransferFromMain.js b/examples/apidoc/RestClient/submitFuturesMainToSubTransferFromMain.js index 8879d87..89e3e52 100644 --- a/examples/apidoc/RestClient/submitFuturesMainToSubTransferFromMain.js +++ b/examples/apidoc/RestClient/submitFuturesMainToSubTransferFromMain.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.submitFuturesMainToSubTransferFromMain(params) diff --git a/examples/apidoc/RestClient/submitFuturesOrder.js b/examples/apidoc/RestClient/submitFuturesOrder.js index 72f2344..3bb9461 100644 --- a/examples/apidoc/RestClient/submitFuturesOrder.js +++ b/examples/apidoc/RestClient/submitFuturesOrder.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.submitFuturesOrder(params) diff --git a/examples/apidoc/RestClient/submitFuturesPlanOrder.js b/examples/apidoc/RestClient/submitFuturesPlanOrder.js index 338f635..ec64191 100644 --- a/examples/apidoc/RestClient/submitFuturesPlanOrder.js +++ b/examples/apidoc/RestClient/submitFuturesPlanOrder.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.submitFuturesPlanOrder(params) diff --git a/examples/apidoc/RestClient/submitFuturesSubToMainSubFromSub.js b/examples/apidoc/RestClient/submitFuturesSubToMainSubFromSub.js index da5789f..5874f2a 100644 --- a/examples/apidoc/RestClient/submitFuturesSubToMainSubFromSub.js +++ b/examples/apidoc/RestClient/submitFuturesSubToMainSubFromSub.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.submitFuturesSubToMainSubFromSub(params) diff --git a/examples/apidoc/RestClient/submitFuturesSubToMainTransferFromMain.js b/examples/apidoc/RestClient/submitFuturesSubToMainTransferFromMain.js index 51dc36c..bdbbf7d 100644 --- a/examples/apidoc/RestClient/submitFuturesSubToMainTransferFromMain.js +++ b/examples/apidoc/RestClient/submitFuturesSubToMainTransferFromMain.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.submitFuturesSubToMainTransferFromMain(params) diff --git a/examples/apidoc/RestClient/submitFuturesTransfer.js b/examples/apidoc/RestClient/submitFuturesTransfer.js index 6079887..a56fdd6 100644 --- a/examples/apidoc/RestClient/submitFuturesTransfer.js +++ b/examples/apidoc/RestClient/submitFuturesTransfer.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.submitFuturesTransfer(params) diff --git a/examples/apidoc/RestClient/submitMainTransferMainToSubV1.js b/examples/apidoc/RestClient/submitMainTransferMainToSubV1.js index 8fb0783..ec04e3a 100644 --- a/examples/apidoc/RestClient/submitMainTransferMainToSubV1.js +++ b/examples/apidoc/RestClient/submitMainTransferMainToSubV1.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.submitMainTransferMainToSubV1(params) diff --git a/examples/apidoc/RestClient/submitMainTransferSubToMainV1.js b/examples/apidoc/RestClient/submitMainTransferSubToMainV1.js index 0d86777..741a940 100644 --- a/examples/apidoc/RestClient/submitMainTransferSubToMainV1.js +++ b/examples/apidoc/RestClient/submitMainTransferSubToMainV1.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.submitMainTransferSubToMainV1(params) diff --git a/examples/apidoc/RestClient/submitMainTransferSubToSubV1.js b/examples/apidoc/RestClient/submitMainTransferSubToSubV1.js index b3216d0..047e579 100644 --- a/examples/apidoc/RestClient/submitMainTransferSubToSubV1.js +++ b/examples/apidoc/RestClient/submitMainTransferSubToSubV1.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.submitMainTransferSubToSubV1(params) diff --git a/examples/apidoc/RestClient/submitMarginAssetTransferV1.js b/examples/apidoc/RestClient/submitMarginAssetTransferV1.js index d1efed3..9bf01ee 100644 --- a/examples/apidoc/RestClient/submitMarginAssetTransferV1.js +++ b/examples/apidoc/RestClient/submitMarginAssetTransferV1.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.submitMarginAssetTransferV1(params) diff --git a/examples/apidoc/RestClient/submitMarginOrderV1.js b/examples/apidoc/RestClient/submitMarginOrderV1.js index 579f20a..e10afdf 100644 --- a/examples/apidoc/RestClient/submitMarginOrderV1.js +++ b/examples/apidoc/RestClient/submitMarginOrderV1.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.submitMarginOrderV1(params) diff --git a/examples/apidoc/RestClient/submitSpotBatchOrdersV2.js b/examples/apidoc/RestClient/submitSpotBatchOrdersV2.js index b99f8bf..e7260b4 100644 --- a/examples/apidoc/RestClient/submitSpotBatchOrdersV2.js +++ b/examples/apidoc/RestClient/submitSpotBatchOrdersV2.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.submitSpotBatchOrdersV2(params) diff --git a/examples/apidoc/RestClient/submitSpotBatchOrdersV4.js b/examples/apidoc/RestClient/submitSpotBatchOrdersV4.js index 966c57c..e216597 100644 --- a/examples/apidoc/RestClient/submitSpotBatchOrdersV4.js +++ b/examples/apidoc/RestClient/submitSpotBatchOrdersV4.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.submitSpotBatchOrdersV4(params) diff --git a/examples/apidoc/RestClient/submitSpotOrderV2.js b/examples/apidoc/RestClient/submitSpotOrderV2.js index 85666d6..6771453 100644 --- a/examples/apidoc/RestClient/submitSpotOrderV2.js +++ b/examples/apidoc/RestClient/submitSpotOrderV2.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.submitSpotOrderV2(params) diff --git a/examples/apidoc/RestClient/submitSubTransferSubToMainV1.js b/examples/apidoc/RestClient/submitSubTransferSubToMainV1.js index d4a8aee..a11a71b 100644 --- a/examples/apidoc/RestClient/submitSubTransferSubToMainV1.js +++ b/examples/apidoc/RestClient/submitSubTransferSubToMainV1.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.submitSubTransferSubToMainV1(params) diff --git a/examples/apidoc/RestClient/submitSubTransferSubToSubV1.js b/examples/apidoc/RestClient/submitSubTransferSubToSubV1.js index 6526348..71e1b55 100644 --- a/examples/apidoc/RestClient/submitSubTransferSubToSubV1.js +++ b/examples/apidoc/RestClient/submitSubTransferSubToSubV1.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.submitSubTransferSubToSubV1(params) diff --git a/examples/apidoc/RestClient/submitWithdrawalV1.js b/examples/apidoc/RestClient/submitWithdrawalV1.js index 7cd7778..aba92e3 100644 --- a/examples/apidoc/RestClient/submitWithdrawalV1.js +++ b/examples/apidoc/RestClient/submitWithdrawalV1.js @@ -7,8 +7,9 @@ const { RestClient } = require('bitmart-api'); // PUBLIC: NO const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', + apiKey: 'yourAPIKeyHere', + apiSecret: 'yourAPISecretHere', + apiMemo: 'yourAPIMemoHere', }); client.submitWithdrawalV1(params)