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] 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",