From 218aaf9fdd1f2ec026afa5726b36e2fd812ac471 Mon Sep 17 00:00:00 2001 From: Jerko J <83344666+JJ-Cro@users.noreply.github.com> Date: Fri, 8 Nov 2024 11:14:51 +0100 Subject: [PATCH] chore(): Updated examples so each client matches the proper initialisation --- .../apidoc/RestClientV2/batchCreateVirtualSubaccountAndAPIKey.js | 1 + examples/apidoc/RestClientV2/borrowLoan.js | 1 + examples/apidoc/RestClientV2/cancelSpotFollowerOrder.js | 1 + examples/apidoc/RestClientV2/closeFuturesFollowerPositions.js | 1 + examples/apidoc/RestClientV2/closeFuturesTraderOrder.js | 1 + examples/apidoc/RestClientV2/convert.js | 1 + examples/apidoc/RestClientV2/convertBGB.js | 1 + examples/apidoc/RestClientV2/createSubaccount.js | 1 + examples/apidoc/RestClientV2/createSubaccountApiKey.js | 1 + examples/apidoc/RestClientV2/createSubaccountDepositAddress.js | 1 + examples/apidoc/RestClientV2/createVirtualSubaccount.js | 1 + examples/apidoc/RestClientV2/createVirtualSubaccountAPIKey.js | 1 + examples/apidoc/RestClientV2/earnSubscribeSavings.js | 1 + examples/apidoc/RestClientV2/futuresBatchCancelOrders.js | 1 + examples/apidoc/RestClientV2/futuresBatchSubmitOrders.js | 1 + examples/apidoc/RestClientV2/futuresCancelAllOrders.js | 1 + examples/apidoc/RestClientV2/futuresCancelOrder.js | 1 + examples/apidoc/RestClientV2/futuresCancelPlanOrder.js | 1 + examples/apidoc/RestClientV2/futuresFlashClosePositions.js | 1 + examples/apidoc/RestClientV2/futuresModifyOrder.js | 1 + examples/apidoc/RestClientV2/futuresModifyPlanOrder.js | 1 + examples/apidoc/RestClientV2/futuresModifyTPSLPOrder.js | 1 + examples/apidoc/RestClientV2/futuresSubmitOrder.js | 1 + examples/apidoc/RestClientV2/futuresSubmitPlanOrder.js | 1 + examples/apidoc/RestClientV2/futuresSubmitPlanSubOrder.js | 1 + examples/apidoc/RestClientV2/futuresSubmitReversal.js | 1 + examples/apidoc/RestClientV2/futuresSubmitTPSLOrder.js | 1 + examples/apidoc/RestClientV2/getAnnouncements.js | 1 + examples/apidoc/RestClientV2/getBalances.js | 1 + examples/apidoc/RestClientV2/getBotAccount.js | 1 + examples/apidoc/RestClientV2/getBrokerInfo.js | 1 + examples/apidoc/RestClientV2/getBrokerTraders.js | 1 + examples/apidoc/RestClientV2/getBrokerTradersHistoricalOrders.js | 1 + examples/apidoc/RestClientV2/getBrokerTradersPendingOrders.js | 1 + examples/apidoc/RestClientV2/getConvertBGBCoins.js | 1 + examples/apidoc/RestClientV2/getConvertBGBHistory.js | 1 + examples/apidoc/RestClientV2/getConvertCoins.js | 1 + examples/apidoc/RestClientV2/getConvertHistory.js | 1 + examples/apidoc/RestClientV2/getConvertQuotedPrice.js | 1 + examples/apidoc/RestClientV2/getEarnAccount.js | 1 + examples/apidoc/RestClientV2/getEarnSavingsAccount.js | 1 + examples/apidoc/RestClientV2/getEarnSavingsAssets.js | 1 + examples/apidoc/RestClientV2/getEarnSavingsProducts.js | 1 + examples/apidoc/RestClientV2/getEarnSavingsRecords.js | 1 + examples/apidoc/RestClientV2/getEarnSavingsRedemptionResult.js | 1 + examples/apidoc/RestClientV2/getEarnSavingsSubscription.js | 1 + examples/apidoc/RestClientV2/getEarnSavingsSubscriptionResult.js | 1 + examples/apidoc/RestClientV2/getFundingAssets.js | 1 + examples/apidoc/RestClientV2/getFuturesAccountAsset.js | 1 + examples/apidoc/RestClientV2/getFuturesAccountAssets.js | 1 + examples/apidoc/RestClientV2/getFuturesAccountBills.js | 1 + .../apidoc/RestClientV2/getFuturesActiveBuySellVolumeData.js | 1 + .../apidoc/RestClientV2/getFuturesActiveLongShortAccountData.js | 1 + .../apidoc/RestClientV2/getFuturesActiveLongShortPositionData.js | 1 + .../RestClientV2/getFuturesActiveTakerBuySellVolumeData.js | 1 + examples/apidoc/RestClientV2/getFuturesAllTickers.js | 1 + examples/apidoc/RestClientV2/getFuturesCandles.js | 1 + examples/apidoc/RestClientV2/getFuturesContractConfig.js | 1 + examples/apidoc/RestClientV2/getFuturesCurrentFundingRate.js | 1 + examples/apidoc/RestClientV2/getFuturesFills.js | 1 + examples/apidoc/RestClientV2/getFuturesFollowerCurrentOrders.js | 1 + examples/apidoc/RestClientV2/getFuturesFollowerFollowLimit.js | 1 + examples/apidoc/RestClientV2/getFuturesFollowerHistoryOrders.js | 1 + examples/apidoc/RestClientV2/getFuturesFollowerSettings.js | 1 + examples/apidoc/RestClientV2/getFuturesFollowerTraders.js | 1 + examples/apidoc/RestClientV2/getFuturesHistoricCandles.js | 1 + examples/apidoc/RestClientV2/getFuturesHistoricFundingRates.js | 1 + .../apidoc/RestClientV2/getFuturesHistoricIndexPriceCandles.js | 1 + .../apidoc/RestClientV2/getFuturesHistoricMarkPriceCandles.js | 1 + examples/apidoc/RestClientV2/getFuturesHistoricOrderFills.js | 1 + examples/apidoc/RestClientV2/getFuturesHistoricOrders.js | 1 + examples/apidoc/RestClientV2/getFuturesHistoricPlanOrders.js | 1 + examples/apidoc/RestClientV2/getFuturesHistoricPositions.js | 1 + examples/apidoc/RestClientV2/getFuturesHistoricTrades.js | 1 + examples/apidoc/RestClientV2/getFuturesLongShortRatio.js | 1 + examples/apidoc/RestClientV2/getFuturesMergeDepth.js | 1 + examples/apidoc/RestClientV2/getFuturesNextFundingTime.js | 1 + examples/apidoc/RestClientV2/getFuturesOpenCount.js | 1 + examples/apidoc/RestClientV2/getFuturesOpenInterest.js | 1 + examples/apidoc/RestClientV2/getFuturesOpenOrders.js | 1 + examples/apidoc/RestClientV2/getFuturesOrder.js | 1 + examples/apidoc/RestClientV2/getFuturesPlanOrders.js | 1 + examples/apidoc/RestClientV2/getFuturesPosition.js | 1 + examples/apidoc/RestClientV2/getFuturesPositionTier.js | 1 + examples/apidoc/RestClientV2/getFuturesPositions.js | 1 + examples/apidoc/RestClientV2/getFuturesRecentTrades.js | 1 + examples/apidoc/RestClientV2/getFuturesSubAccountAssets.js | 1 + examples/apidoc/RestClientV2/getFuturesSymbolPrice.js | 1 + examples/apidoc/RestClientV2/getFuturesTicker.js | 1 + examples/apidoc/RestClientV2/getFuturesTraderCurrentOrder.js | 1 + examples/apidoc/RestClientV2/getFuturesTraderFollowers.js | 1 + examples/apidoc/RestClientV2/getFuturesTraderHistoryOrders.js | 1 + examples/apidoc/RestClientV2/getFuturesTraderOrder.js | 1 + examples/apidoc/RestClientV2/getFuturesTraderProfitHistory.js | 1 + examples/apidoc/RestClientV2/getFuturesTraderProfitShare.js | 1 + examples/apidoc/RestClientV2/getFuturesTraderProfitShareGroup.js | 1 + .../apidoc/RestClientV2/getFuturesTraderProfitShareHistory.js | 1 + examples/apidoc/RestClientV2/getFuturesTraderSymbolSettings.js | 1 + examples/apidoc/RestClientV2/getFuturesTransactionRecords.js | 1 + examples/apidoc/RestClientV2/getFuturesVIPFeeRate.js | 1 + examples/apidoc/RestClientV2/getIsolatedMarginBorrowingRatio.js | 1 + examples/apidoc/RestClientV2/getLoanCurrencies.js | 1 + examples/apidoc/RestClientV2/getLoanDebts.js | 1 + examples/apidoc/RestClientV2/getLoanEstInterestAndBorrowable.js | 1 + examples/apidoc/RestClientV2/getLoanHistory.js | 1 + examples/apidoc/RestClientV2/getLoanLiquidationRecords.js | 1 + examples/apidoc/RestClientV2/getLoanPledgeRateHistory.js | 1 + examples/apidoc/RestClientV2/getMarginAccountAssets.js | 1 + examples/apidoc/RestClientV2/getMarginBorrowHistory.js | 1 + examples/apidoc/RestClientV2/getMarginCurrencies.js | 1 + examples/apidoc/RestClientV2/getMarginFinancialHistory.js | 1 + examples/apidoc/RestClientV2/getMarginFlashRepayResult.js | 1 + examples/apidoc/RestClientV2/getMarginHistoricOrderFills.js | 1 + examples/apidoc/RestClientV2/getMarginHistoricOrders.js | 1 + examples/apidoc/RestClientV2/getMarginInterestHistory.js | 1 + .../apidoc/RestClientV2/getMarginInterestRateAndMaxBorrowable.js | 1 + examples/apidoc/RestClientV2/getMarginLiquidationHistory.js | 1 + examples/apidoc/RestClientV2/getMarginLiquidationOrders.js | 1 + examples/apidoc/RestClientV2/getMarginLoanGrowthRate.js | 1 + examples/apidoc/RestClientV2/getMarginMaxBorrowable.js | 1 + examples/apidoc/RestClientV2/getMarginMaxTransferable.js | 1 + examples/apidoc/RestClientV2/getMarginOpenOrders.js | 1 + examples/apidoc/RestClientV2/getMarginRepayHistory.js | 1 + examples/apidoc/RestClientV2/getMarginRiskRate.js | 1 + examples/apidoc/RestClientV2/getMarginTierConfiguration.js | 1 + examples/apidoc/RestClientV2/getMarginTransactionRecords.js | 1 + examples/apidoc/RestClientV2/getOngoingLoanOrders.js | 1 + examples/apidoc/RestClientV2/getP2PMerchantAdvertisementList.js | 1 + examples/apidoc/RestClientV2/getP2PMerchantInfo.js | 1 + examples/apidoc/RestClientV2/getP2PMerchantList.js | 1 + examples/apidoc/RestClientV2/getP2PMerchantOrders.js | 1 + examples/apidoc/RestClientV2/getP2PTransactionRecords.js | 1 + examples/apidoc/RestClientV2/getRepayHistory.js | 1 + examples/apidoc/RestClientV2/getServerTime.js | 1 + examples/apidoc/RestClientV2/getSharkfinAccount.js | 1 + examples/apidoc/RestClientV2/getSharkfinAssets.js | 1 + examples/apidoc/RestClientV2/getSharkfinProducts.js | 1 + examples/apidoc/RestClientV2/getSharkfinRecords.js | 1 + examples/apidoc/RestClientV2/getSharkfinSubscription.js | 1 + examples/apidoc/RestClientV2/getSharkfinSubscriptionResult.js | 1 + examples/apidoc/RestClientV2/getSpotAccount.js | 1 + examples/apidoc/RestClientV2/getSpotAccountAssets.js | 1 + examples/apidoc/RestClientV2/getSpotAccountBills.js | 1 + examples/apidoc/RestClientV2/getSpotBGBDeductInfo.js | 1 + examples/apidoc/RestClientV2/getSpotCandles.js | 1 + examples/apidoc/RestClientV2/getSpotCoinInfo.js | 1 + examples/apidoc/RestClientV2/getSpotCurrentPlanOrders.js | 1 + examples/apidoc/RestClientV2/getSpotDepositAddress.js | 1 + examples/apidoc/RestClientV2/getSpotDepositHistory.js | 1 + examples/apidoc/RestClientV2/getSpotFills.js | 1 + .../apidoc/RestClientV2/getSpotFollowerCurrentTraderSymbols.js | 1 + examples/apidoc/RestClientV2/getSpotFollowerHistoryOrders.js | 1 + examples/apidoc/RestClientV2/getSpotFollowerOpenOrders.js | 1 + examples/apidoc/RestClientV2/getSpotFollowerSettings.js | 1 + examples/apidoc/RestClientV2/getSpotFollowerTraders.js | 1 + examples/apidoc/RestClientV2/getSpotFundFlow.js | 1 + examples/apidoc/RestClientV2/getSpotFundNetFlowData.js | 1 + examples/apidoc/RestClientV2/getSpotHistoricCandles.js | 1 + examples/apidoc/RestClientV2/getSpotHistoricOrders.js | 1 + examples/apidoc/RestClientV2/getSpotHistoricPlanOrders.js | 1 + examples/apidoc/RestClientV2/getSpotHistoricTrades.js | 1 + examples/apidoc/RestClientV2/getSpotMainSubTransferRecord.js | 1 + examples/apidoc/RestClientV2/getSpotMergeDepth.js | 1 + examples/apidoc/RestClientV2/getSpotOpenOrders.js | 1 + examples/apidoc/RestClientV2/getSpotOrder.js | 1 + examples/apidoc/RestClientV2/getSpotOrderBookDepth.js | 1 + examples/apidoc/RestClientV2/getSpotPlanSubOrder.js | 1 + examples/apidoc/RestClientV2/getSpotRecentTrades.js | 1 + examples/apidoc/RestClientV2/getSpotSubAccountAssets.js | 1 + examples/apidoc/RestClientV2/getSpotSubDepositAddress.js | 1 + examples/apidoc/RestClientV2/getSpotSymbolInfo.js | 1 + examples/apidoc/RestClientV2/getSpotTicker.js | 1 + examples/apidoc/RestClientV2/getSpotTraderConfiguration.js | 1 + examples/apidoc/RestClientV2/getSpotTraderCurrentOrders.js | 1 + examples/apidoc/RestClientV2/getSpotTraderFollowers.js | 1 + examples/apidoc/RestClientV2/getSpotTraderHistoryOrders.js | 1 + examples/apidoc/RestClientV2/getSpotTraderHistoryProfit.js | 1 + examples/apidoc/RestClientV2/getSpotTraderOrder.js | 1 + examples/apidoc/RestClientV2/getSpotTraderProfit.js | 1 + examples/apidoc/RestClientV2/getSpotTraderSymbolSettings.js | 1 + examples/apidoc/RestClientV2/getSpotTraderUnrealizedProfit.js | 1 + examples/apidoc/RestClientV2/getSpotTransactionRecords.js | 1 + examples/apidoc/RestClientV2/getSpotTransferHistory.js | 1 + examples/apidoc/RestClientV2/getSpotTransferableCoins.js | 1 + examples/apidoc/RestClientV2/getSpotVIPFeeRate.js | 1 + examples/apidoc/RestClientV2/getSpotWhaleNetFlowData.js | 1 + examples/apidoc/RestClientV2/getSpotWithdrawalHistory.js | 1 + examples/apidoc/RestClientV2/getSubAccountDepositRecords.js | 1 + examples/apidoc/RestClientV2/getSubaccountApiKey.js | 1 + examples/apidoc/RestClientV2/getSubaccountEmail.js | 1 + examples/apidoc/RestClientV2/getSubaccountFuturesAssets.js | 1 + examples/apidoc/RestClientV2/getSubaccountSpotAssets.js | 1 + examples/apidoc/RestClientV2/getSubaccounts.js | 1 + examples/apidoc/RestClientV2/getTradeDataSupportSymbols.js | 1 + examples/apidoc/RestClientV2/getTradeRate.js | 1 + examples/apidoc/RestClientV2/getVirtualSubaccountAPIKeys.js | 1 + examples/apidoc/RestClientV2/getVirtualSubaccounts.js | 1 + examples/apidoc/RestClientV2/marginBatchCancelOrders.js | 1 + examples/apidoc/RestClientV2/marginBatchSubmitOrders.js | 1 + examples/apidoc/RestClientV2/marginBorrow.js | 1 + examples/apidoc/RestClientV2/marginCancelOrder.js | 1 + examples/apidoc/RestClientV2/marginFlashRepay.js | 1 + examples/apidoc/RestClientV2/marginRepay.js | 1 + examples/apidoc/RestClientV2/marginSubmitOrder.js | 1 + examples/apidoc/RestClientV2/modifyFuturesTraderOrderTPSL.js | 1 + examples/apidoc/RestClientV2/modifySpotTraderOrderTPSL.js | 1 + examples/apidoc/RestClientV2/modifySubaccount.js | 1 + examples/apidoc/RestClientV2/modifySubaccountApiKey.js | 1 + examples/apidoc/RestClientV2/modifySubaccountEmail.js | 1 + examples/apidoc/RestClientV2/modifyVirtualSubaccount.js | 1 + examples/apidoc/RestClientV2/modifyVirtualSubaccountAPIKey.js | 1 + examples/apidoc/RestClientV2/removeFuturesTraderFollower.js | 1 + examples/apidoc/RestClientV2/removeSpotTraderFollowers.js | 1 + examples/apidoc/RestClientV2/repayLoan.js | 1 + examples/apidoc/RestClientV2/sellSpotFollower.js | 1 + examples/apidoc/RestClientV2/sellSpotTrader.js | 1 + examples/apidoc/RestClientV2/setFuturesLeverage.js | 1 + examples/apidoc/RestClientV2/setFuturesMarginMode.js | 1 + examples/apidoc/RestClientV2/setFuturesPositionAutoMargin.js | 1 + examples/apidoc/RestClientV2/setFuturesPositionMargin.js | 1 + examples/apidoc/RestClientV2/setFuturesPositionMode.js | 1 + examples/apidoc/RestClientV2/spotBatchCancelOrders.js | 1 + examples/apidoc/RestClientV2/spotBatchSubmitOrders.js | 1 + examples/apidoc/RestClientV2/spotCancelOrder.js | 1 + examples/apidoc/RestClientV2/spotCancelPlanOrder.js | 1 + examples/apidoc/RestClientV2/spotCancelPlanOrders.js | 1 + examples/apidoc/RestClientV2/spotCancelSymbolOrder.js | 1 + examples/apidoc/RestClientV2/spotCancelWithdrawal.js | 1 + examples/apidoc/RestClientV2/spotModifyDepositAccount.js | 1 + examples/apidoc/RestClientV2/spotModifyPlanOrder.js | 1 + examples/apidoc/RestClientV2/spotSubTransfer.js | 1 + examples/apidoc/RestClientV2/spotSubmitOrder.js | 1 + examples/apidoc/RestClientV2/spotSubmitPlanOrder.js | 1 + examples/apidoc/RestClientV2/spotSwitchBGBDeduct.js | 1 + examples/apidoc/RestClientV2/spotTransfer.js | 1 + examples/apidoc/RestClientV2/spotWithdraw.js | 1 + examples/apidoc/RestClientV2/subaccountDepositRecords.js | 1 + examples/apidoc/RestClientV2/subaccountSetAutoTransfer.js | 1 + examples/apidoc/RestClientV2/subaccountWithdrawal.js | 1 + examples/apidoc/RestClientV2/subaccountWithdrawalRecords.js | 1 + examples/apidoc/RestClientV2/subscribeSharkfin.js | 1 + examples/apidoc/RestClientV2/unfollowFuturesTrader.js | 1 + examples/apidoc/RestClientV2/unfollowSpotTrader.js | 1 + examples/apidoc/RestClientV2/updateFuturesFollowerSettings.js | 1 + examples/apidoc/RestClientV2/updateFuturesFollowerTPSL.js | 1 + .../apidoc/RestClientV2/updateFuturesTraderGlobalSettings.js | 1 + .../apidoc/RestClientV2/updateFuturesTraderSymbolSettings.js | 1 + examples/apidoc/RestClientV2/updateLoanPledgeRate.js | 1 + examples/apidoc/RestClientV2/updateSpotFollowerSettings.js | 1 + examples/apidoc/RestClientV2/updateSpotFollowerTPSL.js | 1 + 250 files changed, 250 insertions(+) diff --git a/examples/apidoc/RestClientV2/batchCreateVirtualSubaccountAndAPIKey.js b/examples/apidoc/RestClientV2/batchCreateVirtualSubaccountAndAPIKey.js index 7b41fbd..99a29d3 100644 --- a/examples/apidoc/RestClientV2/batchCreateVirtualSubaccountAndAPIKey.js +++ b/examples/apidoc/RestClientV2/batchCreateVirtualSubaccountAndAPIKey.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.batchCreateVirtualSubaccountAndAPIKey(params) diff --git a/examples/apidoc/RestClientV2/borrowLoan.js b/examples/apidoc/RestClientV2/borrowLoan.js index f7060d4..6dd6dc9 100644 --- a/examples/apidoc/RestClientV2/borrowLoan.js +++ b/examples/apidoc/RestClientV2/borrowLoan.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.borrowLoan(params) diff --git a/examples/apidoc/RestClientV2/cancelSpotFollowerOrder.js b/examples/apidoc/RestClientV2/cancelSpotFollowerOrder.js index 42c4fb6..5b4f7e8 100644 --- a/examples/apidoc/RestClientV2/cancelSpotFollowerOrder.js +++ b/examples/apidoc/RestClientV2/cancelSpotFollowerOrder.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.cancelSpotFollowerOrder(params) diff --git a/examples/apidoc/RestClientV2/closeFuturesFollowerPositions.js b/examples/apidoc/RestClientV2/closeFuturesFollowerPositions.js index bec2bc2..5e69e5b 100644 --- a/examples/apidoc/RestClientV2/closeFuturesFollowerPositions.js +++ b/examples/apidoc/RestClientV2/closeFuturesFollowerPositions.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.closeFuturesFollowerPositions(params) diff --git a/examples/apidoc/RestClientV2/closeFuturesTraderOrder.js b/examples/apidoc/RestClientV2/closeFuturesTraderOrder.js index dc8d0ea..61cf75b 100644 --- a/examples/apidoc/RestClientV2/closeFuturesTraderOrder.js +++ b/examples/apidoc/RestClientV2/closeFuturesTraderOrder.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.closeFuturesTraderOrder(params) diff --git a/examples/apidoc/RestClientV2/convert.js b/examples/apidoc/RestClientV2/convert.js index 9943c96..4875fdb 100644 --- a/examples/apidoc/RestClientV2/convert.js +++ b/examples/apidoc/RestClientV2/convert.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.convert(params) diff --git a/examples/apidoc/RestClientV2/convertBGB.js b/examples/apidoc/RestClientV2/convertBGB.js index f175dc0..6bc4662 100644 --- a/examples/apidoc/RestClientV2/convertBGB.js +++ b/examples/apidoc/RestClientV2/convertBGB.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.convertBGB(params) diff --git a/examples/apidoc/RestClientV2/createSubaccount.js b/examples/apidoc/RestClientV2/createSubaccount.js index b923f93..e3ed3e5 100644 --- a/examples/apidoc/RestClientV2/createSubaccount.js +++ b/examples/apidoc/RestClientV2/createSubaccount.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.createSubaccount(params) diff --git a/examples/apidoc/RestClientV2/createSubaccountApiKey.js b/examples/apidoc/RestClientV2/createSubaccountApiKey.js index 6b22c8c..7210a91 100644 --- a/examples/apidoc/RestClientV2/createSubaccountApiKey.js +++ b/examples/apidoc/RestClientV2/createSubaccountApiKey.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.createSubaccountApiKey(params) diff --git a/examples/apidoc/RestClientV2/createSubaccountDepositAddress.js b/examples/apidoc/RestClientV2/createSubaccountDepositAddress.js index a8bf10c..f0043a2 100644 --- a/examples/apidoc/RestClientV2/createSubaccountDepositAddress.js +++ b/examples/apidoc/RestClientV2/createSubaccountDepositAddress.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.createSubaccountDepositAddress(params) diff --git a/examples/apidoc/RestClientV2/createVirtualSubaccount.js b/examples/apidoc/RestClientV2/createVirtualSubaccount.js index cbe8598..8ef4b97 100644 --- a/examples/apidoc/RestClientV2/createVirtualSubaccount.js +++ b/examples/apidoc/RestClientV2/createVirtualSubaccount.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.createVirtualSubaccount(params) diff --git a/examples/apidoc/RestClientV2/createVirtualSubaccountAPIKey.js b/examples/apidoc/RestClientV2/createVirtualSubaccountAPIKey.js index 7b4b2ff..419e7f4 100644 --- a/examples/apidoc/RestClientV2/createVirtualSubaccountAPIKey.js +++ b/examples/apidoc/RestClientV2/createVirtualSubaccountAPIKey.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.createVirtualSubaccountAPIKey(params) diff --git a/examples/apidoc/RestClientV2/earnSubscribeSavings.js b/examples/apidoc/RestClientV2/earnSubscribeSavings.js index 9715982..5933bde 100644 --- a/examples/apidoc/RestClientV2/earnSubscribeSavings.js +++ b/examples/apidoc/RestClientV2/earnSubscribeSavings.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.earnSubscribeSavings(params) diff --git a/examples/apidoc/RestClientV2/futuresBatchCancelOrders.js b/examples/apidoc/RestClientV2/futuresBatchCancelOrders.js index f7a10cf..cbe6234 100644 --- a/examples/apidoc/RestClientV2/futuresBatchCancelOrders.js +++ b/examples/apidoc/RestClientV2/futuresBatchCancelOrders.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.futuresBatchCancelOrders(params) diff --git a/examples/apidoc/RestClientV2/futuresBatchSubmitOrders.js b/examples/apidoc/RestClientV2/futuresBatchSubmitOrders.js index b3b9129..679209c 100644 --- a/examples/apidoc/RestClientV2/futuresBatchSubmitOrders.js +++ b/examples/apidoc/RestClientV2/futuresBatchSubmitOrders.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.futuresBatchSubmitOrders(params) diff --git a/examples/apidoc/RestClientV2/futuresCancelAllOrders.js b/examples/apidoc/RestClientV2/futuresCancelAllOrders.js index aa2e1a8..2e547ff 100644 --- a/examples/apidoc/RestClientV2/futuresCancelAllOrders.js +++ b/examples/apidoc/RestClientV2/futuresCancelAllOrders.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.futuresCancelAllOrders(params) diff --git a/examples/apidoc/RestClientV2/futuresCancelOrder.js b/examples/apidoc/RestClientV2/futuresCancelOrder.js index 479a705..f4209c8 100644 --- a/examples/apidoc/RestClientV2/futuresCancelOrder.js +++ b/examples/apidoc/RestClientV2/futuresCancelOrder.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.futuresCancelOrder(params) diff --git a/examples/apidoc/RestClientV2/futuresCancelPlanOrder.js b/examples/apidoc/RestClientV2/futuresCancelPlanOrder.js index faba2a4..12927ea 100644 --- a/examples/apidoc/RestClientV2/futuresCancelPlanOrder.js +++ b/examples/apidoc/RestClientV2/futuresCancelPlanOrder.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.futuresCancelPlanOrder(params) diff --git a/examples/apidoc/RestClientV2/futuresFlashClosePositions.js b/examples/apidoc/RestClientV2/futuresFlashClosePositions.js index ef6fa1f..23af149 100644 --- a/examples/apidoc/RestClientV2/futuresFlashClosePositions.js +++ b/examples/apidoc/RestClientV2/futuresFlashClosePositions.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.futuresFlashClosePositions(params) diff --git a/examples/apidoc/RestClientV2/futuresModifyOrder.js b/examples/apidoc/RestClientV2/futuresModifyOrder.js index 9a5fe10..63abe6b 100644 --- a/examples/apidoc/RestClientV2/futuresModifyOrder.js +++ b/examples/apidoc/RestClientV2/futuresModifyOrder.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.futuresModifyOrder(params) diff --git a/examples/apidoc/RestClientV2/futuresModifyPlanOrder.js b/examples/apidoc/RestClientV2/futuresModifyPlanOrder.js index a85612a..dc3752e 100644 --- a/examples/apidoc/RestClientV2/futuresModifyPlanOrder.js +++ b/examples/apidoc/RestClientV2/futuresModifyPlanOrder.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.futuresModifyPlanOrder(params) diff --git a/examples/apidoc/RestClientV2/futuresModifyTPSLPOrder.js b/examples/apidoc/RestClientV2/futuresModifyTPSLPOrder.js index b03e89a..fb646c3 100644 --- a/examples/apidoc/RestClientV2/futuresModifyTPSLPOrder.js +++ b/examples/apidoc/RestClientV2/futuresModifyTPSLPOrder.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.futuresModifyTPSLPOrder(params) diff --git a/examples/apidoc/RestClientV2/futuresSubmitOrder.js b/examples/apidoc/RestClientV2/futuresSubmitOrder.js index 88cdf4f..87d7841 100644 --- a/examples/apidoc/RestClientV2/futuresSubmitOrder.js +++ b/examples/apidoc/RestClientV2/futuresSubmitOrder.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.futuresSubmitOrder(params) diff --git a/examples/apidoc/RestClientV2/futuresSubmitPlanOrder.js b/examples/apidoc/RestClientV2/futuresSubmitPlanOrder.js index e84de1b..be966c8 100644 --- a/examples/apidoc/RestClientV2/futuresSubmitPlanOrder.js +++ b/examples/apidoc/RestClientV2/futuresSubmitPlanOrder.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.futuresSubmitPlanOrder(params) diff --git a/examples/apidoc/RestClientV2/futuresSubmitPlanSubOrder.js b/examples/apidoc/RestClientV2/futuresSubmitPlanSubOrder.js index 96aa414..1dfa3b7 100644 --- a/examples/apidoc/RestClientV2/futuresSubmitPlanSubOrder.js +++ b/examples/apidoc/RestClientV2/futuresSubmitPlanSubOrder.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.futuresSubmitPlanSubOrder(params) diff --git a/examples/apidoc/RestClientV2/futuresSubmitReversal.js b/examples/apidoc/RestClientV2/futuresSubmitReversal.js index e8a3cee..7d76422 100644 --- a/examples/apidoc/RestClientV2/futuresSubmitReversal.js +++ b/examples/apidoc/RestClientV2/futuresSubmitReversal.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.futuresSubmitReversal(params) diff --git a/examples/apidoc/RestClientV2/futuresSubmitTPSLOrder.js b/examples/apidoc/RestClientV2/futuresSubmitTPSLOrder.js index fa75267..28cb1a9 100644 --- a/examples/apidoc/RestClientV2/futuresSubmitTPSLOrder.js +++ b/examples/apidoc/RestClientV2/futuresSubmitTPSLOrder.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.futuresSubmitTPSLOrder(params) diff --git a/examples/apidoc/RestClientV2/getAnnouncements.js b/examples/apidoc/RestClientV2/getAnnouncements.js index 6f8f6f5..012d9ef 100644 --- a/examples/apidoc/RestClientV2/getAnnouncements.js +++ b/examples/apidoc/RestClientV2/getAnnouncements.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getAnnouncements(params) diff --git a/examples/apidoc/RestClientV2/getBalances.js b/examples/apidoc/RestClientV2/getBalances.js index ddc58da..1d4d541 100644 --- a/examples/apidoc/RestClientV2/getBalances.js +++ b/examples/apidoc/RestClientV2/getBalances.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getBalances(params) diff --git a/examples/apidoc/RestClientV2/getBotAccount.js b/examples/apidoc/RestClientV2/getBotAccount.js index 055dae5..1148068 100644 --- a/examples/apidoc/RestClientV2/getBotAccount.js +++ b/examples/apidoc/RestClientV2/getBotAccount.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getBotAccount(params) diff --git a/examples/apidoc/RestClientV2/getBrokerInfo.js b/examples/apidoc/RestClientV2/getBrokerInfo.js index 40f0f90..eed0166 100644 --- a/examples/apidoc/RestClientV2/getBrokerInfo.js +++ b/examples/apidoc/RestClientV2/getBrokerInfo.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getBrokerInfo(params) diff --git a/examples/apidoc/RestClientV2/getBrokerTraders.js b/examples/apidoc/RestClientV2/getBrokerTraders.js index 0e7eb22..c061bec 100644 --- a/examples/apidoc/RestClientV2/getBrokerTraders.js +++ b/examples/apidoc/RestClientV2/getBrokerTraders.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getBrokerTraders(params) diff --git a/examples/apidoc/RestClientV2/getBrokerTradersHistoricalOrders.js b/examples/apidoc/RestClientV2/getBrokerTradersHistoricalOrders.js index 9d764f9..76113d3 100644 --- a/examples/apidoc/RestClientV2/getBrokerTradersHistoricalOrders.js +++ b/examples/apidoc/RestClientV2/getBrokerTradersHistoricalOrders.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getBrokerTradersHistoricalOrders(params) diff --git a/examples/apidoc/RestClientV2/getBrokerTradersPendingOrders.js b/examples/apidoc/RestClientV2/getBrokerTradersPendingOrders.js index 4bf8f5e..58d5a2d 100644 --- a/examples/apidoc/RestClientV2/getBrokerTradersPendingOrders.js +++ b/examples/apidoc/RestClientV2/getBrokerTradersPendingOrders.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getBrokerTradersPendingOrders(params) diff --git a/examples/apidoc/RestClientV2/getConvertBGBCoins.js b/examples/apidoc/RestClientV2/getConvertBGBCoins.js index e05c6f6..9b9c363 100644 --- a/examples/apidoc/RestClientV2/getConvertBGBCoins.js +++ b/examples/apidoc/RestClientV2/getConvertBGBCoins.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getConvertBGBCoins(params) diff --git a/examples/apidoc/RestClientV2/getConvertBGBHistory.js b/examples/apidoc/RestClientV2/getConvertBGBHistory.js index fe5fdaa..acd463e 100644 --- a/examples/apidoc/RestClientV2/getConvertBGBHistory.js +++ b/examples/apidoc/RestClientV2/getConvertBGBHistory.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getConvertBGBHistory(params) diff --git a/examples/apidoc/RestClientV2/getConvertCoins.js b/examples/apidoc/RestClientV2/getConvertCoins.js index aecd6ce..c1771ec 100644 --- a/examples/apidoc/RestClientV2/getConvertCoins.js +++ b/examples/apidoc/RestClientV2/getConvertCoins.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getConvertCoins(params) diff --git a/examples/apidoc/RestClientV2/getConvertHistory.js b/examples/apidoc/RestClientV2/getConvertHistory.js index 144692d..0767c9b 100644 --- a/examples/apidoc/RestClientV2/getConvertHistory.js +++ b/examples/apidoc/RestClientV2/getConvertHistory.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getConvertHistory(params) diff --git a/examples/apidoc/RestClientV2/getConvertQuotedPrice.js b/examples/apidoc/RestClientV2/getConvertQuotedPrice.js index e3d22c6..d4436f8 100644 --- a/examples/apidoc/RestClientV2/getConvertQuotedPrice.js +++ b/examples/apidoc/RestClientV2/getConvertQuotedPrice.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getConvertQuotedPrice(params) diff --git a/examples/apidoc/RestClientV2/getEarnAccount.js b/examples/apidoc/RestClientV2/getEarnAccount.js index dde6815..e79860e 100644 --- a/examples/apidoc/RestClientV2/getEarnAccount.js +++ b/examples/apidoc/RestClientV2/getEarnAccount.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getEarnAccount(params) diff --git a/examples/apidoc/RestClientV2/getEarnSavingsAccount.js b/examples/apidoc/RestClientV2/getEarnSavingsAccount.js index 633bf39..97b1c24 100644 --- a/examples/apidoc/RestClientV2/getEarnSavingsAccount.js +++ b/examples/apidoc/RestClientV2/getEarnSavingsAccount.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getEarnSavingsAccount(params) diff --git a/examples/apidoc/RestClientV2/getEarnSavingsAssets.js b/examples/apidoc/RestClientV2/getEarnSavingsAssets.js index d62694a..d11df41 100644 --- a/examples/apidoc/RestClientV2/getEarnSavingsAssets.js +++ b/examples/apidoc/RestClientV2/getEarnSavingsAssets.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getEarnSavingsAssets(params) diff --git a/examples/apidoc/RestClientV2/getEarnSavingsProducts.js b/examples/apidoc/RestClientV2/getEarnSavingsProducts.js index bdf75c4..4754841 100644 --- a/examples/apidoc/RestClientV2/getEarnSavingsProducts.js +++ b/examples/apidoc/RestClientV2/getEarnSavingsProducts.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getEarnSavingsProducts(params) diff --git a/examples/apidoc/RestClientV2/getEarnSavingsRecords.js b/examples/apidoc/RestClientV2/getEarnSavingsRecords.js index b7f468a..38d916f 100644 --- a/examples/apidoc/RestClientV2/getEarnSavingsRecords.js +++ b/examples/apidoc/RestClientV2/getEarnSavingsRecords.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getEarnSavingsRecords(params) diff --git a/examples/apidoc/RestClientV2/getEarnSavingsRedemptionResult.js b/examples/apidoc/RestClientV2/getEarnSavingsRedemptionResult.js index 4f67d1c..8f40ebe 100644 --- a/examples/apidoc/RestClientV2/getEarnSavingsRedemptionResult.js +++ b/examples/apidoc/RestClientV2/getEarnSavingsRedemptionResult.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getEarnSavingsRedemptionResult(params) diff --git a/examples/apidoc/RestClientV2/getEarnSavingsSubscription.js b/examples/apidoc/RestClientV2/getEarnSavingsSubscription.js index 049a899..023d131 100644 --- a/examples/apidoc/RestClientV2/getEarnSavingsSubscription.js +++ b/examples/apidoc/RestClientV2/getEarnSavingsSubscription.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getEarnSavingsSubscription(params) diff --git a/examples/apidoc/RestClientV2/getEarnSavingsSubscriptionResult.js b/examples/apidoc/RestClientV2/getEarnSavingsSubscriptionResult.js index d133aa8..2897eba 100644 --- a/examples/apidoc/RestClientV2/getEarnSavingsSubscriptionResult.js +++ b/examples/apidoc/RestClientV2/getEarnSavingsSubscriptionResult.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getEarnSavingsSubscriptionResult(params) diff --git a/examples/apidoc/RestClientV2/getFundingAssets.js b/examples/apidoc/RestClientV2/getFundingAssets.js index e833eeb..9fdb0fd 100644 --- a/examples/apidoc/RestClientV2/getFundingAssets.js +++ b/examples/apidoc/RestClientV2/getFundingAssets.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getFundingAssets(params) diff --git a/examples/apidoc/RestClientV2/getFuturesAccountAsset.js b/examples/apidoc/RestClientV2/getFuturesAccountAsset.js index 5c59d35..e1f05f7 100644 --- a/examples/apidoc/RestClientV2/getFuturesAccountAsset.js +++ b/examples/apidoc/RestClientV2/getFuturesAccountAsset.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getFuturesAccountAsset(params) diff --git a/examples/apidoc/RestClientV2/getFuturesAccountAssets.js b/examples/apidoc/RestClientV2/getFuturesAccountAssets.js index e684179..5213afd 100644 --- a/examples/apidoc/RestClientV2/getFuturesAccountAssets.js +++ b/examples/apidoc/RestClientV2/getFuturesAccountAssets.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getFuturesAccountAssets(params) diff --git a/examples/apidoc/RestClientV2/getFuturesAccountBills.js b/examples/apidoc/RestClientV2/getFuturesAccountBills.js index 5156eaa..e5dae37 100644 --- a/examples/apidoc/RestClientV2/getFuturesAccountBills.js +++ b/examples/apidoc/RestClientV2/getFuturesAccountBills.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getFuturesAccountBills(params) diff --git a/examples/apidoc/RestClientV2/getFuturesActiveBuySellVolumeData.js b/examples/apidoc/RestClientV2/getFuturesActiveBuySellVolumeData.js index c707e3a..c776593 100644 --- a/examples/apidoc/RestClientV2/getFuturesActiveBuySellVolumeData.js +++ b/examples/apidoc/RestClientV2/getFuturesActiveBuySellVolumeData.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getFuturesActiveBuySellVolumeData(params) diff --git a/examples/apidoc/RestClientV2/getFuturesActiveLongShortAccountData.js b/examples/apidoc/RestClientV2/getFuturesActiveLongShortAccountData.js index 7222c92..78991d5 100644 --- a/examples/apidoc/RestClientV2/getFuturesActiveLongShortAccountData.js +++ b/examples/apidoc/RestClientV2/getFuturesActiveLongShortAccountData.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getFuturesActiveLongShortAccountData(params) diff --git a/examples/apidoc/RestClientV2/getFuturesActiveLongShortPositionData.js b/examples/apidoc/RestClientV2/getFuturesActiveLongShortPositionData.js index 1de1070..bf2df0d 100644 --- a/examples/apidoc/RestClientV2/getFuturesActiveLongShortPositionData.js +++ b/examples/apidoc/RestClientV2/getFuturesActiveLongShortPositionData.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getFuturesActiveLongShortPositionData(params) diff --git a/examples/apidoc/RestClientV2/getFuturesActiveTakerBuySellVolumeData.js b/examples/apidoc/RestClientV2/getFuturesActiveTakerBuySellVolumeData.js index 949b1da..987ab6e 100644 --- a/examples/apidoc/RestClientV2/getFuturesActiveTakerBuySellVolumeData.js +++ b/examples/apidoc/RestClientV2/getFuturesActiveTakerBuySellVolumeData.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getFuturesActiveTakerBuySellVolumeData(params) diff --git a/examples/apidoc/RestClientV2/getFuturesAllTickers.js b/examples/apidoc/RestClientV2/getFuturesAllTickers.js index 5293809..ea46971 100644 --- a/examples/apidoc/RestClientV2/getFuturesAllTickers.js +++ b/examples/apidoc/RestClientV2/getFuturesAllTickers.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getFuturesAllTickers(params) diff --git a/examples/apidoc/RestClientV2/getFuturesCandles.js b/examples/apidoc/RestClientV2/getFuturesCandles.js index 59579d4..b87fef8 100644 --- a/examples/apidoc/RestClientV2/getFuturesCandles.js +++ b/examples/apidoc/RestClientV2/getFuturesCandles.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getFuturesCandles(params) diff --git a/examples/apidoc/RestClientV2/getFuturesContractConfig.js b/examples/apidoc/RestClientV2/getFuturesContractConfig.js index 61c69df..9611fa3 100644 --- a/examples/apidoc/RestClientV2/getFuturesContractConfig.js +++ b/examples/apidoc/RestClientV2/getFuturesContractConfig.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getFuturesContractConfig(params) diff --git a/examples/apidoc/RestClientV2/getFuturesCurrentFundingRate.js b/examples/apidoc/RestClientV2/getFuturesCurrentFundingRate.js index ed65c2e..9052cd8 100644 --- a/examples/apidoc/RestClientV2/getFuturesCurrentFundingRate.js +++ b/examples/apidoc/RestClientV2/getFuturesCurrentFundingRate.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getFuturesCurrentFundingRate(params) diff --git a/examples/apidoc/RestClientV2/getFuturesFills.js b/examples/apidoc/RestClientV2/getFuturesFills.js index 9b40acc..13ccea4 100644 --- a/examples/apidoc/RestClientV2/getFuturesFills.js +++ b/examples/apidoc/RestClientV2/getFuturesFills.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getFuturesFills(params) diff --git a/examples/apidoc/RestClientV2/getFuturesFollowerCurrentOrders.js b/examples/apidoc/RestClientV2/getFuturesFollowerCurrentOrders.js index 67a55db..d6710e4 100644 --- a/examples/apidoc/RestClientV2/getFuturesFollowerCurrentOrders.js +++ b/examples/apidoc/RestClientV2/getFuturesFollowerCurrentOrders.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getFuturesFollowerCurrentOrders(params) diff --git a/examples/apidoc/RestClientV2/getFuturesFollowerFollowLimit.js b/examples/apidoc/RestClientV2/getFuturesFollowerFollowLimit.js index 006b1ea..4659cf4 100644 --- a/examples/apidoc/RestClientV2/getFuturesFollowerFollowLimit.js +++ b/examples/apidoc/RestClientV2/getFuturesFollowerFollowLimit.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getFuturesFollowerFollowLimit(params) diff --git a/examples/apidoc/RestClientV2/getFuturesFollowerHistoryOrders.js b/examples/apidoc/RestClientV2/getFuturesFollowerHistoryOrders.js index 0eb275b..f360b9e 100644 --- a/examples/apidoc/RestClientV2/getFuturesFollowerHistoryOrders.js +++ b/examples/apidoc/RestClientV2/getFuturesFollowerHistoryOrders.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getFuturesFollowerHistoryOrders(params) diff --git a/examples/apidoc/RestClientV2/getFuturesFollowerSettings.js b/examples/apidoc/RestClientV2/getFuturesFollowerSettings.js index aa8bf15..990088b 100644 --- a/examples/apidoc/RestClientV2/getFuturesFollowerSettings.js +++ b/examples/apidoc/RestClientV2/getFuturesFollowerSettings.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getFuturesFollowerSettings(params) diff --git a/examples/apidoc/RestClientV2/getFuturesFollowerTraders.js b/examples/apidoc/RestClientV2/getFuturesFollowerTraders.js index 0c61966..9ad859b 100644 --- a/examples/apidoc/RestClientV2/getFuturesFollowerTraders.js +++ b/examples/apidoc/RestClientV2/getFuturesFollowerTraders.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getFuturesFollowerTraders(params) diff --git a/examples/apidoc/RestClientV2/getFuturesHistoricCandles.js b/examples/apidoc/RestClientV2/getFuturesHistoricCandles.js index f30d5a4..a811862 100644 --- a/examples/apidoc/RestClientV2/getFuturesHistoricCandles.js +++ b/examples/apidoc/RestClientV2/getFuturesHistoricCandles.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getFuturesHistoricCandles(params) diff --git a/examples/apidoc/RestClientV2/getFuturesHistoricFundingRates.js b/examples/apidoc/RestClientV2/getFuturesHistoricFundingRates.js index e332c91..c8d2969 100644 --- a/examples/apidoc/RestClientV2/getFuturesHistoricFundingRates.js +++ b/examples/apidoc/RestClientV2/getFuturesHistoricFundingRates.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getFuturesHistoricFundingRates(params) diff --git a/examples/apidoc/RestClientV2/getFuturesHistoricIndexPriceCandles.js b/examples/apidoc/RestClientV2/getFuturesHistoricIndexPriceCandles.js index fd55bc4..adf4fee 100644 --- a/examples/apidoc/RestClientV2/getFuturesHistoricIndexPriceCandles.js +++ b/examples/apidoc/RestClientV2/getFuturesHistoricIndexPriceCandles.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getFuturesHistoricIndexPriceCandles(params) diff --git a/examples/apidoc/RestClientV2/getFuturesHistoricMarkPriceCandles.js b/examples/apidoc/RestClientV2/getFuturesHistoricMarkPriceCandles.js index 93d7bfe..59c4961 100644 --- a/examples/apidoc/RestClientV2/getFuturesHistoricMarkPriceCandles.js +++ b/examples/apidoc/RestClientV2/getFuturesHistoricMarkPriceCandles.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getFuturesHistoricMarkPriceCandles(params) diff --git a/examples/apidoc/RestClientV2/getFuturesHistoricOrderFills.js b/examples/apidoc/RestClientV2/getFuturesHistoricOrderFills.js index 16cae04..9cef3f5 100644 --- a/examples/apidoc/RestClientV2/getFuturesHistoricOrderFills.js +++ b/examples/apidoc/RestClientV2/getFuturesHistoricOrderFills.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getFuturesHistoricOrderFills(params) diff --git a/examples/apidoc/RestClientV2/getFuturesHistoricOrders.js b/examples/apidoc/RestClientV2/getFuturesHistoricOrders.js index 900da2f..7af6a47 100644 --- a/examples/apidoc/RestClientV2/getFuturesHistoricOrders.js +++ b/examples/apidoc/RestClientV2/getFuturesHistoricOrders.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getFuturesHistoricOrders(params) diff --git a/examples/apidoc/RestClientV2/getFuturesHistoricPlanOrders.js b/examples/apidoc/RestClientV2/getFuturesHistoricPlanOrders.js index 1aaacec..2d71037 100644 --- a/examples/apidoc/RestClientV2/getFuturesHistoricPlanOrders.js +++ b/examples/apidoc/RestClientV2/getFuturesHistoricPlanOrders.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getFuturesHistoricPlanOrders(params) diff --git a/examples/apidoc/RestClientV2/getFuturesHistoricPositions.js b/examples/apidoc/RestClientV2/getFuturesHistoricPositions.js index ea4ca4c..623df9c 100644 --- a/examples/apidoc/RestClientV2/getFuturesHistoricPositions.js +++ b/examples/apidoc/RestClientV2/getFuturesHistoricPositions.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getFuturesHistoricPositions(params) diff --git a/examples/apidoc/RestClientV2/getFuturesHistoricTrades.js b/examples/apidoc/RestClientV2/getFuturesHistoricTrades.js index 353754b..b347b03 100644 --- a/examples/apidoc/RestClientV2/getFuturesHistoricTrades.js +++ b/examples/apidoc/RestClientV2/getFuturesHistoricTrades.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getFuturesHistoricTrades(params) diff --git a/examples/apidoc/RestClientV2/getFuturesLongShortRatio.js b/examples/apidoc/RestClientV2/getFuturesLongShortRatio.js index 57d22a8..ca3ad8d 100644 --- a/examples/apidoc/RestClientV2/getFuturesLongShortRatio.js +++ b/examples/apidoc/RestClientV2/getFuturesLongShortRatio.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getFuturesLongShortRatio(params) diff --git a/examples/apidoc/RestClientV2/getFuturesMergeDepth.js b/examples/apidoc/RestClientV2/getFuturesMergeDepth.js index 9c27ace..50d92b8 100644 --- a/examples/apidoc/RestClientV2/getFuturesMergeDepth.js +++ b/examples/apidoc/RestClientV2/getFuturesMergeDepth.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getFuturesMergeDepth(params) diff --git a/examples/apidoc/RestClientV2/getFuturesNextFundingTime.js b/examples/apidoc/RestClientV2/getFuturesNextFundingTime.js index 2b08f4d..1e2fb78 100644 --- a/examples/apidoc/RestClientV2/getFuturesNextFundingTime.js +++ b/examples/apidoc/RestClientV2/getFuturesNextFundingTime.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getFuturesNextFundingTime(params) diff --git a/examples/apidoc/RestClientV2/getFuturesOpenCount.js b/examples/apidoc/RestClientV2/getFuturesOpenCount.js index f1d5552..bcf2cc2 100644 --- a/examples/apidoc/RestClientV2/getFuturesOpenCount.js +++ b/examples/apidoc/RestClientV2/getFuturesOpenCount.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getFuturesOpenCount(params) diff --git a/examples/apidoc/RestClientV2/getFuturesOpenInterest.js b/examples/apidoc/RestClientV2/getFuturesOpenInterest.js index 08a4791..271b81e 100644 --- a/examples/apidoc/RestClientV2/getFuturesOpenInterest.js +++ b/examples/apidoc/RestClientV2/getFuturesOpenInterest.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getFuturesOpenInterest(params) diff --git a/examples/apidoc/RestClientV2/getFuturesOpenOrders.js b/examples/apidoc/RestClientV2/getFuturesOpenOrders.js index 2bf7b31..fe745a5 100644 --- a/examples/apidoc/RestClientV2/getFuturesOpenOrders.js +++ b/examples/apidoc/RestClientV2/getFuturesOpenOrders.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getFuturesOpenOrders(params) diff --git a/examples/apidoc/RestClientV2/getFuturesOrder.js b/examples/apidoc/RestClientV2/getFuturesOrder.js index 42bc3ed..cd8d709 100644 --- a/examples/apidoc/RestClientV2/getFuturesOrder.js +++ b/examples/apidoc/RestClientV2/getFuturesOrder.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getFuturesOrder(params) diff --git a/examples/apidoc/RestClientV2/getFuturesPlanOrders.js b/examples/apidoc/RestClientV2/getFuturesPlanOrders.js index 97b381a..d520320 100644 --- a/examples/apidoc/RestClientV2/getFuturesPlanOrders.js +++ b/examples/apidoc/RestClientV2/getFuturesPlanOrders.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getFuturesPlanOrders(params) diff --git a/examples/apidoc/RestClientV2/getFuturesPosition.js b/examples/apidoc/RestClientV2/getFuturesPosition.js index 9cbf5cf..18dbd67 100644 --- a/examples/apidoc/RestClientV2/getFuturesPosition.js +++ b/examples/apidoc/RestClientV2/getFuturesPosition.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getFuturesPosition(params) diff --git a/examples/apidoc/RestClientV2/getFuturesPositionTier.js b/examples/apidoc/RestClientV2/getFuturesPositionTier.js index 7862f25..e43e954 100644 --- a/examples/apidoc/RestClientV2/getFuturesPositionTier.js +++ b/examples/apidoc/RestClientV2/getFuturesPositionTier.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getFuturesPositionTier(params) diff --git a/examples/apidoc/RestClientV2/getFuturesPositions.js b/examples/apidoc/RestClientV2/getFuturesPositions.js index 6b680a4..dbc5db6 100644 --- a/examples/apidoc/RestClientV2/getFuturesPositions.js +++ b/examples/apidoc/RestClientV2/getFuturesPositions.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getFuturesPositions(params) diff --git a/examples/apidoc/RestClientV2/getFuturesRecentTrades.js b/examples/apidoc/RestClientV2/getFuturesRecentTrades.js index 542556b..fc3191c 100644 --- a/examples/apidoc/RestClientV2/getFuturesRecentTrades.js +++ b/examples/apidoc/RestClientV2/getFuturesRecentTrades.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getFuturesRecentTrades(params) diff --git a/examples/apidoc/RestClientV2/getFuturesSubAccountAssets.js b/examples/apidoc/RestClientV2/getFuturesSubAccountAssets.js index dda5a76..fa69040 100644 --- a/examples/apidoc/RestClientV2/getFuturesSubAccountAssets.js +++ b/examples/apidoc/RestClientV2/getFuturesSubAccountAssets.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getFuturesSubAccountAssets(params) diff --git a/examples/apidoc/RestClientV2/getFuturesSymbolPrice.js b/examples/apidoc/RestClientV2/getFuturesSymbolPrice.js index 6b889e3..734638f 100644 --- a/examples/apidoc/RestClientV2/getFuturesSymbolPrice.js +++ b/examples/apidoc/RestClientV2/getFuturesSymbolPrice.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getFuturesSymbolPrice(params) diff --git a/examples/apidoc/RestClientV2/getFuturesTicker.js b/examples/apidoc/RestClientV2/getFuturesTicker.js index 7418be5..0bd69d3 100644 --- a/examples/apidoc/RestClientV2/getFuturesTicker.js +++ b/examples/apidoc/RestClientV2/getFuturesTicker.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getFuturesTicker(params) diff --git a/examples/apidoc/RestClientV2/getFuturesTraderCurrentOrder.js b/examples/apidoc/RestClientV2/getFuturesTraderCurrentOrder.js index d76bd4a..9fa4997 100644 --- a/examples/apidoc/RestClientV2/getFuturesTraderCurrentOrder.js +++ b/examples/apidoc/RestClientV2/getFuturesTraderCurrentOrder.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getFuturesTraderCurrentOrder(params) diff --git a/examples/apidoc/RestClientV2/getFuturesTraderFollowers.js b/examples/apidoc/RestClientV2/getFuturesTraderFollowers.js index d4144bc..1449322 100644 --- a/examples/apidoc/RestClientV2/getFuturesTraderFollowers.js +++ b/examples/apidoc/RestClientV2/getFuturesTraderFollowers.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getFuturesTraderFollowers(params) diff --git a/examples/apidoc/RestClientV2/getFuturesTraderHistoryOrders.js b/examples/apidoc/RestClientV2/getFuturesTraderHistoryOrders.js index 73e22ec..b9ed0dc 100644 --- a/examples/apidoc/RestClientV2/getFuturesTraderHistoryOrders.js +++ b/examples/apidoc/RestClientV2/getFuturesTraderHistoryOrders.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getFuturesTraderHistoryOrders(params) diff --git a/examples/apidoc/RestClientV2/getFuturesTraderOrder.js b/examples/apidoc/RestClientV2/getFuturesTraderOrder.js index dafe161..1464926 100644 --- a/examples/apidoc/RestClientV2/getFuturesTraderOrder.js +++ b/examples/apidoc/RestClientV2/getFuturesTraderOrder.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getFuturesTraderOrder(params) diff --git a/examples/apidoc/RestClientV2/getFuturesTraderProfitHistory.js b/examples/apidoc/RestClientV2/getFuturesTraderProfitHistory.js index 253e775..eb08282 100644 --- a/examples/apidoc/RestClientV2/getFuturesTraderProfitHistory.js +++ b/examples/apidoc/RestClientV2/getFuturesTraderProfitHistory.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getFuturesTraderProfitHistory(params) diff --git a/examples/apidoc/RestClientV2/getFuturesTraderProfitShare.js b/examples/apidoc/RestClientV2/getFuturesTraderProfitShare.js index 7113959..4e35c63 100644 --- a/examples/apidoc/RestClientV2/getFuturesTraderProfitShare.js +++ b/examples/apidoc/RestClientV2/getFuturesTraderProfitShare.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getFuturesTraderProfitShare(params) diff --git a/examples/apidoc/RestClientV2/getFuturesTraderProfitShareGroup.js b/examples/apidoc/RestClientV2/getFuturesTraderProfitShareGroup.js index 228d686..58ae827 100644 --- a/examples/apidoc/RestClientV2/getFuturesTraderProfitShareGroup.js +++ b/examples/apidoc/RestClientV2/getFuturesTraderProfitShareGroup.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getFuturesTraderProfitShareGroup(params) diff --git a/examples/apidoc/RestClientV2/getFuturesTraderProfitShareHistory.js b/examples/apidoc/RestClientV2/getFuturesTraderProfitShareHistory.js index ea88c97..fede5be 100644 --- a/examples/apidoc/RestClientV2/getFuturesTraderProfitShareHistory.js +++ b/examples/apidoc/RestClientV2/getFuturesTraderProfitShareHistory.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getFuturesTraderProfitShareHistory(params) diff --git a/examples/apidoc/RestClientV2/getFuturesTraderSymbolSettings.js b/examples/apidoc/RestClientV2/getFuturesTraderSymbolSettings.js index b917bee..23bfee4 100644 --- a/examples/apidoc/RestClientV2/getFuturesTraderSymbolSettings.js +++ b/examples/apidoc/RestClientV2/getFuturesTraderSymbolSettings.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getFuturesTraderSymbolSettings(params) diff --git a/examples/apidoc/RestClientV2/getFuturesTransactionRecords.js b/examples/apidoc/RestClientV2/getFuturesTransactionRecords.js index 47cfcec..b36bc5d 100644 --- a/examples/apidoc/RestClientV2/getFuturesTransactionRecords.js +++ b/examples/apidoc/RestClientV2/getFuturesTransactionRecords.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getFuturesTransactionRecords(params) diff --git a/examples/apidoc/RestClientV2/getFuturesVIPFeeRate.js b/examples/apidoc/RestClientV2/getFuturesVIPFeeRate.js index 3bc101a..f0ea200 100644 --- a/examples/apidoc/RestClientV2/getFuturesVIPFeeRate.js +++ b/examples/apidoc/RestClientV2/getFuturesVIPFeeRate.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getFuturesVIPFeeRate(params) diff --git a/examples/apidoc/RestClientV2/getIsolatedMarginBorrowingRatio.js b/examples/apidoc/RestClientV2/getIsolatedMarginBorrowingRatio.js index 7d26195..ab5ac6b 100644 --- a/examples/apidoc/RestClientV2/getIsolatedMarginBorrowingRatio.js +++ b/examples/apidoc/RestClientV2/getIsolatedMarginBorrowingRatio.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getIsolatedMarginBorrowingRatio(params) diff --git a/examples/apidoc/RestClientV2/getLoanCurrencies.js b/examples/apidoc/RestClientV2/getLoanCurrencies.js index 4a2cdee..14c8bcf 100644 --- a/examples/apidoc/RestClientV2/getLoanCurrencies.js +++ b/examples/apidoc/RestClientV2/getLoanCurrencies.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getLoanCurrencies(params) diff --git a/examples/apidoc/RestClientV2/getLoanDebts.js b/examples/apidoc/RestClientV2/getLoanDebts.js index 3c4b52f..a96a170 100644 --- a/examples/apidoc/RestClientV2/getLoanDebts.js +++ b/examples/apidoc/RestClientV2/getLoanDebts.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getLoanDebts(params) diff --git a/examples/apidoc/RestClientV2/getLoanEstInterestAndBorrowable.js b/examples/apidoc/RestClientV2/getLoanEstInterestAndBorrowable.js index 8fb378b..e7f957f 100644 --- a/examples/apidoc/RestClientV2/getLoanEstInterestAndBorrowable.js +++ b/examples/apidoc/RestClientV2/getLoanEstInterestAndBorrowable.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getLoanEstInterestAndBorrowable(params) diff --git a/examples/apidoc/RestClientV2/getLoanHistory.js b/examples/apidoc/RestClientV2/getLoanHistory.js index 1d65e18..fb93e61 100644 --- a/examples/apidoc/RestClientV2/getLoanHistory.js +++ b/examples/apidoc/RestClientV2/getLoanHistory.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getLoanHistory(params) diff --git a/examples/apidoc/RestClientV2/getLoanLiquidationRecords.js b/examples/apidoc/RestClientV2/getLoanLiquidationRecords.js index f2d9cbf..4db54e8 100644 --- a/examples/apidoc/RestClientV2/getLoanLiquidationRecords.js +++ b/examples/apidoc/RestClientV2/getLoanLiquidationRecords.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getLoanLiquidationRecords(params) diff --git a/examples/apidoc/RestClientV2/getLoanPledgeRateHistory.js b/examples/apidoc/RestClientV2/getLoanPledgeRateHistory.js index 0cf4a04..d9b57dc 100644 --- a/examples/apidoc/RestClientV2/getLoanPledgeRateHistory.js +++ b/examples/apidoc/RestClientV2/getLoanPledgeRateHistory.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getLoanPledgeRateHistory(params) diff --git a/examples/apidoc/RestClientV2/getMarginAccountAssets.js b/examples/apidoc/RestClientV2/getMarginAccountAssets.js index a1e67d8..2aac869 100644 --- a/examples/apidoc/RestClientV2/getMarginAccountAssets.js +++ b/examples/apidoc/RestClientV2/getMarginAccountAssets.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getMarginAccountAssets(params) diff --git a/examples/apidoc/RestClientV2/getMarginBorrowHistory.js b/examples/apidoc/RestClientV2/getMarginBorrowHistory.js index d9d59c8..f4d2820 100644 --- a/examples/apidoc/RestClientV2/getMarginBorrowHistory.js +++ b/examples/apidoc/RestClientV2/getMarginBorrowHistory.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getMarginBorrowHistory(params) diff --git a/examples/apidoc/RestClientV2/getMarginCurrencies.js b/examples/apidoc/RestClientV2/getMarginCurrencies.js index 6df6d57..2e167d1 100644 --- a/examples/apidoc/RestClientV2/getMarginCurrencies.js +++ b/examples/apidoc/RestClientV2/getMarginCurrencies.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getMarginCurrencies(params) diff --git a/examples/apidoc/RestClientV2/getMarginFinancialHistory.js b/examples/apidoc/RestClientV2/getMarginFinancialHistory.js index b33babc..d644e63 100644 --- a/examples/apidoc/RestClientV2/getMarginFinancialHistory.js +++ b/examples/apidoc/RestClientV2/getMarginFinancialHistory.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getMarginFinancialHistory(params) diff --git a/examples/apidoc/RestClientV2/getMarginFlashRepayResult.js b/examples/apidoc/RestClientV2/getMarginFlashRepayResult.js index 76809fc..8091d1c 100644 --- a/examples/apidoc/RestClientV2/getMarginFlashRepayResult.js +++ b/examples/apidoc/RestClientV2/getMarginFlashRepayResult.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getMarginFlashRepayResult(params) diff --git a/examples/apidoc/RestClientV2/getMarginHistoricOrderFills.js b/examples/apidoc/RestClientV2/getMarginHistoricOrderFills.js index 539cf9c..9975618 100644 --- a/examples/apidoc/RestClientV2/getMarginHistoricOrderFills.js +++ b/examples/apidoc/RestClientV2/getMarginHistoricOrderFills.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getMarginHistoricOrderFills(params) diff --git a/examples/apidoc/RestClientV2/getMarginHistoricOrders.js b/examples/apidoc/RestClientV2/getMarginHistoricOrders.js index 64b2279..d2dc187 100644 --- a/examples/apidoc/RestClientV2/getMarginHistoricOrders.js +++ b/examples/apidoc/RestClientV2/getMarginHistoricOrders.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getMarginHistoricOrders(params) diff --git a/examples/apidoc/RestClientV2/getMarginInterestHistory.js b/examples/apidoc/RestClientV2/getMarginInterestHistory.js index b9e7b6c..b578841 100644 --- a/examples/apidoc/RestClientV2/getMarginInterestHistory.js +++ b/examples/apidoc/RestClientV2/getMarginInterestHistory.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getMarginInterestHistory(params) diff --git a/examples/apidoc/RestClientV2/getMarginInterestRateAndMaxBorrowable.js b/examples/apidoc/RestClientV2/getMarginInterestRateAndMaxBorrowable.js index 4754779..dc2564e 100644 --- a/examples/apidoc/RestClientV2/getMarginInterestRateAndMaxBorrowable.js +++ b/examples/apidoc/RestClientV2/getMarginInterestRateAndMaxBorrowable.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getMarginInterestRateAndMaxBorrowable(params) diff --git a/examples/apidoc/RestClientV2/getMarginLiquidationHistory.js b/examples/apidoc/RestClientV2/getMarginLiquidationHistory.js index 5d3140a..655aef1 100644 --- a/examples/apidoc/RestClientV2/getMarginLiquidationHistory.js +++ b/examples/apidoc/RestClientV2/getMarginLiquidationHistory.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getMarginLiquidationHistory(params) diff --git a/examples/apidoc/RestClientV2/getMarginLiquidationOrders.js b/examples/apidoc/RestClientV2/getMarginLiquidationOrders.js index 60c9213..a14db9f 100644 --- a/examples/apidoc/RestClientV2/getMarginLiquidationOrders.js +++ b/examples/apidoc/RestClientV2/getMarginLiquidationOrders.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getMarginLiquidationOrders(params) diff --git a/examples/apidoc/RestClientV2/getMarginLoanGrowthRate.js b/examples/apidoc/RestClientV2/getMarginLoanGrowthRate.js index b5a4551..1eb66fc 100644 --- a/examples/apidoc/RestClientV2/getMarginLoanGrowthRate.js +++ b/examples/apidoc/RestClientV2/getMarginLoanGrowthRate.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getMarginLoanGrowthRate(params) diff --git a/examples/apidoc/RestClientV2/getMarginMaxBorrowable.js b/examples/apidoc/RestClientV2/getMarginMaxBorrowable.js index 860754a..c48be91 100644 --- a/examples/apidoc/RestClientV2/getMarginMaxBorrowable.js +++ b/examples/apidoc/RestClientV2/getMarginMaxBorrowable.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getMarginMaxBorrowable(params) diff --git a/examples/apidoc/RestClientV2/getMarginMaxTransferable.js b/examples/apidoc/RestClientV2/getMarginMaxTransferable.js index b5a32e7..38704d6 100644 --- a/examples/apidoc/RestClientV2/getMarginMaxTransferable.js +++ b/examples/apidoc/RestClientV2/getMarginMaxTransferable.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getMarginMaxTransferable(params) diff --git a/examples/apidoc/RestClientV2/getMarginOpenOrders.js b/examples/apidoc/RestClientV2/getMarginOpenOrders.js index f34d533..8e8dbbd 100644 --- a/examples/apidoc/RestClientV2/getMarginOpenOrders.js +++ b/examples/apidoc/RestClientV2/getMarginOpenOrders.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getMarginOpenOrders(params) diff --git a/examples/apidoc/RestClientV2/getMarginRepayHistory.js b/examples/apidoc/RestClientV2/getMarginRepayHistory.js index 77a1b42..d5d78fa 100644 --- a/examples/apidoc/RestClientV2/getMarginRepayHistory.js +++ b/examples/apidoc/RestClientV2/getMarginRepayHistory.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getMarginRepayHistory(params) diff --git a/examples/apidoc/RestClientV2/getMarginRiskRate.js b/examples/apidoc/RestClientV2/getMarginRiskRate.js index 3a2e4db..24474d6 100644 --- a/examples/apidoc/RestClientV2/getMarginRiskRate.js +++ b/examples/apidoc/RestClientV2/getMarginRiskRate.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getMarginRiskRate(params) diff --git a/examples/apidoc/RestClientV2/getMarginTierConfiguration.js b/examples/apidoc/RestClientV2/getMarginTierConfiguration.js index bd05978..c749223 100644 --- a/examples/apidoc/RestClientV2/getMarginTierConfiguration.js +++ b/examples/apidoc/RestClientV2/getMarginTierConfiguration.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getMarginTierConfiguration(params) diff --git a/examples/apidoc/RestClientV2/getMarginTransactionRecords.js b/examples/apidoc/RestClientV2/getMarginTransactionRecords.js index b609db7..2afdf6a 100644 --- a/examples/apidoc/RestClientV2/getMarginTransactionRecords.js +++ b/examples/apidoc/RestClientV2/getMarginTransactionRecords.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getMarginTransactionRecords(params) diff --git a/examples/apidoc/RestClientV2/getOngoingLoanOrders.js b/examples/apidoc/RestClientV2/getOngoingLoanOrders.js index db431b3..39c37e3 100644 --- a/examples/apidoc/RestClientV2/getOngoingLoanOrders.js +++ b/examples/apidoc/RestClientV2/getOngoingLoanOrders.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getOngoingLoanOrders(params) diff --git a/examples/apidoc/RestClientV2/getP2PMerchantAdvertisementList.js b/examples/apidoc/RestClientV2/getP2PMerchantAdvertisementList.js index a992b6e..85d4dae 100644 --- a/examples/apidoc/RestClientV2/getP2PMerchantAdvertisementList.js +++ b/examples/apidoc/RestClientV2/getP2PMerchantAdvertisementList.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getP2PMerchantAdvertisementList(params) diff --git a/examples/apidoc/RestClientV2/getP2PMerchantInfo.js b/examples/apidoc/RestClientV2/getP2PMerchantInfo.js index 3c1f225..fe99f91 100644 --- a/examples/apidoc/RestClientV2/getP2PMerchantInfo.js +++ b/examples/apidoc/RestClientV2/getP2PMerchantInfo.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getP2PMerchantInfo(params) diff --git a/examples/apidoc/RestClientV2/getP2PMerchantList.js b/examples/apidoc/RestClientV2/getP2PMerchantList.js index 381d33f..68d68ab 100644 --- a/examples/apidoc/RestClientV2/getP2PMerchantList.js +++ b/examples/apidoc/RestClientV2/getP2PMerchantList.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getP2PMerchantList(params) diff --git a/examples/apidoc/RestClientV2/getP2PMerchantOrders.js b/examples/apidoc/RestClientV2/getP2PMerchantOrders.js index 4594243..3830a02 100644 --- a/examples/apidoc/RestClientV2/getP2PMerchantOrders.js +++ b/examples/apidoc/RestClientV2/getP2PMerchantOrders.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getP2PMerchantOrders(params) diff --git a/examples/apidoc/RestClientV2/getP2PTransactionRecords.js b/examples/apidoc/RestClientV2/getP2PTransactionRecords.js index 98be991..fc9cced 100644 --- a/examples/apidoc/RestClientV2/getP2PTransactionRecords.js +++ b/examples/apidoc/RestClientV2/getP2PTransactionRecords.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getP2PTransactionRecords(params) diff --git a/examples/apidoc/RestClientV2/getRepayHistory.js b/examples/apidoc/RestClientV2/getRepayHistory.js index 15c7eed..fb5e97c 100644 --- a/examples/apidoc/RestClientV2/getRepayHistory.js +++ b/examples/apidoc/RestClientV2/getRepayHistory.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getRepayHistory(params) diff --git a/examples/apidoc/RestClientV2/getServerTime.js b/examples/apidoc/RestClientV2/getServerTime.js index f099c5f..41b99c6 100644 --- a/examples/apidoc/RestClientV2/getServerTime.js +++ b/examples/apidoc/RestClientV2/getServerTime.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getServerTime(params) diff --git a/examples/apidoc/RestClientV2/getSharkfinAccount.js b/examples/apidoc/RestClientV2/getSharkfinAccount.js index eb02e68..0d5d7a4 100644 --- a/examples/apidoc/RestClientV2/getSharkfinAccount.js +++ b/examples/apidoc/RestClientV2/getSharkfinAccount.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getSharkfinAccount(params) diff --git a/examples/apidoc/RestClientV2/getSharkfinAssets.js b/examples/apidoc/RestClientV2/getSharkfinAssets.js index 06e40ad..5245599 100644 --- a/examples/apidoc/RestClientV2/getSharkfinAssets.js +++ b/examples/apidoc/RestClientV2/getSharkfinAssets.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getSharkfinAssets(params) diff --git a/examples/apidoc/RestClientV2/getSharkfinProducts.js b/examples/apidoc/RestClientV2/getSharkfinProducts.js index d71d632..ee94787 100644 --- a/examples/apidoc/RestClientV2/getSharkfinProducts.js +++ b/examples/apidoc/RestClientV2/getSharkfinProducts.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getSharkfinProducts(params) diff --git a/examples/apidoc/RestClientV2/getSharkfinRecords.js b/examples/apidoc/RestClientV2/getSharkfinRecords.js index 3c60b6e..3c1a053 100644 --- a/examples/apidoc/RestClientV2/getSharkfinRecords.js +++ b/examples/apidoc/RestClientV2/getSharkfinRecords.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getSharkfinRecords(params) diff --git a/examples/apidoc/RestClientV2/getSharkfinSubscription.js b/examples/apidoc/RestClientV2/getSharkfinSubscription.js index 8625597..50fc624 100644 --- a/examples/apidoc/RestClientV2/getSharkfinSubscription.js +++ b/examples/apidoc/RestClientV2/getSharkfinSubscription.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getSharkfinSubscription(params) diff --git a/examples/apidoc/RestClientV2/getSharkfinSubscriptionResult.js b/examples/apidoc/RestClientV2/getSharkfinSubscriptionResult.js index b5acc50..8ba1fd4 100644 --- a/examples/apidoc/RestClientV2/getSharkfinSubscriptionResult.js +++ b/examples/apidoc/RestClientV2/getSharkfinSubscriptionResult.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getSharkfinSubscriptionResult(params) diff --git a/examples/apidoc/RestClientV2/getSpotAccount.js b/examples/apidoc/RestClientV2/getSpotAccount.js index 31588c6..6a079aa 100644 --- a/examples/apidoc/RestClientV2/getSpotAccount.js +++ b/examples/apidoc/RestClientV2/getSpotAccount.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getSpotAccount(params) diff --git a/examples/apidoc/RestClientV2/getSpotAccountAssets.js b/examples/apidoc/RestClientV2/getSpotAccountAssets.js index ee667da..745828b 100644 --- a/examples/apidoc/RestClientV2/getSpotAccountAssets.js +++ b/examples/apidoc/RestClientV2/getSpotAccountAssets.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getSpotAccountAssets(params) diff --git a/examples/apidoc/RestClientV2/getSpotAccountBills.js b/examples/apidoc/RestClientV2/getSpotAccountBills.js index 8aedf3d..cb908ae 100644 --- a/examples/apidoc/RestClientV2/getSpotAccountBills.js +++ b/examples/apidoc/RestClientV2/getSpotAccountBills.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getSpotAccountBills(params) diff --git a/examples/apidoc/RestClientV2/getSpotBGBDeductInfo.js b/examples/apidoc/RestClientV2/getSpotBGBDeductInfo.js index fc6551e..8071e30 100644 --- a/examples/apidoc/RestClientV2/getSpotBGBDeductInfo.js +++ b/examples/apidoc/RestClientV2/getSpotBGBDeductInfo.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getSpotBGBDeductInfo(params) diff --git a/examples/apidoc/RestClientV2/getSpotCandles.js b/examples/apidoc/RestClientV2/getSpotCandles.js index efbf253..5473646 100644 --- a/examples/apidoc/RestClientV2/getSpotCandles.js +++ b/examples/apidoc/RestClientV2/getSpotCandles.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getSpotCandles(params) diff --git a/examples/apidoc/RestClientV2/getSpotCoinInfo.js b/examples/apidoc/RestClientV2/getSpotCoinInfo.js index 2e7a8d3..4616e68 100644 --- a/examples/apidoc/RestClientV2/getSpotCoinInfo.js +++ b/examples/apidoc/RestClientV2/getSpotCoinInfo.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getSpotCoinInfo(params) diff --git a/examples/apidoc/RestClientV2/getSpotCurrentPlanOrders.js b/examples/apidoc/RestClientV2/getSpotCurrentPlanOrders.js index 2be241b..3191bbd 100644 --- a/examples/apidoc/RestClientV2/getSpotCurrentPlanOrders.js +++ b/examples/apidoc/RestClientV2/getSpotCurrentPlanOrders.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getSpotCurrentPlanOrders(params) diff --git a/examples/apidoc/RestClientV2/getSpotDepositAddress.js b/examples/apidoc/RestClientV2/getSpotDepositAddress.js index a0c7fd7..94fa6a5 100644 --- a/examples/apidoc/RestClientV2/getSpotDepositAddress.js +++ b/examples/apidoc/RestClientV2/getSpotDepositAddress.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getSpotDepositAddress(params) diff --git a/examples/apidoc/RestClientV2/getSpotDepositHistory.js b/examples/apidoc/RestClientV2/getSpotDepositHistory.js index ae6f226..e28d743 100644 --- a/examples/apidoc/RestClientV2/getSpotDepositHistory.js +++ b/examples/apidoc/RestClientV2/getSpotDepositHistory.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getSpotDepositHistory(params) diff --git a/examples/apidoc/RestClientV2/getSpotFills.js b/examples/apidoc/RestClientV2/getSpotFills.js index 47e2d35..91b4290 100644 --- a/examples/apidoc/RestClientV2/getSpotFills.js +++ b/examples/apidoc/RestClientV2/getSpotFills.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getSpotFills(params) diff --git a/examples/apidoc/RestClientV2/getSpotFollowerCurrentTraderSymbols.js b/examples/apidoc/RestClientV2/getSpotFollowerCurrentTraderSymbols.js index ca1550d..78fe575 100644 --- a/examples/apidoc/RestClientV2/getSpotFollowerCurrentTraderSymbols.js +++ b/examples/apidoc/RestClientV2/getSpotFollowerCurrentTraderSymbols.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getSpotFollowerCurrentTraderSymbols(params) diff --git a/examples/apidoc/RestClientV2/getSpotFollowerHistoryOrders.js b/examples/apidoc/RestClientV2/getSpotFollowerHistoryOrders.js index 17b2cc2..73b7a14 100644 --- a/examples/apidoc/RestClientV2/getSpotFollowerHistoryOrders.js +++ b/examples/apidoc/RestClientV2/getSpotFollowerHistoryOrders.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getSpotFollowerHistoryOrders(params) diff --git a/examples/apidoc/RestClientV2/getSpotFollowerOpenOrders.js b/examples/apidoc/RestClientV2/getSpotFollowerOpenOrders.js index 0ef1091..289540d 100644 --- a/examples/apidoc/RestClientV2/getSpotFollowerOpenOrders.js +++ b/examples/apidoc/RestClientV2/getSpotFollowerOpenOrders.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getSpotFollowerOpenOrders(params) diff --git a/examples/apidoc/RestClientV2/getSpotFollowerSettings.js b/examples/apidoc/RestClientV2/getSpotFollowerSettings.js index 70316f1..dfe790a 100644 --- a/examples/apidoc/RestClientV2/getSpotFollowerSettings.js +++ b/examples/apidoc/RestClientV2/getSpotFollowerSettings.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getSpotFollowerSettings(params) diff --git a/examples/apidoc/RestClientV2/getSpotFollowerTraders.js b/examples/apidoc/RestClientV2/getSpotFollowerTraders.js index 6296e2f..ab007cf 100644 --- a/examples/apidoc/RestClientV2/getSpotFollowerTraders.js +++ b/examples/apidoc/RestClientV2/getSpotFollowerTraders.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getSpotFollowerTraders(params) diff --git a/examples/apidoc/RestClientV2/getSpotFundFlow.js b/examples/apidoc/RestClientV2/getSpotFundFlow.js index a6eb2d6..0874441 100644 --- a/examples/apidoc/RestClientV2/getSpotFundFlow.js +++ b/examples/apidoc/RestClientV2/getSpotFundFlow.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getSpotFundFlow(params) diff --git a/examples/apidoc/RestClientV2/getSpotFundNetFlowData.js b/examples/apidoc/RestClientV2/getSpotFundNetFlowData.js index 5779b5b..2828722 100644 --- a/examples/apidoc/RestClientV2/getSpotFundNetFlowData.js +++ b/examples/apidoc/RestClientV2/getSpotFundNetFlowData.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getSpotFundNetFlowData(params) diff --git a/examples/apidoc/RestClientV2/getSpotHistoricCandles.js b/examples/apidoc/RestClientV2/getSpotHistoricCandles.js index a4f319b..60b4d93 100644 --- a/examples/apidoc/RestClientV2/getSpotHistoricCandles.js +++ b/examples/apidoc/RestClientV2/getSpotHistoricCandles.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getSpotHistoricCandles(params) diff --git a/examples/apidoc/RestClientV2/getSpotHistoricOrders.js b/examples/apidoc/RestClientV2/getSpotHistoricOrders.js index 8d33350..62439c5 100644 --- a/examples/apidoc/RestClientV2/getSpotHistoricOrders.js +++ b/examples/apidoc/RestClientV2/getSpotHistoricOrders.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getSpotHistoricOrders(params) diff --git a/examples/apidoc/RestClientV2/getSpotHistoricPlanOrders.js b/examples/apidoc/RestClientV2/getSpotHistoricPlanOrders.js index 6451559..099f507 100644 --- a/examples/apidoc/RestClientV2/getSpotHistoricPlanOrders.js +++ b/examples/apidoc/RestClientV2/getSpotHistoricPlanOrders.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getSpotHistoricPlanOrders(params) diff --git a/examples/apidoc/RestClientV2/getSpotHistoricTrades.js b/examples/apidoc/RestClientV2/getSpotHistoricTrades.js index d6248ba..acf8e04 100644 --- a/examples/apidoc/RestClientV2/getSpotHistoricTrades.js +++ b/examples/apidoc/RestClientV2/getSpotHistoricTrades.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getSpotHistoricTrades(params) diff --git a/examples/apidoc/RestClientV2/getSpotMainSubTransferRecord.js b/examples/apidoc/RestClientV2/getSpotMainSubTransferRecord.js index 48c3f6e..da20b41 100644 --- a/examples/apidoc/RestClientV2/getSpotMainSubTransferRecord.js +++ b/examples/apidoc/RestClientV2/getSpotMainSubTransferRecord.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getSpotMainSubTransferRecord(params) diff --git a/examples/apidoc/RestClientV2/getSpotMergeDepth.js b/examples/apidoc/RestClientV2/getSpotMergeDepth.js index 505c2ed..a0be8f2 100644 --- a/examples/apidoc/RestClientV2/getSpotMergeDepth.js +++ b/examples/apidoc/RestClientV2/getSpotMergeDepth.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getSpotMergeDepth(params) diff --git a/examples/apidoc/RestClientV2/getSpotOpenOrders.js b/examples/apidoc/RestClientV2/getSpotOpenOrders.js index 8008b93..6ce4bca 100644 --- a/examples/apidoc/RestClientV2/getSpotOpenOrders.js +++ b/examples/apidoc/RestClientV2/getSpotOpenOrders.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getSpotOpenOrders(params) diff --git a/examples/apidoc/RestClientV2/getSpotOrder.js b/examples/apidoc/RestClientV2/getSpotOrder.js index 316cea4..03e87ee 100644 --- a/examples/apidoc/RestClientV2/getSpotOrder.js +++ b/examples/apidoc/RestClientV2/getSpotOrder.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getSpotOrder(params) diff --git a/examples/apidoc/RestClientV2/getSpotOrderBookDepth.js b/examples/apidoc/RestClientV2/getSpotOrderBookDepth.js index 5d066aa..2e41762 100644 --- a/examples/apidoc/RestClientV2/getSpotOrderBookDepth.js +++ b/examples/apidoc/RestClientV2/getSpotOrderBookDepth.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getSpotOrderBookDepth(params) diff --git a/examples/apidoc/RestClientV2/getSpotPlanSubOrder.js b/examples/apidoc/RestClientV2/getSpotPlanSubOrder.js index 9322f69..ff83738 100644 --- a/examples/apidoc/RestClientV2/getSpotPlanSubOrder.js +++ b/examples/apidoc/RestClientV2/getSpotPlanSubOrder.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getSpotPlanSubOrder(params) diff --git a/examples/apidoc/RestClientV2/getSpotRecentTrades.js b/examples/apidoc/RestClientV2/getSpotRecentTrades.js index 84da458..5187d46 100644 --- a/examples/apidoc/RestClientV2/getSpotRecentTrades.js +++ b/examples/apidoc/RestClientV2/getSpotRecentTrades.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getSpotRecentTrades(params) diff --git a/examples/apidoc/RestClientV2/getSpotSubAccountAssets.js b/examples/apidoc/RestClientV2/getSpotSubAccountAssets.js index 2e4fd93..eed9e02 100644 --- a/examples/apidoc/RestClientV2/getSpotSubAccountAssets.js +++ b/examples/apidoc/RestClientV2/getSpotSubAccountAssets.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getSpotSubAccountAssets(params) diff --git a/examples/apidoc/RestClientV2/getSpotSubDepositAddress.js b/examples/apidoc/RestClientV2/getSpotSubDepositAddress.js index 5d0aebf..5eb8bd6 100644 --- a/examples/apidoc/RestClientV2/getSpotSubDepositAddress.js +++ b/examples/apidoc/RestClientV2/getSpotSubDepositAddress.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getSpotSubDepositAddress(params) diff --git a/examples/apidoc/RestClientV2/getSpotSymbolInfo.js b/examples/apidoc/RestClientV2/getSpotSymbolInfo.js index 90d552b..e0efddd 100644 --- a/examples/apidoc/RestClientV2/getSpotSymbolInfo.js +++ b/examples/apidoc/RestClientV2/getSpotSymbolInfo.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getSpotSymbolInfo(params) diff --git a/examples/apidoc/RestClientV2/getSpotTicker.js b/examples/apidoc/RestClientV2/getSpotTicker.js index 6a1dde7..f1fee26 100644 --- a/examples/apidoc/RestClientV2/getSpotTicker.js +++ b/examples/apidoc/RestClientV2/getSpotTicker.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getSpotTicker(params) diff --git a/examples/apidoc/RestClientV2/getSpotTraderConfiguration.js b/examples/apidoc/RestClientV2/getSpotTraderConfiguration.js index dc913be..546b5ba 100644 --- a/examples/apidoc/RestClientV2/getSpotTraderConfiguration.js +++ b/examples/apidoc/RestClientV2/getSpotTraderConfiguration.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getSpotTraderConfiguration(params) diff --git a/examples/apidoc/RestClientV2/getSpotTraderCurrentOrders.js b/examples/apidoc/RestClientV2/getSpotTraderCurrentOrders.js index 55b9604..03b4ee7 100644 --- a/examples/apidoc/RestClientV2/getSpotTraderCurrentOrders.js +++ b/examples/apidoc/RestClientV2/getSpotTraderCurrentOrders.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getSpotTraderCurrentOrders(params) diff --git a/examples/apidoc/RestClientV2/getSpotTraderFollowers.js b/examples/apidoc/RestClientV2/getSpotTraderFollowers.js index 67de05b..2b27c95 100644 --- a/examples/apidoc/RestClientV2/getSpotTraderFollowers.js +++ b/examples/apidoc/RestClientV2/getSpotTraderFollowers.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getSpotTraderFollowers(params) diff --git a/examples/apidoc/RestClientV2/getSpotTraderHistoryOrders.js b/examples/apidoc/RestClientV2/getSpotTraderHistoryOrders.js index e94fca1..6aa48a8 100644 --- a/examples/apidoc/RestClientV2/getSpotTraderHistoryOrders.js +++ b/examples/apidoc/RestClientV2/getSpotTraderHistoryOrders.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getSpotTraderHistoryOrders(params) diff --git a/examples/apidoc/RestClientV2/getSpotTraderHistoryProfit.js b/examples/apidoc/RestClientV2/getSpotTraderHistoryProfit.js index a9807dc..fa821de 100644 --- a/examples/apidoc/RestClientV2/getSpotTraderHistoryProfit.js +++ b/examples/apidoc/RestClientV2/getSpotTraderHistoryProfit.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getSpotTraderHistoryProfit(params) diff --git a/examples/apidoc/RestClientV2/getSpotTraderOrder.js b/examples/apidoc/RestClientV2/getSpotTraderOrder.js index dec9f3a..54aeb01 100644 --- a/examples/apidoc/RestClientV2/getSpotTraderOrder.js +++ b/examples/apidoc/RestClientV2/getSpotTraderOrder.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getSpotTraderOrder(params) diff --git a/examples/apidoc/RestClientV2/getSpotTraderProfit.js b/examples/apidoc/RestClientV2/getSpotTraderProfit.js index 22b4d41..2391c75 100644 --- a/examples/apidoc/RestClientV2/getSpotTraderProfit.js +++ b/examples/apidoc/RestClientV2/getSpotTraderProfit.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getSpotTraderProfit(params) diff --git a/examples/apidoc/RestClientV2/getSpotTraderSymbolSettings.js b/examples/apidoc/RestClientV2/getSpotTraderSymbolSettings.js index 734bd20..fdfe74a 100644 --- a/examples/apidoc/RestClientV2/getSpotTraderSymbolSettings.js +++ b/examples/apidoc/RestClientV2/getSpotTraderSymbolSettings.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getSpotTraderSymbolSettings(params) diff --git a/examples/apidoc/RestClientV2/getSpotTraderUnrealizedProfit.js b/examples/apidoc/RestClientV2/getSpotTraderUnrealizedProfit.js index fdd443f..e516609 100644 --- a/examples/apidoc/RestClientV2/getSpotTraderUnrealizedProfit.js +++ b/examples/apidoc/RestClientV2/getSpotTraderUnrealizedProfit.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getSpotTraderUnrealizedProfit(params) diff --git a/examples/apidoc/RestClientV2/getSpotTransactionRecords.js b/examples/apidoc/RestClientV2/getSpotTransactionRecords.js index 29c5e37..46ec672 100644 --- a/examples/apidoc/RestClientV2/getSpotTransactionRecords.js +++ b/examples/apidoc/RestClientV2/getSpotTransactionRecords.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getSpotTransactionRecords(params) diff --git a/examples/apidoc/RestClientV2/getSpotTransferHistory.js b/examples/apidoc/RestClientV2/getSpotTransferHistory.js index 729437c..2212253 100644 --- a/examples/apidoc/RestClientV2/getSpotTransferHistory.js +++ b/examples/apidoc/RestClientV2/getSpotTransferHistory.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getSpotTransferHistory(params) diff --git a/examples/apidoc/RestClientV2/getSpotTransferableCoins.js b/examples/apidoc/RestClientV2/getSpotTransferableCoins.js index db31a43..7d09b8e 100644 --- a/examples/apidoc/RestClientV2/getSpotTransferableCoins.js +++ b/examples/apidoc/RestClientV2/getSpotTransferableCoins.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getSpotTransferableCoins(params) diff --git a/examples/apidoc/RestClientV2/getSpotVIPFeeRate.js b/examples/apidoc/RestClientV2/getSpotVIPFeeRate.js index d036b1b..54bc25a 100644 --- a/examples/apidoc/RestClientV2/getSpotVIPFeeRate.js +++ b/examples/apidoc/RestClientV2/getSpotVIPFeeRate.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getSpotVIPFeeRate(params) diff --git a/examples/apidoc/RestClientV2/getSpotWhaleNetFlowData.js b/examples/apidoc/RestClientV2/getSpotWhaleNetFlowData.js index e505ebb..b6f4007 100644 --- a/examples/apidoc/RestClientV2/getSpotWhaleNetFlowData.js +++ b/examples/apidoc/RestClientV2/getSpotWhaleNetFlowData.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getSpotWhaleNetFlowData(params) diff --git a/examples/apidoc/RestClientV2/getSpotWithdrawalHistory.js b/examples/apidoc/RestClientV2/getSpotWithdrawalHistory.js index dbda155..3ae53e7 100644 --- a/examples/apidoc/RestClientV2/getSpotWithdrawalHistory.js +++ b/examples/apidoc/RestClientV2/getSpotWithdrawalHistory.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getSpotWithdrawalHistory(params) diff --git a/examples/apidoc/RestClientV2/getSubAccountDepositRecords.js b/examples/apidoc/RestClientV2/getSubAccountDepositRecords.js index 9c74f05..3df92a4 100644 --- a/examples/apidoc/RestClientV2/getSubAccountDepositRecords.js +++ b/examples/apidoc/RestClientV2/getSubAccountDepositRecords.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getSubAccountDepositRecords(params) diff --git a/examples/apidoc/RestClientV2/getSubaccountApiKey.js b/examples/apidoc/RestClientV2/getSubaccountApiKey.js index 7f0dd56..db4d09a 100644 --- a/examples/apidoc/RestClientV2/getSubaccountApiKey.js +++ b/examples/apidoc/RestClientV2/getSubaccountApiKey.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getSubaccountApiKey(params) diff --git a/examples/apidoc/RestClientV2/getSubaccountEmail.js b/examples/apidoc/RestClientV2/getSubaccountEmail.js index 80df747..fd08413 100644 --- a/examples/apidoc/RestClientV2/getSubaccountEmail.js +++ b/examples/apidoc/RestClientV2/getSubaccountEmail.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getSubaccountEmail(params) diff --git a/examples/apidoc/RestClientV2/getSubaccountFuturesAssets.js b/examples/apidoc/RestClientV2/getSubaccountFuturesAssets.js index 6994787..17c8c13 100644 --- a/examples/apidoc/RestClientV2/getSubaccountFuturesAssets.js +++ b/examples/apidoc/RestClientV2/getSubaccountFuturesAssets.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getSubaccountFuturesAssets(params) diff --git a/examples/apidoc/RestClientV2/getSubaccountSpotAssets.js b/examples/apidoc/RestClientV2/getSubaccountSpotAssets.js index 896f179..c842a8e 100644 --- a/examples/apidoc/RestClientV2/getSubaccountSpotAssets.js +++ b/examples/apidoc/RestClientV2/getSubaccountSpotAssets.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getSubaccountSpotAssets(params) diff --git a/examples/apidoc/RestClientV2/getSubaccounts.js b/examples/apidoc/RestClientV2/getSubaccounts.js index 13fa18c..e8b9cbd 100644 --- a/examples/apidoc/RestClientV2/getSubaccounts.js +++ b/examples/apidoc/RestClientV2/getSubaccounts.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getSubaccounts(params) diff --git a/examples/apidoc/RestClientV2/getTradeDataSupportSymbols.js b/examples/apidoc/RestClientV2/getTradeDataSupportSymbols.js index 45d3282..dc3f009 100644 --- a/examples/apidoc/RestClientV2/getTradeDataSupportSymbols.js +++ b/examples/apidoc/RestClientV2/getTradeDataSupportSymbols.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getTradeDataSupportSymbols(params) diff --git a/examples/apidoc/RestClientV2/getTradeRate.js b/examples/apidoc/RestClientV2/getTradeRate.js index 8e1fd43..4f14c7b 100644 --- a/examples/apidoc/RestClientV2/getTradeRate.js +++ b/examples/apidoc/RestClientV2/getTradeRate.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getTradeRate(params) diff --git a/examples/apidoc/RestClientV2/getVirtualSubaccountAPIKeys.js b/examples/apidoc/RestClientV2/getVirtualSubaccountAPIKeys.js index 235aeed..64daf62 100644 --- a/examples/apidoc/RestClientV2/getVirtualSubaccountAPIKeys.js +++ b/examples/apidoc/RestClientV2/getVirtualSubaccountAPIKeys.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getVirtualSubaccountAPIKeys(params) diff --git a/examples/apidoc/RestClientV2/getVirtualSubaccounts.js b/examples/apidoc/RestClientV2/getVirtualSubaccounts.js index eab28a5..eb3bfe0 100644 --- a/examples/apidoc/RestClientV2/getVirtualSubaccounts.js +++ b/examples/apidoc/RestClientV2/getVirtualSubaccounts.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.getVirtualSubaccounts(params) diff --git a/examples/apidoc/RestClientV2/marginBatchCancelOrders.js b/examples/apidoc/RestClientV2/marginBatchCancelOrders.js index 408b74c..1e6b0e5 100644 --- a/examples/apidoc/RestClientV2/marginBatchCancelOrders.js +++ b/examples/apidoc/RestClientV2/marginBatchCancelOrders.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.marginBatchCancelOrders(params) diff --git a/examples/apidoc/RestClientV2/marginBatchSubmitOrders.js b/examples/apidoc/RestClientV2/marginBatchSubmitOrders.js index f25a4bb..98262c8 100644 --- a/examples/apidoc/RestClientV2/marginBatchSubmitOrders.js +++ b/examples/apidoc/RestClientV2/marginBatchSubmitOrders.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.marginBatchSubmitOrders(params) diff --git a/examples/apidoc/RestClientV2/marginBorrow.js b/examples/apidoc/RestClientV2/marginBorrow.js index cdb49ce..7e988e1 100644 --- a/examples/apidoc/RestClientV2/marginBorrow.js +++ b/examples/apidoc/RestClientV2/marginBorrow.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.marginBorrow(params) diff --git a/examples/apidoc/RestClientV2/marginCancelOrder.js b/examples/apidoc/RestClientV2/marginCancelOrder.js index ce42e61..26d4849 100644 --- a/examples/apidoc/RestClientV2/marginCancelOrder.js +++ b/examples/apidoc/RestClientV2/marginCancelOrder.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.marginCancelOrder(params) diff --git a/examples/apidoc/RestClientV2/marginFlashRepay.js b/examples/apidoc/RestClientV2/marginFlashRepay.js index b0c396e..ab430f9 100644 --- a/examples/apidoc/RestClientV2/marginFlashRepay.js +++ b/examples/apidoc/RestClientV2/marginFlashRepay.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.marginFlashRepay(params) diff --git a/examples/apidoc/RestClientV2/marginRepay.js b/examples/apidoc/RestClientV2/marginRepay.js index f9dc974..913e884 100644 --- a/examples/apidoc/RestClientV2/marginRepay.js +++ b/examples/apidoc/RestClientV2/marginRepay.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.marginRepay(params) diff --git a/examples/apidoc/RestClientV2/marginSubmitOrder.js b/examples/apidoc/RestClientV2/marginSubmitOrder.js index 82f1357..c221b6a 100644 --- a/examples/apidoc/RestClientV2/marginSubmitOrder.js +++ b/examples/apidoc/RestClientV2/marginSubmitOrder.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.marginSubmitOrder(params) diff --git a/examples/apidoc/RestClientV2/modifyFuturesTraderOrderTPSL.js b/examples/apidoc/RestClientV2/modifyFuturesTraderOrderTPSL.js index c6202a1..27a5a88 100644 --- a/examples/apidoc/RestClientV2/modifyFuturesTraderOrderTPSL.js +++ b/examples/apidoc/RestClientV2/modifyFuturesTraderOrderTPSL.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.modifyFuturesTraderOrderTPSL(params) diff --git a/examples/apidoc/RestClientV2/modifySpotTraderOrderTPSL.js b/examples/apidoc/RestClientV2/modifySpotTraderOrderTPSL.js index 834a606..b635cbb 100644 --- a/examples/apidoc/RestClientV2/modifySpotTraderOrderTPSL.js +++ b/examples/apidoc/RestClientV2/modifySpotTraderOrderTPSL.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.modifySpotTraderOrderTPSL(params) diff --git a/examples/apidoc/RestClientV2/modifySubaccount.js b/examples/apidoc/RestClientV2/modifySubaccount.js index dd78491..7e0ee3d 100644 --- a/examples/apidoc/RestClientV2/modifySubaccount.js +++ b/examples/apidoc/RestClientV2/modifySubaccount.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.modifySubaccount(params) diff --git a/examples/apidoc/RestClientV2/modifySubaccountApiKey.js b/examples/apidoc/RestClientV2/modifySubaccountApiKey.js index c446df4..161b600 100644 --- a/examples/apidoc/RestClientV2/modifySubaccountApiKey.js +++ b/examples/apidoc/RestClientV2/modifySubaccountApiKey.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.modifySubaccountApiKey(params) diff --git a/examples/apidoc/RestClientV2/modifySubaccountEmail.js b/examples/apidoc/RestClientV2/modifySubaccountEmail.js index dc1426f..5c056e5 100644 --- a/examples/apidoc/RestClientV2/modifySubaccountEmail.js +++ b/examples/apidoc/RestClientV2/modifySubaccountEmail.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.modifySubaccountEmail(params) diff --git a/examples/apidoc/RestClientV2/modifyVirtualSubaccount.js b/examples/apidoc/RestClientV2/modifyVirtualSubaccount.js index 3a7ce3b..32ab1f3 100644 --- a/examples/apidoc/RestClientV2/modifyVirtualSubaccount.js +++ b/examples/apidoc/RestClientV2/modifyVirtualSubaccount.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.modifyVirtualSubaccount(params) diff --git a/examples/apidoc/RestClientV2/modifyVirtualSubaccountAPIKey.js b/examples/apidoc/RestClientV2/modifyVirtualSubaccountAPIKey.js index 7ddf32e..a29acf7 100644 --- a/examples/apidoc/RestClientV2/modifyVirtualSubaccountAPIKey.js +++ b/examples/apidoc/RestClientV2/modifyVirtualSubaccountAPIKey.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.modifyVirtualSubaccountAPIKey(params) diff --git a/examples/apidoc/RestClientV2/removeFuturesTraderFollower.js b/examples/apidoc/RestClientV2/removeFuturesTraderFollower.js index 0c43515..056aacd 100644 --- a/examples/apidoc/RestClientV2/removeFuturesTraderFollower.js +++ b/examples/apidoc/RestClientV2/removeFuturesTraderFollower.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.removeFuturesTraderFollower(params) diff --git a/examples/apidoc/RestClientV2/removeSpotTraderFollowers.js b/examples/apidoc/RestClientV2/removeSpotTraderFollowers.js index 67b15d4..c423a29 100644 --- a/examples/apidoc/RestClientV2/removeSpotTraderFollowers.js +++ b/examples/apidoc/RestClientV2/removeSpotTraderFollowers.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.removeSpotTraderFollowers(params) diff --git a/examples/apidoc/RestClientV2/repayLoan.js b/examples/apidoc/RestClientV2/repayLoan.js index 3c5cb74..ff62b04 100644 --- a/examples/apidoc/RestClientV2/repayLoan.js +++ b/examples/apidoc/RestClientV2/repayLoan.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.repayLoan(params) diff --git a/examples/apidoc/RestClientV2/sellSpotFollower.js b/examples/apidoc/RestClientV2/sellSpotFollower.js index cee8a69..f22d172 100644 --- a/examples/apidoc/RestClientV2/sellSpotFollower.js +++ b/examples/apidoc/RestClientV2/sellSpotFollower.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.sellSpotFollower(params) diff --git a/examples/apidoc/RestClientV2/sellSpotTrader.js b/examples/apidoc/RestClientV2/sellSpotTrader.js index c2f02d9..b1444a9 100644 --- a/examples/apidoc/RestClientV2/sellSpotTrader.js +++ b/examples/apidoc/RestClientV2/sellSpotTrader.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.sellSpotTrader(params) diff --git a/examples/apidoc/RestClientV2/setFuturesLeverage.js b/examples/apidoc/RestClientV2/setFuturesLeverage.js index 61b5d55..04734be 100644 --- a/examples/apidoc/RestClientV2/setFuturesLeverage.js +++ b/examples/apidoc/RestClientV2/setFuturesLeverage.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.setFuturesLeverage(params) diff --git a/examples/apidoc/RestClientV2/setFuturesMarginMode.js b/examples/apidoc/RestClientV2/setFuturesMarginMode.js index e801eb2..5ca224c 100644 --- a/examples/apidoc/RestClientV2/setFuturesMarginMode.js +++ b/examples/apidoc/RestClientV2/setFuturesMarginMode.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.setFuturesMarginMode(params) diff --git a/examples/apidoc/RestClientV2/setFuturesPositionAutoMargin.js b/examples/apidoc/RestClientV2/setFuturesPositionAutoMargin.js index dd3fc58..236f792 100644 --- a/examples/apidoc/RestClientV2/setFuturesPositionAutoMargin.js +++ b/examples/apidoc/RestClientV2/setFuturesPositionAutoMargin.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.setFuturesPositionAutoMargin(params) diff --git a/examples/apidoc/RestClientV2/setFuturesPositionMargin.js b/examples/apidoc/RestClientV2/setFuturesPositionMargin.js index e7d0f7f..3df8d31 100644 --- a/examples/apidoc/RestClientV2/setFuturesPositionMargin.js +++ b/examples/apidoc/RestClientV2/setFuturesPositionMargin.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.setFuturesPositionMargin(params) diff --git a/examples/apidoc/RestClientV2/setFuturesPositionMode.js b/examples/apidoc/RestClientV2/setFuturesPositionMode.js index ef7a563..4c7d999 100644 --- a/examples/apidoc/RestClientV2/setFuturesPositionMode.js +++ b/examples/apidoc/RestClientV2/setFuturesPositionMode.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.setFuturesPositionMode(params) diff --git a/examples/apidoc/RestClientV2/spotBatchCancelOrders.js b/examples/apidoc/RestClientV2/spotBatchCancelOrders.js index a29a328..176ac5f 100644 --- a/examples/apidoc/RestClientV2/spotBatchCancelOrders.js +++ b/examples/apidoc/RestClientV2/spotBatchCancelOrders.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.spotBatchCancelOrders(params) diff --git a/examples/apidoc/RestClientV2/spotBatchSubmitOrders.js b/examples/apidoc/RestClientV2/spotBatchSubmitOrders.js index 3a89060..eead0fe 100644 --- a/examples/apidoc/RestClientV2/spotBatchSubmitOrders.js +++ b/examples/apidoc/RestClientV2/spotBatchSubmitOrders.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.spotBatchSubmitOrders(params) diff --git a/examples/apidoc/RestClientV2/spotCancelOrder.js b/examples/apidoc/RestClientV2/spotCancelOrder.js index 397d0f3..d85ddf5 100644 --- a/examples/apidoc/RestClientV2/spotCancelOrder.js +++ b/examples/apidoc/RestClientV2/spotCancelOrder.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.spotCancelOrder(params) diff --git a/examples/apidoc/RestClientV2/spotCancelPlanOrder.js b/examples/apidoc/RestClientV2/spotCancelPlanOrder.js index 9a318ae..623894c 100644 --- a/examples/apidoc/RestClientV2/spotCancelPlanOrder.js +++ b/examples/apidoc/RestClientV2/spotCancelPlanOrder.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.spotCancelPlanOrder(params) diff --git a/examples/apidoc/RestClientV2/spotCancelPlanOrders.js b/examples/apidoc/RestClientV2/spotCancelPlanOrders.js index cc645f4..e4c3f0c 100644 --- a/examples/apidoc/RestClientV2/spotCancelPlanOrders.js +++ b/examples/apidoc/RestClientV2/spotCancelPlanOrders.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.spotCancelPlanOrders(params) diff --git a/examples/apidoc/RestClientV2/spotCancelSymbolOrder.js b/examples/apidoc/RestClientV2/spotCancelSymbolOrder.js index 943fc14..48c47a5 100644 --- a/examples/apidoc/RestClientV2/spotCancelSymbolOrder.js +++ b/examples/apidoc/RestClientV2/spotCancelSymbolOrder.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.spotCancelSymbolOrder(params) diff --git a/examples/apidoc/RestClientV2/spotCancelWithdrawal.js b/examples/apidoc/RestClientV2/spotCancelWithdrawal.js index e8ad502..7d7005c 100644 --- a/examples/apidoc/RestClientV2/spotCancelWithdrawal.js +++ b/examples/apidoc/RestClientV2/spotCancelWithdrawal.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.spotCancelWithdrawal(params) diff --git a/examples/apidoc/RestClientV2/spotModifyDepositAccount.js b/examples/apidoc/RestClientV2/spotModifyDepositAccount.js index dfc2cd5..69bff2f 100644 --- a/examples/apidoc/RestClientV2/spotModifyDepositAccount.js +++ b/examples/apidoc/RestClientV2/spotModifyDepositAccount.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.spotModifyDepositAccount(params) diff --git a/examples/apidoc/RestClientV2/spotModifyPlanOrder.js b/examples/apidoc/RestClientV2/spotModifyPlanOrder.js index 98f7ef8..0649d92 100644 --- a/examples/apidoc/RestClientV2/spotModifyPlanOrder.js +++ b/examples/apidoc/RestClientV2/spotModifyPlanOrder.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.spotModifyPlanOrder(params) diff --git a/examples/apidoc/RestClientV2/spotSubTransfer.js b/examples/apidoc/RestClientV2/spotSubTransfer.js index b8e42be..8156af9 100644 --- a/examples/apidoc/RestClientV2/spotSubTransfer.js +++ b/examples/apidoc/RestClientV2/spotSubTransfer.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.spotSubTransfer(params) diff --git a/examples/apidoc/RestClientV2/spotSubmitOrder.js b/examples/apidoc/RestClientV2/spotSubmitOrder.js index 68fb1c7..673860c 100644 --- a/examples/apidoc/RestClientV2/spotSubmitOrder.js +++ b/examples/apidoc/RestClientV2/spotSubmitOrder.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.spotSubmitOrder(params) diff --git a/examples/apidoc/RestClientV2/spotSubmitPlanOrder.js b/examples/apidoc/RestClientV2/spotSubmitPlanOrder.js index 9e73401..6875c7e 100644 --- a/examples/apidoc/RestClientV2/spotSubmitPlanOrder.js +++ b/examples/apidoc/RestClientV2/spotSubmitPlanOrder.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.spotSubmitPlanOrder(params) diff --git a/examples/apidoc/RestClientV2/spotSwitchBGBDeduct.js b/examples/apidoc/RestClientV2/spotSwitchBGBDeduct.js index 99d76c3..ab29a32 100644 --- a/examples/apidoc/RestClientV2/spotSwitchBGBDeduct.js +++ b/examples/apidoc/RestClientV2/spotSwitchBGBDeduct.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.spotSwitchBGBDeduct(params) diff --git a/examples/apidoc/RestClientV2/spotTransfer.js b/examples/apidoc/RestClientV2/spotTransfer.js index 16e4af4..a07c3b8 100644 --- a/examples/apidoc/RestClientV2/spotTransfer.js +++ b/examples/apidoc/RestClientV2/spotTransfer.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.spotTransfer(params) diff --git a/examples/apidoc/RestClientV2/spotWithdraw.js b/examples/apidoc/RestClientV2/spotWithdraw.js index 5ed7bab..1862419 100644 --- a/examples/apidoc/RestClientV2/spotWithdraw.js +++ b/examples/apidoc/RestClientV2/spotWithdraw.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.spotWithdraw(params) diff --git a/examples/apidoc/RestClientV2/subaccountDepositRecords.js b/examples/apidoc/RestClientV2/subaccountDepositRecords.js index 57aa3d1..2957ca6 100644 --- a/examples/apidoc/RestClientV2/subaccountDepositRecords.js +++ b/examples/apidoc/RestClientV2/subaccountDepositRecords.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.subaccountDepositRecords(params) diff --git a/examples/apidoc/RestClientV2/subaccountSetAutoTransfer.js b/examples/apidoc/RestClientV2/subaccountSetAutoTransfer.js index e4e4429..060412b 100644 --- a/examples/apidoc/RestClientV2/subaccountSetAutoTransfer.js +++ b/examples/apidoc/RestClientV2/subaccountSetAutoTransfer.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.subaccountSetAutoTransfer(params) diff --git a/examples/apidoc/RestClientV2/subaccountWithdrawal.js b/examples/apidoc/RestClientV2/subaccountWithdrawal.js index 3a6980c..1213c93 100644 --- a/examples/apidoc/RestClientV2/subaccountWithdrawal.js +++ b/examples/apidoc/RestClientV2/subaccountWithdrawal.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.subaccountWithdrawal(params) diff --git a/examples/apidoc/RestClientV2/subaccountWithdrawalRecords.js b/examples/apidoc/RestClientV2/subaccountWithdrawalRecords.js index bbbce25..d8b8c76 100644 --- a/examples/apidoc/RestClientV2/subaccountWithdrawalRecords.js +++ b/examples/apidoc/RestClientV2/subaccountWithdrawalRecords.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.subaccountWithdrawalRecords(params) diff --git a/examples/apidoc/RestClientV2/subscribeSharkfin.js b/examples/apidoc/RestClientV2/subscribeSharkfin.js index fc59ec3..5e69da1 100644 --- a/examples/apidoc/RestClientV2/subscribeSharkfin.js +++ b/examples/apidoc/RestClientV2/subscribeSharkfin.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.subscribeSharkfin(params) diff --git a/examples/apidoc/RestClientV2/unfollowFuturesTrader.js b/examples/apidoc/RestClientV2/unfollowFuturesTrader.js index 9bb50e1..6de9d0a 100644 --- a/examples/apidoc/RestClientV2/unfollowFuturesTrader.js +++ b/examples/apidoc/RestClientV2/unfollowFuturesTrader.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.unfollowFuturesTrader(params) diff --git a/examples/apidoc/RestClientV2/unfollowSpotTrader.js b/examples/apidoc/RestClientV2/unfollowSpotTrader.js index 352bd18..8a0756f 100644 --- a/examples/apidoc/RestClientV2/unfollowSpotTrader.js +++ b/examples/apidoc/RestClientV2/unfollowSpotTrader.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.unfollowSpotTrader(params) diff --git a/examples/apidoc/RestClientV2/updateFuturesFollowerSettings.js b/examples/apidoc/RestClientV2/updateFuturesFollowerSettings.js index 528a243..83da6cd 100644 --- a/examples/apidoc/RestClientV2/updateFuturesFollowerSettings.js +++ b/examples/apidoc/RestClientV2/updateFuturesFollowerSettings.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.updateFuturesFollowerSettings(params) diff --git a/examples/apidoc/RestClientV2/updateFuturesFollowerTPSL.js b/examples/apidoc/RestClientV2/updateFuturesFollowerTPSL.js index 7bffb26..ee4de79 100644 --- a/examples/apidoc/RestClientV2/updateFuturesFollowerTPSL.js +++ b/examples/apidoc/RestClientV2/updateFuturesFollowerTPSL.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.updateFuturesFollowerTPSL(params) diff --git a/examples/apidoc/RestClientV2/updateFuturesTraderGlobalSettings.js b/examples/apidoc/RestClientV2/updateFuturesTraderGlobalSettings.js index 2ae72c1..323e120 100644 --- a/examples/apidoc/RestClientV2/updateFuturesTraderGlobalSettings.js +++ b/examples/apidoc/RestClientV2/updateFuturesTraderGlobalSettings.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.updateFuturesTraderGlobalSettings(params) diff --git a/examples/apidoc/RestClientV2/updateFuturesTraderSymbolSettings.js b/examples/apidoc/RestClientV2/updateFuturesTraderSymbolSettings.js index 5b343ba..1420f03 100644 --- a/examples/apidoc/RestClientV2/updateFuturesTraderSymbolSettings.js +++ b/examples/apidoc/RestClientV2/updateFuturesTraderSymbolSettings.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.updateFuturesTraderSymbolSettings(params) diff --git a/examples/apidoc/RestClientV2/updateLoanPledgeRate.js b/examples/apidoc/RestClientV2/updateLoanPledgeRate.js index 31dc960..d6ee388 100644 --- a/examples/apidoc/RestClientV2/updateLoanPledgeRate.js +++ b/examples/apidoc/RestClientV2/updateLoanPledgeRate.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.updateLoanPledgeRate(params) diff --git a/examples/apidoc/RestClientV2/updateSpotFollowerSettings.js b/examples/apidoc/RestClientV2/updateSpotFollowerSettings.js index e63da1a..42b21e6 100644 --- a/examples/apidoc/RestClientV2/updateSpotFollowerSettings.js +++ b/examples/apidoc/RestClientV2/updateSpotFollowerSettings.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.updateSpotFollowerSettings(params) diff --git a/examples/apidoc/RestClientV2/updateSpotFollowerTPSL.js b/examples/apidoc/RestClientV2/updateSpotFollowerTPSL.js index fa58dfe..a2ec7e7 100644 --- a/examples/apidoc/RestClientV2/updateSpotFollowerTPSL.js +++ b/examples/apidoc/RestClientV2/updateSpotFollowerTPSL.js @@ -10,6 +10,7 @@ const { RestClientV2 } = require('bitget-api'); const client = new RestClientV2({ apiKey: 'insert_api_key_here', apiSecret: 'insert_api_secret_here', + apiPass: 'insert_api_pass_here', }); client.updateSpotFollowerTPSL(params)