From 5eba290130015d3c9d401884e0330f9f8054a2c8 Mon Sep 17 00:00:00 2001 From: Jerko J <83344666+JJ-Cro@users.noreply.github.com> Date: Wed, 16 Oct 2024 18:13:45 +0200 Subject: [PATCH 1/2] feat(): updated examples, readme --- README.md | 2 +- .../RestClientV2/batchCreateVirtualSubaccountAndAPIKey.js | 4 ++-- examples/apidoc/RestClientV2/borrowLoan.js | 4 ++-- examples/apidoc/RestClientV2/cancelSpotFollowerOrder.js | 4 ++-- examples/apidoc/RestClientV2/closeFuturesFollowerPositions.js | 4 ++-- examples/apidoc/RestClientV2/closeFuturesTraderOrder.js | 4 ++-- examples/apidoc/RestClientV2/convert.js | 4 ++-- examples/apidoc/RestClientV2/convertBGB.js | 4 ++-- examples/apidoc/RestClientV2/createSubaccount.js | 4 ++-- examples/apidoc/RestClientV2/createSubaccountApiKey.js | 4 ++-- .../apidoc/RestClientV2/createSubaccountDepositAddress.js | 4 ++-- examples/apidoc/RestClientV2/createVirtualSubaccount.js | 4 ++-- examples/apidoc/RestClientV2/createVirtualSubaccountAPIKey.js | 4 ++-- examples/apidoc/RestClientV2/earnSubscribeSavings.js | 4 ++-- examples/apidoc/RestClientV2/futuresBatchCancelOrders.js | 4 ++-- examples/apidoc/RestClientV2/futuresBatchSubmitOrders.js | 4 ++-- examples/apidoc/RestClientV2/futuresCancelAllOrders.js | 4 ++-- examples/apidoc/RestClientV2/futuresCancelOrder.js | 4 ++-- examples/apidoc/RestClientV2/futuresCancelPlanOrder.js | 4 ++-- examples/apidoc/RestClientV2/futuresFlashClosePositions.js | 4 ++-- examples/apidoc/RestClientV2/futuresModifyOrder.js | 4 ++-- examples/apidoc/RestClientV2/futuresModifyPlanOrder.js | 4 ++-- examples/apidoc/RestClientV2/futuresModifyTPSLPOrder.js | 4 ++-- examples/apidoc/RestClientV2/futuresSubmitOrder.js | 4 ++-- examples/apidoc/RestClientV2/futuresSubmitPlanOrder.js | 4 ++-- examples/apidoc/RestClientV2/futuresSubmitPlanSubOrder.js | 4 ++-- examples/apidoc/RestClientV2/futuresSubmitReversal.js | 4 ++-- examples/apidoc/RestClientV2/futuresSubmitTPSLOrder.js | 4 ++-- examples/apidoc/RestClientV2/getAnnouncements.js | 4 ++-- examples/apidoc/RestClientV2/getBalances.js | 4 ++-- examples/apidoc/RestClientV2/getBotAccount.js | 4 ++-- examples/apidoc/RestClientV2/getBrokerInfo.js | 4 ++-- examples/apidoc/RestClientV2/getBrokerTraders.js | 4 ++-- .../apidoc/RestClientV2/getBrokerTradersHistoricalOrders.js | 4 ++-- examples/apidoc/RestClientV2/getBrokerTradersPendingOrders.js | 4 ++-- examples/apidoc/RestClientV2/getConvertBGBCoins.js | 4 ++-- examples/apidoc/RestClientV2/getConvertBGBHistory.js | 4 ++-- examples/apidoc/RestClientV2/getConvertCoins.js | 4 ++-- examples/apidoc/RestClientV2/getConvertHistory.js | 4 ++-- examples/apidoc/RestClientV2/getConvertQuotedPrice.js | 4 ++-- examples/apidoc/RestClientV2/getEarnAccount.js | 4 ++-- examples/apidoc/RestClientV2/getEarnSavingsAccount.js | 4 ++-- examples/apidoc/RestClientV2/getEarnSavingsAssets.js | 4 ++-- examples/apidoc/RestClientV2/getEarnSavingsProducts.js | 4 ++-- examples/apidoc/RestClientV2/getEarnSavingsRecords.js | 4 ++-- .../apidoc/RestClientV2/getEarnSavingsRedemptionResult.js | 4 ++-- examples/apidoc/RestClientV2/getEarnSavingsSubscription.js | 4 ++-- .../apidoc/RestClientV2/getEarnSavingsSubscriptionResult.js | 4 ++-- examples/apidoc/RestClientV2/getFundingAssets.js | 4 ++-- examples/apidoc/RestClientV2/getFuturesAccountAsset.js | 4 ++-- examples/apidoc/RestClientV2/getFuturesAccountAssets.js | 4 ++-- examples/apidoc/RestClientV2/getFuturesAccountBills.js | 4 ++-- .../apidoc/RestClientV2/getFuturesActiveBuySellVolumeData.js | 4 ++-- .../RestClientV2/getFuturesActiveLongShortAccountData.js | 4 ++-- .../RestClientV2/getFuturesActiveLongShortPositionData.js | 4 ++-- .../RestClientV2/getFuturesActiveTakerBuySellVolumeData.js | 4 ++-- examples/apidoc/RestClientV2/getFuturesAllTickers.js | 4 ++-- examples/apidoc/RestClientV2/getFuturesCandles.js | 4 ++-- examples/apidoc/RestClientV2/getFuturesContractConfig.js | 4 ++-- examples/apidoc/RestClientV2/getFuturesCurrentFundingRate.js | 4 ++-- examples/apidoc/RestClientV2/getFuturesFills.js | 4 ++-- .../apidoc/RestClientV2/getFuturesFollowerCurrentOrders.js | 4 ++-- examples/apidoc/RestClientV2/getFuturesFollowerFollowLimit.js | 4 ++-- .../apidoc/RestClientV2/getFuturesFollowerHistoryOrders.js | 4 ++-- examples/apidoc/RestClientV2/getFuturesFollowerSettings.js | 4 ++-- examples/apidoc/RestClientV2/getFuturesFollowerTraders.js | 4 ++-- examples/apidoc/RestClientV2/getFuturesHistoricCandles.js | 4 ++-- .../apidoc/RestClientV2/getFuturesHistoricFundingRates.js | 4 ++-- .../RestClientV2/getFuturesHistoricIndexPriceCandles.js | 4 ++-- .../apidoc/RestClientV2/getFuturesHistoricMarkPriceCandles.js | 4 ++-- examples/apidoc/RestClientV2/getFuturesHistoricOrderFills.js | 4 ++-- examples/apidoc/RestClientV2/getFuturesHistoricOrders.js | 4 ++-- examples/apidoc/RestClientV2/getFuturesHistoricPlanOrders.js | 4 ++-- examples/apidoc/RestClientV2/getFuturesHistoricPositions.js | 4 ++-- examples/apidoc/RestClientV2/getFuturesHistoricTrades.js | 4 ++-- examples/apidoc/RestClientV2/getFuturesLongShortRatio.js | 4 ++-- examples/apidoc/RestClientV2/getFuturesMergeDepth.js | 4 ++-- examples/apidoc/RestClientV2/getFuturesNextFundingTime.js | 4 ++-- examples/apidoc/RestClientV2/getFuturesOpenCount.js | 4 ++-- examples/apidoc/RestClientV2/getFuturesOpenInterest.js | 4 ++-- examples/apidoc/RestClientV2/getFuturesOpenOrders.js | 4 ++-- examples/apidoc/RestClientV2/getFuturesOrder.js | 4 ++-- examples/apidoc/RestClientV2/getFuturesPlanOrders.js | 4 ++-- examples/apidoc/RestClientV2/getFuturesPosition.js | 4 ++-- examples/apidoc/RestClientV2/getFuturesPositionTier.js | 4 ++-- examples/apidoc/RestClientV2/getFuturesPositions.js | 4 ++-- examples/apidoc/RestClientV2/getFuturesRecentTrades.js | 4 ++-- examples/apidoc/RestClientV2/getFuturesSubAccountAssets.js | 4 ++-- examples/apidoc/RestClientV2/getFuturesSymbolPrice.js | 4 ++-- examples/apidoc/RestClientV2/getFuturesTicker.js | 4 ++-- examples/apidoc/RestClientV2/getFuturesTraderCurrentOrder.js | 4 ++-- examples/apidoc/RestClientV2/getFuturesTraderFollowers.js | 4 ++-- examples/apidoc/RestClientV2/getFuturesTraderHistoryOrders.js | 4 ++-- examples/apidoc/RestClientV2/getFuturesTraderOrder.js | 4 ++-- examples/apidoc/RestClientV2/getFuturesTraderProfitHistory.js | 4 ++-- examples/apidoc/RestClientV2/getFuturesTraderProfitShare.js | 4 ++-- .../apidoc/RestClientV2/getFuturesTraderProfitShareGroup.js | 4 ++-- .../apidoc/RestClientV2/getFuturesTraderProfitShareHistory.js | 4 ++-- .../apidoc/RestClientV2/getFuturesTraderSymbolSettings.js | 4 ++-- examples/apidoc/RestClientV2/getFuturesTransactionRecords.js | 4 ++-- examples/apidoc/RestClientV2/getFuturesVIPFeeRate.js | 4 ++-- .../apidoc/RestClientV2/getIsolatedMarginBorrowingRatio.js | 4 ++-- examples/apidoc/RestClientV2/getLoanCurrencies.js | 4 ++-- examples/apidoc/RestClientV2/getLoanDebts.js | 4 ++-- .../apidoc/RestClientV2/getLoanEstInterestAndBorrowable.js | 4 ++-- examples/apidoc/RestClientV2/getLoanHistory.js | 4 ++-- examples/apidoc/RestClientV2/getLoanLiquidationRecords.js | 4 ++-- examples/apidoc/RestClientV2/getLoanPledgeRateHistory.js | 4 ++-- examples/apidoc/RestClientV2/getMarginAccountAssets.js | 4 ++-- examples/apidoc/RestClientV2/getMarginBorrowHistory.js | 4 ++-- examples/apidoc/RestClientV2/getMarginCurrencies.js | 4 ++-- examples/apidoc/RestClientV2/getMarginFinancialHistory.js | 4 ++-- examples/apidoc/RestClientV2/getMarginFlashRepayResult.js | 4 ++-- examples/apidoc/RestClientV2/getMarginHistoricOrderFills.js | 4 ++-- examples/apidoc/RestClientV2/getMarginHistoricOrders.js | 4 ++-- examples/apidoc/RestClientV2/getMarginInterestHistory.js | 4 ++-- .../RestClientV2/getMarginInterestRateAndMaxBorrowable.js | 4 ++-- examples/apidoc/RestClientV2/getMarginLiquidationHistory.js | 4 ++-- examples/apidoc/RestClientV2/getMarginLiquidationOrders.js | 4 ++-- examples/apidoc/RestClientV2/getMarginLoanGrowthRate.js | 4 ++-- examples/apidoc/RestClientV2/getMarginMaxBorrowable.js | 4 ++-- examples/apidoc/RestClientV2/getMarginMaxTransferable.js | 4 ++-- examples/apidoc/RestClientV2/getMarginOpenOrders.js | 4 ++-- examples/apidoc/RestClientV2/getMarginRepayHistory.js | 4 ++-- examples/apidoc/RestClientV2/getMarginRiskRate.js | 4 ++-- examples/apidoc/RestClientV2/getMarginTierConfiguration.js | 4 ++-- examples/apidoc/RestClientV2/getMarginTransactionRecords.js | 4 ++-- examples/apidoc/RestClientV2/getOngoingLoanOrders.js | 4 ++-- .../apidoc/RestClientV2/getP2PMerchantAdvertisementList.js | 4 ++-- examples/apidoc/RestClientV2/getP2PMerchantInfo.js | 4 ++-- examples/apidoc/RestClientV2/getP2PMerchantList.js | 4 ++-- examples/apidoc/RestClientV2/getP2PMerchantOrders.js | 4 ++-- examples/apidoc/RestClientV2/getP2PTransactionRecords.js | 4 ++-- examples/apidoc/RestClientV2/getRepayHistory.js | 4 ++-- examples/apidoc/RestClientV2/getServerTime.js | 4 ++-- examples/apidoc/RestClientV2/getSharkfinAccount.js | 4 ++-- examples/apidoc/RestClientV2/getSharkfinAssets.js | 4 ++-- examples/apidoc/RestClientV2/getSharkfinProducts.js | 4 ++-- examples/apidoc/RestClientV2/getSharkfinRecords.js | 4 ++-- examples/apidoc/RestClientV2/getSharkfinSubscription.js | 4 ++-- examples/apidoc/RestClientV2/getSharkfinSubscriptionResult.js | 4 ++-- examples/apidoc/RestClientV2/getSpotAccount.js | 4 ++-- examples/apidoc/RestClientV2/getSpotAccountAssets.js | 4 ++-- examples/apidoc/RestClientV2/getSpotAccountBills.js | 4 ++-- examples/apidoc/RestClientV2/getSpotBGBDeductInfo.js | 4 ++-- examples/apidoc/RestClientV2/getSpotCandles.js | 4 ++-- examples/apidoc/RestClientV2/getSpotCoinInfo.js | 4 ++-- examples/apidoc/RestClientV2/getSpotCurrentPlanOrders.js | 4 ++-- examples/apidoc/RestClientV2/getSpotDepositAddress.js | 4 ++-- examples/apidoc/RestClientV2/getSpotDepositHistory.js | 4 ++-- examples/apidoc/RestClientV2/getSpotFills.js | 4 ++-- .../RestClientV2/getSpotFollowerCurrentTraderSymbols.js | 4 ++-- examples/apidoc/RestClientV2/getSpotFollowerHistoryOrders.js | 4 ++-- examples/apidoc/RestClientV2/getSpotFollowerOpenOrders.js | 4 ++-- examples/apidoc/RestClientV2/getSpotFollowerSettings.js | 4 ++-- examples/apidoc/RestClientV2/getSpotFollowerTraders.js | 4 ++-- examples/apidoc/RestClientV2/getSpotFundFlow.js | 4 ++-- examples/apidoc/RestClientV2/getSpotFundNetFlowData.js | 4 ++-- examples/apidoc/RestClientV2/getSpotHistoricCandles.js | 4 ++-- examples/apidoc/RestClientV2/getSpotHistoricOrders.js | 4 ++-- examples/apidoc/RestClientV2/getSpotHistoricPlanOrders.js | 4 ++-- examples/apidoc/RestClientV2/getSpotHistoricTrades.js | 4 ++-- examples/apidoc/RestClientV2/getSpotMainSubTransferRecord.js | 4 ++-- examples/apidoc/RestClientV2/getSpotMergeDepth.js | 4 ++-- examples/apidoc/RestClientV2/getSpotOpenOrders.js | 4 ++-- examples/apidoc/RestClientV2/getSpotOrder.js | 4 ++-- examples/apidoc/RestClientV2/getSpotOrderBookDepth.js | 4 ++-- examples/apidoc/RestClientV2/getSpotPlanSubOrder.js | 4 ++-- examples/apidoc/RestClientV2/getSpotRecentTrades.js | 4 ++-- examples/apidoc/RestClientV2/getSpotSubAccountAssets.js | 4 ++-- examples/apidoc/RestClientV2/getSpotSubDepositAddress.js | 4 ++-- examples/apidoc/RestClientV2/getSpotSymbolInfo.js | 4 ++-- examples/apidoc/RestClientV2/getSpotTicker.js | 4 ++-- examples/apidoc/RestClientV2/getSpotTraderConfiguration.js | 4 ++-- examples/apidoc/RestClientV2/getSpotTraderCurrentOrders.js | 4 ++-- examples/apidoc/RestClientV2/getSpotTraderFollowers.js | 4 ++-- examples/apidoc/RestClientV2/getSpotTraderHistoryOrders.js | 4 ++-- examples/apidoc/RestClientV2/getSpotTraderHistoryProfit.js | 4 ++-- examples/apidoc/RestClientV2/getSpotTraderOrder.js | 4 ++-- examples/apidoc/RestClientV2/getSpotTraderProfit.js | 4 ++-- examples/apidoc/RestClientV2/getSpotTraderSymbolSettings.js | 4 ++-- examples/apidoc/RestClientV2/getSpotTraderUnrealizedProfit.js | 4 ++-- examples/apidoc/RestClientV2/getSpotTransactionRecords.js | 4 ++-- examples/apidoc/RestClientV2/getSpotTransferHistory.js | 4 ++-- examples/apidoc/RestClientV2/getSpotTransferableCoins.js | 4 ++-- examples/apidoc/RestClientV2/getSpotVIPFeeRate.js | 4 ++-- examples/apidoc/RestClientV2/getSpotWhaleNetFlowData.js | 4 ++-- examples/apidoc/RestClientV2/getSpotWithdrawalHistory.js | 4 ++-- examples/apidoc/RestClientV2/getSubAccountDepositRecords.js | 4 ++-- examples/apidoc/RestClientV2/getSubaccountApiKey.js | 4 ++-- examples/apidoc/RestClientV2/getSubaccountEmail.js | 4 ++-- examples/apidoc/RestClientV2/getSubaccountFuturesAssets.js | 4 ++-- examples/apidoc/RestClientV2/getSubaccountSpotAssets.js | 4 ++-- examples/apidoc/RestClientV2/getSubaccounts.js | 4 ++-- examples/apidoc/RestClientV2/getTradeDataSupportSymbols.js | 4 ++-- examples/apidoc/RestClientV2/getTradeRate.js | 4 ++-- examples/apidoc/RestClientV2/getVirtualSubaccountAPIKeys.js | 4 ++-- examples/apidoc/RestClientV2/getVirtualSubaccounts.js | 4 ++-- examples/apidoc/RestClientV2/marginBatchCancelOrders.js | 4 ++-- examples/apidoc/RestClientV2/marginBatchSubmitOrders.js | 4 ++-- examples/apidoc/RestClientV2/marginBorrow.js | 4 ++-- examples/apidoc/RestClientV2/marginCancelOrder.js | 4 ++-- examples/apidoc/RestClientV2/marginFlashRepay.js | 4 ++-- examples/apidoc/RestClientV2/marginRepay.js | 4 ++-- examples/apidoc/RestClientV2/marginSubmitOrder.js | 4 ++-- examples/apidoc/RestClientV2/modifyFuturesTraderOrderTPSL.js | 4 ++-- examples/apidoc/RestClientV2/modifySpotTraderOrderTPSL.js | 4 ++-- examples/apidoc/RestClientV2/modifySubaccount.js | 4 ++-- examples/apidoc/RestClientV2/modifySubaccountApiKey.js | 4 ++-- examples/apidoc/RestClientV2/modifySubaccountEmail.js | 4 ++-- examples/apidoc/RestClientV2/modifyVirtualSubaccount.js | 4 ++-- examples/apidoc/RestClientV2/modifyVirtualSubaccountAPIKey.js | 4 ++-- examples/apidoc/RestClientV2/removeFuturesTraderFollower.js | 4 ++-- examples/apidoc/RestClientV2/removeSpotTraderFollowers.js | 4 ++-- examples/apidoc/RestClientV2/repayLoan.js | 4 ++-- examples/apidoc/RestClientV2/sellSpotFollower.js | 4 ++-- examples/apidoc/RestClientV2/sellSpotTrader.js | 4 ++-- examples/apidoc/RestClientV2/setFuturesLeverage.js | 4 ++-- examples/apidoc/RestClientV2/setFuturesMarginMode.js | 4 ++-- examples/apidoc/RestClientV2/setFuturesPositionAutoMargin.js | 4 ++-- examples/apidoc/RestClientV2/setFuturesPositionMargin.js | 4 ++-- examples/apidoc/RestClientV2/setFuturesPositionMode.js | 4 ++-- examples/apidoc/RestClientV2/spotBatchCancelOrders.js | 4 ++-- examples/apidoc/RestClientV2/spotBatchSubmitOrders.js | 4 ++-- examples/apidoc/RestClientV2/spotCancelOrder.js | 4 ++-- examples/apidoc/RestClientV2/spotCancelPlanOrder.js | 4 ++-- examples/apidoc/RestClientV2/spotCancelPlanOrders.js | 4 ++-- examples/apidoc/RestClientV2/spotCancelSymbolOrder.js | 4 ++-- examples/apidoc/RestClientV2/spotCancelWithdrawal.js | 4 ++-- examples/apidoc/RestClientV2/spotModifyDepositAccount.js | 4 ++-- examples/apidoc/RestClientV2/spotModifyPlanOrder.js | 4 ++-- examples/apidoc/RestClientV2/spotSubTransfer.js | 4 ++-- examples/apidoc/RestClientV2/spotSubmitOrder.js | 4 ++-- examples/apidoc/RestClientV2/spotSubmitPlanOrder.js | 4 ++-- examples/apidoc/RestClientV2/spotSwitchBGBDeduct.js | 4 ++-- examples/apidoc/RestClientV2/spotTransfer.js | 4 ++-- examples/apidoc/RestClientV2/spotWithdraw.js | 4 ++-- examples/apidoc/RestClientV2/subaccountDepositRecords.js | 4 ++-- examples/apidoc/RestClientV2/subaccountSetAutoTransfer.js | 4 ++-- examples/apidoc/RestClientV2/subaccountWithdrawal.js | 4 ++-- examples/apidoc/RestClientV2/subaccountWithdrawalRecords.js | 4 ++-- examples/apidoc/RestClientV2/subscribeSharkfin.js | 4 ++-- examples/apidoc/RestClientV2/unfollowFuturesTrader.js | 4 ++-- examples/apidoc/RestClientV2/unfollowSpotTrader.js | 4 ++-- examples/apidoc/RestClientV2/updateFuturesFollowerSettings.js | 4 ++-- examples/apidoc/RestClientV2/updateFuturesFollowerTPSL.js | 4 ++-- .../apidoc/RestClientV2/updateFuturesTraderGlobalSettings.js | 4 ++-- .../apidoc/RestClientV2/updateFuturesTraderSymbolSettings.js | 4 ++-- examples/apidoc/RestClientV2/updateLoanPledgeRate.js | 4 ++-- examples/apidoc/RestClientV2/updateSpotFollowerSettings.js | 4 ++-- examples/apidoc/RestClientV2/updateSpotFollowerTPSL.js | 4 ++-- package-lock.json | 4 ++-- package.json | 2 +- 253 files changed, 504 insertions(+), 504 deletions(-) diff --git a/README.md b/README.md index 4326fd6..f345910 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,6 @@ [1]: https://www.npmjs.com/package/bitget-api - Updated & performant JavaScript & Node.js SDK for the Bitget V2 REST APIs and WebSockets: - Complete integration with all Bitget APIs. @@ -37,6 +36,7 @@ Updated & performant JavaScript & Node.js SDK for the Bitget V2 REST APIs and We - Issues? Check the [issues tab](https://github.com/tiagosiebler/bitget-api/issues). - Discuss & collaborate with other node devs? Join our [Node.js Algo Traders](https://t.me/nodetraders) engineering community on telegram. +- Follow our announcement channel for real-time updates on [X/Twitter](https://x.com/QuantSDKs) diff --git a/examples/apidoc/RestClientV2/batchCreateVirtualSubaccountAndAPIKey.js b/examples/apidoc/RestClientV2/batchCreateVirtualSubaccountAndAPIKey.js index 0e9b582..21670e0 100644 --- a/examples/apidoc/RestClientV2/batchCreateVirtualSubaccountAndAPIKey.js +++ b/examples/apidoc/RestClientV2/batchCreateVirtualSubaccountAndAPIKey.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.batchCreateVirtualSubaccountAndAPIKey(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/borrowLoan.js b/examples/apidoc/RestClientV2/borrowLoan.js index c3efde5..9cdb37e 100644 --- a/examples/apidoc/RestClientV2/borrowLoan.js +++ b/examples/apidoc/RestClientV2/borrowLoan.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.borrowLoan(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/cancelSpotFollowerOrder.js b/examples/apidoc/RestClientV2/cancelSpotFollowerOrder.js index 11c4262..feb979a 100644 --- a/examples/apidoc/RestClientV2/cancelSpotFollowerOrder.js +++ b/examples/apidoc/RestClientV2/cancelSpotFollowerOrder.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.cancelSpotFollowerOrder(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/closeFuturesFollowerPositions.js b/examples/apidoc/RestClientV2/closeFuturesFollowerPositions.js index 1bda7ce..a6a1e06 100644 --- a/examples/apidoc/RestClientV2/closeFuturesFollowerPositions.js +++ b/examples/apidoc/RestClientV2/closeFuturesFollowerPositions.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.closeFuturesFollowerPositions(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/closeFuturesTraderOrder.js b/examples/apidoc/RestClientV2/closeFuturesTraderOrder.js index fb1bc97..b581cdd 100644 --- a/examples/apidoc/RestClientV2/closeFuturesTraderOrder.js +++ b/examples/apidoc/RestClientV2/closeFuturesTraderOrder.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.closeFuturesTraderOrder(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/convert.js b/examples/apidoc/RestClientV2/convert.js index d6d51e6..d17d41a 100644 --- a/examples/apidoc/RestClientV2/convert.js +++ b/examples/apidoc/RestClientV2/convert.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.convert(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/convertBGB.js b/examples/apidoc/RestClientV2/convertBGB.js index b44534d..7b7ac60 100644 --- a/examples/apidoc/RestClientV2/convertBGB.js +++ b/examples/apidoc/RestClientV2/convertBGB.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.convertBGB(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/createSubaccount.js b/examples/apidoc/RestClientV2/createSubaccount.js index b7e759b..647591f 100644 --- a/examples/apidoc/RestClientV2/createSubaccount.js +++ b/examples/apidoc/RestClientV2/createSubaccount.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.createSubaccount(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/createSubaccountApiKey.js b/examples/apidoc/RestClientV2/createSubaccountApiKey.js index 320870d..f29ce50 100644 --- a/examples/apidoc/RestClientV2/createSubaccountApiKey.js +++ b/examples/apidoc/RestClientV2/createSubaccountApiKey.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.createSubaccountApiKey(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/createSubaccountDepositAddress.js b/examples/apidoc/RestClientV2/createSubaccountDepositAddress.js index 3b0f73e..05867a3 100644 --- a/examples/apidoc/RestClientV2/createSubaccountDepositAddress.js +++ b/examples/apidoc/RestClientV2/createSubaccountDepositAddress.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.createSubaccountDepositAddress(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/createVirtualSubaccount.js b/examples/apidoc/RestClientV2/createVirtualSubaccount.js index 4749c44..b31ba93 100644 --- a/examples/apidoc/RestClientV2/createVirtualSubaccount.js +++ b/examples/apidoc/RestClientV2/createVirtualSubaccount.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.createVirtualSubaccount(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/createVirtualSubaccountAPIKey.js b/examples/apidoc/RestClientV2/createVirtualSubaccountAPIKey.js index 45d33fa..873eb1d 100644 --- a/examples/apidoc/RestClientV2/createVirtualSubaccountAPIKey.js +++ b/examples/apidoc/RestClientV2/createVirtualSubaccountAPIKey.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.createVirtualSubaccountAPIKey(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/earnSubscribeSavings.js b/examples/apidoc/RestClientV2/earnSubscribeSavings.js index 1536d0e..461af68 100644 --- a/examples/apidoc/RestClientV2/earnSubscribeSavings.js +++ b/examples/apidoc/RestClientV2/earnSubscribeSavings.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.earnSubscribeSavings(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/futuresBatchCancelOrders.js b/examples/apidoc/RestClientV2/futuresBatchCancelOrders.js index ef7d747..3c4b030 100644 --- a/examples/apidoc/RestClientV2/futuresBatchCancelOrders.js +++ b/examples/apidoc/RestClientV2/futuresBatchCancelOrders.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.futuresBatchCancelOrders(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/futuresBatchSubmitOrders.js b/examples/apidoc/RestClientV2/futuresBatchSubmitOrders.js index 2472e00..f1b5890 100644 --- a/examples/apidoc/RestClientV2/futuresBatchSubmitOrders.js +++ b/examples/apidoc/RestClientV2/futuresBatchSubmitOrders.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.futuresBatchSubmitOrders(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/futuresCancelAllOrders.js b/examples/apidoc/RestClientV2/futuresCancelAllOrders.js index e5e5d31..475532b 100644 --- a/examples/apidoc/RestClientV2/futuresCancelAllOrders.js +++ b/examples/apidoc/RestClientV2/futuresCancelAllOrders.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.futuresCancelAllOrders(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/futuresCancelOrder.js b/examples/apidoc/RestClientV2/futuresCancelOrder.js index 5764846..352d90a 100644 --- a/examples/apidoc/RestClientV2/futuresCancelOrder.js +++ b/examples/apidoc/RestClientV2/futuresCancelOrder.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.futuresCancelOrder(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/futuresCancelPlanOrder.js b/examples/apidoc/RestClientV2/futuresCancelPlanOrder.js index ac7d4f4..cfadf23 100644 --- a/examples/apidoc/RestClientV2/futuresCancelPlanOrder.js +++ b/examples/apidoc/RestClientV2/futuresCancelPlanOrder.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.futuresCancelPlanOrder(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/futuresFlashClosePositions.js b/examples/apidoc/RestClientV2/futuresFlashClosePositions.js index 69a174f..db2db4e 100644 --- a/examples/apidoc/RestClientV2/futuresFlashClosePositions.js +++ b/examples/apidoc/RestClientV2/futuresFlashClosePositions.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.futuresFlashClosePositions(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/futuresModifyOrder.js b/examples/apidoc/RestClientV2/futuresModifyOrder.js index d91e88c..bf6a891 100644 --- a/examples/apidoc/RestClientV2/futuresModifyOrder.js +++ b/examples/apidoc/RestClientV2/futuresModifyOrder.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.futuresModifyOrder(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/futuresModifyPlanOrder.js b/examples/apidoc/RestClientV2/futuresModifyPlanOrder.js index b15d8af..81fa982 100644 --- a/examples/apidoc/RestClientV2/futuresModifyPlanOrder.js +++ b/examples/apidoc/RestClientV2/futuresModifyPlanOrder.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.futuresModifyPlanOrder(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/futuresModifyTPSLPOrder.js b/examples/apidoc/RestClientV2/futuresModifyTPSLPOrder.js index d29e1cc..edce45c 100644 --- a/examples/apidoc/RestClientV2/futuresModifyTPSLPOrder.js +++ b/examples/apidoc/RestClientV2/futuresModifyTPSLPOrder.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.futuresModifyTPSLPOrder(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/futuresSubmitOrder.js b/examples/apidoc/RestClientV2/futuresSubmitOrder.js index 4d8f57c..fca2d26 100644 --- a/examples/apidoc/RestClientV2/futuresSubmitOrder.js +++ b/examples/apidoc/RestClientV2/futuresSubmitOrder.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.futuresSubmitOrder(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/futuresSubmitPlanOrder.js b/examples/apidoc/RestClientV2/futuresSubmitPlanOrder.js index 85275e2..863c249 100644 --- a/examples/apidoc/RestClientV2/futuresSubmitPlanOrder.js +++ b/examples/apidoc/RestClientV2/futuresSubmitPlanOrder.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.futuresSubmitPlanOrder(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/futuresSubmitPlanSubOrder.js b/examples/apidoc/RestClientV2/futuresSubmitPlanSubOrder.js index 761f39c..c2e20a7 100644 --- a/examples/apidoc/RestClientV2/futuresSubmitPlanSubOrder.js +++ b/examples/apidoc/RestClientV2/futuresSubmitPlanSubOrder.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.futuresSubmitPlanSubOrder(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/futuresSubmitReversal.js b/examples/apidoc/RestClientV2/futuresSubmitReversal.js index d08fb42..937b6f5 100644 --- a/examples/apidoc/RestClientV2/futuresSubmitReversal.js +++ b/examples/apidoc/RestClientV2/futuresSubmitReversal.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.futuresSubmitReversal(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/futuresSubmitTPSLOrder.js b/examples/apidoc/RestClientV2/futuresSubmitTPSLOrder.js index 3387442..aba3007 100644 --- a/examples/apidoc/RestClientV2/futuresSubmitTPSLOrder.js +++ b/examples/apidoc/RestClientV2/futuresSubmitTPSLOrder.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.futuresSubmitTPSLOrder(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getAnnouncements.js b/examples/apidoc/RestClientV2/getAnnouncements.js index 3535048..067db4d 100644 --- a/examples/apidoc/RestClientV2/getAnnouncements.js +++ b/examples/apidoc/RestClientV2/getAnnouncements.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getAnnouncements(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getBalances.js b/examples/apidoc/RestClientV2/getBalances.js index 0c3595f..0d5f43e 100644 --- a/examples/apidoc/RestClientV2/getBalances.js +++ b/examples/apidoc/RestClientV2/getBalances.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getBalances(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getBotAccount.js b/examples/apidoc/RestClientV2/getBotAccount.js index 0853e79..4fbd6f5 100644 --- a/examples/apidoc/RestClientV2/getBotAccount.js +++ b/examples/apidoc/RestClientV2/getBotAccount.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getBotAccount(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getBrokerInfo.js b/examples/apidoc/RestClientV2/getBrokerInfo.js index 97bf59d..6bf1646 100644 --- a/examples/apidoc/RestClientV2/getBrokerInfo.js +++ b/examples/apidoc/RestClientV2/getBrokerInfo.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getBrokerInfo(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getBrokerTraders.js b/examples/apidoc/RestClientV2/getBrokerTraders.js index 12e6f3c..d591e25 100644 --- a/examples/apidoc/RestClientV2/getBrokerTraders.js +++ b/examples/apidoc/RestClientV2/getBrokerTraders.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getBrokerTraders(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getBrokerTradersHistoricalOrders.js b/examples/apidoc/RestClientV2/getBrokerTradersHistoricalOrders.js index 58b9c78..1ef8dc2 100644 --- a/examples/apidoc/RestClientV2/getBrokerTradersHistoricalOrders.js +++ b/examples/apidoc/RestClientV2/getBrokerTradersHistoricalOrders.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getBrokerTradersHistoricalOrders(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getBrokerTradersPendingOrders.js b/examples/apidoc/RestClientV2/getBrokerTradersPendingOrders.js index 50e7d1e..a87a693 100644 --- a/examples/apidoc/RestClientV2/getBrokerTradersPendingOrders.js +++ b/examples/apidoc/RestClientV2/getBrokerTradersPendingOrders.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getBrokerTradersPendingOrders(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getConvertBGBCoins.js b/examples/apidoc/RestClientV2/getConvertBGBCoins.js index 810c39c..bbf9341 100644 --- a/examples/apidoc/RestClientV2/getConvertBGBCoins.js +++ b/examples/apidoc/RestClientV2/getConvertBGBCoins.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getConvertBGBCoins(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getConvertBGBHistory.js b/examples/apidoc/RestClientV2/getConvertBGBHistory.js index 1e8d6f6..1c56182 100644 --- a/examples/apidoc/RestClientV2/getConvertBGBHistory.js +++ b/examples/apidoc/RestClientV2/getConvertBGBHistory.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getConvertBGBHistory(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getConvertCoins.js b/examples/apidoc/RestClientV2/getConvertCoins.js index af0bde4..47142e9 100644 --- a/examples/apidoc/RestClientV2/getConvertCoins.js +++ b/examples/apidoc/RestClientV2/getConvertCoins.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getConvertCoins(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getConvertHistory.js b/examples/apidoc/RestClientV2/getConvertHistory.js index 93405e5..d5b1324 100644 --- a/examples/apidoc/RestClientV2/getConvertHistory.js +++ b/examples/apidoc/RestClientV2/getConvertHistory.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getConvertHistory(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getConvertQuotedPrice.js b/examples/apidoc/RestClientV2/getConvertQuotedPrice.js index bbe0b91..6fbf696 100644 --- a/examples/apidoc/RestClientV2/getConvertQuotedPrice.js +++ b/examples/apidoc/RestClientV2/getConvertQuotedPrice.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getConvertQuotedPrice(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getEarnAccount.js b/examples/apidoc/RestClientV2/getEarnAccount.js index 151daf9..7e1cb0c 100644 --- a/examples/apidoc/RestClientV2/getEarnAccount.js +++ b/examples/apidoc/RestClientV2/getEarnAccount.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getEarnAccount(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getEarnSavingsAccount.js b/examples/apidoc/RestClientV2/getEarnSavingsAccount.js index d689e23..50067e0 100644 --- a/examples/apidoc/RestClientV2/getEarnSavingsAccount.js +++ b/examples/apidoc/RestClientV2/getEarnSavingsAccount.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getEarnSavingsAccount(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getEarnSavingsAssets.js b/examples/apidoc/RestClientV2/getEarnSavingsAssets.js index c46957a..da938ae 100644 --- a/examples/apidoc/RestClientV2/getEarnSavingsAssets.js +++ b/examples/apidoc/RestClientV2/getEarnSavingsAssets.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getEarnSavingsAssets(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getEarnSavingsProducts.js b/examples/apidoc/RestClientV2/getEarnSavingsProducts.js index a65f229..d99b1d8 100644 --- a/examples/apidoc/RestClientV2/getEarnSavingsProducts.js +++ b/examples/apidoc/RestClientV2/getEarnSavingsProducts.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getEarnSavingsProducts(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getEarnSavingsRecords.js b/examples/apidoc/RestClientV2/getEarnSavingsRecords.js index 936eb78..9fad47a 100644 --- a/examples/apidoc/RestClientV2/getEarnSavingsRecords.js +++ b/examples/apidoc/RestClientV2/getEarnSavingsRecords.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getEarnSavingsRecords(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getEarnSavingsRedemptionResult.js b/examples/apidoc/RestClientV2/getEarnSavingsRedemptionResult.js index d6e3680..33b2054 100644 --- a/examples/apidoc/RestClientV2/getEarnSavingsRedemptionResult.js +++ b/examples/apidoc/RestClientV2/getEarnSavingsRedemptionResult.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getEarnSavingsRedemptionResult(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getEarnSavingsSubscription.js b/examples/apidoc/RestClientV2/getEarnSavingsSubscription.js index 4f492b4..ca244c9 100644 --- a/examples/apidoc/RestClientV2/getEarnSavingsSubscription.js +++ b/examples/apidoc/RestClientV2/getEarnSavingsSubscription.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getEarnSavingsSubscription(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getEarnSavingsSubscriptionResult.js b/examples/apidoc/RestClientV2/getEarnSavingsSubscriptionResult.js index f611024..da7d7b1 100644 --- a/examples/apidoc/RestClientV2/getEarnSavingsSubscriptionResult.js +++ b/examples/apidoc/RestClientV2/getEarnSavingsSubscriptionResult.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getEarnSavingsSubscriptionResult(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getFundingAssets.js b/examples/apidoc/RestClientV2/getFundingAssets.js index bb42198..3757435 100644 --- a/examples/apidoc/RestClientV2/getFundingAssets.js +++ b/examples/apidoc/RestClientV2/getFundingAssets.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getFundingAssets(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getFuturesAccountAsset.js b/examples/apidoc/RestClientV2/getFuturesAccountAsset.js index 9de377b..cc02496 100644 --- a/examples/apidoc/RestClientV2/getFuturesAccountAsset.js +++ b/examples/apidoc/RestClientV2/getFuturesAccountAsset.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getFuturesAccountAsset(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getFuturesAccountAssets.js b/examples/apidoc/RestClientV2/getFuturesAccountAssets.js index b1a6bb8..ebb261e 100644 --- a/examples/apidoc/RestClientV2/getFuturesAccountAssets.js +++ b/examples/apidoc/RestClientV2/getFuturesAccountAssets.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getFuturesAccountAssets(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getFuturesAccountBills.js b/examples/apidoc/RestClientV2/getFuturesAccountBills.js index 71ca462..c36839e 100644 --- a/examples/apidoc/RestClientV2/getFuturesAccountBills.js +++ b/examples/apidoc/RestClientV2/getFuturesAccountBills.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getFuturesAccountBills(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getFuturesActiveBuySellVolumeData.js b/examples/apidoc/RestClientV2/getFuturesActiveBuySellVolumeData.js index c7fab2c..9bfcbaa 100644 --- a/examples/apidoc/RestClientV2/getFuturesActiveBuySellVolumeData.js +++ b/examples/apidoc/RestClientV2/getFuturesActiveBuySellVolumeData.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getFuturesActiveBuySellVolumeData(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getFuturesActiveLongShortAccountData.js b/examples/apidoc/RestClientV2/getFuturesActiveLongShortAccountData.js index d73538e..4bd6204 100644 --- a/examples/apidoc/RestClientV2/getFuturesActiveLongShortAccountData.js +++ b/examples/apidoc/RestClientV2/getFuturesActiveLongShortAccountData.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getFuturesActiveLongShortAccountData(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getFuturesActiveLongShortPositionData.js b/examples/apidoc/RestClientV2/getFuturesActiveLongShortPositionData.js index 1bb14d3..933c24d 100644 --- a/examples/apidoc/RestClientV2/getFuturesActiveLongShortPositionData.js +++ b/examples/apidoc/RestClientV2/getFuturesActiveLongShortPositionData.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getFuturesActiveLongShortPositionData(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getFuturesActiveTakerBuySellVolumeData.js b/examples/apidoc/RestClientV2/getFuturesActiveTakerBuySellVolumeData.js index 52f50e9..d3b9144 100644 --- a/examples/apidoc/RestClientV2/getFuturesActiveTakerBuySellVolumeData.js +++ b/examples/apidoc/RestClientV2/getFuturesActiveTakerBuySellVolumeData.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getFuturesActiveTakerBuySellVolumeData(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getFuturesAllTickers.js b/examples/apidoc/RestClientV2/getFuturesAllTickers.js index 26aa9dc..f5c3c53 100644 --- a/examples/apidoc/RestClientV2/getFuturesAllTickers.js +++ b/examples/apidoc/RestClientV2/getFuturesAllTickers.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getFuturesAllTickers(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getFuturesCandles.js b/examples/apidoc/RestClientV2/getFuturesCandles.js index 2fac5f9..8c8cf57 100644 --- a/examples/apidoc/RestClientV2/getFuturesCandles.js +++ b/examples/apidoc/RestClientV2/getFuturesCandles.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getFuturesCandles(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getFuturesContractConfig.js b/examples/apidoc/RestClientV2/getFuturesContractConfig.js index 452dac0..cf7e6a2 100644 --- a/examples/apidoc/RestClientV2/getFuturesContractConfig.js +++ b/examples/apidoc/RestClientV2/getFuturesContractConfig.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getFuturesContractConfig(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getFuturesCurrentFundingRate.js b/examples/apidoc/RestClientV2/getFuturesCurrentFundingRate.js index 102e6d4..13a5e92 100644 --- a/examples/apidoc/RestClientV2/getFuturesCurrentFundingRate.js +++ b/examples/apidoc/RestClientV2/getFuturesCurrentFundingRate.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getFuturesCurrentFundingRate(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getFuturesFills.js b/examples/apidoc/RestClientV2/getFuturesFills.js index 6479a6f..9947a9f 100644 --- a/examples/apidoc/RestClientV2/getFuturesFills.js +++ b/examples/apidoc/RestClientV2/getFuturesFills.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getFuturesFills(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getFuturesFollowerCurrentOrders.js b/examples/apidoc/RestClientV2/getFuturesFollowerCurrentOrders.js index 9b36c49..810c42e 100644 --- a/examples/apidoc/RestClientV2/getFuturesFollowerCurrentOrders.js +++ b/examples/apidoc/RestClientV2/getFuturesFollowerCurrentOrders.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getFuturesFollowerCurrentOrders(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getFuturesFollowerFollowLimit.js b/examples/apidoc/RestClientV2/getFuturesFollowerFollowLimit.js index fe6db8d..c0e1ba2 100644 --- a/examples/apidoc/RestClientV2/getFuturesFollowerFollowLimit.js +++ b/examples/apidoc/RestClientV2/getFuturesFollowerFollowLimit.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getFuturesFollowerFollowLimit(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getFuturesFollowerHistoryOrders.js b/examples/apidoc/RestClientV2/getFuturesFollowerHistoryOrders.js index eeec509..e49030e 100644 --- a/examples/apidoc/RestClientV2/getFuturesFollowerHistoryOrders.js +++ b/examples/apidoc/RestClientV2/getFuturesFollowerHistoryOrders.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getFuturesFollowerHistoryOrders(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getFuturesFollowerSettings.js b/examples/apidoc/RestClientV2/getFuturesFollowerSettings.js index 3c83377..3ce4719 100644 --- a/examples/apidoc/RestClientV2/getFuturesFollowerSettings.js +++ b/examples/apidoc/RestClientV2/getFuturesFollowerSettings.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getFuturesFollowerSettings(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getFuturesFollowerTraders.js b/examples/apidoc/RestClientV2/getFuturesFollowerTraders.js index 9c678fd..47a4409 100644 --- a/examples/apidoc/RestClientV2/getFuturesFollowerTraders.js +++ b/examples/apidoc/RestClientV2/getFuturesFollowerTraders.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getFuturesFollowerTraders(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getFuturesHistoricCandles.js b/examples/apidoc/RestClientV2/getFuturesHistoricCandles.js index abd36e2..f6812a5 100644 --- a/examples/apidoc/RestClientV2/getFuturesHistoricCandles.js +++ b/examples/apidoc/RestClientV2/getFuturesHistoricCandles.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getFuturesHistoricCandles(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getFuturesHistoricFundingRates.js b/examples/apidoc/RestClientV2/getFuturesHistoricFundingRates.js index c6881f2..2cf6b21 100644 --- a/examples/apidoc/RestClientV2/getFuturesHistoricFundingRates.js +++ b/examples/apidoc/RestClientV2/getFuturesHistoricFundingRates.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getFuturesHistoricFundingRates(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getFuturesHistoricIndexPriceCandles.js b/examples/apidoc/RestClientV2/getFuturesHistoricIndexPriceCandles.js index 82b4ee0..f4976f8 100644 --- a/examples/apidoc/RestClientV2/getFuturesHistoricIndexPriceCandles.js +++ b/examples/apidoc/RestClientV2/getFuturesHistoricIndexPriceCandles.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getFuturesHistoricIndexPriceCandles(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getFuturesHistoricMarkPriceCandles.js b/examples/apidoc/RestClientV2/getFuturesHistoricMarkPriceCandles.js index 190371c..22f6e0c 100644 --- a/examples/apidoc/RestClientV2/getFuturesHistoricMarkPriceCandles.js +++ b/examples/apidoc/RestClientV2/getFuturesHistoricMarkPriceCandles.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getFuturesHistoricMarkPriceCandles(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getFuturesHistoricOrderFills.js b/examples/apidoc/RestClientV2/getFuturesHistoricOrderFills.js index 75d653c..521044d 100644 --- a/examples/apidoc/RestClientV2/getFuturesHistoricOrderFills.js +++ b/examples/apidoc/RestClientV2/getFuturesHistoricOrderFills.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getFuturesHistoricOrderFills(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getFuturesHistoricOrders.js b/examples/apidoc/RestClientV2/getFuturesHistoricOrders.js index e38b07c..c994fbf 100644 --- a/examples/apidoc/RestClientV2/getFuturesHistoricOrders.js +++ b/examples/apidoc/RestClientV2/getFuturesHistoricOrders.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getFuturesHistoricOrders(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getFuturesHistoricPlanOrders.js b/examples/apidoc/RestClientV2/getFuturesHistoricPlanOrders.js index 8379ab4..2ba92cb 100644 --- a/examples/apidoc/RestClientV2/getFuturesHistoricPlanOrders.js +++ b/examples/apidoc/RestClientV2/getFuturesHistoricPlanOrders.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getFuturesHistoricPlanOrders(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getFuturesHistoricPositions.js b/examples/apidoc/RestClientV2/getFuturesHistoricPositions.js index fc342b3..8cdc936 100644 --- a/examples/apidoc/RestClientV2/getFuturesHistoricPositions.js +++ b/examples/apidoc/RestClientV2/getFuturesHistoricPositions.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getFuturesHistoricPositions(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getFuturesHistoricTrades.js b/examples/apidoc/RestClientV2/getFuturesHistoricTrades.js index 8523a83..2b24362 100644 --- a/examples/apidoc/RestClientV2/getFuturesHistoricTrades.js +++ b/examples/apidoc/RestClientV2/getFuturesHistoricTrades.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getFuturesHistoricTrades(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getFuturesLongShortRatio.js b/examples/apidoc/RestClientV2/getFuturesLongShortRatio.js index b24f791..981ffb4 100644 --- a/examples/apidoc/RestClientV2/getFuturesLongShortRatio.js +++ b/examples/apidoc/RestClientV2/getFuturesLongShortRatio.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getFuturesLongShortRatio(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getFuturesMergeDepth.js b/examples/apidoc/RestClientV2/getFuturesMergeDepth.js index 667bfb1..74f5f00 100644 --- a/examples/apidoc/RestClientV2/getFuturesMergeDepth.js +++ b/examples/apidoc/RestClientV2/getFuturesMergeDepth.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getFuturesMergeDepth(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getFuturesNextFundingTime.js b/examples/apidoc/RestClientV2/getFuturesNextFundingTime.js index 3787017..67d0c6e 100644 --- a/examples/apidoc/RestClientV2/getFuturesNextFundingTime.js +++ b/examples/apidoc/RestClientV2/getFuturesNextFundingTime.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getFuturesNextFundingTime(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getFuturesOpenCount.js b/examples/apidoc/RestClientV2/getFuturesOpenCount.js index 2ecbe99..799e2c5 100644 --- a/examples/apidoc/RestClientV2/getFuturesOpenCount.js +++ b/examples/apidoc/RestClientV2/getFuturesOpenCount.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getFuturesOpenCount(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getFuturesOpenInterest.js b/examples/apidoc/RestClientV2/getFuturesOpenInterest.js index f48707e..00e55a1 100644 --- a/examples/apidoc/RestClientV2/getFuturesOpenInterest.js +++ b/examples/apidoc/RestClientV2/getFuturesOpenInterest.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getFuturesOpenInterest(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getFuturesOpenOrders.js b/examples/apidoc/RestClientV2/getFuturesOpenOrders.js index e8f3d55..e3a2a50 100644 --- a/examples/apidoc/RestClientV2/getFuturesOpenOrders.js +++ b/examples/apidoc/RestClientV2/getFuturesOpenOrders.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getFuturesOpenOrders(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getFuturesOrder.js b/examples/apidoc/RestClientV2/getFuturesOrder.js index 5f51130..2c83725 100644 --- a/examples/apidoc/RestClientV2/getFuturesOrder.js +++ b/examples/apidoc/RestClientV2/getFuturesOrder.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getFuturesOrder(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getFuturesPlanOrders.js b/examples/apidoc/RestClientV2/getFuturesPlanOrders.js index 32c7cba..88064c4 100644 --- a/examples/apidoc/RestClientV2/getFuturesPlanOrders.js +++ b/examples/apidoc/RestClientV2/getFuturesPlanOrders.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getFuturesPlanOrders(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getFuturesPosition.js b/examples/apidoc/RestClientV2/getFuturesPosition.js index bdf0a79..b46ed4d 100644 --- a/examples/apidoc/RestClientV2/getFuturesPosition.js +++ b/examples/apidoc/RestClientV2/getFuturesPosition.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getFuturesPosition(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getFuturesPositionTier.js b/examples/apidoc/RestClientV2/getFuturesPositionTier.js index 568e45d..1264ac4 100644 --- a/examples/apidoc/RestClientV2/getFuturesPositionTier.js +++ b/examples/apidoc/RestClientV2/getFuturesPositionTier.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getFuturesPositionTier(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getFuturesPositions.js b/examples/apidoc/RestClientV2/getFuturesPositions.js index 170250a..a9d8fbe 100644 --- a/examples/apidoc/RestClientV2/getFuturesPositions.js +++ b/examples/apidoc/RestClientV2/getFuturesPositions.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getFuturesPositions(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getFuturesRecentTrades.js b/examples/apidoc/RestClientV2/getFuturesRecentTrades.js index 620f9ec..5d6db54 100644 --- a/examples/apidoc/RestClientV2/getFuturesRecentTrades.js +++ b/examples/apidoc/RestClientV2/getFuturesRecentTrades.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getFuturesRecentTrades(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getFuturesSubAccountAssets.js b/examples/apidoc/RestClientV2/getFuturesSubAccountAssets.js index d1c98e0..ff14ef3 100644 --- a/examples/apidoc/RestClientV2/getFuturesSubAccountAssets.js +++ b/examples/apidoc/RestClientV2/getFuturesSubAccountAssets.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getFuturesSubAccountAssets(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getFuturesSymbolPrice.js b/examples/apidoc/RestClientV2/getFuturesSymbolPrice.js index 588a397..f8da380 100644 --- a/examples/apidoc/RestClientV2/getFuturesSymbolPrice.js +++ b/examples/apidoc/RestClientV2/getFuturesSymbolPrice.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getFuturesSymbolPrice(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getFuturesTicker.js b/examples/apidoc/RestClientV2/getFuturesTicker.js index 76a72d0..24fec9c 100644 --- a/examples/apidoc/RestClientV2/getFuturesTicker.js +++ b/examples/apidoc/RestClientV2/getFuturesTicker.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getFuturesTicker(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getFuturesTraderCurrentOrder.js b/examples/apidoc/RestClientV2/getFuturesTraderCurrentOrder.js index a9cc41f..b324f17 100644 --- a/examples/apidoc/RestClientV2/getFuturesTraderCurrentOrder.js +++ b/examples/apidoc/RestClientV2/getFuturesTraderCurrentOrder.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getFuturesTraderCurrentOrder(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getFuturesTraderFollowers.js b/examples/apidoc/RestClientV2/getFuturesTraderFollowers.js index bdcc8e1..991ec56 100644 --- a/examples/apidoc/RestClientV2/getFuturesTraderFollowers.js +++ b/examples/apidoc/RestClientV2/getFuturesTraderFollowers.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getFuturesTraderFollowers(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getFuturesTraderHistoryOrders.js b/examples/apidoc/RestClientV2/getFuturesTraderHistoryOrders.js index 86bf2f5..004d8d7 100644 --- a/examples/apidoc/RestClientV2/getFuturesTraderHistoryOrders.js +++ b/examples/apidoc/RestClientV2/getFuturesTraderHistoryOrders.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getFuturesTraderHistoryOrders(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getFuturesTraderOrder.js b/examples/apidoc/RestClientV2/getFuturesTraderOrder.js index 1085fcd..9858155 100644 --- a/examples/apidoc/RestClientV2/getFuturesTraderOrder.js +++ b/examples/apidoc/RestClientV2/getFuturesTraderOrder.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getFuturesTraderOrder(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getFuturesTraderProfitHistory.js b/examples/apidoc/RestClientV2/getFuturesTraderProfitHistory.js index d5382e6..b2c2db1 100644 --- a/examples/apidoc/RestClientV2/getFuturesTraderProfitHistory.js +++ b/examples/apidoc/RestClientV2/getFuturesTraderProfitHistory.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getFuturesTraderProfitHistory(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getFuturesTraderProfitShare.js b/examples/apidoc/RestClientV2/getFuturesTraderProfitShare.js index b1d3ff2..4ba2471 100644 --- a/examples/apidoc/RestClientV2/getFuturesTraderProfitShare.js +++ b/examples/apidoc/RestClientV2/getFuturesTraderProfitShare.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getFuturesTraderProfitShare(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getFuturesTraderProfitShareGroup.js b/examples/apidoc/RestClientV2/getFuturesTraderProfitShareGroup.js index 18e2bf5..48ec7a8 100644 --- a/examples/apidoc/RestClientV2/getFuturesTraderProfitShareGroup.js +++ b/examples/apidoc/RestClientV2/getFuturesTraderProfitShareGroup.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getFuturesTraderProfitShareGroup(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getFuturesTraderProfitShareHistory.js b/examples/apidoc/RestClientV2/getFuturesTraderProfitShareHistory.js index 1fdbe6c..e9b8760 100644 --- a/examples/apidoc/RestClientV2/getFuturesTraderProfitShareHistory.js +++ b/examples/apidoc/RestClientV2/getFuturesTraderProfitShareHistory.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getFuturesTraderProfitShareHistory(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getFuturesTraderSymbolSettings.js b/examples/apidoc/RestClientV2/getFuturesTraderSymbolSettings.js index 9606c70..85c2e43 100644 --- a/examples/apidoc/RestClientV2/getFuturesTraderSymbolSettings.js +++ b/examples/apidoc/RestClientV2/getFuturesTraderSymbolSettings.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getFuturesTraderSymbolSettings(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getFuturesTransactionRecords.js b/examples/apidoc/RestClientV2/getFuturesTransactionRecords.js index ad2fd5d..883b8dd 100644 --- a/examples/apidoc/RestClientV2/getFuturesTransactionRecords.js +++ b/examples/apidoc/RestClientV2/getFuturesTransactionRecords.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getFuturesTransactionRecords(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getFuturesVIPFeeRate.js b/examples/apidoc/RestClientV2/getFuturesVIPFeeRate.js index 7b01da2..fee982f 100644 --- a/examples/apidoc/RestClientV2/getFuturesVIPFeeRate.js +++ b/examples/apidoc/RestClientV2/getFuturesVIPFeeRate.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getFuturesVIPFeeRate(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getIsolatedMarginBorrowingRatio.js b/examples/apidoc/RestClientV2/getIsolatedMarginBorrowingRatio.js index 4eadabb..b2bb69a 100644 --- a/examples/apidoc/RestClientV2/getIsolatedMarginBorrowingRatio.js +++ b/examples/apidoc/RestClientV2/getIsolatedMarginBorrowingRatio.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getIsolatedMarginBorrowingRatio(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getLoanCurrencies.js b/examples/apidoc/RestClientV2/getLoanCurrencies.js index c7b3952..dd448c7 100644 --- a/examples/apidoc/RestClientV2/getLoanCurrencies.js +++ b/examples/apidoc/RestClientV2/getLoanCurrencies.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getLoanCurrencies(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getLoanDebts.js b/examples/apidoc/RestClientV2/getLoanDebts.js index 231d68c..7fd8420 100644 --- a/examples/apidoc/RestClientV2/getLoanDebts.js +++ b/examples/apidoc/RestClientV2/getLoanDebts.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getLoanDebts(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getLoanEstInterestAndBorrowable.js b/examples/apidoc/RestClientV2/getLoanEstInterestAndBorrowable.js index 132ace0..c0c6fdd 100644 --- a/examples/apidoc/RestClientV2/getLoanEstInterestAndBorrowable.js +++ b/examples/apidoc/RestClientV2/getLoanEstInterestAndBorrowable.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getLoanEstInterestAndBorrowable(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getLoanHistory.js b/examples/apidoc/RestClientV2/getLoanHistory.js index 3d154fd..b68af47 100644 --- a/examples/apidoc/RestClientV2/getLoanHistory.js +++ b/examples/apidoc/RestClientV2/getLoanHistory.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getLoanHistory(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getLoanLiquidationRecords.js b/examples/apidoc/RestClientV2/getLoanLiquidationRecords.js index bd987fd..eb109de 100644 --- a/examples/apidoc/RestClientV2/getLoanLiquidationRecords.js +++ b/examples/apidoc/RestClientV2/getLoanLiquidationRecords.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getLoanLiquidationRecords(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getLoanPledgeRateHistory.js b/examples/apidoc/RestClientV2/getLoanPledgeRateHistory.js index ef55ca1..24e5252 100644 --- a/examples/apidoc/RestClientV2/getLoanPledgeRateHistory.js +++ b/examples/apidoc/RestClientV2/getLoanPledgeRateHistory.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getLoanPledgeRateHistory(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getMarginAccountAssets.js b/examples/apidoc/RestClientV2/getMarginAccountAssets.js index 4f55c70..14cf6f9 100644 --- a/examples/apidoc/RestClientV2/getMarginAccountAssets.js +++ b/examples/apidoc/RestClientV2/getMarginAccountAssets.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getMarginAccountAssets(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getMarginBorrowHistory.js b/examples/apidoc/RestClientV2/getMarginBorrowHistory.js index 1c15941..398a2a8 100644 --- a/examples/apidoc/RestClientV2/getMarginBorrowHistory.js +++ b/examples/apidoc/RestClientV2/getMarginBorrowHistory.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getMarginBorrowHistory(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getMarginCurrencies.js b/examples/apidoc/RestClientV2/getMarginCurrencies.js index 3b5d5fd..a789413 100644 --- a/examples/apidoc/RestClientV2/getMarginCurrencies.js +++ b/examples/apidoc/RestClientV2/getMarginCurrencies.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getMarginCurrencies(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getMarginFinancialHistory.js b/examples/apidoc/RestClientV2/getMarginFinancialHistory.js index 7769846..e7fbdb9 100644 --- a/examples/apidoc/RestClientV2/getMarginFinancialHistory.js +++ b/examples/apidoc/RestClientV2/getMarginFinancialHistory.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getMarginFinancialHistory(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getMarginFlashRepayResult.js b/examples/apidoc/RestClientV2/getMarginFlashRepayResult.js index b642cbb..683e24e 100644 --- a/examples/apidoc/RestClientV2/getMarginFlashRepayResult.js +++ b/examples/apidoc/RestClientV2/getMarginFlashRepayResult.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getMarginFlashRepayResult(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getMarginHistoricOrderFills.js b/examples/apidoc/RestClientV2/getMarginHistoricOrderFills.js index 14a5b02..e0338c3 100644 --- a/examples/apidoc/RestClientV2/getMarginHistoricOrderFills.js +++ b/examples/apidoc/RestClientV2/getMarginHistoricOrderFills.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getMarginHistoricOrderFills(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getMarginHistoricOrders.js b/examples/apidoc/RestClientV2/getMarginHistoricOrders.js index 45ae8cf..9febbc5 100644 --- a/examples/apidoc/RestClientV2/getMarginHistoricOrders.js +++ b/examples/apidoc/RestClientV2/getMarginHistoricOrders.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getMarginHistoricOrders(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getMarginInterestHistory.js b/examples/apidoc/RestClientV2/getMarginInterestHistory.js index 2cd54ad..81bc08f 100644 --- a/examples/apidoc/RestClientV2/getMarginInterestHistory.js +++ b/examples/apidoc/RestClientV2/getMarginInterestHistory.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getMarginInterestHistory(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getMarginInterestRateAndMaxBorrowable.js b/examples/apidoc/RestClientV2/getMarginInterestRateAndMaxBorrowable.js index 94431a0..3e31ad8 100644 --- a/examples/apidoc/RestClientV2/getMarginInterestRateAndMaxBorrowable.js +++ b/examples/apidoc/RestClientV2/getMarginInterestRateAndMaxBorrowable.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getMarginInterestRateAndMaxBorrowable(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getMarginLiquidationHistory.js b/examples/apidoc/RestClientV2/getMarginLiquidationHistory.js index 89df9d2..daeb2fa 100644 --- a/examples/apidoc/RestClientV2/getMarginLiquidationHistory.js +++ b/examples/apidoc/RestClientV2/getMarginLiquidationHistory.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getMarginLiquidationHistory(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getMarginLiquidationOrders.js b/examples/apidoc/RestClientV2/getMarginLiquidationOrders.js index baf7016..fcb66e5 100644 --- a/examples/apidoc/RestClientV2/getMarginLiquidationOrders.js +++ b/examples/apidoc/RestClientV2/getMarginLiquidationOrders.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getMarginLiquidationOrders(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getMarginLoanGrowthRate.js b/examples/apidoc/RestClientV2/getMarginLoanGrowthRate.js index 5c209dd..03d8fbe 100644 --- a/examples/apidoc/RestClientV2/getMarginLoanGrowthRate.js +++ b/examples/apidoc/RestClientV2/getMarginLoanGrowthRate.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getMarginLoanGrowthRate(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getMarginMaxBorrowable.js b/examples/apidoc/RestClientV2/getMarginMaxBorrowable.js index b55ce9f..ccee847 100644 --- a/examples/apidoc/RestClientV2/getMarginMaxBorrowable.js +++ b/examples/apidoc/RestClientV2/getMarginMaxBorrowable.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getMarginMaxBorrowable(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getMarginMaxTransferable.js b/examples/apidoc/RestClientV2/getMarginMaxTransferable.js index 7bb353f..0a5d3fe 100644 --- a/examples/apidoc/RestClientV2/getMarginMaxTransferable.js +++ b/examples/apidoc/RestClientV2/getMarginMaxTransferable.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getMarginMaxTransferable(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getMarginOpenOrders.js b/examples/apidoc/RestClientV2/getMarginOpenOrders.js index 70de093..00d7439 100644 --- a/examples/apidoc/RestClientV2/getMarginOpenOrders.js +++ b/examples/apidoc/RestClientV2/getMarginOpenOrders.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getMarginOpenOrders(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getMarginRepayHistory.js b/examples/apidoc/RestClientV2/getMarginRepayHistory.js index feb22c6..5bc06a0 100644 --- a/examples/apidoc/RestClientV2/getMarginRepayHistory.js +++ b/examples/apidoc/RestClientV2/getMarginRepayHistory.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getMarginRepayHistory(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getMarginRiskRate.js b/examples/apidoc/RestClientV2/getMarginRiskRate.js index 42c8b16..3644f50 100644 --- a/examples/apidoc/RestClientV2/getMarginRiskRate.js +++ b/examples/apidoc/RestClientV2/getMarginRiskRate.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getMarginRiskRate(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getMarginTierConfiguration.js b/examples/apidoc/RestClientV2/getMarginTierConfiguration.js index 9e68bc7..00e4b80 100644 --- a/examples/apidoc/RestClientV2/getMarginTierConfiguration.js +++ b/examples/apidoc/RestClientV2/getMarginTierConfiguration.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getMarginTierConfiguration(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getMarginTransactionRecords.js b/examples/apidoc/RestClientV2/getMarginTransactionRecords.js index 8d9c1d3..faaff01 100644 --- a/examples/apidoc/RestClientV2/getMarginTransactionRecords.js +++ b/examples/apidoc/RestClientV2/getMarginTransactionRecords.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getMarginTransactionRecords(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getOngoingLoanOrders.js b/examples/apidoc/RestClientV2/getOngoingLoanOrders.js index 67f4166..5e55f7a 100644 --- a/examples/apidoc/RestClientV2/getOngoingLoanOrders.js +++ b/examples/apidoc/RestClientV2/getOngoingLoanOrders.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getOngoingLoanOrders(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getP2PMerchantAdvertisementList.js b/examples/apidoc/RestClientV2/getP2PMerchantAdvertisementList.js index 6126578..4d948fa 100644 --- a/examples/apidoc/RestClientV2/getP2PMerchantAdvertisementList.js +++ b/examples/apidoc/RestClientV2/getP2PMerchantAdvertisementList.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getP2PMerchantAdvertisementList(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getP2PMerchantInfo.js b/examples/apidoc/RestClientV2/getP2PMerchantInfo.js index cd82525..354dbca 100644 --- a/examples/apidoc/RestClientV2/getP2PMerchantInfo.js +++ b/examples/apidoc/RestClientV2/getP2PMerchantInfo.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getP2PMerchantInfo(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getP2PMerchantList.js b/examples/apidoc/RestClientV2/getP2PMerchantList.js index 60e8a70..db842fe 100644 --- a/examples/apidoc/RestClientV2/getP2PMerchantList.js +++ b/examples/apidoc/RestClientV2/getP2PMerchantList.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getP2PMerchantList(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getP2PMerchantOrders.js b/examples/apidoc/RestClientV2/getP2PMerchantOrders.js index 49fa17f..a9387bb 100644 --- a/examples/apidoc/RestClientV2/getP2PMerchantOrders.js +++ b/examples/apidoc/RestClientV2/getP2PMerchantOrders.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getP2PMerchantOrders(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getP2PTransactionRecords.js b/examples/apidoc/RestClientV2/getP2PTransactionRecords.js index 6520ee9..69cb180 100644 --- a/examples/apidoc/RestClientV2/getP2PTransactionRecords.js +++ b/examples/apidoc/RestClientV2/getP2PTransactionRecords.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getP2PTransactionRecords(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getRepayHistory.js b/examples/apidoc/RestClientV2/getRepayHistory.js index e981221..9531bd6 100644 --- a/examples/apidoc/RestClientV2/getRepayHistory.js +++ b/examples/apidoc/RestClientV2/getRepayHistory.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getRepayHistory(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getServerTime.js b/examples/apidoc/RestClientV2/getServerTime.js index 945551b..9c76a5c 100644 --- a/examples/apidoc/RestClientV2/getServerTime.js +++ b/examples/apidoc/RestClientV2/getServerTime.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getServerTime(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getSharkfinAccount.js b/examples/apidoc/RestClientV2/getSharkfinAccount.js index e88e677..6a07b2f 100644 --- a/examples/apidoc/RestClientV2/getSharkfinAccount.js +++ b/examples/apidoc/RestClientV2/getSharkfinAccount.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getSharkfinAccount(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getSharkfinAssets.js b/examples/apidoc/RestClientV2/getSharkfinAssets.js index 1508b29..263a647 100644 --- a/examples/apidoc/RestClientV2/getSharkfinAssets.js +++ b/examples/apidoc/RestClientV2/getSharkfinAssets.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getSharkfinAssets(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getSharkfinProducts.js b/examples/apidoc/RestClientV2/getSharkfinProducts.js index eb3a26c..eac7789 100644 --- a/examples/apidoc/RestClientV2/getSharkfinProducts.js +++ b/examples/apidoc/RestClientV2/getSharkfinProducts.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getSharkfinProducts(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getSharkfinRecords.js b/examples/apidoc/RestClientV2/getSharkfinRecords.js index 0432a68..238fd07 100644 --- a/examples/apidoc/RestClientV2/getSharkfinRecords.js +++ b/examples/apidoc/RestClientV2/getSharkfinRecords.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getSharkfinRecords(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getSharkfinSubscription.js b/examples/apidoc/RestClientV2/getSharkfinSubscription.js index 8380123..34572ef 100644 --- a/examples/apidoc/RestClientV2/getSharkfinSubscription.js +++ b/examples/apidoc/RestClientV2/getSharkfinSubscription.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getSharkfinSubscription(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getSharkfinSubscriptionResult.js b/examples/apidoc/RestClientV2/getSharkfinSubscriptionResult.js index 1c63a43..16ecf7d 100644 --- a/examples/apidoc/RestClientV2/getSharkfinSubscriptionResult.js +++ b/examples/apidoc/RestClientV2/getSharkfinSubscriptionResult.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getSharkfinSubscriptionResult(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getSpotAccount.js b/examples/apidoc/RestClientV2/getSpotAccount.js index 0a81904..0fe4a58 100644 --- a/examples/apidoc/RestClientV2/getSpotAccount.js +++ b/examples/apidoc/RestClientV2/getSpotAccount.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getSpotAccount(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getSpotAccountAssets.js b/examples/apidoc/RestClientV2/getSpotAccountAssets.js index cb9241e..40621b4 100644 --- a/examples/apidoc/RestClientV2/getSpotAccountAssets.js +++ b/examples/apidoc/RestClientV2/getSpotAccountAssets.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getSpotAccountAssets(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getSpotAccountBills.js b/examples/apidoc/RestClientV2/getSpotAccountBills.js index fd43a28..7e78b79 100644 --- a/examples/apidoc/RestClientV2/getSpotAccountBills.js +++ b/examples/apidoc/RestClientV2/getSpotAccountBills.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getSpotAccountBills(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getSpotBGBDeductInfo.js b/examples/apidoc/RestClientV2/getSpotBGBDeductInfo.js index 620f0e4..2ef8055 100644 --- a/examples/apidoc/RestClientV2/getSpotBGBDeductInfo.js +++ b/examples/apidoc/RestClientV2/getSpotBGBDeductInfo.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getSpotBGBDeductInfo(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getSpotCandles.js b/examples/apidoc/RestClientV2/getSpotCandles.js index 10748a2..ace625d 100644 --- a/examples/apidoc/RestClientV2/getSpotCandles.js +++ b/examples/apidoc/RestClientV2/getSpotCandles.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getSpotCandles(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getSpotCoinInfo.js b/examples/apidoc/RestClientV2/getSpotCoinInfo.js index 52e9adb..7da5f97 100644 --- a/examples/apidoc/RestClientV2/getSpotCoinInfo.js +++ b/examples/apidoc/RestClientV2/getSpotCoinInfo.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getSpotCoinInfo(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getSpotCurrentPlanOrders.js b/examples/apidoc/RestClientV2/getSpotCurrentPlanOrders.js index c8ddec5..4a7b3a5 100644 --- a/examples/apidoc/RestClientV2/getSpotCurrentPlanOrders.js +++ b/examples/apidoc/RestClientV2/getSpotCurrentPlanOrders.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getSpotCurrentPlanOrders(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getSpotDepositAddress.js b/examples/apidoc/RestClientV2/getSpotDepositAddress.js index a2f8f08..b9c120e 100644 --- a/examples/apidoc/RestClientV2/getSpotDepositAddress.js +++ b/examples/apidoc/RestClientV2/getSpotDepositAddress.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getSpotDepositAddress(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getSpotDepositHistory.js b/examples/apidoc/RestClientV2/getSpotDepositHistory.js index 0d1ff2b..242e422 100644 --- a/examples/apidoc/RestClientV2/getSpotDepositHistory.js +++ b/examples/apidoc/RestClientV2/getSpotDepositHistory.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getSpotDepositHistory(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getSpotFills.js b/examples/apidoc/RestClientV2/getSpotFills.js index 0ed8d91..7edf03c 100644 --- a/examples/apidoc/RestClientV2/getSpotFills.js +++ b/examples/apidoc/RestClientV2/getSpotFills.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getSpotFills(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getSpotFollowerCurrentTraderSymbols.js b/examples/apidoc/RestClientV2/getSpotFollowerCurrentTraderSymbols.js index 47bc570..ef9eeac 100644 --- a/examples/apidoc/RestClientV2/getSpotFollowerCurrentTraderSymbols.js +++ b/examples/apidoc/RestClientV2/getSpotFollowerCurrentTraderSymbols.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getSpotFollowerCurrentTraderSymbols(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getSpotFollowerHistoryOrders.js b/examples/apidoc/RestClientV2/getSpotFollowerHistoryOrders.js index fb18f53..9a24310 100644 --- a/examples/apidoc/RestClientV2/getSpotFollowerHistoryOrders.js +++ b/examples/apidoc/RestClientV2/getSpotFollowerHistoryOrders.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getSpotFollowerHistoryOrders(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getSpotFollowerOpenOrders.js b/examples/apidoc/RestClientV2/getSpotFollowerOpenOrders.js index b84414a..fa00ab1 100644 --- a/examples/apidoc/RestClientV2/getSpotFollowerOpenOrders.js +++ b/examples/apidoc/RestClientV2/getSpotFollowerOpenOrders.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getSpotFollowerOpenOrders(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getSpotFollowerSettings.js b/examples/apidoc/RestClientV2/getSpotFollowerSettings.js index eef36da..8f17cd8 100644 --- a/examples/apidoc/RestClientV2/getSpotFollowerSettings.js +++ b/examples/apidoc/RestClientV2/getSpotFollowerSettings.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getSpotFollowerSettings(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getSpotFollowerTraders.js b/examples/apidoc/RestClientV2/getSpotFollowerTraders.js index 8a31f48..9daafb9 100644 --- a/examples/apidoc/RestClientV2/getSpotFollowerTraders.js +++ b/examples/apidoc/RestClientV2/getSpotFollowerTraders.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getSpotFollowerTraders(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getSpotFundFlow.js b/examples/apidoc/RestClientV2/getSpotFundFlow.js index a034dbf..84053e3 100644 --- a/examples/apidoc/RestClientV2/getSpotFundFlow.js +++ b/examples/apidoc/RestClientV2/getSpotFundFlow.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getSpotFundFlow(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getSpotFundNetFlowData.js b/examples/apidoc/RestClientV2/getSpotFundNetFlowData.js index 1432f6a..6009675 100644 --- a/examples/apidoc/RestClientV2/getSpotFundNetFlowData.js +++ b/examples/apidoc/RestClientV2/getSpotFundNetFlowData.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getSpotFundNetFlowData(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getSpotHistoricCandles.js b/examples/apidoc/RestClientV2/getSpotHistoricCandles.js index e9ef8ff..a1d9d29 100644 --- a/examples/apidoc/RestClientV2/getSpotHistoricCandles.js +++ b/examples/apidoc/RestClientV2/getSpotHistoricCandles.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getSpotHistoricCandles(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getSpotHistoricOrders.js b/examples/apidoc/RestClientV2/getSpotHistoricOrders.js index 8cfbaa0..cdd73de 100644 --- a/examples/apidoc/RestClientV2/getSpotHistoricOrders.js +++ b/examples/apidoc/RestClientV2/getSpotHistoricOrders.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getSpotHistoricOrders(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getSpotHistoricPlanOrders.js b/examples/apidoc/RestClientV2/getSpotHistoricPlanOrders.js index bffe500..9d76442 100644 --- a/examples/apidoc/RestClientV2/getSpotHistoricPlanOrders.js +++ b/examples/apidoc/RestClientV2/getSpotHistoricPlanOrders.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getSpotHistoricPlanOrders(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getSpotHistoricTrades.js b/examples/apidoc/RestClientV2/getSpotHistoricTrades.js index 19ca2fe..121ea94 100644 --- a/examples/apidoc/RestClientV2/getSpotHistoricTrades.js +++ b/examples/apidoc/RestClientV2/getSpotHistoricTrades.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getSpotHistoricTrades(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getSpotMainSubTransferRecord.js b/examples/apidoc/RestClientV2/getSpotMainSubTransferRecord.js index c66b179..f7dc78f 100644 --- a/examples/apidoc/RestClientV2/getSpotMainSubTransferRecord.js +++ b/examples/apidoc/RestClientV2/getSpotMainSubTransferRecord.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getSpotMainSubTransferRecord(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getSpotMergeDepth.js b/examples/apidoc/RestClientV2/getSpotMergeDepth.js index 3ddaf71..f3dd36d 100644 --- a/examples/apidoc/RestClientV2/getSpotMergeDepth.js +++ b/examples/apidoc/RestClientV2/getSpotMergeDepth.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getSpotMergeDepth(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getSpotOpenOrders.js b/examples/apidoc/RestClientV2/getSpotOpenOrders.js index 5ff14ea..319e623 100644 --- a/examples/apidoc/RestClientV2/getSpotOpenOrders.js +++ b/examples/apidoc/RestClientV2/getSpotOpenOrders.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getSpotOpenOrders(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getSpotOrder.js b/examples/apidoc/RestClientV2/getSpotOrder.js index 7c8cb9e..5623bb1 100644 --- a/examples/apidoc/RestClientV2/getSpotOrder.js +++ b/examples/apidoc/RestClientV2/getSpotOrder.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getSpotOrder(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getSpotOrderBookDepth.js b/examples/apidoc/RestClientV2/getSpotOrderBookDepth.js index cc2c05c..83d3dbe 100644 --- a/examples/apidoc/RestClientV2/getSpotOrderBookDepth.js +++ b/examples/apidoc/RestClientV2/getSpotOrderBookDepth.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getSpotOrderBookDepth(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getSpotPlanSubOrder.js b/examples/apidoc/RestClientV2/getSpotPlanSubOrder.js index 7197c40..bc05062 100644 --- a/examples/apidoc/RestClientV2/getSpotPlanSubOrder.js +++ b/examples/apidoc/RestClientV2/getSpotPlanSubOrder.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getSpotPlanSubOrder(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getSpotRecentTrades.js b/examples/apidoc/RestClientV2/getSpotRecentTrades.js index 6ca8570..fcece1a 100644 --- a/examples/apidoc/RestClientV2/getSpotRecentTrades.js +++ b/examples/apidoc/RestClientV2/getSpotRecentTrades.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getSpotRecentTrades(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getSpotSubAccountAssets.js b/examples/apidoc/RestClientV2/getSpotSubAccountAssets.js index 420d8bf..7ad9cc8 100644 --- a/examples/apidoc/RestClientV2/getSpotSubAccountAssets.js +++ b/examples/apidoc/RestClientV2/getSpotSubAccountAssets.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getSpotSubAccountAssets(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getSpotSubDepositAddress.js b/examples/apidoc/RestClientV2/getSpotSubDepositAddress.js index 8a3396c..3c327b2 100644 --- a/examples/apidoc/RestClientV2/getSpotSubDepositAddress.js +++ b/examples/apidoc/RestClientV2/getSpotSubDepositAddress.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getSpotSubDepositAddress(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getSpotSymbolInfo.js b/examples/apidoc/RestClientV2/getSpotSymbolInfo.js index 4466e70..856541c 100644 --- a/examples/apidoc/RestClientV2/getSpotSymbolInfo.js +++ b/examples/apidoc/RestClientV2/getSpotSymbolInfo.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getSpotSymbolInfo(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getSpotTicker.js b/examples/apidoc/RestClientV2/getSpotTicker.js index 729709c..8b7f846 100644 --- a/examples/apidoc/RestClientV2/getSpotTicker.js +++ b/examples/apidoc/RestClientV2/getSpotTicker.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getSpotTicker(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getSpotTraderConfiguration.js b/examples/apidoc/RestClientV2/getSpotTraderConfiguration.js index 6ba0e55..b71a96e 100644 --- a/examples/apidoc/RestClientV2/getSpotTraderConfiguration.js +++ b/examples/apidoc/RestClientV2/getSpotTraderConfiguration.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getSpotTraderConfiguration(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getSpotTraderCurrentOrders.js b/examples/apidoc/RestClientV2/getSpotTraderCurrentOrders.js index 6816b91..ee43200 100644 --- a/examples/apidoc/RestClientV2/getSpotTraderCurrentOrders.js +++ b/examples/apidoc/RestClientV2/getSpotTraderCurrentOrders.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getSpotTraderCurrentOrders(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getSpotTraderFollowers.js b/examples/apidoc/RestClientV2/getSpotTraderFollowers.js index 71280ca..a588a5d 100644 --- a/examples/apidoc/RestClientV2/getSpotTraderFollowers.js +++ b/examples/apidoc/RestClientV2/getSpotTraderFollowers.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getSpotTraderFollowers(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getSpotTraderHistoryOrders.js b/examples/apidoc/RestClientV2/getSpotTraderHistoryOrders.js index 69eb0dc..610197c 100644 --- a/examples/apidoc/RestClientV2/getSpotTraderHistoryOrders.js +++ b/examples/apidoc/RestClientV2/getSpotTraderHistoryOrders.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getSpotTraderHistoryOrders(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getSpotTraderHistoryProfit.js b/examples/apidoc/RestClientV2/getSpotTraderHistoryProfit.js index 9b93dfc..2d2c53d 100644 --- a/examples/apidoc/RestClientV2/getSpotTraderHistoryProfit.js +++ b/examples/apidoc/RestClientV2/getSpotTraderHistoryProfit.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getSpotTraderHistoryProfit(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getSpotTraderOrder.js b/examples/apidoc/RestClientV2/getSpotTraderOrder.js index 4c4e038..f45f211 100644 --- a/examples/apidoc/RestClientV2/getSpotTraderOrder.js +++ b/examples/apidoc/RestClientV2/getSpotTraderOrder.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getSpotTraderOrder(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getSpotTraderProfit.js b/examples/apidoc/RestClientV2/getSpotTraderProfit.js index a46ada6..3dcf337 100644 --- a/examples/apidoc/RestClientV2/getSpotTraderProfit.js +++ b/examples/apidoc/RestClientV2/getSpotTraderProfit.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getSpotTraderProfit(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getSpotTraderSymbolSettings.js b/examples/apidoc/RestClientV2/getSpotTraderSymbolSettings.js index 719472f..2b1dfb4 100644 --- a/examples/apidoc/RestClientV2/getSpotTraderSymbolSettings.js +++ b/examples/apidoc/RestClientV2/getSpotTraderSymbolSettings.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getSpotTraderSymbolSettings(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getSpotTraderUnrealizedProfit.js b/examples/apidoc/RestClientV2/getSpotTraderUnrealizedProfit.js index b831b9e..6c04478 100644 --- a/examples/apidoc/RestClientV2/getSpotTraderUnrealizedProfit.js +++ b/examples/apidoc/RestClientV2/getSpotTraderUnrealizedProfit.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getSpotTraderUnrealizedProfit(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getSpotTransactionRecords.js b/examples/apidoc/RestClientV2/getSpotTransactionRecords.js index 56c92f9..0234932 100644 --- a/examples/apidoc/RestClientV2/getSpotTransactionRecords.js +++ b/examples/apidoc/RestClientV2/getSpotTransactionRecords.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getSpotTransactionRecords(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getSpotTransferHistory.js b/examples/apidoc/RestClientV2/getSpotTransferHistory.js index 03ded7f..9dd7c9e 100644 --- a/examples/apidoc/RestClientV2/getSpotTransferHistory.js +++ b/examples/apidoc/RestClientV2/getSpotTransferHistory.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getSpotTransferHistory(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getSpotTransferableCoins.js b/examples/apidoc/RestClientV2/getSpotTransferableCoins.js index 82346f1..4027681 100644 --- a/examples/apidoc/RestClientV2/getSpotTransferableCoins.js +++ b/examples/apidoc/RestClientV2/getSpotTransferableCoins.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getSpotTransferableCoins(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getSpotVIPFeeRate.js b/examples/apidoc/RestClientV2/getSpotVIPFeeRate.js index a01806b..79316a5 100644 --- a/examples/apidoc/RestClientV2/getSpotVIPFeeRate.js +++ b/examples/apidoc/RestClientV2/getSpotVIPFeeRate.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getSpotVIPFeeRate(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getSpotWhaleNetFlowData.js b/examples/apidoc/RestClientV2/getSpotWhaleNetFlowData.js index 9442a51..f1b203e 100644 --- a/examples/apidoc/RestClientV2/getSpotWhaleNetFlowData.js +++ b/examples/apidoc/RestClientV2/getSpotWhaleNetFlowData.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getSpotWhaleNetFlowData(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getSpotWithdrawalHistory.js b/examples/apidoc/RestClientV2/getSpotWithdrawalHistory.js index e19e861..7e0458c 100644 --- a/examples/apidoc/RestClientV2/getSpotWithdrawalHistory.js +++ b/examples/apidoc/RestClientV2/getSpotWithdrawalHistory.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getSpotWithdrawalHistory(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getSubAccountDepositRecords.js b/examples/apidoc/RestClientV2/getSubAccountDepositRecords.js index cddedf9..e9eeac6 100644 --- a/examples/apidoc/RestClientV2/getSubAccountDepositRecords.js +++ b/examples/apidoc/RestClientV2/getSubAccountDepositRecords.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getSubAccountDepositRecords(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getSubaccountApiKey.js b/examples/apidoc/RestClientV2/getSubaccountApiKey.js index 54459e3..059701e 100644 --- a/examples/apidoc/RestClientV2/getSubaccountApiKey.js +++ b/examples/apidoc/RestClientV2/getSubaccountApiKey.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getSubaccountApiKey(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getSubaccountEmail.js b/examples/apidoc/RestClientV2/getSubaccountEmail.js index 291a230..2649950 100644 --- a/examples/apidoc/RestClientV2/getSubaccountEmail.js +++ b/examples/apidoc/RestClientV2/getSubaccountEmail.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getSubaccountEmail(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getSubaccountFuturesAssets.js b/examples/apidoc/RestClientV2/getSubaccountFuturesAssets.js index ad25b8f..9803063 100644 --- a/examples/apidoc/RestClientV2/getSubaccountFuturesAssets.js +++ b/examples/apidoc/RestClientV2/getSubaccountFuturesAssets.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getSubaccountFuturesAssets(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getSubaccountSpotAssets.js b/examples/apidoc/RestClientV2/getSubaccountSpotAssets.js index a851d7f..48193d9 100644 --- a/examples/apidoc/RestClientV2/getSubaccountSpotAssets.js +++ b/examples/apidoc/RestClientV2/getSubaccountSpotAssets.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getSubaccountSpotAssets(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getSubaccounts.js b/examples/apidoc/RestClientV2/getSubaccounts.js index 4446035..5346afa 100644 --- a/examples/apidoc/RestClientV2/getSubaccounts.js +++ b/examples/apidoc/RestClientV2/getSubaccounts.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getSubaccounts(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getTradeDataSupportSymbols.js b/examples/apidoc/RestClientV2/getTradeDataSupportSymbols.js index a749263..0fb61ea 100644 --- a/examples/apidoc/RestClientV2/getTradeDataSupportSymbols.js +++ b/examples/apidoc/RestClientV2/getTradeDataSupportSymbols.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getTradeDataSupportSymbols(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getTradeRate.js b/examples/apidoc/RestClientV2/getTradeRate.js index 9dfe80e..bf352fd 100644 --- a/examples/apidoc/RestClientV2/getTradeRate.js +++ b/examples/apidoc/RestClientV2/getTradeRate.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getTradeRate(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getVirtualSubaccountAPIKeys.js b/examples/apidoc/RestClientV2/getVirtualSubaccountAPIKeys.js index 7790692..70b153e 100644 --- a/examples/apidoc/RestClientV2/getVirtualSubaccountAPIKeys.js +++ b/examples/apidoc/RestClientV2/getVirtualSubaccountAPIKeys.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getVirtualSubaccountAPIKeys(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/getVirtualSubaccounts.js b/examples/apidoc/RestClientV2/getVirtualSubaccounts.js index 7c8391a..597ecec 100644 --- a/examples/apidoc/RestClientV2/getVirtualSubaccounts.js +++ b/examples/apidoc/RestClientV2/getVirtualSubaccounts.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.getVirtualSubaccounts(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/marginBatchCancelOrders.js b/examples/apidoc/RestClientV2/marginBatchCancelOrders.js index 88d59c0..5815d3b 100644 --- a/examples/apidoc/RestClientV2/marginBatchCancelOrders.js +++ b/examples/apidoc/RestClientV2/marginBatchCancelOrders.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.marginBatchCancelOrders(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/marginBatchSubmitOrders.js b/examples/apidoc/RestClientV2/marginBatchSubmitOrders.js index afb32fe..1f74fef 100644 --- a/examples/apidoc/RestClientV2/marginBatchSubmitOrders.js +++ b/examples/apidoc/RestClientV2/marginBatchSubmitOrders.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.marginBatchSubmitOrders(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/marginBorrow.js b/examples/apidoc/RestClientV2/marginBorrow.js index f292223..2a9b9de 100644 --- a/examples/apidoc/RestClientV2/marginBorrow.js +++ b/examples/apidoc/RestClientV2/marginBorrow.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.marginBorrow(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/marginCancelOrder.js b/examples/apidoc/RestClientV2/marginCancelOrder.js index 81dfd68..e9b542d 100644 --- a/examples/apidoc/RestClientV2/marginCancelOrder.js +++ b/examples/apidoc/RestClientV2/marginCancelOrder.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.marginCancelOrder(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/marginFlashRepay.js b/examples/apidoc/RestClientV2/marginFlashRepay.js index 587e1ac..e0f2deb 100644 --- a/examples/apidoc/RestClientV2/marginFlashRepay.js +++ b/examples/apidoc/RestClientV2/marginFlashRepay.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.marginFlashRepay(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/marginRepay.js b/examples/apidoc/RestClientV2/marginRepay.js index 7ea8ed0..9ac47a3 100644 --- a/examples/apidoc/RestClientV2/marginRepay.js +++ b/examples/apidoc/RestClientV2/marginRepay.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.marginRepay(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/marginSubmitOrder.js b/examples/apidoc/RestClientV2/marginSubmitOrder.js index e12412f..0d717fe 100644 --- a/examples/apidoc/RestClientV2/marginSubmitOrder.js +++ b/examples/apidoc/RestClientV2/marginSubmitOrder.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.marginSubmitOrder(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/modifyFuturesTraderOrderTPSL.js b/examples/apidoc/RestClientV2/modifyFuturesTraderOrderTPSL.js index dad9425..7e07f36 100644 --- a/examples/apidoc/RestClientV2/modifyFuturesTraderOrderTPSL.js +++ b/examples/apidoc/RestClientV2/modifyFuturesTraderOrderTPSL.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.modifyFuturesTraderOrderTPSL(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/modifySpotTraderOrderTPSL.js b/examples/apidoc/RestClientV2/modifySpotTraderOrderTPSL.js index 683b269..e903027 100644 --- a/examples/apidoc/RestClientV2/modifySpotTraderOrderTPSL.js +++ b/examples/apidoc/RestClientV2/modifySpotTraderOrderTPSL.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.modifySpotTraderOrderTPSL(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/modifySubaccount.js b/examples/apidoc/RestClientV2/modifySubaccount.js index 758072f..f8d9a66 100644 --- a/examples/apidoc/RestClientV2/modifySubaccount.js +++ b/examples/apidoc/RestClientV2/modifySubaccount.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.modifySubaccount(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/modifySubaccountApiKey.js b/examples/apidoc/RestClientV2/modifySubaccountApiKey.js index 314a70a..75555ef 100644 --- a/examples/apidoc/RestClientV2/modifySubaccountApiKey.js +++ b/examples/apidoc/RestClientV2/modifySubaccountApiKey.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.modifySubaccountApiKey(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/modifySubaccountEmail.js b/examples/apidoc/RestClientV2/modifySubaccountEmail.js index 854bdca..2337ca5 100644 --- a/examples/apidoc/RestClientV2/modifySubaccountEmail.js +++ b/examples/apidoc/RestClientV2/modifySubaccountEmail.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.modifySubaccountEmail(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/modifyVirtualSubaccount.js b/examples/apidoc/RestClientV2/modifyVirtualSubaccount.js index 945f47e..15bd3f2 100644 --- a/examples/apidoc/RestClientV2/modifyVirtualSubaccount.js +++ b/examples/apidoc/RestClientV2/modifyVirtualSubaccount.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.modifyVirtualSubaccount(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/modifyVirtualSubaccountAPIKey.js b/examples/apidoc/RestClientV2/modifyVirtualSubaccountAPIKey.js index c9488a9..380177b 100644 --- a/examples/apidoc/RestClientV2/modifyVirtualSubaccountAPIKey.js +++ b/examples/apidoc/RestClientV2/modifyVirtualSubaccountAPIKey.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.modifyVirtualSubaccountAPIKey(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/removeFuturesTraderFollower.js b/examples/apidoc/RestClientV2/removeFuturesTraderFollower.js index 5efe7f2..2cf8879 100644 --- a/examples/apidoc/RestClientV2/removeFuturesTraderFollower.js +++ b/examples/apidoc/RestClientV2/removeFuturesTraderFollower.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.removeFuturesTraderFollower(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/removeSpotTraderFollowers.js b/examples/apidoc/RestClientV2/removeSpotTraderFollowers.js index c30361a..544fcba 100644 --- a/examples/apidoc/RestClientV2/removeSpotTraderFollowers.js +++ b/examples/apidoc/RestClientV2/removeSpotTraderFollowers.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.removeSpotTraderFollowers(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/repayLoan.js b/examples/apidoc/RestClientV2/repayLoan.js index dbc52f7..a2ff814 100644 --- a/examples/apidoc/RestClientV2/repayLoan.js +++ b/examples/apidoc/RestClientV2/repayLoan.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.repayLoan(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/sellSpotFollower.js b/examples/apidoc/RestClientV2/sellSpotFollower.js index 51fea8a..73a9c09 100644 --- a/examples/apidoc/RestClientV2/sellSpotFollower.js +++ b/examples/apidoc/RestClientV2/sellSpotFollower.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.sellSpotFollower(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/sellSpotTrader.js b/examples/apidoc/RestClientV2/sellSpotTrader.js index 7fd1d36..1c98940 100644 --- a/examples/apidoc/RestClientV2/sellSpotTrader.js +++ b/examples/apidoc/RestClientV2/sellSpotTrader.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.sellSpotTrader(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/setFuturesLeverage.js b/examples/apidoc/RestClientV2/setFuturesLeverage.js index c2981d6..5dc1b02 100644 --- a/examples/apidoc/RestClientV2/setFuturesLeverage.js +++ b/examples/apidoc/RestClientV2/setFuturesLeverage.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.setFuturesLeverage(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/setFuturesMarginMode.js b/examples/apidoc/RestClientV2/setFuturesMarginMode.js index 219a5df..09c4dc6 100644 --- a/examples/apidoc/RestClientV2/setFuturesMarginMode.js +++ b/examples/apidoc/RestClientV2/setFuturesMarginMode.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.setFuturesMarginMode(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/setFuturesPositionAutoMargin.js b/examples/apidoc/RestClientV2/setFuturesPositionAutoMargin.js index f7d1b4c..6ca00aa 100644 --- a/examples/apidoc/RestClientV2/setFuturesPositionAutoMargin.js +++ b/examples/apidoc/RestClientV2/setFuturesPositionAutoMargin.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.setFuturesPositionAutoMargin(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/setFuturesPositionMargin.js b/examples/apidoc/RestClientV2/setFuturesPositionMargin.js index dd76eec..98c712a 100644 --- a/examples/apidoc/RestClientV2/setFuturesPositionMargin.js +++ b/examples/apidoc/RestClientV2/setFuturesPositionMargin.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.setFuturesPositionMargin(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/setFuturesPositionMode.js b/examples/apidoc/RestClientV2/setFuturesPositionMode.js index a57dc80..0fdcfcb 100644 --- a/examples/apidoc/RestClientV2/setFuturesPositionMode.js +++ b/examples/apidoc/RestClientV2/setFuturesPositionMode.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.setFuturesPositionMode(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/spotBatchCancelOrders.js b/examples/apidoc/RestClientV2/spotBatchCancelOrders.js index 941789c..efe9143 100644 --- a/examples/apidoc/RestClientV2/spotBatchCancelOrders.js +++ b/examples/apidoc/RestClientV2/spotBatchCancelOrders.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.spotBatchCancelOrders(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/spotBatchSubmitOrders.js b/examples/apidoc/RestClientV2/spotBatchSubmitOrders.js index bae71c0..084bad4 100644 --- a/examples/apidoc/RestClientV2/spotBatchSubmitOrders.js +++ b/examples/apidoc/RestClientV2/spotBatchSubmitOrders.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.spotBatchSubmitOrders(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/spotCancelOrder.js b/examples/apidoc/RestClientV2/spotCancelOrder.js index 6e9a3cf..0290afa 100644 --- a/examples/apidoc/RestClientV2/spotCancelOrder.js +++ b/examples/apidoc/RestClientV2/spotCancelOrder.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.spotCancelOrder(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/spotCancelPlanOrder.js b/examples/apidoc/RestClientV2/spotCancelPlanOrder.js index 526236c..8a63edb 100644 --- a/examples/apidoc/RestClientV2/spotCancelPlanOrder.js +++ b/examples/apidoc/RestClientV2/spotCancelPlanOrder.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.spotCancelPlanOrder(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/spotCancelPlanOrders.js b/examples/apidoc/RestClientV2/spotCancelPlanOrders.js index b807035..65f1dea 100644 --- a/examples/apidoc/RestClientV2/spotCancelPlanOrders.js +++ b/examples/apidoc/RestClientV2/spotCancelPlanOrders.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.spotCancelPlanOrders(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/spotCancelSymbolOrder.js b/examples/apidoc/RestClientV2/spotCancelSymbolOrder.js index 70ec7e2..3e5e85a 100644 --- a/examples/apidoc/RestClientV2/spotCancelSymbolOrder.js +++ b/examples/apidoc/RestClientV2/spotCancelSymbolOrder.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.spotCancelSymbolOrder(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/spotCancelWithdrawal.js b/examples/apidoc/RestClientV2/spotCancelWithdrawal.js index 20b74a8..938eeec 100644 --- a/examples/apidoc/RestClientV2/spotCancelWithdrawal.js +++ b/examples/apidoc/RestClientV2/spotCancelWithdrawal.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.spotCancelWithdrawal(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/spotModifyDepositAccount.js b/examples/apidoc/RestClientV2/spotModifyDepositAccount.js index 80af29e..cdf7cb1 100644 --- a/examples/apidoc/RestClientV2/spotModifyDepositAccount.js +++ b/examples/apidoc/RestClientV2/spotModifyDepositAccount.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.spotModifyDepositAccount(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/spotModifyPlanOrder.js b/examples/apidoc/RestClientV2/spotModifyPlanOrder.js index 1d48c59..1c9fa4e 100644 --- a/examples/apidoc/RestClientV2/spotModifyPlanOrder.js +++ b/examples/apidoc/RestClientV2/spotModifyPlanOrder.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.spotModifyPlanOrder(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/spotSubTransfer.js b/examples/apidoc/RestClientV2/spotSubTransfer.js index 44d3ef6..ef58984 100644 --- a/examples/apidoc/RestClientV2/spotSubTransfer.js +++ b/examples/apidoc/RestClientV2/spotSubTransfer.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.spotSubTransfer(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/spotSubmitOrder.js b/examples/apidoc/RestClientV2/spotSubmitOrder.js index 5e60c3d..ffd2233 100644 --- a/examples/apidoc/RestClientV2/spotSubmitOrder.js +++ b/examples/apidoc/RestClientV2/spotSubmitOrder.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.spotSubmitOrder(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/spotSubmitPlanOrder.js b/examples/apidoc/RestClientV2/spotSubmitPlanOrder.js index d8dca90..8a789c4 100644 --- a/examples/apidoc/RestClientV2/spotSubmitPlanOrder.js +++ b/examples/apidoc/RestClientV2/spotSubmitPlanOrder.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.spotSubmitPlanOrder(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/spotSwitchBGBDeduct.js b/examples/apidoc/RestClientV2/spotSwitchBGBDeduct.js index 50e44e9..489c06e 100644 --- a/examples/apidoc/RestClientV2/spotSwitchBGBDeduct.js +++ b/examples/apidoc/RestClientV2/spotSwitchBGBDeduct.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.spotSwitchBGBDeduct(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/spotTransfer.js b/examples/apidoc/RestClientV2/spotTransfer.js index 5a18f51..9414f6a 100644 --- a/examples/apidoc/RestClientV2/spotTransfer.js +++ b/examples/apidoc/RestClientV2/spotTransfer.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.spotTransfer(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/spotWithdraw.js b/examples/apidoc/RestClientV2/spotWithdraw.js index 491f4a3..e6cd24a 100644 --- a/examples/apidoc/RestClientV2/spotWithdraw.js +++ b/examples/apidoc/RestClientV2/spotWithdraw.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.spotWithdraw(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/subaccountDepositRecords.js b/examples/apidoc/RestClientV2/subaccountDepositRecords.js index 77aaddf..10b1eca 100644 --- a/examples/apidoc/RestClientV2/subaccountDepositRecords.js +++ b/examples/apidoc/RestClientV2/subaccountDepositRecords.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.subaccountDepositRecords(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/subaccountSetAutoTransfer.js b/examples/apidoc/RestClientV2/subaccountSetAutoTransfer.js index 62b1bc2..697903e 100644 --- a/examples/apidoc/RestClientV2/subaccountSetAutoTransfer.js +++ b/examples/apidoc/RestClientV2/subaccountSetAutoTransfer.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.subaccountSetAutoTransfer(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/subaccountWithdrawal.js b/examples/apidoc/RestClientV2/subaccountWithdrawal.js index af8595b..9bd8ab0 100644 --- a/examples/apidoc/RestClientV2/subaccountWithdrawal.js +++ b/examples/apidoc/RestClientV2/subaccountWithdrawal.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.subaccountWithdrawal(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/subaccountWithdrawalRecords.js b/examples/apidoc/RestClientV2/subaccountWithdrawalRecords.js index 1cd49b0..dd73663 100644 --- a/examples/apidoc/RestClientV2/subaccountWithdrawalRecords.js +++ b/examples/apidoc/RestClientV2/subaccountWithdrawalRecords.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.subaccountWithdrawalRecords(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/subscribeSharkfin.js b/examples/apidoc/RestClientV2/subscribeSharkfin.js index 713ecdb..f1a6f44 100644 --- a/examples/apidoc/RestClientV2/subscribeSharkfin.js +++ b/examples/apidoc/RestClientV2/subscribeSharkfin.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.subscribeSharkfin(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/unfollowFuturesTrader.js b/examples/apidoc/RestClientV2/unfollowFuturesTrader.js index edae2be..5282fdc 100644 --- a/examples/apidoc/RestClientV2/unfollowFuturesTrader.js +++ b/examples/apidoc/RestClientV2/unfollowFuturesTrader.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.unfollowFuturesTrader(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/unfollowSpotTrader.js b/examples/apidoc/RestClientV2/unfollowSpotTrader.js index e510ab8..a7053e3 100644 --- a/examples/apidoc/RestClientV2/unfollowSpotTrader.js +++ b/examples/apidoc/RestClientV2/unfollowSpotTrader.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.unfollowSpotTrader(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/updateFuturesFollowerSettings.js b/examples/apidoc/RestClientV2/updateFuturesFollowerSettings.js index 28cb8ca..a671b25 100644 --- a/examples/apidoc/RestClientV2/updateFuturesFollowerSettings.js +++ b/examples/apidoc/RestClientV2/updateFuturesFollowerSettings.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.updateFuturesFollowerSettings(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/updateFuturesFollowerTPSL.js b/examples/apidoc/RestClientV2/updateFuturesFollowerTPSL.js index 9f601cc..41f65de 100644 --- a/examples/apidoc/RestClientV2/updateFuturesFollowerTPSL.js +++ b/examples/apidoc/RestClientV2/updateFuturesFollowerTPSL.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.updateFuturesFollowerTPSL(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/updateFuturesTraderGlobalSettings.js b/examples/apidoc/RestClientV2/updateFuturesTraderGlobalSettings.js index 49a20fb..c6b0437 100644 --- a/examples/apidoc/RestClientV2/updateFuturesTraderGlobalSettings.js +++ b/examples/apidoc/RestClientV2/updateFuturesTraderGlobalSettings.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.updateFuturesTraderGlobalSettings(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/updateFuturesTraderSymbolSettings.js b/examples/apidoc/RestClientV2/updateFuturesTraderSymbolSettings.js index aa24bd2..2dc3d48 100644 --- a/examples/apidoc/RestClientV2/updateFuturesTraderSymbolSettings.js +++ b/examples/apidoc/RestClientV2/updateFuturesTraderSymbolSettings.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.updateFuturesTraderSymbolSettings(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/updateLoanPledgeRate.js b/examples/apidoc/RestClientV2/updateLoanPledgeRate.js index 7c32e8d..044bacb 100644 --- a/examples/apidoc/RestClientV2/updateLoanPledgeRate.js +++ b/examples/apidoc/RestClientV2/updateLoanPledgeRate.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.updateLoanPledgeRate(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/updateSpotFollowerSettings.js b/examples/apidoc/RestClientV2/updateSpotFollowerSettings.js index 568e72a..2450127 100644 --- a/examples/apidoc/RestClientV2/updateSpotFollowerSettings.js +++ b/examples/apidoc/RestClientV2/updateSpotFollowerSettings.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.updateSpotFollowerSettings(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/examples/apidoc/RestClientV2/updateSpotFollowerTPSL.js b/examples/apidoc/RestClientV2/updateSpotFollowerTPSL.js index e5272c4..a40c274 100644 --- a/examples/apidoc/RestClientV2/updateSpotFollowerTPSL.js +++ b/examples/apidoc/RestClientV2/updateSpotFollowerTPSL.js @@ -11,9 +11,9 @@ const client = new RestClientV2({ }); client.updateSpotFollowerTPSL(params) - .then(response => { + .then((response) => { console.log(response); }) - .catch(error => { + .catch((error) => { console.error(error); }); diff --git a/package-lock.json b/package-lock.json index 0303bb1..01f1b46 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "bitget-api", - "version": "2.0.11", + "version": "2.0.12", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "bitget-api", - "version": "2.0.11", + "version": "2.0.12", "license": "MIT", "dependencies": { "axios": "^1.6.1", diff --git a/package.json b/package.json index 699a4b2..3e00ff4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bitget-api", - "version": "2.0.11", + "version": "2.0.12", "description": "Node.js & JavaScript SDK for Bitget REST APIs & WebSockets, with TypeScript & end-to-end tests.", "main": "lib/index.js", "types": "lib/index.d.ts", From 2e9fb347d753a54067ce4f2bc2f0a0b8c2b5518c Mon Sep 17 00:00:00 2001 From: Jerko J <83344666+JJ-Cro@users.noreply.github.com> Date: Wed, 16 Oct 2024 18:15:53 +0200 Subject: [PATCH 2/2] chore(): updated examples --- .../RestClientV2/batchCreateVirtualSubaccountAndAPIKey.js | 3 +++ examples/apidoc/RestClientV2/borrowLoan.js | 3 +++ examples/apidoc/RestClientV2/cancelSpotFollowerOrder.js | 3 +++ examples/apidoc/RestClientV2/closeFuturesFollowerPositions.js | 3 +++ examples/apidoc/RestClientV2/closeFuturesTraderOrder.js | 3 +++ examples/apidoc/RestClientV2/convert.js | 3 +++ examples/apidoc/RestClientV2/convertBGB.js | 3 +++ examples/apidoc/RestClientV2/createSubaccount.js | 3 +++ examples/apidoc/RestClientV2/createSubaccountApiKey.js | 3 +++ examples/apidoc/RestClientV2/createSubaccountDepositAddress.js | 3 +++ examples/apidoc/RestClientV2/createVirtualSubaccount.js | 3 +++ examples/apidoc/RestClientV2/createVirtualSubaccountAPIKey.js | 3 +++ examples/apidoc/RestClientV2/earnSubscribeSavings.js | 3 +++ examples/apidoc/RestClientV2/futuresBatchCancelOrders.js | 3 +++ examples/apidoc/RestClientV2/futuresBatchSubmitOrders.js | 3 +++ examples/apidoc/RestClientV2/futuresCancelAllOrders.js | 3 +++ examples/apidoc/RestClientV2/futuresCancelOrder.js | 3 +++ examples/apidoc/RestClientV2/futuresCancelPlanOrder.js | 3 +++ examples/apidoc/RestClientV2/futuresFlashClosePositions.js | 3 +++ examples/apidoc/RestClientV2/futuresModifyOrder.js | 3 +++ examples/apidoc/RestClientV2/futuresModifyPlanOrder.js | 3 +++ examples/apidoc/RestClientV2/futuresModifyTPSLPOrder.js | 3 +++ examples/apidoc/RestClientV2/futuresSubmitOrder.js | 3 +++ examples/apidoc/RestClientV2/futuresSubmitPlanOrder.js | 3 +++ examples/apidoc/RestClientV2/futuresSubmitPlanSubOrder.js | 3 +++ examples/apidoc/RestClientV2/futuresSubmitReversal.js | 3 +++ examples/apidoc/RestClientV2/futuresSubmitTPSLOrder.js | 3 +++ examples/apidoc/RestClientV2/getAnnouncements.js | 3 +++ examples/apidoc/RestClientV2/getBalances.js | 3 +++ examples/apidoc/RestClientV2/getBotAccount.js | 3 +++ examples/apidoc/RestClientV2/getBrokerInfo.js | 3 +++ examples/apidoc/RestClientV2/getBrokerTraders.js | 3 +++ .../apidoc/RestClientV2/getBrokerTradersHistoricalOrders.js | 3 +++ examples/apidoc/RestClientV2/getBrokerTradersPendingOrders.js | 3 +++ examples/apidoc/RestClientV2/getConvertBGBCoins.js | 3 +++ examples/apidoc/RestClientV2/getConvertBGBHistory.js | 3 +++ examples/apidoc/RestClientV2/getConvertCoins.js | 3 +++ examples/apidoc/RestClientV2/getConvertHistory.js | 3 +++ examples/apidoc/RestClientV2/getConvertQuotedPrice.js | 3 +++ examples/apidoc/RestClientV2/getEarnAccount.js | 3 +++ examples/apidoc/RestClientV2/getEarnSavingsAccount.js | 3 +++ examples/apidoc/RestClientV2/getEarnSavingsAssets.js | 3 +++ examples/apidoc/RestClientV2/getEarnSavingsProducts.js | 3 +++ examples/apidoc/RestClientV2/getEarnSavingsRecords.js | 3 +++ examples/apidoc/RestClientV2/getEarnSavingsRedemptionResult.js | 3 +++ examples/apidoc/RestClientV2/getEarnSavingsSubscription.js | 3 +++ .../apidoc/RestClientV2/getEarnSavingsSubscriptionResult.js | 3 +++ examples/apidoc/RestClientV2/getFundingAssets.js | 3 +++ examples/apidoc/RestClientV2/getFuturesAccountAsset.js | 3 +++ examples/apidoc/RestClientV2/getFuturesAccountAssets.js | 3 +++ examples/apidoc/RestClientV2/getFuturesAccountBills.js | 3 +++ .../apidoc/RestClientV2/getFuturesActiveBuySellVolumeData.js | 3 +++ .../RestClientV2/getFuturesActiveLongShortAccountData.js | 3 +++ .../RestClientV2/getFuturesActiveLongShortPositionData.js | 3 +++ .../RestClientV2/getFuturesActiveTakerBuySellVolumeData.js | 3 +++ examples/apidoc/RestClientV2/getFuturesAllTickers.js | 3 +++ examples/apidoc/RestClientV2/getFuturesCandles.js | 3 +++ examples/apidoc/RestClientV2/getFuturesContractConfig.js | 3 +++ examples/apidoc/RestClientV2/getFuturesCurrentFundingRate.js | 3 +++ examples/apidoc/RestClientV2/getFuturesFills.js | 3 +++ .../apidoc/RestClientV2/getFuturesFollowerCurrentOrders.js | 3 +++ examples/apidoc/RestClientV2/getFuturesFollowerFollowLimit.js | 3 +++ .../apidoc/RestClientV2/getFuturesFollowerHistoryOrders.js | 3 +++ examples/apidoc/RestClientV2/getFuturesFollowerSettings.js | 3 +++ examples/apidoc/RestClientV2/getFuturesFollowerTraders.js | 3 +++ examples/apidoc/RestClientV2/getFuturesHistoricCandles.js | 3 +++ examples/apidoc/RestClientV2/getFuturesHistoricFundingRates.js | 3 +++ .../apidoc/RestClientV2/getFuturesHistoricIndexPriceCandles.js | 3 +++ .../apidoc/RestClientV2/getFuturesHistoricMarkPriceCandles.js | 3 +++ examples/apidoc/RestClientV2/getFuturesHistoricOrderFills.js | 3 +++ examples/apidoc/RestClientV2/getFuturesHistoricOrders.js | 3 +++ examples/apidoc/RestClientV2/getFuturesHistoricPlanOrders.js | 3 +++ examples/apidoc/RestClientV2/getFuturesHistoricPositions.js | 3 +++ examples/apidoc/RestClientV2/getFuturesHistoricTrades.js | 3 +++ examples/apidoc/RestClientV2/getFuturesLongShortRatio.js | 3 +++ examples/apidoc/RestClientV2/getFuturesMergeDepth.js | 3 +++ examples/apidoc/RestClientV2/getFuturesNextFundingTime.js | 3 +++ examples/apidoc/RestClientV2/getFuturesOpenCount.js | 3 +++ examples/apidoc/RestClientV2/getFuturesOpenInterest.js | 3 +++ examples/apidoc/RestClientV2/getFuturesOpenOrders.js | 3 +++ examples/apidoc/RestClientV2/getFuturesOrder.js | 3 +++ examples/apidoc/RestClientV2/getFuturesPlanOrders.js | 3 +++ examples/apidoc/RestClientV2/getFuturesPosition.js | 3 +++ examples/apidoc/RestClientV2/getFuturesPositionTier.js | 3 +++ examples/apidoc/RestClientV2/getFuturesPositions.js | 3 +++ examples/apidoc/RestClientV2/getFuturesRecentTrades.js | 3 +++ examples/apidoc/RestClientV2/getFuturesSubAccountAssets.js | 3 +++ examples/apidoc/RestClientV2/getFuturesSymbolPrice.js | 3 +++ examples/apidoc/RestClientV2/getFuturesTicker.js | 3 +++ examples/apidoc/RestClientV2/getFuturesTraderCurrentOrder.js | 3 +++ examples/apidoc/RestClientV2/getFuturesTraderFollowers.js | 3 +++ examples/apidoc/RestClientV2/getFuturesTraderHistoryOrders.js | 3 +++ examples/apidoc/RestClientV2/getFuturesTraderOrder.js | 3 +++ examples/apidoc/RestClientV2/getFuturesTraderProfitHistory.js | 3 +++ examples/apidoc/RestClientV2/getFuturesTraderProfitShare.js | 3 +++ .../apidoc/RestClientV2/getFuturesTraderProfitShareGroup.js | 3 +++ .../apidoc/RestClientV2/getFuturesTraderProfitShareHistory.js | 3 +++ examples/apidoc/RestClientV2/getFuturesTraderSymbolSettings.js | 3 +++ examples/apidoc/RestClientV2/getFuturesTransactionRecords.js | 3 +++ examples/apidoc/RestClientV2/getFuturesVIPFeeRate.js | 3 +++ .../apidoc/RestClientV2/getIsolatedMarginBorrowingRatio.js | 3 +++ examples/apidoc/RestClientV2/getLoanCurrencies.js | 3 +++ examples/apidoc/RestClientV2/getLoanDebts.js | 3 +++ .../apidoc/RestClientV2/getLoanEstInterestAndBorrowable.js | 3 +++ examples/apidoc/RestClientV2/getLoanHistory.js | 3 +++ examples/apidoc/RestClientV2/getLoanLiquidationRecords.js | 3 +++ examples/apidoc/RestClientV2/getLoanPledgeRateHistory.js | 3 +++ examples/apidoc/RestClientV2/getMarginAccountAssets.js | 3 +++ examples/apidoc/RestClientV2/getMarginBorrowHistory.js | 3 +++ examples/apidoc/RestClientV2/getMarginCurrencies.js | 3 +++ examples/apidoc/RestClientV2/getMarginFinancialHistory.js | 3 +++ examples/apidoc/RestClientV2/getMarginFlashRepayResult.js | 3 +++ examples/apidoc/RestClientV2/getMarginHistoricOrderFills.js | 3 +++ examples/apidoc/RestClientV2/getMarginHistoricOrders.js | 3 +++ examples/apidoc/RestClientV2/getMarginInterestHistory.js | 3 +++ .../RestClientV2/getMarginInterestRateAndMaxBorrowable.js | 3 +++ examples/apidoc/RestClientV2/getMarginLiquidationHistory.js | 3 +++ examples/apidoc/RestClientV2/getMarginLiquidationOrders.js | 3 +++ examples/apidoc/RestClientV2/getMarginLoanGrowthRate.js | 3 +++ examples/apidoc/RestClientV2/getMarginMaxBorrowable.js | 3 +++ examples/apidoc/RestClientV2/getMarginMaxTransferable.js | 3 +++ examples/apidoc/RestClientV2/getMarginOpenOrders.js | 3 +++ examples/apidoc/RestClientV2/getMarginRepayHistory.js | 3 +++ examples/apidoc/RestClientV2/getMarginRiskRate.js | 3 +++ examples/apidoc/RestClientV2/getMarginTierConfiguration.js | 3 +++ examples/apidoc/RestClientV2/getMarginTransactionRecords.js | 3 +++ examples/apidoc/RestClientV2/getOngoingLoanOrders.js | 3 +++ .../apidoc/RestClientV2/getP2PMerchantAdvertisementList.js | 3 +++ examples/apidoc/RestClientV2/getP2PMerchantInfo.js | 3 +++ examples/apidoc/RestClientV2/getP2PMerchantList.js | 3 +++ examples/apidoc/RestClientV2/getP2PMerchantOrders.js | 3 +++ examples/apidoc/RestClientV2/getP2PTransactionRecords.js | 3 +++ examples/apidoc/RestClientV2/getRepayHistory.js | 3 +++ examples/apidoc/RestClientV2/getServerTime.js | 3 +++ examples/apidoc/RestClientV2/getSharkfinAccount.js | 3 +++ examples/apidoc/RestClientV2/getSharkfinAssets.js | 3 +++ examples/apidoc/RestClientV2/getSharkfinProducts.js | 3 +++ examples/apidoc/RestClientV2/getSharkfinRecords.js | 3 +++ examples/apidoc/RestClientV2/getSharkfinSubscription.js | 3 +++ examples/apidoc/RestClientV2/getSharkfinSubscriptionResult.js | 3 +++ examples/apidoc/RestClientV2/getSpotAccount.js | 3 +++ examples/apidoc/RestClientV2/getSpotAccountAssets.js | 3 +++ examples/apidoc/RestClientV2/getSpotAccountBills.js | 3 +++ examples/apidoc/RestClientV2/getSpotBGBDeductInfo.js | 3 +++ examples/apidoc/RestClientV2/getSpotCandles.js | 3 +++ examples/apidoc/RestClientV2/getSpotCoinInfo.js | 3 +++ examples/apidoc/RestClientV2/getSpotCurrentPlanOrders.js | 3 +++ examples/apidoc/RestClientV2/getSpotDepositAddress.js | 3 +++ examples/apidoc/RestClientV2/getSpotDepositHistory.js | 3 +++ examples/apidoc/RestClientV2/getSpotFills.js | 3 +++ .../apidoc/RestClientV2/getSpotFollowerCurrentTraderSymbols.js | 3 +++ examples/apidoc/RestClientV2/getSpotFollowerHistoryOrders.js | 3 +++ examples/apidoc/RestClientV2/getSpotFollowerOpenOrders.js | 3 +++ examples/apidoc/RestClientV2/getSpotFollowerSettings.js | 3 +++ examples/apidoc/RestClientV2/getSpotFollowerTraders.js | 3 +++ examples/apidoc/RestClientV2/getSpotFundFlow.js | 3 +++ examples/apidoc/RestClientV2/getSpotFundNetFlowData.js | 3 +++ examples/apidoc/RestClientV2/getSpotHistoricCandles.js | 3 +++ examples/apidoc/RestClientV2/getSpotHistoricOrders.js | 3 +++ examples/apidoc/RestClientV2/getSpotHistoricPlanOrders.js | 3 +++ examples/apidoc/RestClientV2/getSpotHistoricTrades.js | 3 +++ examples/apidoc/RestClientV2/getSpotMainSubTransferRecord.js | 3 +++ examples/apidoc/RestClientV2/getSpotMergeDepth.js | 3 +++ examples/apidoc/RestClientV2/getSpotOpenOrders.js | 3 +++ examples/apidoc/RestClientV2/getSpotOrder.js | 3 +++ examples/apidoc/RestClientV2/getSpotOrderBookDepth.js | 3 +++ examples/apidoc/RestClientV2/getSpotPlanSubOrder.js | 3 +++ examples/apidoc/RestClientV2/getSpotRecentTrades.js | 3 +++ examples/apidoc/RestClientV2/getSpotSubAccountAssets.js | 3 +++ examples/apidoc/RestClientV2/getSpotSubDepositAddress.js | 3 +++ examples/apidoc/RestClientV2/getSpotSymbolInfo.js | 3 +++ examples/apidoc/RestClientV2/getSpotTicker.js | 3 +++ examples/apidoc/RestClientV2/getSpotTraderConfiguration.js | 3 +++ examples/apidoc/RestClientV2/getSpotTraderCurrentOrders.js | 3 +++ examples/apidoc/RestClientV2/getSpotTraderFollowers.js | 3 +++ examples/apidoc/RestClientV2/getSpotTraderHistoryOrders.js | 3 +++ examples/apidoc/RestClientV2/getSpotTraderHistoryProfit.js | 3 +++ examples/apidoc/RestClientV2/getSpotTraderOrder.js | 3 +++ examples/apidoc/RestClientV2/getSpotTraderProfit.js | 3 +++ examples/apidoc/RestClientV2/getSpotTraderSymbolSettings.js | 3 +++ examples/apidoc/RestClientV2/getSpotTraderUnrealizedProfit.js | 3 +++ examples/apidoc/RestClientV2/getSpotTransactionRecords.js | 3 +++ examples/apidoc/RestClientV2/getSpotTransferHistory.js | 3 +++ examples/apidoc/RestClientV2/getSpotTransferableCoins.js | 3 +++ examples/apidoc/RestClientV2/getSpotVIPFeeRate.js | 3 +++ examples/apidoc/RestClientV2/getSpotWhaleNetFlowData.js | 3 +++ examples/apidoc/RestClientV2/getSpotWithdrawalHistory.js | 3 +++ examples/apidoc/RestClientV2/getSubAccountDepositRecords.js | 3 +++ examples/apidoc/RestClientV2/getSubaccountApiKey.js | 3 +++ examples/apidoc/RestClientV2/getSubaccountEmail.js | 3 +++ examples/apidoc/RestClientV2/getSubaccountFuturesAssets.js | 3 +++ examples/apidoc/RestClientV2/getSubaccountSpotAssets.js | 3 +++ examples/apidoc/RestClientV2/getSubaccounts.js | 3 +++ examples/apidoc/RestClientV2/getTradeDataSupportSymbols.js | 3 +++ examples/apidoc/RestClientV2/getTradeRate.js | 3 +++ examples/apidoc/RestClientV2/getVirtualSubaccountAPIKeys.js | 3 +++ examples/apidoc/RestClientV2/getVirtualSubaccounts.js | 3 +++ examples/apidoc/RestClientV2/marginBatchCancelOrders.js | 3 +++ examples/apidoc/RestClientV2/marginBatchSubmitOrders.js | 3 +++ examples/apidoc/RestClientV2/marginBorrow.js | 3 +++ examples/apidoc/RestClientV2/marginCancelOrder.js | 3 +++ examples/apidoc/RestClientV2/marginFlashRepay.js | 3 +++ examples/apidoc/RestClientV2/marginRepay.js | 3 +++ examples/apidoc/RestClientV2/marginSubmitOrder.js | 3 +++ examples/apidoc/RestClientV2/modifyFuturesTraderOrderTPSL.js | 3 +++ examples/apidoc/RestClientV2/modifySpotTraderOrderTPSL.js | 3 +++ examples/apidoc/RestClientV2/modifySubaccount.js | 3 +++ examples/apidoc/RestClientV2/modifySubaccountApiKey.js | 3 +++ examples/apidoc/RestClientV2/modifySubaccountEmail.js | 3 +++ examples/apidoc/RestClientV2/modifyVirtualSubaccount.js | 3 +++ examples/apidoc/RestClientV2/modifyVirtualSubaccountAPIKey.js | 3 +++ examples/apidoc/RestClientV2/removeFuturesTraderFollower.js | 3 +++ examples/apidoc/RestClientV2/removeSpotTraderFollowers.js | 3 +++ examples/apidoc/RestClientV2/repayLoan.js | 3 +++ examples/apidoc/RestClientV2/sellSpotFollower.js | 3 +++ examples/apidoc/RestClientV2/sellSpotTrader.js | 3 +++ examples/apidoc/RestClientV2/setFuturesLeverage.js | 3 +++ examples/apidoc/RestClientV2/setFuturesMarginMode.js | 3 +++ examples/apidoc/RestClientV2/setFuturesPositionAutoMargin.js | 3 +++ examples/apidoc/RestClientV2/setFuturesPositionMargin.js | 3 +++ examples/apidoc/RestClientV2/setFuturesPositionMode.js | 3 +++ examples/apidoc/RestClientV2/spotBatchCancelOrders.js | 3 +++ examples/apidoc/RestClientV2/spotBatchSubmitOrders.js | 3 +++ examples/apidoc/RestClientV2/spotCancelOrder.js | 3 +++ examples/apidoc/RestClientV2/spotCancelPlanOrder.js | 3 +++ examples/apidoc/RestClientV2/spotCancelPlanOrders.js | 3 +++ examples/apidoc/RestClientV2/spotCancelSymbolOrder.js | 3 +++ examples/apidoc/RestClientV2/spotCancelWithdrawal.js | 3 +++ examples/apidoc/RestClientV2/spotModifyDepositAccount.js | 3 +++ examples/apidoc/RestClientV2/spotModifyPlanOrder.js | 3 +++ examples/apidoc/RestClientV2/spotSubTransfer.js | 3 +++ examples/apidoc/RestClientV2/spotSubmitOrder.js | 3 +++ examples/apidoc/RestClientV2/spotSubmitPlanOrder.js | 3 +++ examples/apidoc/RestClientV2/spotSwitchBGBDeduct.js | 3 +++ examples/apidoc/RestClientV2/spotTransfer.js | 3 +++ examples/apidoc/RestClientV2/spotWithdraw.js | 3 +++ examples/apidoc/RestClientV2/subaccountDepositRecords.js | 3 +++ examples/apidoc/RestClientV2/subaccountSetAutoTransfer.js | 3 +++ examples/apidoc/RestClientV2/subaccountWithdrawal.js | 3 +++ examples/apidoc/RestClientV2/subaccountWithdrawalRecords.js | 3 +++ examples/apidoc/RestClientV2/subscribeSharkfin.js | 3 +++ examples/apidoc/RestClientV2/unfollowFuturesTrader.js | 3 +++ examples/apidoc/RestClientV2/unfollowSpotTrader.js | 3 +++ examples/apidoc/RestClientV2/updateFuturesFollowerSettings.js | 3 +++ examples/apidoc/RestClientV2/updateFuturesFollowerTPSL.js | 3 +++ .../apidoc/RestClientV2/updateFuturesTraderGlobalSettings.js | 3 +++ .../apidoc/RestClientV2/updateFuturesTraderSymbolSettings.js | 3 +++ examples/apidoc/RestClientV2/updateLoanPledgeRate.js | 3 +++ examples/apidoc/RestClientV2/updateSpotFollowerSettings.js | 3 +++ examples/apidoc/RestClientV2/updateSpotFollowerTPSL.js | 3 +++ 250 files changed, 750 insertions(+) diff --git a/examples/apidoc/RestClientV2/batchCreateVirtualSubaccountAndAPIKey.js b/examples/apidoc/RestClientV2/batchCreateVirtualSubaccountAndAPIKey.js index 21670e0..5643d0a 100644 --- a/examples/apidoc/RestClientV2/batchCreateVirtualSubaccountAndAPIKey.js +++ b/examples/apidoc/RestClientV2/batchCreateVirtualSubaccountAndAPIKey.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/user/batch-create-subaccount-and-apikey // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/borrowLoan.js b/examples/apidoc/RestClientV2/borrowLoan.js index 9cdb37e..5af3f3f 100644 --- a/examples/apidoc/RestClientV2/borrowLoan.js +++ b/examples/apidoc/RestClientV2/borrowLoan.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/earn/loan/borrow // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/cancelSpotFollowerOrder.js b/examples/apidoc/RestClientV2/cancelSpotFollowerOrder.js index feb979a..5042384 100644 --- a/examples/apidoc/RestClientV2/cancelSpotFollowerOrder.js +++ b/examples/apidoc/RestClientV2/cancelSpotFollowerOrder.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/copy/spot-follower/stop-order // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/closeFuturesFollowerPositions.js b/examples/apidoc/RestClientV2/closeFuturesFollowerPositions.js index a6a1e06..6984610 100644 --- a/examples/apidoc/RestClientV2/closeFuturesFollowerPositions.js +++ b/examples/apidoc/RestClientV2/closeFuturesFollowerPositions.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/copy/mix-follower/close-positions // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/closeFuturesTraderOrder.js b/examples/apidoc/RestClientV2/closeFuturesTraderOrder.js index b581cdd..3575616 100644 --- a/examples/apidoc/RestClientV2/closeFuturesTraderOrder.js +++ b/examples/apidoc/RestClientV2/closeFuturesTraderOrder.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/copy/mix-trader/order-close-positions // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/convert.js b/examples/apidoc/RestClientV2/convert.js index d17d41a..ef93cc6 100644 --- a/examples/apidoc/RestClientV2/convert.js +++ b/examples/apidoc/RestClientV2/convert.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/convert/trade // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/convertBGB.js b/examples/apidoc/RestClientV2/convertBGB.js index 7b7ac60..5937ee5 100644 --- a/examples/apidoc/RestClientV2/convertBGB.js +++ b/examples/apidoc/RestClientV2/convertBGB.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/convert/bgb-convert // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/createSubaccount.js b/examples/apidoc/RestClientV2/createSubaccount.js index 647591f..b60f993 100644 --- a/examples/apidoc/RestClientV2/createSubaccount.js +++ b/examples/apidoc/RestClientV2/createSubaccount.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/broker/account/create-subaccount // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/createSubaccountApiKey.js b/examples/apidoc/RestClientV2/createSubaccountApiKey.js index f29ce50..364d531 100644 --- a/examples/apidoc/RestClientV2/createSubaccountApiKey.js +++ b/examples/apidoc/RestClientV2/createSubaccountApiKey.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/broker/manage/create-subaccount-apikey // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/createSubaccountDepositAddress.js b/examples/apidoc/RestClientV2/createSubaccountDepositAddress.js index 05867a3..306a752 100644 --- a/examples/apidoc/RestClientV2/createSubaccountDepositAddress.js +++ b/examples/apidoc/RestClientV2/createSubaccountDepositAddress.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/broker/account/subaccount-address // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/createVirtualSubaccount.js b/examples/apidoc/RestClientV2/createVirtualSubaccount.js index b31ba93..4fb7f61 100644 --- a/examples/apidoc/RestClientV2/createVirtualSubaccount.js +++ b/examples/apidoc/RestClientV2/createVirtualSubaccount.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/user/create-virtual-subaccount // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/createVirtualSubaccountAPIKey.js b/examples/apidoc/RestClientV2/createVirtualSubaccountAPIKey.js index 873eb1d..d00c049 100644 --- a/examples/apidoc/RestClientV2/createVirtualSubaccountAPIKey.js +++ b/examples/apidoc/RestClientV2/createVirtualSubaccountAPIKey.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/user/create-virtual-subaccount-apikey // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/earnSubscribeSavings.js b/examples/apidoc/RestClientV2/earnSubscribeSavings.js index 461af68..8dfd10b 100644 --- a/examples/apidoc/RestClientV2/earnSubscribeSavings.js +++ b/examples/apidoc/RestClientV2/earnSubscribeSavings.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/earn/savings/subscribe // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/futuresBatchCancelOrders.js b/examples/apidoc/RestClientV2/futuresBatchCancelOrders.js index 3c4b030..1953527 100644 --- a/examples/apidoc/RestClientV2/futuresBatchCancelOrders.js +++ b/examples/apidoc/RestClientV2/futuresBatchCancelOrders.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/mix/order/batch-cancel-orders // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/futuresBatchSubmitOrders.js b/examples/apidoc/RestClientV2/futuresBatchSubmitOrders.js index f1b5890..0fb75fa 100644 --- a/examples/apidoc/RestClientV2/futuresBatchSubmitOrders.js +++ b/examples/apidoc/RestClientV2/futuresBatchSubmitOrders.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/mix/order/batch-place-order // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/futuresCancelAllOrders.js b/examples/apidoc/RestClientV2/futuresCancelAllOrders.js index 475532b..ac7e579 100644 --- a/examples/apidoc/RestClientV2/futuresCancelAllOrders.js +++ b/examples/apidoc/RestClientV2/futuresCancelAllOrders.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/mix/order/cancel-all-orders // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/futuresCancelOrder.js b/examples/apidoc/RestClientV2/futuresCancelOrder.js index 352d90a..fe253a5 100644 --- a/examples/apidoc/RestClientV2/futuresCancelOrder.js +++ b/examples/apidoc/RestClientV2/futuresCancelOrder.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/mix/order/cancel-order // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/futuresCancelPlanOrder.js b/examples/apidoc/RestClientV2/futuresCancelPlanOrder.js index cfadf23..a378c54 100644 --- a/examples/apidoc/RestClientV2/futuresCancelPlanOrder.js +++ b/examples/apidoc/RestClientV2/futuresCancelPlanOrder.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/mix/order/cancel-plan-order // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/futuresFlashClosePositions.js b/examples/apidoc/RestClientV2/futuresFlashClosePositions.js index db2db4e..fc97f2a 100644 --- a/examples/apidoc/RestClientV2/futuresFlashClosePositions.js +++ b/examples/apidoc/RestClientV2/futuresFlashClosePositions.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/mix/order/close-positions // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/futuresModifyOrder.js b/examples/apidoc/RestClientV2/futuresModifyOrder.js index bf6a891..50b6f7b 100644 --- a/examples/apidoc/RestClientV2/futuresModifyOrder.js +++ b/examples/apidoc/RestClientV2/futuresModifyOrder.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/mix/order/modify-order // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/futuresModifyPlanOrder.js b/examples/apidoc/RestClientV2/futuresModifyPlanOrder.js index 81fa982..392e416 100644 --- a/examples/apidoc/RestClientV2/futuresModifyPlanOrder.js +++ b/examples/apidoc/RestClientV2/futuresModifyPlanOrder.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/mix/order/modify-plan-order // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/futuresModifyTPSLPOrder.js b/examples/apidoc/RestClientV2/futuresModifyTPSLPOrder.js index edce45c..f7f4311 100644 --- a/examples/apidoc/RestClientV2/futuresModifyTPSLPOrder.js +++ b/examples/apidoc/RestClientV2/futuresModifyTPSLPOrder.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/mix/order/modify-tpsl-order // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/futuresSubmitOrder.js b/examples/apidoc/RestClientV2/futuresSubmitOrder.js index fca2d26..23c9180 100644 --- a/examples/apidoc/RestClientV2/futuresSubmitOrder.js +++ b/examples/apidoc/RestClientV2/futuresSubmitOrder.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/mix/order/place-order // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/futuresSubmitPlanOrder.js b/examples/apidoc/RestClientV2/futuresSubmitPlanOrder.js index 863c249..06bff22 100644 --- a/examples/apidoc/RestClientV2/futuresSubmitPlanOrder.js +++ b/examples/apidoc/RestClientV2/futuresSubmitPlanOrder.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/mix/order/place-plan-order // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/futuresSubmitPlanSubOrder.js b/examples/apidoc/RestClientV2/futuresSubmitPlanSubOrder.js index c2e20a7..80be8de 100644 --- a/examples/apidoc/RestClientV2/futuresSubmitPlanSubOrder.js +++ b/examples/apidoc/RestClientV2/futuresSubmitPlanSubOrder.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/mix/order/plan-sub-order // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/futuresSubmitReversal.js b/examples/apidoc/RestClientV2/futuresSubmitReversal.js index 937b6f5..3706138 100644 --- a/examples/apidoc/RestClientV2/futuresSubmitReversal.js +++ b/examples/apidoc/RestClientV2/futuresSubmitReversal.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/mix/order/click-backhand // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/futuresSubmitTPSLOrder.js b/examples/apidoc/RestClientV2/futuresSubmitTPSLOrder.js index aba3007..6ab1f16 100644 --- a/examples/apidoc/RestClientV2/futuresSubmitTPSLOrder.js +++ b/examples/apidoc/RestClientV2/futuresSubmitTPSLOrder.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/mix/order/place-tpsl-order // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getAnnouncements.js b/examples/apidoc/RestClientV2/getAnnouncements.js index 067db4d..1ef2469 100644 --- a/examples/apidoc/RestClientV2/getAnnouncements.js +++ b/examples/apidoc/RestClientV2/getAnnouncements.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/public/annoucements // METHOD: GET // PUBLIC: YES diff --git a/examples/apidoc/RestClientV2/getBalances.js b/examples/apidoc/RestClientV2/getBalances.js index 0d5f43e..714cccc 100644 --- a/examples/apidoc/RestClientV2/getBalances.js +++ b/examples/apidoc/RestClientV2/getBalances.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/account/all-account-balance // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getBotAccount.js b/examples/apidoc/RestClientV2/getBotAccount.js index 4fbd6f5..42662be 100644 --- a/examples/apidoc/RestClientV2/getBotAccount.js +++ b/examples/apidoc/RestClientV2/getBotAccount.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/account/bot-assets // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getBrokerInfo.js b/examples/apidoc/RestClientV2/getBrokerInfo.js index 6bf1646..451ea9c 100644 --- a/examples/apidoc/RestClientV2/getBrokerInfo.js +++ b/examples/apidoc/RestClientV2/getBrokerInfo.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/broker/account/info // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getBrokerTraders.js b/examples/apidoc/RestClientV2/getBrokerTraders.js index d591e25..2fb9f1e 100644 --- a/examples/apidoc/RestClientV2/getBrokerTraders.js +++ b/examples/apidoc/RestClientV2/getBrokerTraders.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/copy/mix-broker/query-traders // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getBrokerTradersHistoricalOrders.js b/examples/apidoc/RestClientV2/getBrokerTradersHistoricalOrders.js index 1ef8dc2..de46815 100644 --- a/examples/apidoc/RestClientV2/getBrokerTradersHistoricalOrders.js +++ b/examples/apidoc/RestClientV2/getBrokerTradersHistoricalOrders.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/copy/mix-broker/query-history-traces // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getBrokerTradersPendingOrders.js b/examples/apidoc/RestClientV2/getBrokerTradersPendingOrders.js index a87a693..d82597e 100644 --- a/examples/apidoc/RestClientV2/getBrokerTradersPendingOrders.js +++ b/examples/apidoc/RestClientV2/getBrokerTradersPendingOrders.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/copy/mix-broker/query-current-traces // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getConvertBGBCoins.js b/examples/apidoc/RestClientV2/getConvertBGBCoins.js index bbf9341..62e8ae1 100644 --- a/examples/apidoc/RestClientV2/getConvertBGBCoins.js +++ b/examples/apidoc/RestClientV2/getConvertBGBCoins.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/convert/bgb-convert-coin-list // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getConvertBGBHistory.js b/examples/apidoc/RestClientV2/getConvertBGBHistory.js index 1c56182..4370d2d 100644 --- a/examples/apidoc/RestClientV2/getConvertBGBHistory.js +++ b/examples/apidoc/RestClientV2/getConvertBGBHistory.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/convert/bgb-convert-records // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getConvertCoins.js b/examples/apidoc/RestClientV2/getConvertCoins.js index 47142e9..b8960cc 100644 --- a/examples/apidoc/RestClientV2/getConvertCoins.js +++ b/examples/apidoc/RestClientV2/getConvertCoins.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/convert/currencies // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getConvertHistory.js b/examples/apidoc/RestClientV2/getConvertHistory.js index d5b1324..c358052 100644 --- a/examples/apidoc/RestClientV2/getConvertHistory.js +++ b/examples/apidoc/RestClientV2/getConvertHistory.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/convert/convert-record // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getConvertQuotedPrice.js b/examples/apidoc/RestClientV2/getConvertQuotedPrice.js index 6fbf696..acf8181 100644 --- a/examples/apidoc/RestClientV2/getConvertQuotedPrice.js +++ b/examples/apidoc/RestClientV2/getConvertQuotedPrice.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/convert/quoted-price // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getEarnAccount.js b/examples/apidoc/RestClientV2/getEarnAccount.js index 7e1cb0c..5254d4d 100644 --- a/examples/apidoc/RestClientV2/getEarnAccount.js +++ b/examples/apidoc/RestClientV2/getEarnAccount.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/earn/account/assets // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getEarnSavingsAccount.js b/examples/apidoc/RestClientV2/getEarnSavingsAccount.js index 50067e0..30cd8d7 100644 --- a/examples/apidoc/RestClientV2/getEarnSavingsAccount.js +++ b/examples/apidoc/RestClientV2/getEarnSavingsAccount.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/earn/savings/account // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getEarnSavingsAssets.js b/examples/apidoc/RestClientV2/getEarnSavingsAssets.js index da938ae..32228c6 100644 --- a/examples/apidoc/RestClientV2/getEarnSavingsAssets.js +++ b/examples/apidoc/RestClientV2/getEarnSavingsAssets.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/earn/savings/assets // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getEarnSavingsProducts.js b/examples/apidoc/RestClientV2/getEarnSavingsProducts.js index d99b1d8..03623ec 100644 --- a/examples/apidoc/RestClientV2/getEarnSavingsProducts.js +++ b/examples/apidoc/RestClientV2/getEarnSavingsProducts.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/earn/savings/product // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getEarnSavingsRecords.js b/examples/apidoc/RestClientV2/getEarnSavingsRecords.js index 9fad47a..43bcab0 100644 --- a/examples/apidoc/RestClientV2/getEarnSavingsRecords.js +++ b/examples/apidoc/RestClientV2/getEarnSavingsRecords.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/earn/savings/records // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getEarnSavingsRedemptionResult.js b/examples/apidoc/RestClientV2/getEarnSavingsRedemptionResult.js index 33b2054..c2a7940 100644 --- a/examples/apidoc/RestClientV2/getEarnSavingsRedemptionResult.js +++ b/examples/apidoc/RestClientV2/getEarnSavingsRedemptionResult.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/earn/savings/redeem-result // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getEarnSavingsSubscription.js b/examples/apidoc/RestClientV2/getEarnSavingsSubscription.js index ca244c9..a3cabc0 100644 --- a/examples/apidoc/RestClientV2/getEarnSavingsSubscription.js +++ b/examples/apidoc/RestClientV2/getEarnSavingsSubscription.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/earn/savings/subscribe-info // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getEarnSavingsSubscriptionResult.js b/examples/apidoc/RestClientV2/getEarnSavingsSubscriptionResult.js index da7d7b1..e30dce1 100644 --- a/examples/apidoc/RestClientV2/getEarnSavingsSubscriptionResult.js +++ b/examples/apidoc/RestClientV2/getEarnSavingsSubscriptionResult.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/earn/savings/subscribe-result // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getFundingAssets.js b/examples/apidoc/RestClientV2/getFundingAssets.js index 3757435..72a897f 100644 --- a/examples/apidoc/RestClientV2/getFundingAssets.js +++ b/examples/apidoc/RestClientV2/getFundingAssets.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/account/funding-assets // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getFuturesAccountAsset.js b/examples/apidoc/RestClientV2/getFuturesAccountAsset.js index cc02496..e86beb4 100644 --- a/examples/apidoc/RestClientV2/getFuturesAccountAsset.js +++ b/examples/apidoc/RestClientV2/getFuturesAccountAsset.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/mix/account/account // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getFuturesAccountAssets.js b/examples/apidoc/RestClientV2/getFuturesAccountAssets.js index ebb261e..863808e 100644 --- a/examples/apidoc/RestClientV2/getFuturesAccountAssets.js +++ b/examples/apidoc/RestClientV2/getFuturesAccountAssets.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/mix/account/accounts // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getFuturesAccountBills.js b/examples/apidoc/RestClientV2/getFuturesAccountBills.js index c36839e..f11fe6f 100644 --- a/examples/apidoc/RestClientV2/getFuturesAccountBills.js +++ b/examples/apidoc/RestClientV2/getFuturesAccountBills.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/mix/account/bill // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getFuturesActiveBuySellVolumeData.js b/examples/apidoc/RestClientV2/getFuturesActiveBuySellVolumeData.js index 9bfcbaa..7547e77 100644 --- a/examples/apidoc/RestClientV2/getFuturesActiveBuySellVolumeData.js +++ b/examples/apidoc/RestClientV2/getFuturesActiveBuySellVolumeData.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/mix/market/long-short // METHOD: GET // PUBLIC: YES diff --git a/examples/apidoc/RestClientV2/getFuturesActiveLongShortAccountData.js b/examples/apidoc/RestClientV2/getFuturesActiveLongShortAccountData.js index 4bd6204..bd76804 100644 --- a/examples/apidoc/RestClientV2/getFuturesActiveLongShortAccountData.js +++ b/examples/apidoc/RestClientV2/getFuturesActiveLongShortAccountData.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/mix/market/account-long-short // METHOD: GET // PUBLIC: YES diff --git a/examples/apidoc/RestClientV2/getFuturesActiveLongShortPositionData.js b/examples/apidoc/RestClientV2/getFuturesActiveLongShortPositionData.js index 933c24d..71260f0 100644 --- a/examples/apidoc/RestClientV2/getFuturesActiveLongShortPositionData.js +++ b/examples/apidoc/RestClientV2/getFuturesActiveLongShortPositionData.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/mix/market/position-long-short // METHOD: GET // PUBLIC: YES diff --git a/examples/apidoc/RestClientV2/getFuturesActiveTakerBuySellVolumeData.js b/examples/apidoc/RestClientV2/getFuturesActiveTakerBuySellVolumeData.js index d3b9144..e51b922 100644 --- a/examples/apidoc/RestClientV2/getFuturesActiveTakerBuySellVolumeData.js +++ b/examples/apidoc/RestClientV2/getFuturesActiveTakerBuySellVolumeData.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/mix/market/taker-buy-sell // METHOD: GET // PUBLIC: YES diff --git a/examples/apidoc/RestClientV2/getFuturesAllTickers.js b/examples/apidoc/RestClientV2/getFuturesAllTickers.js index f5c3c53..c138e08 100644 --- a/examples/apidoc/RestClientV2/getFuturesAllTickers.js +++ b/examples/apidoc/RestClientV2/getFuturesAllTickers.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/mix/market/tickers // METHOD: GET // PUBLIC: YES diff --git a/examples/apidoc/RestClientV2/getFuturesCandles.js b/examples/apidoc/RestClientV2/getFuturesCandles.js index 8c8cf57..eb69893 100644 --- a/examples/apidoc/RestClientV2/getFuturesCandles.js +++ b/examples/apidoc/RestClientV2/getFuturesCandles.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/mix/market/candles // METHOD: GET // PUBLIC: YES diff --git a/examples/apidoc/RestClientV2/getFuturesContractConfig.js b/examples/apidoc/RestClientV2/getFuturesContractConfig.js index cf7e6a2..c70521e 100644 --- a/examples/apidoc/RestClientV2/getFuturesContractConfig.js +++ b/examples/apidoc/RestClientV2/getFuturesContractConfig.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/mix/market/contracts // METHOD: GET // PUBLIC: YES diff --git a/examples/apidoc/RestClientV2/getFuturesCurrentFundingRate.js b/examples/apidoc/RestClientV2/getFuturesCurrentFundingRate.js index 13a5e92..9586955 100644 --- a/examples/apidoc/RestClientV2/getFuturesCurrentFundingRate.js +++ b/examples/apidoc/RestClientV2/getFuturesCurrentFundingRate.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/mix/market/current-fund-rate // METHOD: GET // PUBLIC: YES diff --git a/examples/apidoc/RestClientV2/getFuturesFills.js b/examples/apidoc/RestClientV2/getFuturesFills.js index 9947a9f..dcde35a 100644 --- a/examples/apidoc/RestClientV2/getFuturesFills.js +++ b/examples/apidoc/RestClientV2/getFuturesFills.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/mix/order/fills // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getFuturesFollowerCurrentOrders.js b/examples/apidoc/RestClientV2/getFuturesFollowerCurrentOrders.js index 810c42e..12ec3a5 100644 --- a/examples/apidoc/RestClientV2/getFuturesFollowerCurrentOrders.js +++ b/examples/apidoc/RestClientV2/getFuturesFollowerCurrentOrders.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/copy/mix-follower/query-current-orders // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getFuturesFollowerFollowLimit.js b/examples/apidoc/RestClientV2/getFuturesFollowerFollowLimit.js index c0e1ba2..ad4959d 100644 --- a/examples/apidoc/RestClientV2/getFuturesFollowerFollowLimit.js +++ b/examples/apidoc/RestClientV2/getFuturesFollowerFollowLimit.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/copy/mix-follower/query-quantity-limit // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getFuturesFollowerHistoryOrders.js b/examples/apidoc/RestClientV2/getFuturesFollowerHistoryOrders.js index e49030e..87eaf8b 100644 --- a/examples/apidoc/RestClientV2/getFuturesFollowerHistoryOrders.js +++ b/examples/apidoc/RestClientV2/getFuturesFollowerHistoryOrders.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/copy/mix-follower/query-history-orders // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getFuturesFollowerSettings.js b/examples/apidoc/RestClientV2/getFuturesFollowerSettings.js index 3ce4719..0c9f9b7 100644 --- a/examples/apidoc/RestClientV2/getFuturesFollowerSettings.js +++ b/examples/apidoc/RestClientV2/getFuturesFollowerSettings.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/copy/mix-follower/query-settings // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getFuturesFollowerTraders.js b/examples/apidoc/RestClientV2/getFuturesFollowerTraders.js index 47a4409..de48f96 100644 --- a/examples/apidoc/RestClientV2/getFuturesFollowerTraders.js +++ b/examples/apidoc/RestClientV2/getFuturesFollowerTraders.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/copy/mix-follower/query-traders // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getFuturesHistoricCandles.js b/examples/apidoc/RestClientV2/getFuturesHistoricCandles.js index f6812a5..e4345f0 100644 --- a/examples/apidoc/RestClientV2/getFuturesHistoricCandles.js +++ b/examples/apidoc/RestClientV2/getFuturesHistoricCandles.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/mix/market/history-candles // METHOD: GET // PUBLIC: YES diff --git a/examples/apidoc/RestClientV2/getFuturesHistoricFundingRates.js b/examples/apidoc/RestClientV2/getFuturesHistoricFundingRates.js index 2cf6b21..22ad72e 100644 --- a/examples/apidoc/RestClientV2/getFuturesHistoricFundingRates.js +++ b/examples/apidoc/RestClientV2/getFuturesHistoricFundingRates.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/mix/market/history-fund-rate // METHOD: GET // PUBLIC: YES diff --git a/examples/apidoc/RestClientV2/getFuturesHistoricIndexPriceCandles.js b/examples/apidoc/RestClientV2/getFuturesHistoricIndexPriceCandles.js index f4976f8..8b65262 100644 --- a/examples/apidoc/RestClientV2/getFuturesHistoricIndexPriceCandles.js +++ b/examples/apidoc/RestClientV2/getFuturesHistoricIndexPriceCandles.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/mix/market/history-index-candles // METHOD: GET // PUBLIC: YES diff --git a/examples/apidoc/RestClientV2/getFuturesHistoricMarkPriceCandles.js b/examples/apidoc/RestClientV2/getFuturesHistoricMarkPriceCandles.js index 22f6e0c..eb50d77 100644 --- a/examples/apidoc/RestClientV2/getFuturesHistoricMarkPriceCandles.js +++ b/examples/apidoc/RestClientV2/getFuturesHistoricMarkPriceCandles.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/mix/market/history-mark-candles // METHOD: GET // PUBLIC: YES diff --git a/examples/apidoc/RestClientV2/getFuturesHistoricOrderFills.js b/examples/apidoc/RestClientV2/getFuturesHistoricOrderFills.js index 521044d..7809a5e 100644 --- a/examples/apidoc/RestClientV2/getFuturesHistoricOrderFills.js +++ b/examples/apidoc/RestClientV2/getFuturesHistoricOrderFills.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/mix/order/fill-history // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getFuturesHistoricOrders.js b/examples/apidoc/RestClientV2/getFuturesHistoricOrders.js index c994fbf..a2ca29b 100644 --- a/examples/apidoc/RestClientV2/getFuturesHistoricOrders.js +++ b/examples/apidoc/RestClientV2/getFuturesHistoricOrders.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/mix/order/orders-history // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getFuturesHistoricPlanOrders.js b/examples/apidoc/RestClientV2/getFuturesHistoricPlanOrders.js index 2ba92cb..8cff2b4 100644 --- a/examples/apidoc/RestClientV2/getFuturesHistoricPlanOrders.js +++ b/examples/apidoc/RestClientV2/getFuturesHistoricPlanOrders.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/mix/order/orders-plan-history // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getFuturesHistoricPositions.js b/examples/apidoc/RestClientV2/getFuturesHistoricPositions.js index 8cdc936..557ace9 100644 --- a/examples/apidoc/RestClientV2/getFuturesHistoricPositions.js +++ b/examples/apidoc/RestClientV2/getFuturesHistoricPositions.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/mix/position/history-position // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getFuturesHistoricTrades.js b/examples/apidoc/RestClientV2/getFuturesHistoricTrades.js index 2b24362..32558bf 100644 --- a/examples/apidoc/RestClientV2/getFuturesHistoricTrades.js +++ b/examples/apidoc/RestClientV2/getFuturesHistoricTrades.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/mix/market/fills-history // METHOD: GET // PUBLIC: YES diff --git a/examples/apidoc/RestClientV2/getFuturesLongShortRatio.js b/examples/apidoc/RestClientV2/getFuturesLongShortRatio.js index 981ffb4..df53be9 100644 --- a/examples/apidoc/RestClientV2/getFuturesLongShortRatio.js +++ b/examples/apidoc/RestClientV2/getFuturesLongShortRatio.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/mix/market/long-short-ratio // METHOD: GET // PUBLIC: YES diff --git a/examples/apidoc/RestClientV2/getFuturesMergeDepth.js b/examples/apidoc/RestClientV2/getFuturesMergeDepth.js index 74f5f00..ec2f96c 100644 --- a/examples/apidoc/RestClientV2/getFuturesMergeDepth.js +++ b/examples/apidoc/RestClientV2/getFuturesMergeDepth.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/mix/market/merge-depth // METHOD: GET // PUBLIC: YES diff --git a/examples/apidoc/RestClientV2/getFuturesNextFundingTime.js b/examples/apidoc/RestClientV2/getFuturesNextFundingTime.js index 67d0c6e..d75eeb6 100644 --- a/examples/apidoc/RestClientV2/getFuturesNextFundingTime.js +++ b/examples/apidoc/RestClientV2/getFuturesNextFundingTime.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/mix/market/funding-time // METHOD: GET // PUBLIC: YES diff --git a/examples/apidoc/RestClientV2/getFuturesOpenCount.js b/examples/apidoc/RestClientV2/getFuturesOpenCount.js index 799e2c5..72325fd 100644 --- a/examples/apidoc/RestClientV2/getFuturesOpenCount.js +++ b/examples/apidoc/RestClientV2/getFuturesOpenCount.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/mix/account/open-count // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getFuturesOpenInterest.js b/examples/apidoc/RestClientV2/getFuturesOpenInterest.js index 00e55a1..f18047a 100644 --- a/examples/apidoc/RestClientV2/getFuturesOpenInterest.js +++ b/examples/apidoc/RestClientV2/getFuturesOpenInterest.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/mix/market/open-interest // METHOD: GET // PUBLIC: YES diff --git a/examples/apidoc/RestClientV2/getFuturesOpenOrders.js b/examples/apidoc/RestClientV2/getFuturesOpenOrders.js index e3a2a50..481c5a9 100644 --- a/examples/apidoc/RestClientV2/getFuturesOpenOrders.js +++ b/examples/apidoc/RestClientV2/getFuturesOpenOrders.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/mix/order/orders-pending // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getFuturesOrder.js b/examples/apidoc/RestClientV2/getFuturesOrder.js index 2c83725..712b621 100644 --- a/examples/apidoc/RestClientV2/getFuturesOrder.js +++ b/examples/apidoc/RestClientV2/getFuturesOrder.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/mix/order/detail // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getFuturesPlanOrders.js b/examples/apidoc/RestClientV2/getFuturesPlanOrders.js index 88064c4..881db35 100644 --- a/examples/apidoc/RestClientV2/getFuturesPlanOrders.js +++ b/examples/apidoc/RestClientV2/getFuturesPlanOrders.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/mix/order/orders-plan-pending // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getFuturesPosition.js b/examples/apidoc/RestClientV2/getFuturesPosition.js index b46ed4d..12ec05b 100644 --- a/examples/apidoc/RestClientV2/getFuturesPosition.js +++ b/examples/apidoc/RestClientV2/getFuturesPosition.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/mix/position/single-position // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getFuturesPositionTier.js b/examples/apidoc/RestClientV2/getFuturesPositionTier.js index 1264ac4..b64f038 100644 --- a/examples/apidoc/RestClientV2/getFuturesPositionTier.js +++ b/examples/apidoc/RestClientV2/getFuturesPositionTier.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/mix/market/query-position-lever // METHOD: GET // PUBLIC: YES diff --git a/examples/apidoc/RestClientV2/getFuturesPositions.js b/examples/apidoc/RestClientV2/getFuturesPositions.js index a9d8fbe..dfa5fa8 100644 --- a/examples/apidoc/RestClientV2/getFuturesPositions.js +++ b/examples/apidoc/RestClientV2/getFuturesPositions.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/mix/position/all-position // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getFuturesRecentTrades.js b/examples/apidoc/RestClientV2/getFuturesRecentTrades.js index 5d6db54..6eb6bf8 100644 --- a/examples/apidoc/RestClientV2/getFuturesRecentTrades.js +++ b/examples/apidoc/RestClientV2/getFuturesRecentTrades.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/mix/market/fills // METHOD: GET // PUBLIC: YES diff --git a/examples/apidoc/RestClientV2/getFuturesSubAccountAssets.js b/examples/apidoc/RestClientV2/getFuturesSubAccountAssets.js index ff14ef3..9e8947a 100644 --- a/examples/apidoc/RestClientV2/getFuturesSubAccountAssets.js +++ b/examples/apidoc/RestClientV2/getFuturesSubAccountAssets.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/mix/account/sub-account-assets // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getFuturesSymbolPrice.js b/examples/apidoc/RestClientV2/getFuturesSymbolPrice.js index f8da380..e03cd7f 100644 --- a/examples/apidoc/RestClientV2/getFuturesSymbolPrice.js +++ b/examples/apidoc/RestClientV2/getFuturesSymbolPrice.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/mix/market/symbol-price // METHOD: GET // PUBLIC: YES diff --git a/examples/apidoc/RestClientV2/getFuturesTicker.js b/examples/apidoc/RestClientV2/getFuturesTicker.js index 24fec9c..8e7c3e9 100644 --- a/examples/apidoc/RestClientV2/getFuturesTicker.js +++ b/examples/apidoc/RestClientV2/getFuturesTicker.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/mix/market/ticker // METHOD: GET // PUBLIC: YES diff --git a/examples/apidoc/RestClientV2/getFuturesTraderCurrentOrder.js b/examples/apidoc/RestClientV2/getFuturesTraderCurrentOrder.js index b324f17..ea70232 100644 --- a/examples/apidoc/RestClientV2/getFuturesTraderCurrentOrder.js +++ b/examples/apidoc/RestClientV2/getFuturesTraderCurrentOrder.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/copy/mix-trader/order-current-track // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getFuturesTraderFollowers.js b/examples/apidoc/RestClientV2/getFuturesTraderFollowers.js index 991ec56..9fecc1e 100644 --- a/examples/apidoc/RestClientV2/getFuturesTraderFollowers.js +++ b/examples/apidoc/RestClientV2/getFuturesTraderFollowers.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/copy/mix-trader/config-query-followers // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getFuturesTraderHistoryOrders.js b/examples/apidoc/RestClientV2/getFuturesTraderHistoryOrders.js index 004d8d7..50887a0 100644 --- a/examples/apidoc/RestClientV2/getFuturesTraderHistoryOrders.js +++ b/examples/apidoc/RestClientV2/getFuturesTraderHistoryOrders.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/copy/mix-trader/order-history-track // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getFuturesTraderOrder.js b/examples/apidoc/RestClientV2/getFuturesTraderOrder.js index 9858155..2306e6f 100644 --- a/examples/apidoc/RestClientV2/getFuturesTraderOrder.js +++ b/examples/apidoc/RestClientV2/getFuturesTraderOrder.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/copy/mix-trader/order-total-detail // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getFuturesTraderProfitHistory.js b/examples/apidoc/RestClientV2/getFuturesTraderProfitHistory.js index b2c2db1..fec612b 100644 --- a/examples/apidoc/RestClientV2/getFuturesTraderProfitHistory.js +++ b/examples/apidoc/RestClientV2/getFuturesTraderProfitHistory.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/copy/mix-trader/profit-history-summarys // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getFuturesTraderProfitShare.js b/examples/apidoc/RestClientV2/getFuturesTraderProfitShare.js index 4ba2471..eec703b 100644 --- a/examples/apidoc/RestClientV2/getFuturesTraderProfitShare.js +++ b/examples/apidoc/RestClientV2/getFuturesTraderProfitShare.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/copy/mix-trader/profit-details // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getFuturesTraderProfitShareGroup.js b/examples/apidoc/RestClientV2/getFuturesTraderProfitShareGroup.js index 48ec7a8..9e3ffe7 100644 --- a/examples/apidoc/RestClientV2/getFuturesTraderProfitShareGroup.js +++ b/examples/apidoc/RestClientV2/getFuturesTraderProfitShareGroup.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/copy/mix-trader/profits-group-coin-date // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getFuturesTraderProfitShareHistory.js b/examples/apidoc/RestClientV2/getFuturesTraderProfitShareHistory.js index e9b8760..671bba7 100644 --- a/examples/apidoc/RestClientV2/getFuturesTraderProfitShareHistory.js +++ b/examples/apidoc/RestClientV2/getFuturesTraderProfitShareHistory.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/copy/mix-trader/profit-history-details // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getFuturesTraderSymbolSettings.js b/examples/apidoc/RestClientV2/getFuturesTraderSymbolSettings.js index 85c2e43..3ba78e2 100644 --- a/examples/apidoc/RestClientV2/getFuturesTraderSymbolSettings.js +++ b/examples/apidoc/RestClientV2/getFuturesTraderSymbolSettings.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/copy/mix-trader/config-query-symbols // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getFuturesTransactionRecords.js b/examples/apidoc/RestClientV2/getFuturesTransactionRecords.js index 883b8dd..48344c9 100644 --- a/examples/apidoc/RestClientV2/getFuturesTransactionRecords.js +++ b/examples/apidoc/RestClientV2/getFuturesTransactionRecords.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/tax/future-record // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getFuturesVIPFeeRate.js b/examples/apidoc/RestClientV2/getFuturesVIPFeeRate.js index fee982f..397f979 100644 --- a/examples/apidoc/RestClientV2/getFuturesVIPFeeRate.js +++ b/examples/apidoc/RestClientV2/getFuturesVIPFeeRate.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/mix/market/vip-fee-rate // METHOD: GET // PUBLIC: YES diff --git a/examples/apidoc/RestClientV2/getIsolatedMarginBorrowingRatio.js b/examples/apidoc/RestClientV2/getIsolatedMarginBorrowingRatio.js index b2bb69a..8ab850f 100644 --- a/examples/apidoc/RestClientV2/getIsolatedMarginBorrowingRatio.js +++ b/examples/apidoc/RestClientV2/getIsolatedMarginBorrowingRatio.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/mix/market/isolated-borrow-rate // METHOD: GET // PUBLIC: YES diff --git a/examples/apidoc/RestClientV2/getLoanCurrencies.js b/examples/apidoc/RestClientV2/getLoanCurrencies.js index dd448c7..6b8e0d4 100644 --- a/examples/apidoc/RestClientV2/getLoanCurrencies.js +++ b/examples/apidoc/RestClientV2/getLoanCurrencies.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/earn/loan/public/coinInfos // METHOD: GET // PUBLIC: YES diff --git a/examples/apidoc/RestClientV2/getLoanDebts.js b/examples/apidoc/RestClientV2/getLoanDebts.js index 7fd8420..77a518d 100644 --- a/examples/apidoc/RestClientV2/getLoanDebts.js +++ b/examples/apidoc/RestClientV2/getLoanDebts.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/earn/loan/debts // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getLoanEstInterestAndBorrowable.js b/examples/apidoc/RestClientV2/getLoanEstInterestAndBorrowable.js index c0c6fdd..529dcfe 100644 --- a/examples/apidoc/RestClientV2/getLoanEstInterestAndBorrowable.js +++ b/examples/apidoc/RestClientV2/getLoanEstInterestAndBorrowable.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/earn/loan/public/hour-interest // METHOD: GET // PUBLIC: YES diff --git a/examples/apidoc/RestClientV2/getLoanHistory.js b/examples/apidoc/RestClientV2/getLoanHistory.js index b68af47..acaf5bb 100644 --- a/examples/apidoc/RestClientV2/getLoanHistory.js +++ b/examples/apidoc/RestClientV2/getLoanHistory.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/earn/loan/borrow-history // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getLoanLiquidationRecords.js b/examples/apidoc/RestClientV2/getLoanLiquidationRecords.js index eb109de..d255866 100644 --- a/examples/apidoc/RestClientV2/getLoanLiquidationRecords.js +++ b/examples/apidoc/RestClientV2/getLoanLiquidationRecords.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/earn/loan/reduces // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getLoanPledgeRateHistory.js b/examples/apidoc/RestClientV2/getLoanPledgeRateHistory.js index 24e5252..e8f4017 100644 --- a/examples/apidoc/RestClientV2/getLoanPledgeRateHistory.js +++ b/examples/apidoc/RestClientV2/getLoanPledgeRateHistory.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/earn/loan/revise-history // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getMarginAccountAssets.js b/examples/apidoc/RestClientV2/getMarginAccountAssets.js index 14cf6f9..eb14493 100644 --- a/examples/apidoc/RestClientV2/getMarginAccountAssets.js +++ b/examples/apidoc/RestClientV2/getMarginAccountAssets.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/margin/${marginType}/account/assets // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getMarginBorrowHistory.js b/examples/apidoc/RestClientV2/getMarginBorrowHistory.js index 398a2a8..123fa94 100644 --- a/examples/apidoc/RestClientV2/getMarginBorrowHistory.js +++ b/examples/apidoc/RestClientV2/getMarginBorrowHistory.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/margin/${marginType}/borrow-history // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getMarginCurrencies.js b/examples/apidoc/RestClientV2/getMarginCurrencies.js index a789413..52260ec 100644 --- a/examples/apidoc/RestClientV2/getMarginCurrencies.js +++ b/examples/apidoc/RestClientV2/getMarginCurrencies.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/margin/currencies // METHOD: GET // PUBLIC: YES diff --git a/examples/apidoc/RestClientV2/getMarginFinancialHistory.js b/examples/apidoc/RestClientV2/getMarginFinancialHistory.js index e7fbdb9..4f4dd1d 100644 --- a/examples/apidoc/RestClientV2/getMarginFinancialHistory.js +++ b/examples/apidoc/RestClientV2/getMarginFinancialHistory.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/margin/${marginType}/financial-records // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getMarginFlashRepayResult.js b/examples/apidoc/RestClientV2/getMarginFlashRepayResult.js index 683e24e..e8c37c6 100644 --- a/examples/apidoc/RestClientV2/getMarginFlashRepayResult.js +++ b/examples/apidoc/RestClientV2/getMarginFlashRepayResult.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/margin/${marginType}/account/query-flash-repay-status // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getMarginHistoricOrderFills.js b/examples/apidoc/RestClientV2/getMarginHistoricOrderFills.js index e0338c3..d6eaf01 100644 --- a/examples/apidoc/RestClientV2/getMarginHistoricOrderFills.js +++ b/examples/apidoc/RestClientV2/getMarginHistoricOrderFills.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/margin/${marginType}/fills // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getMarginHistoricOrders.js b/examples/apidoc/RestClientV2/getMarginHistoricOrders.js index 9febbc5..e8c1ee0 100644 --- a/examples/apidoc/RestClientV2/getMarginHistoricOrders.js +++ b/examples/apidoc/RestClientV2/getMarginHistoricOrders.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/margin/${marginType}/history-orders // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getMarginInterestHistory.js b/examples/apidoc/RestClientV2/getMarginInterestHistory.js index 81bc08f..4e2ad93 100644 --- a/examples/apidoc/RestClientV2/getMarginInterestHistory.js +++ b/examples/apidoc/RestClientV2/getMarginInterestHistory.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/margin/${marginType}/interest-history // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getMarginInterestRateAndMaxBorrowable.js b/examples/apidoc/RestClientV2/getMarginInterestRateAndMaxBorrowable.js index 3e31ad8..c15ebb6 100644 --- a/examples/apidoc/RestClientV2/getMarginInterestRateAndMaxBorrowable.js +++ b/examples/apidoc/RestClientV2/getMarginInterestRateAndMaxBorrowable.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/margin/${marginType}/interest-rate-and-limit // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getMarginLiquidationHistory.js b/examples/apidoc/RestClientV2/getMarginLiquidationHistory.js index daeb2fa..daeea52 100644 --- a/examples/apidoc/RestClientV2/getMarginLiquidationHistory.js +++ b/examples/apidoc/RestClientV2/getMarginLiquidationHistory.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/margin/${marginType}/liquidation-history // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getMarginLiquidationOrders.js b/examples/apidoc/RestClientV2/getMarginLiquidationOrders.js index fcb66e5..5df4ad6 100644 --- a/examples/apidoc/RestClientV2/getMarginLiquidationOrders.js +++ b/examples/apidoc/RestClientV2/getMarginLiquidationOrders.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/margin/${marginType}/liquidation-order // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getMarginLoanGrowthRate.js b/examples/apidoc/RestClientV2/getMarginLoanGrowthRate.js index 03d8fbe..bfe6b5a 100644 --- a/examples/apidoc/RestClientV2/getMarginLoanGrowthRate.js +++ b/examples/apidoc/RestClientV2/getMarginLoanGrowthRate.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/mix/market/loan-growth // METHOD: GET // PUBLIC: YES diff --git a/examples/apidoc/RestClientV2/getMarginMaxBorrowable.js b/examples/apidoc/RestClientV2/getMarginMaxBorrowable.js index ccee847..7265b88 100644 --- a/examples/apidoc/RestClientV2/getMarginMaxBorrowable.js +++ b/examples/apidoc/RestClientV2/getMarginMaxBorrowable.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/margin/${marginType}/account/max-borrowable-amount // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getMarginMaxTransferable.js b/examples/apidoc/RestClientV2/getMarginMaxTransferable.js index 0a5d3fe..2d1244a 100644 --- a/examples/apidoc/RestClientV2/getMarginMaxTransferable.js +++ b/examples/apidoc/RestClientV2/getMarginMaxTransferable.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/margin/${marginType}/account/max-transfer-out-amount // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getMarginOpenOrders.js b/examples/apidoc/RestClientV2/getMarginOpenOrders.js index 00d7439..7a8175d 100644 --- a/examples/apidoc/RestClientV2/getMarginOpenOrders.js +++ b/examples/apidoc/RestClientV2/getMarginOpenOrders.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/margin/${marginType}/open-orders // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getMarginRepayHistory.js b/examples/apidoc/RestClientV2/getMarginRepayHistory.js index 5bc06a0..13d2444 100644 --- a/examples/apidoc/RestClientV2/getMarginRepayHistory.js +++ b/examples/apidoc/RestClientV2/getMarginRepayHistory.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/margin/${marginType}/repay-history // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getMarginRiskRate.js b/examples/apidoc/RestClientV2/getMarginRiskRate.js index 3644f50..85b8733 100644 --- a/examples/apidoc/RestClientV2/getMarginRiskRate.js +++ b/examples/apidoc/RestClientV2/getMarginRiskRate.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/margin/${marginType}/account/risk-rate // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getMarginTierConfiguration.js b/examples/apidoc/RestClientV2/getMarginTierConfiguration.js index 00e4b80..f4449fa 100644 --- a/examples/apidoc/RestClientV2/getMarginTierConfiguration.js +++ b/examples/apidoc/RestClientV2/getMarginTierConfiguration.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/margin/${marginType}/tier-data // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getMarginTransactionRecords.js b/examples/apidoc/RestClientV2/getMarginTransactionRecords.js index faaff01..feec570 100644 --- a/examples/apidoc/RestClientV2/getMarginTransactionRecords.js +++ b/examples/apidoc/RestClientV2/getMarginTransactionRecords.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/tax/margin-record // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getOngoingLoanOrders.js b/examples/apidoc/RestClientV2/getOngoingLoanOrders.js index 5e55f7a..8e0a519 100644 --- a/examples/apidoc/RestClientV2/getOngoingLoanOrders.js +++ b/examples/apidoc/RestClientV2/getOngoingLoanOrders.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/earn/loan/ongoing-orders // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getP2PMerchantAdvertisementList.js b/examples/apidoc/RestClientV2/getP2PMerchantAdvertisementList.js index 4d948fa..8f78857 100644 --- a/examples/apidoc/RestClientV2/getP2PMerchantAdvertisementList.js +++ b/examples/apidoc/RestClientV2/getP2PMerchantAdvertisementList.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/p2p/advList // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getP2PMerchantInfo.js b/examples/apidoc/RestClientV2/getP2PMerchantInfo.js index 354dbca..a0b24a4 100644 --- a/examples/apidoc/RestClientV2/getP2PMerchantInfo.js +++ b/examples/apidoc/RestClientV2/getP2PMerchantInfo.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/p2p/merchantInfo // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getP2PMerchantList.js b/examples/apidoc/RestClientV2/getP2PMerchantList.js index db842fe..30e919f 100644 --- a/examples/apidoc/RestClientV2/getP2PMerchantList.js +++ b/examples/apidoc/RestClientV2/getP2PMerchantList.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/p2p/merchantList // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getP2PMerchantOrders.js b/examples/apidoc/RestClientV2/getP2PMerchantOrders.js index a9387bb..ae2a2d8 100644 --- a/examples/apidoc/RestClientV2/getP2PMerchantOrders.js +++ b/examples/apidoc/RestClientV2/getP2PMerchantOrders.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/p2p/orderList // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getP2PTransactionRecords.js b/examples/apidoc/RestClientV2/getP2PTransactionRecords.js index 69cb180..06cb42b 100644 --- a/examples/apidoc/RestClientV2/getP2PTransactionRecords.js +++ b/examples/apidoc/RestClientV2/getP2PTransactionRecords.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/tax/p2p-record // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getRepayHistory.js b/examples/apidoc/RestClientV2/getRepayHistory.js index 9531bd6..adc532d 100644 --- a/examples/apidoc/RestClientV2/getRepayHistory.js +++ b/examples/apidoc/RestClientV2/getRepayHistory.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/earn/loan/repay-history // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getServerTime.js b/examples/apidoc/RestClientV2/getServerTime.js index 9c76a5c..fe58672 100644 --- a/examples/apidoc/RestClientV2/getServerTime.js +++ b/examples/apidoc/RestClientV2/getServerTime.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/public/time // METHOD: GET // PUBLIC: YES diff --git a/examples/apidoc/RestClientV2/getSharkfinAccount.js b/examples/apidoc/RestClientV2/getSharkfinAccount.js index 6a07b2f..b009b0c 100644 --- a/examples/apidoc/RestClientV2/getSharkfinAccount.js +++ b/examples/apidoc/RestClientV2/getSharkfinAccount.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/earn/sharkfin/account // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getSharkfinAssets.js b/examples/apidoc/RestClientV2/getSharkfinAssets.js index 263a647..beb05fb 100644 --- a/examples/apidoc/RestClientV2/getSharkfinAssets.js +++ b/examples/apidoc/RestClientV2/getSharkfinAssets.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/earn/sharkfin/assets // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getSharkfinProducts.js b/examples/apidoc/RestClientV2/getSharkfinProducts.js index eac7789..97d0584 100644 --- a/examples/apidoc/RestClientV2/getSharkfinProducts.js +++ b/examples/apidoc/RestClientV2/getSharkfinProducts.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/earn/sharkfin/product // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getSharkfinRecords.js b/examples/apidoc/RestClientV2/getSharkfinRecords.js index 238fd07..fb6d3ed 100644 --- a/examples/apidoc/RestClientV2/getSharkfinRecords.js +++ b/examples/apidoc/RestClientV2/getSharkfinRecords.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/earn/sharkfin/records // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getSharkfinSubscription.js b/examples/apidoc/RestClientV2/getSharkfinSubscription.js index 34572ef..8c46da9 100644 --- a/examples/apidoc/RestClientV2/getSharkfinSubscription.js +++ b/examples/apidoc/RestClientV2/getSharkfinSubscription.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/earn/sharkfin/subscribe-info // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getSharkfinSubscriptionResult.js b/examples/apidoc/RestClientV2/getSharkfinSubscriptionResult.js index 16ecf7d..2e5ef03 100644 --- a/examples/apidoc/RestClientV2/getSharkfinSubscriptionResult.js +++ b/examples/apidoc/RestClientV2/getSharkfinSubscriptionResult.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/earn/sharkfin/subscribe-result // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getSpotAccount.js b/examples/apidoc/RestClientV2/getSpotAccount.js index 0fe4a58..06d4e0a 100644 --- a/examples/apidoc/RestClientV2/getSpotAccount.js +++ b/examples/apidoc/RestClientV2/getSpotAccount.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/spot/account/info // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getSpotAccountAssets.js b/examples/apidoc/RestClientV2/getSpotAccountAssets.js index 40621b4..c181905 100644 --- a/examples/apidoc/RestClientV2/getSpotAccountAssets.js +++ b/examples/apidoc/RestClientV2/getSpotAccountAssets.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/spot/account/assets // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getSpotAccountBills.js b/examples/apidoc/RestClientV2/getSpotAccountBills.js index 7e78b79..0f1428d 100644 --- a/examples/apidoc/RestClientV2/getSpotAccountBills.js +++ b/examples/apidoc/RestClientV2/getSpotAccountBills.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/spot/account/bills // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getSpotBGBDeductInfo.js b/examples/apidoc/RestClientV2/getSpotBGBDeductInfo.js index 2ef8055..0d55044 100644 --- a/examples/apidoc/RestClientV2/getSpotBGBDeductInfo.js +++ b/examples/apidoc/RestClientV2/getSpotBGBDeductInfo.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/spot/account/deduct-info // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getSpotCandles.js b/examples/apidoc/RestClientV2/getSpotCandles.js index ace625d..1ebc5ca 100644 --- a/examples/apidoc/RestClientV2/getSpotCandles.js +++ b/examples/apidoc/RestClientV2/getSpotCandles.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/spot/market/candles // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getSpotCoinInfo.js b/examples/apidoc/RestClientV2/getSpotCoinInfo.js index 7da5f97..87e7003 100644 --- a/examples/apidoc/RestClientV2/getSpotCoinInfo.js +++ b/examples/apidoc/RestClientV2/getSpotCoinInfo.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/spot/public/coins // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getSpotCurrentPlanOrders.js b/examples/apidoc/RestClientV2/getSpotCurrentPlanOrders.js index 4a7b3a5..2cdfd9a 100644 --- a/examples/apidoc/RestClientV2/getSpotCurrentPlanOrders.js +++ b/examples/apidoc/RestClientV2/getSpotCurrentPlanOrders.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/spot/trade/current-plan-order // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getSpotDepositAddress.js b/examples/apidoc/RestClientV2/getSpotDepositAddress.js index b9c120e..e88e69a 100644 --- a/examples/apidoc/RestClientV2/getSpotDepositAddress.js +++ b/examples/apidoc/RestClientV2/getSpotDepositAddress.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/spot/wallet/deposit-address // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getSpotDepositHistory.js b/examples/apidoc/RestClientV2/getSpotDepositHistory.js index 242e422..3fdf17f 100644 --- a/examples/apidoc/RestClientV2/getSpotDepositHistory.js +++ b/examples/apidoc/RestClientV2/getSpotDepositHistory.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/spot/wallet/deposit-records // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getSpotFills.js b/examples/apidoc/RestClientV2/getSpotFills.js index 7edf03c..dc44273 100644 --- a/examples/apidoc/RestClientV2/getSpotFills.js +++ b/examples/apidoc/RestClientV2/getSpotFills.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/spot/trade/fills // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getSpotFollowerCurrentTraderSymbols.js b/examples/apidoc/RestClientV2/getSpotFollowerCurrentTraderSymbols.js index ef9eeac..4be436e 100644 --- a/examples/apidoc/RestClientV2/getSpotFollowerCurrentTraderSymbols.js +++ b/examples/apidoc/RestClientV2/getSpotFollowerCurrentTraderSymbols.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/copy/spot-follower/query-trader-symbols // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getSpotFollowerHistoryOrders.js b/examples/apidoc/RestClientV2/getSpotFollowerHistoryOrders.js index 9a24310..4ce1b16 100644 --- a/examples/apidoc/RestClientV2/getSpotFollowerHistoryOrders.js +++ b/examples/apidoc/RestClientV2/getSpotFollowerHistoryOrders.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/copy/spot-follower/query-history-orders // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getSpotFollowerOpenOrders.js b/examples/apidoc/RestClientV2/getSpotFollowerOpenOrders.js index fa00ab1..720ec9e 100644 --- a/examples/apidoc/RestClientV2/getSpotFollowerOpenOrders.js +++ b/examples/apidoc/RestClientV2/getSpotFollowerOpenOrders.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/copy/spot-follower/query-current-orders // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getSpotFollowerSettings.js b/examples/apidoc/RestClientV2/getSpotFollowerSettings.js index 8f17cd8..7bfe357 100644 --- a/examples/apidoc/RestClientV2/getSpotFollowerSettings.js +++ b/examples/apidoc/RestClientV2/getSpotFollowerSettings.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/copy/spot-follower/query-settings // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getSpotFollowerTraders.js b/examples/apidoc/RestClientV2/getSpotFollowerTraders.js index 9daafb9..efa0b74 100644 --- a/examples/apidoc/RestClientV2/getSpotFollowerTraders.js +++ b/examples/apidoc/RestClientV2/getSpotFollowerTraders.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/copy/spot-follower/query-traders // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getSpotFundFlow.js b/examples/apidoc/RestClientV2/getSpotFundFlow.js index 84053e3..f29a95b 100644 --- a/examples/apidoc/RestClientV2/getSpotFundFlow.js +++ b/examples/apidoc/RestClientV2/getSpotFundFlow.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/spot/market/fund-flow // METHOD: GET // PUBLIC: YES diff --git a/examples/apidoc/RestClientV2/getSpotFundNetFlowData.js b/examples/apidoc/RestClientV2/getSpotFundNetFlowData.js index 6009675..0ba2acd 100644 --- a/examples/apidoc/RestClientV2/getSpotFundNetFlowData.js +++ b/examples/apidoc/RestClientV2/getSpotFundNetFlowData.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/spot/market/fund-net-flow // METHOD: GET // PUBLIC: YES diff --git a/examples/apidoc/RestClientV2/getSpotHistoricCandles.js b/examples/apidoc/RestClientV2/getSpotHistoricCandles.js index a1d9d29..bf5eeb9 100644 --- a/examples/apidoc/RestClientV2/getSpotHistoricCandles.js +++ b/examples/apidoc/RestClientV2/getSpotHistoricCandles.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/spot/market/history-candles // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getSpotHistoricOrders.js b/examples/apidoc/RestClientV2/getSpotHistoricOrders.js index cdd73de..09fe8dd 100644 --- a/examples/apidoc/RestClientV2/getSpotHistoricOrders.js +++ b/examples/apidoc/RestClientV2/getSpotHistoricOrders.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/spot/trade/history-orders // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getSpotHistoricPlanOrders.js b/examples/apidoc/RestClientV2/getSpotHistoricPlanOrders.js index 9d76442..d57fe71 100644 --- a/examples/apidoc/RestClientV2/getSpotHistoricPlanOrders.js +++ b/examples/apidoc/RestClientV2/getSpotHistoricPlanOrders.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/spot/trade/history-plan-order // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getSpotHistoricTrades.js b/examples/apidoc/RestClientV2/getSpotHistoricTrades.js index 121ea94..405c19d 100644 --- a/examples/apidoc/RestClientV2/getSpotHistoricTrades.js +++ b/examples/apidoc/RestClientV2/getSpotHistoricTrades.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/spot/market/fills-history // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getSpotMainSubTransferRecord.js b/examples/apidoc/RestClientV2/getSpotMainSubTransferRecord.js index f7dc78f..f7a3239 100644 --- a/examples/apidoc/RestClientV2/getSpotMainSubTransferRecord.js +++ b/examples/apidoc/RestClientV2/getSpotMainSubTransferRecord.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/spot/account/sub-main-trans-record // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getSpotMergeDepth.js b/examples/apidoc/RestClientV2/getSpotMergeDepth.js index f3dd36d..090f8f7 100644 --- a/examples/apidoc/RestClientV2/getSpotMergeDepth.js +++ b/examples/apidoc/RestClientV2/getSpotMergeDepth.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/spot/market/merge-depth // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getSpotOpenOrders.js b/examples/apidoc/RestClientV2/getSpotOpenOrders.js index 319e623..479c631 100644 --- a/examples/apidoc/RestClientV2/getSpotOpenOrders.js +++ b/examples/apidoc/RestClientV2/getSpotOpenOrders.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/spot/trade/unfilled-orders // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getSpotOrder.js b/examples/apidoc/RestClientV2/getSpotOrder.js index 5623bb1..94c0ea6 100644 --- a/examples/apidoc/RestClientV2/getSpotOrder.js +++ b/examples/apidoc/RestClientV2/getSpotOrder.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/spot/trade/orderInfo // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getSpotOrderBookDepth.js b/examples/apidoc/RestClientV2/getSpotOrderBookDepth.js index 83d3dbe..d09a2ea 100644 --- a/examples/apidoc/RestClientV2/getSpotOrderBookDepth.js +++ b/examples/apidoc/RestClientV2/getSpotOrderBookDepth.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/spot/market/orderbook // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getSpotPlanSubOrder.js b/examples/apidoc/RestClientV2/getSpotPlanSubOrder.js index bc05062..0a083ba 100644 --- a/examples/apidoc/RestClientV2/getSpotPlanSubOrder.js +++ b/examples/apidoc/RestClientV2/getSpotPlanSubOrder.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/spot/trade/plan-sub-order // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getSpotRecentTrades.js b/examples/apidoc/RestClientV2/getSpotRecentTrades.js index fcece1a..aca85d1 100644 --- a/examples/apidoc/RestClientV2/getSpotRecentTrades.js +++ b/examples/apidoc/RestClientV2/getSpotRecentTrades.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/spot/market/fills // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getSpotSubAccountAssets.js b/examples/apidoc/RestClientV2/getSpotSubAccountAssets.js index 7ad9cc8..ac70788 100644 --- a/examples/apidoc/RestClientV2/getSpotSubAccountAssets.js +++ b/examples/apidoc/RestClientV2/getSpotSubAccountAssets.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/spot/account/subaccount-assets // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getSpotSubDepositAddress.js b/examples/apidoc/RestClientV2/getSpotSubDepositAddress.js index 3c327b2..8bf05d5 100644 --- a/examples/apidoc/RestClientV2/getSpotSubDepositAddress.js +++ b/examples/apidoc/RestClientV2/getSpotSubDepositAddress.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/spot/wallet/subaccount-deposit-address // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getSpotSymbolInfo.js b/examples/apidoc/RestClientV2/getSpotSymbolInfo.js index 856541c..6efa31d 100644 --- a/examples/apidoc/RestClientV2/getSpotSymbolInfo.js +++ b/examples/apidoc/RestClientV2/getSpotSymbolInfo.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/spot/public/symbols // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getSpotTicker.js b/examples/apidoc/RestClientV2/getSpotTicker.js index 8b7f846..a3a8679 100644 --- a/examples/apidoc/RestClientV2/getSpotTicker.js +++ b/examples/apidoc/RestClientV2/getSpotTicker.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/spot/market/tickers // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getSpotTraderConfiguration.js b/examples/apidoc/RestClientV2/getSpotTraderConfiguration.js index b71a96e..dfccc26 100644 --- a/examples/apidoc/RestClientV2/getSpotTraderConfiguration.js +++ b/examples/apidoc/RestClientV2/getSpotTraderConfiguration.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/copy/spot-trader/config-query-settings // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getSpotTraderCurrentOrders.js b/examples/apidoc/RestClientV2/getSpotTraderCurrentOrders.js index ee43200..f8fc87e 100644 --- a/examples/apidoc/RestClientV2/getSpotTraderCurrentOrders.js +++ b/examples/apidoc/RestClientV2/getSpotTraderCurrentOrders.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/copy/spot-trader/order-current-track // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getSpotTraderFollowers.js b/examples/apidoc/RestClientV2/getSpotTraderFollowers.js index a588a5d..1bbecb5 100644 --- a/examples/apidoc/RestClientV2/getSpotTraderFollowers.js +++ b/examples/apidoc/RestClientV2/getSpotTraderFollowers.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/copy/spot-trader/config-query-followers // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getSpotTraderHistoryOrders.js b/examples/apidoc/RestClientV2/getSpotTraderHistoryOrders.js index 610197c..2c88d76 100644 --- a/examples/apidoc/RestClientV2/getSpotTraderHistoryOrders.js +++ b/examples/apidoc/RestClientV2/getSpotTraderHistoryOrders.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/copy/spot-trader/order-history-track // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getSpotTraderHistoryProfit.js b/examples/apidoc/RestClientV2/getSpotTraderHistoryProfit.js index 2d2c53d..f8089ab 100644 --- a/examples/apidoc/RestClientV2/getSpotTraderHistoryProfit.js +++ b/examples/apidoc/RestClientV2/getSpotTraderHistoryProfit.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/copy/spot-trader/profit-history-details // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getSpotTraderOrder.js b/examples/apidoc/RestClientV2/getSpotTraderOrder.js index f45f211..6d50ea5 100644 --- a/examples/apidoc/RestClientV2/getSpotTraderOrder.js +++ b/examples/apidoc/RestClientV2/getSpotTraderOrder.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/copy/spot-trader/order-total-detail // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getSpotTraderProfit.js b/examples/apidoc/RestClientV2/getSpotTraderProfit.js index 3dcf337..cb1d2ea 100644 --- a/examples/apidoc/RestClientV2/getSpotTraderProfit.js +++ b/examples/apidoc/RestClientV2/getSpotTraderProfit.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/copy/spot-trader/profit-summarys // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getSpotTraderSymbolSettings.js b/examples/apidoc/RestClientV2/getSpotTraderSymbolSettings.js index 2b1dfb4..468c0f0 100644 --- a/examples/apidoc/RestClientV2/getSpotTraderSymbolSettings.js +++ b/examples/apidoc/RestClientV2/getSpotTraderSymbolSettings.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/copy/spot-trader/config-setting-symbols // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getSpotTraderUnrealizedProfit.js b/examples/apidoc/RestClientV2/getSpotTraderUnrealizedProfit.js index 6c04478..f319f2a 100644 --- a/examples/apidoc/RestClientV2/getSpotTraderUnrealizedProfit.js +++ b/examples/apidoc/RestClientV2/getSpotTraderUnrealizedProfit.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/copy/spot-trader/profit-details // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getSpotTransactionRecords.js b/examples/apidoc/RestClientV2/getSpotTransactionRecords.js index 0234932..2410b50 100644 --- a/examples/apidoc/RestClientV2/getSpotTransactionRecords.js +++ b/examples/apidoc/RestClientV2/getSpotTransactionRecords.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/tax/spot-record // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getSpotTransferHistory.js b/examples/apidoc/RestClientV2/getSpotTransferHistory.js index 9dd7c9e..82cf36a 100644 --- a/examples/apidoc/RestClientV2/getSpotTransferHistory.js +++ b/examples/apidoc/RestClientV2/getSpotTransferHistory.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/spot/account/transferRecords // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getSpotTransferableCoins.js b/examples/apidoc/RestClientV2/getSpotTransferableCoins.js index 4027681..e7617f3 100644 --- a/examples/apidoc/RestClientV2/getSpotTransferableCoins.js +++ b/examples/apidoc/RestClientV2/getSpotTransferableCoins.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/spot/wallet/transfer-coin-info // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getSpotVIPFeeRate.js b/examples/apidoc/RestClientV2/getSpotVIPFeeRate.js index 79316a5..52e2dde 100644 --- a/examples/apidoc/RestClientV2/getSpotVIPFeeRate.js +++ b/examples/apidoc/RestClientV2/getSpotVIPFeeRate.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/spot/market/vip-fee-rate // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getSpotWhaleNetFlowData.js b/examples/apidoc/RestClientV2/getSpotWhaleNetFlowData.js index f1b203e..c9dec27 100644 --- a/examples/apidoc/RestClientV2/getSpotWhaleNetFlowData.js +++ b/examples/apidoc/RestClientV2/getSpotWhaleNetFlowData.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/spot/market/whale-net-flow // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getSpotWithdrawalHistory.js b/examples/apidoc/RestClientV2/getSpotWithdrawalHistory.js index 7e0458c..ed72ee2 100644 --- a/examples/apidoc/RestClientV2/getSpotWithdrawalHistory.js +++ b/examples/apidoc/RestClientV2/getSpotWithdrawalHistory.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/spot/wallet/withdrawal-records // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getSubAccountDepositRecords.js b/examples/apidoc/RestClientV2/getSubAccountDepositRecords.js index e9eeac6..754d540 100644 --- a/examples/apidoc/RestClientV2/getSubAccountDepositRecords.js +++ b/examples/apidoc/RestClientV2/getSubAccountDepositRecords.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/spot/wallet/subaccount-deposit-records // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getSubaccountApiKey.js b/examples/apidoc/RestClientV2/getSubaccountApiKey.js index 059701e..87c5f27 100644 --- a/examples/apidoc/RestClientV2/getSubaccountApiKey.js +++ b/examples/apidoc/RestClientV2/getSubaccountApiKey.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/broker/manage/subaccount-apikey-list // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getSubaccountEmail.js b/examples/apidoc/RestClientV2/getSubaccountEmail.js index 2649950..1382f3d 100644 --- a/examples/apidoc/RestClientV2/getSubaccountEmail.js +++ b/examples/apidoc/RestClientV2/getSubaccountEmail.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/broker/account/subaccount-email // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getSubaccountFuturesAssets.js b/examples/apidoc/RestClientV2/getSubaccountFuturesAssets.js index 9803063..d8bebf9 100644 --- a/examples/apidoc/RestClientV2/getSubaccountFuturesAssets.js +++ b/examples/apidoc/RestClientV2/getSubaccountFuturesAssets.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/broker/account/subaccount-future-assets // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getSubaccountSpotAssets.js b/examples/apidoc/RestClientV2/getSubaccountSpotAssets.js index 48193d9..383126e 100644 --- a/examples/apidoc/RestClientV2/getSubaccountSpotAssets.js +++ b/examples/apidoc/RestClientV2/getSubaccountSpotAssets.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/broker/account/subaccount-spot-assets // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getSubaccounts.js b/examples/apidoc/RestClientV2/getSubaccounts.js index 5346afa..34fde09 100644 --- a/examples/apidoc/RestClientV2/getSubaccounts.js +++ b/examples/apidoc/RestClientV2/getSubaccounts.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/broker/account/subaccount-list // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getTradeDataSupportSymbols.js b/examples/apidoc/RestClientV2/getTradeDataSupportSymbols.js index 0fb61ea..d3d4407 100644 --- a/examples/apidoc/RestClientV2/getTradeDataSupportSymbols.js +++ b/examples/apidoc/RestClientV2/getTradeDataSupportSymbols.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/spot/market/support-symbols // METHOD: GET // PUBLIC: YES diff --git a/examples/apidoc/RestClientV2/getTradeRate.js b/examples/apidoc/RestClientV2/getTradeRate.js index bf352fd..6f74c60 100644 --- a/examples/apidoc/RestClientV2/getTradeRate.js +++ b/examples/apidoc/RestClientV2/getTradeRate.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/common/trade-rate // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getVirtualSubaccountAPIKeys.js b/examples/apidoc/RestClientV2/getVirtualSubaccountAPIKeys.js index 70b153e..c60420a 100644 --- a/examples/apidoc/RestClientV2/getVirtualSubaccountAPIKeys.js +++ b/examples/apidoc/RestClientV2/getVirtualSubaccountAPIKeys.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/user/virtual-subaccount-apikey-list // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/getVirtualSubaccounts.js b/examples/apidoc/RestClientV2/getVirtualSubaccounts.js index 597ecec..d440e24 100644 --- a/examples/apidoc/RestClientV2/getVirtualSubaccounts.js +++ b/examples/apidoc/RestClientV2/getVirtualSubaccounts.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/user/virtual-subaccount-list // METHOD: GET // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/marginBatchCancelOrders.js b/examples/apidoc/RestClientV2/marginBatchCancelOrders.js index 5815d3b..74badad 100644 --- a/examples/apidoc/RestClientV2/marginBatchCancelOrders.js +++ b/examples/apidoc/RestClientV2/marginBatchCancelOrders.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/margin/${marginType}/batch-cancel-order // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/marginBatchSubmitOrders.js b/examples/apidoc/RestClientV2/marginBatchSubmitOrders.js index 1f74fef..6bd8240 100644 --- a/examples/apidoc/RestClientV2/marginBatchSubmitOrders.js +++ b/examples/apidoc/RestClientV2/marginBatchSubmitOrders.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/margin/${marginType}/batch-place-order // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/marginBorrow.js b/examples/apidoc/RestClientV2/marginBorrow.js index 2a9b9de..cc19072 100644 --- a/examples/apidoc/RestClientV2/marginBorrow.js +++ b/examples/apidoc/RestClientV2/marginBorrow.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/margin/${marginType}/account/borrow // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/marginCancelOrder.js b/examples/apidoc/RestClientV2/marginCancelOrder.js index e9b542d..66bfa92 100644 --- a/examples/apidoc/RestClientV2/marginCancelOrder.js +++ b/examples/apidoc/RestClientV2/marginCancelOrder.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/margin/${marginType}/cancel-order // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/marginFlashRepay.js b/examples/apidoc/RestClientV2/marginFlashRepay.js index e0f2deb..d9aeda7 100644 --- a/examples/apidoc/RestClientV2/marginFlashRepay.js +++ b/examples/apidoc/RestClientV2/marginFlashRepay.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/margin/${marginType}/account/flash-repay // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/marginRepay.js b/examples/apidoc/RestClientV2/marginRepay.js index 9ac47a3..d3f32a2 100644 --- a/examples/apidoc/RestClientV2/marginRepay.js +++ b/examples/apidoc/RestClientV2/marginRepay.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/margin/${marginType}/account/repay // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/marginSubmitOrder.js b/examples/apidoc/RestClientV2/marginSubmitOrder.js index 0d717fe..9ac0bbf 100644 --- a/examples/apidoc/RestClientV2/marginSubmitOrder.js +++ b/examples/apidoc/RestClientV2/marginSubmitOrder.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/margin/${marginType}/place-order // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/modifyFuturesTraderOrderTPSL.js b/examples/apidoc/RestClientV2/modifyFuturesTraderOrderTPSL.js index 7e07f36..a2a02dc 100644 --- a/examples/apidoc/RestClientV2/modifyFuturesTraderOrderTPSL.js +++ b/examples/apidoc/RestClientV2/modifyFuturesTraderOrderTPSL.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/copy/mix-trader/order-modify-tpsl // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/modifySpotTraderOrderTPSL.js b/examples/apidoc/RestClientV2/modifySpotTraderOrderTPSL.js index e903027..dd52ba1 100644 --- a/examples/apidoc/RestClientV2/modifySpotTraderOrderTPSL.js +++ b/examples/apidoc/RestClientV2/modifySpotTraderOrderTPSL.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/copy/spot-trader/order-modify-tpsl // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/modifySubaccount.js b/examples/apidoc/RestClientV2/modifySubaccount.js index f8d9a66..6c65cbd 100644 --- a/examples/apidoc/RestClientV2/modifySubaccount.js +++ b/examples/apidoc/RestClientV2/modifySubaccount.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/broker/account/modify-subaccount // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/modifySubaccountApiKey.js b/examples/apidoc/RestClientV2/modifySubaccountApiKey.js index 75555ef..eeb8daf 100644 --- a/examples/apidoc/RestClientV2/modifySubaccountApiKey.js +++ b/examples/apidoc/RestClientV2/modifySubaccountApiKey.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/broker/manage/modify-subaccount-apikey // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/modifySubaccountEmail.js b/examples/apidoc/RestClientV2/modifySubaccountEmail.js index 2337ca5..cde60b9 100644 --- a/examples/apidoc/RestClientV2/modifySubaccountEmail.js +++ b/examples/apidoc/RestClientV2/modifySubaccountEmail.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/broker/account/modify-subaccount-email // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/modifyVirtualSubaccount.js b/examples/apidoc/RestClientV2/modifyVirtualSubaccount.js index 15bd3f2..5da8f8b 100644 --- a/examples/apidoc/RestClientV2/modifyVirtualSubaccount.js +++ b/examples/apidoc/RestClientV2/modifyVirtualSubaccount.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/user/modify-virtual-subaccount // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/modifyVirtualSubaccountAPIKey.js b/examples/apidoc/RestClientV2/modifyVirtualSubaccountAPIKey.js index 380177b..12df35f 100644 --- a/examples/apidoc/RestClientV2/modifyVirtualSubaccountAPIKey.js +++ b/examples/apidoc/RestClientV2/modifyVirtualSubaccountAPIKey.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/user/modify-virtual-subaccount-apikey // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/removeFuturesTraderFollower.js b/examples/apidoc/RestClientV2/removeFuturesTraderFollower.js index 2cf8879..d1354e8 100644 --- a/examples/apidoc/RestClientV2/removeFuturesTraderFollower.js +++ b/examples/apidoc/RestClientV2/removeFuturesTraderFollower.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/copy/mix-trader/config-remove-follower // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/removeSpotTraderFollowers.js b/examples/apidoc/RestClientV2/removeSpotTraderFollowers.js index 544fcba..1d67e89 100644 --- a/examples/apidoc/RestClientV2/removeSpotTraderFollowers.js +++ b/examples/apidoc/RestClientV2/removeSpotTraderFollowers.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/copy/spot-trader/config-remove-follower // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/repayLoan.js b/examples/apidoc/RestClientV2/repayLoan.js index a2ff814..40da0c9 100644 --- a/examples/apidoc/RestClientV2/repayLoan.js +++ b/examples/apidoc/RestClientV2/repayLoan.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/earn/loan/repay // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/sellSpotFollower.js b/examples/apidoc/RestClientV2/sellSpotFollower.js index 73a9c09..724caf4 100644 --- a/examples/apidoc/RestClientV2/sellSpotFollower.js +++ b/examples/apidoc/RestClientV2/sellSpotFollower.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/copy/spot-follower/order-close-tracking // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/sellSpotTrader.js b/examples/apidoc/RestClientV2/sellSpotTrader.js index 1c98940..c158c73 100644 --- a/examples/apidoc/RestClientV2/sellSpotTrader.js +++ b/examples/apidoc/RestClientV2/sellSpotTrader.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/copy/spot-trader/order-close-tracking // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/setFuturesLeverage.js b/examples/apidoc/RestClientV2/setFuturesLeverage.js index 5dc1b02..8f1611d 100644 --- a/examples/apidoc/RestClientV2/setFuturesLeverage.js +++ b/examples/apidoc/RestClientV2/setFuturesLeverage.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/mix/account/set-leverage // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/setFuturesMarginMode.js b/examples/apidoc/RestClientV2/setFuturesMarginMode.js index 09c4dc6..338cd37 100644 --- a/examples/apidoc/RestClientV2/setFuturesMarginMode.js +++ b/examples/apidoc/RestClientV2/setFuturesMarginMode.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/mix/account/set-margin-mode // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/setFuturesPositionAutoMargin.js b/examples/apidoc/RestClientV2/setFuturesPositionAutoMargin.js index 6ca00aa..6870177 100644 --- a/examples/apidoc/RestClientV2/setFuturesPositionAutoMargin.js +++ b/examples/apidoc/RestClientV2/setFuturesPositionAutoMargin.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/mix/account/set-auto-margin // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/setFuturesPositionMargin.js b/examples/apidoc/RestClientV2/setFuturesPositionMargin.js index 98c712a..c511d2b 100644 --- a/examples/apidoc/RestClientV2/setFuturesPositionMargin.js +++ b/examples/apidoc/RestClientV2/setFuturesPositionMargin.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/mix/account/set-margin // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/setFuturesPositionMode.js b/examples/apidoc/RestClientV2/setFuturesPositionMode.js index 0fdcfcb..bf75fb1 100644 --- a/examples/apidoc/RestClientV2/setFuturesPositionMode.js +++ b/examples/apidoc/RestClientV2/setFuturesPositionMode.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/mix/account/set-position-mode // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/spotBatchCancelOrders.js b/examples/apidoc/RestClientV2/spotBatchCancelOrders.js index efe9143..fdb87e5 100644 --- a/examples/apidoc/RestClientV2/spotBatchCancelOrders.js +++ b/examples/apidoc/RestClientV2/spotBatchCancelOrders.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/spot/trade/batch-cancel-order // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/spotBatchSubmitOrders.js b/examples/apidoc/RestClientV2/spotBatchSubmitOrders.js index 084bad4..db58d1b 100644 --- a/examples/apidoc/RestClientV2/spotBatchSubmitOrders.js +++ b/examples/apidoc/RestClientV2/spotBatchSubmitOrders.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/spot/trade/batch-orders // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/spotCancelOrder.js b/examples/apidoc/RestClientV2/spotCancelOrder.js index 0290afa..456eebc 100644 --- a/examples/apidoc/RestClientV2/spotCancelOrder.js +++ b/examples/apidoc/RestClientV2/spotCancelOrder.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/spot/trade/cancel-order // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/spotCancelPlanOrder.js b/examples/apidoc/RestClientV2/spotCancelPlanOrder.js index 8a63edb..9d295df 100644 --- a/examples/apidoc/RestClientV2/spotCancelPlanOrder.js +++ b/examples/apidoc/RestClientV2/spotCancelPlanOrder.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/spot/trade/cancel-plan-order // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/spotCancelPlanOrders.js b/examples/apidoc/RestClientV2/spotCancelPlanOrders.js index 65f1dea..48f8d62 100644 --- a/examples/apidoc/RestClientV2/spotCancelPlanOrders.js +++ b/examples/apidoc/RestClientV2/spotCancelPlanOrders.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/spot/trade/batch-cancel-plan-order // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/spotCancelSymbolOrder.js b/examples/apidoc/RestClientV2/spotCancelSymbolOrder.js index 3e5e85a..58b150d 100644 --- a/examples/apidoc/RestClientV2/spotCancelSymbolOrder.js +++ b/examples/apidoc/RestClientV2/spotCancelSymbolOrder.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/spot/trade/cancel-symbol-order // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/spotCancelWithdrawal.js b/examples/apidoc/RestClientV2/spotCancelWithdrawal.js index 938eeec..1335955 100644 --- a/examples/apidoc/RestClientV2/spotCancelWithdrawal.js +++ b/examples/apidoc/RestClientV2/spotCancelWithdrawal.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/spot/wallet/cancel-withdrawal // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/spotModifyDepositAccount.js b/examples/apidoc/RestClientV2/spotModifyDepositAccount.js index cdf7cb1..2490f4a 100644 --- a/examples/apidoc/RestClientV2/spotModifyDepositAccount.js +++ b/examples/apidoc/RestClientV2/spotModifyDepositAccount.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/spot/wallet/modify-deposit-account // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/spotModifyPlanOrder.js b/examples/apidoc/RestClientV2/spotModifyPlanOrder.js index 1c9fa4e..585f7ab 100644 --- a/examples/apidoc/RestClientV2/spotModifyPlanOrder.js +++ b/examples/apidoc/RestClientV2/spotModifyPlanOrder.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/spot/trade/modify-plan-order // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/spotSubTransfer.js b/examples/apidoc/RestClientV2/spotSubTransfer.js index ef58984..a755d14 100644 --- a/examples/apidoc/RestClientV2/spotSubTransfer.js +++ b/examples/apidoc/RestClientV2/spotSubTransfer.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/spot/wallet/subaccount-transfer // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/spotSubmitOrder.js b/examples/apidoc/RestClientV2/spotSubmitOrder.js index ffd2233..ce23e1b 100644 --- a/examples/apidoc/RestClientV2/spotSubmitOrder.js +++ b/examples/apidoc/RestClientV2/spotSubmitOrder.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/spot/trade/place-order // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/spotSubmitPlanOrder.js b/examples/apidoc/RestClientV2/spotSubmitPlanOrder.js index 8a789c4..c2bf87b 100644 --- a/examples/apidoc/RestClientV2/spotSubmitPlanOrder.js +++ b/examples/apidoc/RestClientV2/spotSubmitPlanOrder.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/spot/trade/place-plan-order // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/spotSwitchBGBDeduct.js b/examples/apidoc/RestClientV2/spotSwitchBGBDeduct.js index 489c06e..b318daf 100644 --- a/examples/apidoc/RestClientV2/spotSwitchBGBDeduct.js +++ b/examples/apidoc/RestClientV2/spotSwitchBGBDeduct.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/spot/account/switch-deduct // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/spotTransfer.js b/examples/apidoc/RestClientV2/spotTransfer.js index 9414f6a..90e611a 100644 --- a/examples/apidoc/RestClientV2/spotTransfer.js +++ b/examples/apidoc/RestClientV2/spotTransfer.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/spot/wallet/transfer // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/spotWithdraw.js b/examples/apidoc/RestClientV2/spotWithdraw.js index e6cd24a..70f4f43 100644 --- a/examples/apidoc/RestClientV2/spotWithdraw.js +++ b/examples/apidoc/RestClientV2/spotWithdraw.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/spot/wallet/withdrawal // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/subaccountDepositRecords.js b/examples/apidoc/RestClientV2/subaccountDepositRecords.js index 10b1eca..3fed8ab 100644 --- a/examples/apidoc/RestClientV2/subaccountDepositRecords.js +++ b/examples/apidoc/RestClientV2/subaccountDepositRecords.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/broker/subaccount-deposit // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/subaccountSetAutoTransfer.js b/examples/apidoc/RestClientV2/subaccountSetAutoTransfer.js index 697903e..71215cd 100644 --- a/examples/apidoc/RestClientV2/subaccountSetAutoTransfer.js +++ b/examples/apidoc/RestClientV2/subaccountSetAutoTransfer.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/broker/account/set-subaccount-autotransfer // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/subaccountWithdrawal.js b/examples/apidoc/RestClientV2/subaccountWithdrawal.js index 9bd8ab0..45c2235 100644 --- a/examples/apidoc/RestClientV2/subaccountWithdrawal.js +++ b/examples/apidoc/RestClientV2/subaccountWithdrawal.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/broker/account/subaccount-withdrawal // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/subaccountWithdrawalRecords.js b/examples/apidoc/RestClientV2/subaccountWithdrawalRecords.js index dd73663..bfc064f 100644 --- a/examples/apidoc/RestClientV2/subaccountWithdrawalRecords.js +++ b/examples/apidoc/RestClientV2/subaccountWithdrawalRecords.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/broker/subaccount-withdrawal // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/subscribeSharkfin.js b/examples/apidoc/RestClientV2/subscribeSharkfin.js index f1a6f44..7d462b7 100644 --- a/examples/apidoc/RestClientV2/subscribeSharkfin.js +++ b/examples/apidoc/RestClientV2/subscribeSharkfin.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/earn/sharkfin/subscribe // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/unfollowFuturesTrader.js b/examples/apidoc/RestClientV2/unfollowFuturesTrader.js index 5282fdc..784cf58 100644 --- a/examples/apidoc/RestClientV2/unfollowFuturesTrader.js +++ b/examples/apidoc/RestClientV2/unfollowFuturesTrader.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/copy/mix-follower/cancel-trader // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/unfollowSpotTrader.js b/examples/apidoc/RestClientV2/unfollowSpotTrader.js index a7053e3..d8408c5 100644 --- a/examples/apidoc/RestClientV2/unfollowSpotTrader.js +++ b/examples/apidoc/RestClientV2/unfollowSpotTrader.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/copy/spot-follower/cancel-trader // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/updateFuturesFollowerSettings.js b/examples/apidoc/RestClientV2/updateFuturesFollowerSettings.js index a671b25..57ce0de 100644 --- a/examples/apidoc/RestClientV2/updateFuturesFollowerSettings.js +++ b/examples/apidoc/RestClientV2/updateFuturesFollowerSettings.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/copy/mix-follower/settings // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/updateFuturesFollowerTPSL.js b/examples/apidoc/RestClientV2/updateFuturesFollowerTPSL.js index 41f65de..968573c 100644 --- a/examples/apidoc/RestClientV2/updateFuturesFollowerTPSL.js +++ b/examples/apidoc/RestClientV2/updateFuturesFollowerTPSL.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/copy/mix-follower/setting-tpsl // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/updateFuturesTraderGlobalSettings.js b/examples/apidoc/RestClientV2/updateFuturesTraderGlobalSettings.js index c6b0437..cfc0097 100644 --- a/examples/apidoc/RestClientV2/updateFuturesTraderGlobalSettings.js +++ b/examples/apidoc/RestClientV2/updateFuturesTraderGlobalSettings.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/copy/mix-trader/config-settings-base // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/updateFuturesTraderSymbolSettings.js b/examples/apidoc/RestClientV2/updateFuturesTraderSymbolSettings.js index 2dc3d48..8b12d36 100644 --- a/examples/apidoc/RestClientV2/updateFuturesTraderSymbolSettings.js +++ b/examples/apidoc/RestClientV2/updateFuturesTraderSymbolSettings.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/copy/mix-trader/config-setting-symbols // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/updateLoanPledgeRate.js b/examples/apidoc/RestClientV2/updateLoanPledgeRate.js index 044bacb..950e058 100644 --- a/examples/apidoc/RestClientV2/updateLoanPledgeRate.js +++ b/examples/apidoc/RestClientV2/updateLoanPledgeRate.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/earn/loan/revise-pledge // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/updateSpotFollowerSettings.js b/examples/apidoc/RestClientV2/updateSpotFollowerSettings.js index 2450127..7dfd357 100644 --- a/examples/apidoc/RestClientV2/updateSpotFollowerSettings.js +++ b/examples/apidoc/RestClientV2/updateSpotFollowerSettings.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/copy/spot-follower/settings // METHOD: POST // PUBLIC: NO diff --git a/examples/apidoc/RestClientV2/updateSpotFollowerTPSL.js b/examples/apidoc/RestClientV2/updateSpotFollowerTPSL.js index a40c274..d103c75 100644 --- a/examples/apidoc/RestClientV2/updateSpotFollowerTPSL.js +++ b/examples/apidoc/RestClientV2/updateSpotFollowerTPSL.js @@ -1,5 +1,8 @@ const { RestClientV2 } = require('bitget-api'); + + // This example shows how to call this Bitget API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "bitget-api" for Bitget exchange + // This Bitget API SDK is available on npm via "npm install bitget-api" // ENDPOINT: /api/v2/copy/spot-follower/setting-tpsl // METHOD: POST // PUBLIC: NO