From 093020004e0c235314d1b87d21b137e36a07631e Mon Sep 17 00:00:00 2001 From: JJ-Cro Date: Mon, 6 Jan 2025 10:17:55 +0100 Subject: [PATCH 1/3] v2.15.3 - added new endpoints(staking, loans, PMPro) --- package-lock.json | 4 +- package.json | 4 +- src/main-client.ts | 74 ++++++++++++ src/types/spot.ts | 277 +++++++++++++++++++++++++++++---------------- 4 files changed, 255 insertions(+), 104 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7935a0a..7807fa1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "binance", - "version": "2.15.2", + "version": "2.15.3", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "binance", - "version": "2.15.2", + "version": "2.15.3", "license": "MIT", "dependencies": { "axios": "^1.6.2", diff --git a/package.json b/package.json index 383e516..07abe8c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "binance", - "version": "2.15.2", + "version": "2.15.3", "description": "Node.js & JavaScript SDK for Binance REST APIs & WebSockets, with TypeScript & end-to-end tests.", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -92,4 +92,4 @@ "url": "https://github.com/tiagosiebler/binance/issues" }, "homepage": "https://github.com/tiagosiebler/binance#readme" -} +} \ No newline at end of file diff --git a/src/main-client.ts b/src/main-client.ts index ba8c9f6..dabb110 100644 --- a/src/main-client.ts +++ b/src/main-client.ts @@ -161,6 +161,7 @@ import { FlexibleCryptoLoanBorrowHistory, FlexibleLoanAssetData, FlexibleLoanCollateralAssetData, + FlexibleLoanLiquidationHistoryRecord, FlexibleLoanLTVAdjustmentHistory, FlexibleLoanOngoingOrder, FlexibleRedemptionRecord, @@ -211,6 +212,7 @@ import { GetFiatOrderHistoryResponse, GetFiatPaymentsHistoryResponse, GetFlexibleCryptoLoanBorrowHistoryParams, + GetFlexibleLoanLiquidationHistoryParams, GetFlexibleLoanLTVAdjustmentHistoryParams, GetFlexibleLoanOngoingOrdersParams, GetFlexibleRedemptionRecordParams, @@ -357,6 +359,9 @@ import { OrderListResponse, OrderRateLimitUsage, OrderResponseTypeFor, + PMProMintBFUSDParams, + PMProMintBFUSDResponse, + PMProRedeemBFUSDResponse, PortfolioMarginProAccountBalance, PortfolioMarginProSpanAccountInfo, PreventedMatch, @@ -392,6 +397,8 @@ import { RemoveBSwapLiquidityParams, RepayCryptoFlexibleLoanParams, RepayCryptoFlexibleLoanResponse, + RepayCryptoLoanFlexibleWithCollateralParams, + RepayCryptoLoanFlexibleWithCollateralResponse, RepayCryptoLoanParams, RepayCryptoLoanResponse, ReplaceSpotOrderParams, @@ -412,6 +419,8 @@ import { SimpleEarnSubscribeProductParams, SmallLiabilityExchangeCoin, SmallLiabilityExchangeHistory, + SolBoostRewardsHistoryRecord, + SolBoostRewardsHistoryReq, SolRedemptionHistoryRecord, SolStakingAccount, SolStakingHistoryRecord, @@ -2405,6 +2414,14 @@ export class MainClient extends BaseRestClient { return this.postPrivate('sapi/v1/sol-staking/sol/redeem', params); } + claimSolBoostRewards(): Promise<{ + success: boolean; + }> { + return this.postPrivate('sapi/v1/sol-staking/sol/claim'); + } + + + /** * * STAKING Endpoints - SOL Staking- History @@ -2452,6 +2469,20 @@ export class MainClient extends BaseRestClient { ); } + getSolBoostRewardsHistory(params?: SolBoostRewardsHistoryReq): Promise<{ + rows: SolBoostRewardsHistoryRecord[]; + total: number; + }> { + return this.getPrivate('sapi/v1/sol-staking/sol/history/boostRewardsHistory', params); + } + + getSolUnclaimedRewards(): Promise<{ + amount: string; + rewardsAsset: string; + }[]> { + return this.getPrivate('sapi/v1/sol-staking/sol/history/unclaimedRewards'); + } + /** * * COPY TRADING Endpoints - Future copy trading @@ -2680,6 +2711,12 @@ export class MainClient extends BaseRestClient { return this.postPrivate('sapi/v2/loan/flexible/repay', params); } + repayCryptoLoanFlexibleWithCollateral( + params: RepayCryptoLoanFlexibleWithCollateralParams + ): Promise { + return this.postPrivate('sapi/v2/loan/flexible/repay/collateral', params); + } + adjustCryptoLoanFlexibleLTV( params: AdjustFlexibleCryptoLoanLTVParams, ): Promise { @@ -2704,6 +2741,20 @@ export class MainClient extends BaseRestClient { ); } + getFlexibleLoanCollateralRepayRate( + params: { + loanCoin: string; + collateralCoin: string; + } + ): Promise<{ + loanCoin: string; + collateralCoin: string; + rate: string; + }> { + return this.getPrivate('sapi/v2/loan/flexible/repay/rate', params); + } + + getLoanFlexibleBorrowHistory( params: GetFlexibleCryptoLoanBorrowHistoryParams, ): Promise<{ @@ -2722,6 +2773,15 @@ export class MainClient extends BaseRestClient { return this.getPrivate('sapi/v2/loan/flexible/ongoing/orders', params); } + getFlexibleLoanLiquidationHistory( + params?: GetFlexibleLoanLiquidationHistoryParams + ): Promise<{ + rows: FlexibleLoanLiquidationHistoryRecord[]; + total: number; + }> { + return this.getPrivate('sapi/v2/loan/flexible/liquidation/history', params); + } + getLoanFlexibleRepaymentHistory( params: GetLoanRepaymentHistoryParams, ): Promise<{ @@ -2731,6 +2791,8 @@ export class MainClient extends BaseRestClient { return this.getPrivate('sapi/v2/loan/flexible/repay/history', params); } + + /** * * CRYPTO LOAN Endpoints - Stable rate - Market data @@ -3442,6 +3504,18 @@ export class MainClient extends BaseRestClient { return this.getPrivate('sapi/v1/portfolio/balance', params); } + mintPortfolioMarginBFUSD(params: PMProMintBFUSDParams): Promise { + return this.postPrivate('sapi/v1/portfolio/mint', params); + } + + redeemPortfolioMarginBFUSD(params: { + fromAsset: string; // BFUSD only + targetAsset: string; // USDT only + amount: number; + }): Promise { + return this.postPrivate('sapi/v1/portfolio/redeem', params); + } + /** * * DERIVATIVES - Futures Data - Market diff --git a/src/types/spot.ts b/src/types/spot.ts index 1164825..139e857 100644 --- a/src/types/spot.ts +++ b/src/types/spot.ts @@ -709,12 +709,12 @@ export type OrderResponseTypeFor< > = RT extends 'ACK' ? OrderResponseACK : RT extends 'RESULT' - ? OrderResponseResult - : RT extends 'FULL' - ? OrderResponseFull - : T extends 'MARKET' | 'LIMIT' - ? OrderResponseFull - : OrderResponseACK; + ? OrderResponseResult + : RT extends 'FULL' + ? OrderResponseFull + : T extends 'MARKET' | 'LIMIT' + ? OrderResponseFull + : OrderResponseACK; export interface OrderListOrder { symbol: string; @@ -844,19 +844,19 @@ export interface ReplaceSpotOrderCancelAllFailure export interface ReplaceSpotOrderResultError { data: - | ReplaceSpotOrderCancelStopFailure - | ReplaceSpotOrderNewFailure - | ReplaceSpotOrderCancelAllowFailure - | ReplaceSpotOrderCancelAllFailure; + | ReplaceSpotOrderCancelStopFailure + | ReplaceSpotOrderNewFailure + | ReplaceSpotOrderCancelAllowFailure + | ReplaceSpotOrderCancelAllFailure; } export interface ReplaceSpotOrderResultSuccess< T extends OrderType = OrderType, RT extends OrderResponseType | undefined = OrderResponseType, > extends GenericReplaceSpotOrderResult< - CancelSpotOrderResult, - OrderResponseTypeFor - > { + CancelSpotOrderResult, + OrderResponseTypeFor +> { cancelResult: 'SUCCESS'; newOrderResult: 'SUCCESS'; } @@ -2179,11 +2179,11 @@ export interface ManagedSubAccountTransferLogParams { limit: number; transfers?: 'from' | 'to'; transferFunctionAccountType?: - | 'SPOT' - | 'MARGIN' - | 'ISOLATED_MARGIN' - | 'USDT_FUTURE' - | 'COIN_FUTURE'; + | 'SPOT' + | 'MARGIN' + | 'ISOLATED_MARGIN' + | 'USDT_FUTURE' + | 'COIN_FUTURE'; } export interface ManagerSubTransferHistoryVos { @@ -2571,11 +2571,11 @@ export interface MarginInterestHistory { interest: string; interestRate: string; type: - | 'PERIODIC' - | 'ON_BORROW' - | 'PERIODIC_CONVERTED' - | 'ON_BORROW_CONVERTED' - | 'PORTFOLIO'; + | 'PERIODIC' + | 'ON_BORROW' + | 'PERIODIC_CONVERTED' + | 'ON_BORROW_CONVERTED' + | 'PORTFOLIO'; isolatedSymbol?: string; } @@ -3051,13 +3051,13 @@ export interface SubscribeDualInvestmentProductResponse { export interface GetDualInvestmentPositionsParams { status?: - | 'PENDING' - | 'PURCHASE_SUCCESS' - | 'SETTLED' - | 'PURCHASE_FAIL' - | 'REFUNDING' - | 'REFUND_SUCCESS' - | 'SETTLING'; + | 'PENDING' + | 'PURCHASE_SUCCESS' + | 'SETTLED' + | 'PURCHASE_FAIL' + | 'REFUNDING' + | 'REFUND_SUCCESS' + | 'SETTLING'; pageSize?: number; pageIndex?: number; } @@ -3122,12 +3122,12 @@ export interface GetTargetAssetListResponse { export interface GetTargetAssetROIParams { targetAsset: string; hisRoiType: - | 'FIVE_YEAR' - | 'THREE_YEAR' - | 'ONE_YEAR' - | 'SIX_MONTH' - | 'THREE_MONTH' - | 'SEVEN_DAY'; + | 'FIVE_YEAR' + | 'THREE_YEAR' + | 'ONE_YEAR' + | 'SIX_MONTH' + | 'THREE_MONTH' + | 'SEVEN_DAY'; } export interface TargetAssetROI { @@ -3170,23 +3170,23 @@ export interface CreateInvestmentPlanParams { indexId?: number; subscriptionAmount: number; subscriptionCycle: - | 'H1' - | 'H4' - | 'H8' - | 'H12' - | 'WEEKLY' - | 'DAILY' - | 'MONTHLY' - | 'BI_WEEKLY'; + | 'H1' + | 'H4' + | 'H8' + | 'H12' + | 'WEEKLY' + | 'DAILY' + | 'MONTHLY' + | 'BI_WEEKLY'; subscriptionStartDay?: number; subscriptionStartWeekday?: - | 'MON' - | 'TUE' - | 'WED' - | 'THU' - | 'FRI' - | 'SAT' - | 'SUN'; + | 'MON' + | 'TUE' + | 'WED' + | 'THU' + | 'FRI' + | 'SAT' + | 'SUN'; subscriptionStartTime: number; sourceAsset: string; flexibleAllowedToUse: boolean; @@ -3202,23 +3202,23 @@ export interface EditInvestmentPlanParams { planId: number; subscriptionAmount: number; subscriptionCycle: - | 'H1' - | 'H4' - | 'H8' - | 'H12' - | 'WEEKLY' - | 'DAILY' - | 'MONTHLY' - | 'BI_WEEKLY'; + | 'H1' + | 'H4' + | 'H8' + | 'H12' + | 'WEEKLY' + | 'DAILY' + | 'MONTHLY' + | 'BI_WEEKLY'; subscriptionStartDay?: number; subscriptionStartWeekday?: - | 'MON' - | 'TUE' - | 'WED' - | 'THU' - | 'FRI' - | 'SAT' - | 'SUN'; + | 'MON' + | 'TUE' + | 'WED' + | 'THU' + | 'FRI' + | 'SAT' + | 'SUN'; subscriptionStartTime: number; sourceAsset: string; flexibleAllowedToUse?: boolean; @@ -4573,6 +4573,28 @@ export interface FlexibleLoanOngoingOrder { currentLTV: string; } +export interface GetFlexibleLoanLiquidationHistoryParams { + loanCoin?: string; + collateralCoin?: string; + startTime?: number; + endTime?: number; + current?: number; // Default: 1, max: 1000 + limit?: number; // Default: 10, max: 100 + recvWindow?: number; +} + +export interface FlexibleLoanLiquidationHistoryRecord { + loanCoin: string; + liquidationDebt: string; + collateralCoin: string; + liquidationCollateralAmount: string; + returnCollateralAmount: string; + liquidationFee: string; + liquidationStartingPrice: string; + liquidationStartingTime: number; + status: 'Liquidated' | 'Liquidating'; +} + export interface GetFlexibleCryptoLoanBorrowHistoryParams { loanCoin?: string; collateralCoin?: string; @@ -4609,6 +4631,23 @@ export interface RepayCryptoFlexibleLoanResponse { repayStatus: 'Repaid' | 'Repaying' | 'Failed'; } + +export interface RepayCryptoLoanFlexibleWithCollateralParams { + loanCoin: string; + collateralCoin: string; + repayAmount: number; // Amount of loan to repay + fullRepayment?: boolean; // Default: FALSE +} + +export interface RepayCryptoLoanFlexibleWithCollateralResponse { + loanCoin: string; + collateralCoin: string; + remainingDebt: string; + remainingCollateral: string; + fullRepayment: boolean; + currentLTV: string; + repayStatus: 'Repaid' | 'Repaying' | 'Failed'; +} export interface GetFlexibleCryptoLoanRepaymentHistoryParams { loanCoin?: string; collateralCoin?: string; @@ -5159,10 +5198,10 @@ export interface SubmitMarginOTOOrderParams { newOrderRespType?: 'ACK' | 'RESULT' | 'FULL'; sideEffectType?: 'NO_SIDE_EFFECT' | 'MARGIN_BUY'; selfTradePreventionMode?: - | 'EXPIRE_TAKER' - | 'EXPIRE_MAKER' - | 'EXPIRE_BOTH' - | 'NONE'; + | 'EXPIRE_TAKER' + | 'EXPIRE_MAKER' + | 'EXPIRE_BOTH' + | 'NONE'; autoRepayAtCancel?: boolean; workingType: 'LIMIT' | 'LIMIT_MAKER'; workingSide: 'BUY' | 'SELL'; @@ -5222,10 +5261,10 @@ export interface SubmitMarginOTOCOOrderParams { listClientOrderId?: string; newOrderRespType?: 'ACK' | 'RESULT' | 'FULL'; selfTradePreventionMode?: - | 'EXPIRE_TAKER' - | 'EXPIRE_MAKER' - | 'EXPIRE_BOTH' - | 'NONE'; + | 'EXPIRE_TAKER' + | 'EXPIRE_MAKER' + | 'EXPIRE_BOTH' + | 'NONE'; workingType: 'LIMIT' | 'LIMIT_MAKER'; workingSide: 'BUY' | 'SELL'; workingClientOrderId?: string; @@ -5276,30 +5315,30 @@ export interface MarginOTOCOOrder { executedQty: string; cummulativeQuoteQty: string; status: - | 'NEW' - | 'PARTIALLY_FILLED' - | 'FILLED' - | 'CANCELED' - | 'PENDING_CANCEL' - | 'REJECTED' - | 'EXPIRED' - | 'PENDING_NEW'; + | 'NEW' + | 'PARTIALLY_FILLED' + | 'FILLED' + | 'CANCELED' + | 'PENDING_CANCEL' + | 'REJECTED' + | 'EXPIRED' + | 'PENDING_NEW'; timeInForce: 'GTC' | 'IOC' | 'FOK'; type: - | 'LIMIT' - | 'MARKET' - | 'STOP_LOSS' - | 'STOP_LOSS_LIMIT' - | 'TAKE_PROFIT' - | 'TAKE_PROFIT_LIMIT' - | 'LIMIT_MAKER'; + | 'LIMIT' + | 'MARKET' + | 'STOP_LOSS' + | 'STOP_LOSS_LIMIT' + | 'TAKE_PROFIT' + | 'TAKE_PROFIT_LIMIT' + | 'LIMIT_MAKER'; side: 'BUY' | 'SELL'; stopPrice?: string; selfTradePreventionMode: - | 'EXPIRE_TAKER' - | 'EXPIRE_MAKER' - | 'EXPIRE_BOTH' - | 'NONE'; + | 'EXPIRE_TAKER' + | 'EXPIRE_MAKER' + | 'EXPIRE_BOTH' + | 'NONE'; }[]; } @@ -5421,6 +5460,22 @@ export interface GetBnsolRateHistoryReq { timestamp: number; // Mandatory } +export interface SolBoostRewardsHistoryReq { + type: 'CLAIM' | 'DISTRIBUTE'; + startTime?: number; + endTime?: number; + current?: number; + size?: number; +} + +export interface SolBoostRewardsHistoryRecord { + time: number; + token: string; + amount: string; + bnsolHolding?: string; // Only present if type is "DISTRIBUTE" + status?: string; // Only present if type is "CLAIM" +} + export interface BnsolRateHistoryRecord { annualPercentageRate: string; // BNSOL APR exchangeRate: string; // SOL amount per 1 BNSOL @@ -5441,13 +5496,13 @@ export interface PortfolioMarginProSpanAccountInfo { marginMM: string; otherMM: string; accountStatus: - | 'NORMAL' - | 'MARGIN_CALL' - | 'SUPPLY_MARGIN' - | 'REDUCE_ONLY' - | 'ACTIVE_LIQUIDATION' - | 'FORCE_LIQUIDATION' - | 'BANKRUPTED'; + | 'NORMAL' + | 'MARGIN_CALL' + | 'SUPPLY_MARGIN' + | 'REDUCE_ONLY' + | 'ACTIVE_LIQUIDATION' + | 'FORCE_LIQUIDATION' + | 'BANKRUPTED'; accountType: 'PM_1' | 'PM_2' | 'PM_3'; // PM_1 for classic PM, PM_2 for PM, PM_3 for PM Pro(SPAN) } @@ -5469,6 +5524,28 @@ export interface PortfolioMarginProAccountBalance { optionEquity: string; // only for PM PRO SPAN } +export interface PMProMintBFUSDParams { + fromAsset: string; // USDT only + targetAsset: string; // BFUSD only + amount: number; +} + +export interface PMProMintBFUSDResponse { + fromAsset: string; + targetAsset: string; + fromAssetQty: number; + targetAssetQty: number; + rate: number; +} + +export interface PMProRedeemBFUSDResponse { + fromAsset: string; + targetAsset: string; + fromAssetQty: number; + targetAssetQty: number; + rate: number; +} + export interface VipLoanInterestRateHistoryParams { coin: string; startTime?: number; From 43c8b0576ebd924ffb7b433728a7e6acca80e85c Mon Sep 17 00:00:00 2001 From: JJ-Cro Date: Mon, 6 Jan 2025 10:18:48 +0100 Subject: [PATCH 2/3] chore(): updated examples with new functions --- docs/endpointFunctionList.md | 1167 +++++++++-------- .../apidoc/MainClient/claimSolBoostRewards.js | 20 + .../getFlexibleLoanCollateralRepayRate.js | 20 + .../getFlexibleLoanLiquidationHistory.js | 20 + .../MainClient/getSolBoostRewardsHistory.js | 20 + .../MainClient/getSolUnclaimedRewards.js | 20 + .../MainClient/mintPortfolioMarginBFUSD.js | 20 + .../MainClient/redeemPortfolioMarginBFUSD.js | 20 + .../repayCryptoLoanFlexibleWithCollateral.js | 20 + .../PortfolioClient/autoCollectFunds.js | 20 + .../cancelAllCMConditionalOrders.js | 20 + .../PortfolioClient/cancelAllCMOrders.js | 20 + .../PortfolioClient/cancelAllMarginOrders.js | 20 + .../cancelAllUMConditionalOrders.js | 20 + .../PortfolioClient/cancelAllUMOrders.js | 20 + .../cancelCMConditionalOrder.js | 20 + .../apidoc/PortfolioClient/cancelCMOrder.js | 20 + .../apidoc/PortfolioClient/cancelMarginOCO.js | 20 + .../PortfolioClient/cancelMarginOrder.js | 20 + .../cancelUMConditionalOrder.js | 20 + .../apidoc/PortfolioClient/cancelUMOrder.js | 20 + .../closePMUserDataListenKey.js | 20 + .../apidoc/PortfolioClient/getAccountInfo.js | 20 + .../getAllCMConditionalOrders.js | 20 + .../PortfolioClient/getAllCMOpenOrders.js | 20 + .../apidoc/PortfolioClient/getAllCMOrders.js | 20 + .../apidoc/PortfolioClient/getAllMarginOCO.js | 20 + .../PortfolioClient/getAllMarginOrders.js | 20 + .../getAllUMConditionalOrders.js | 20 + .../PortfolioClient/getAllUMOpenOrders.js | 20 + .../apidoc/PortfolioClient/getAllUMOrders.js | 20 + .../getAutoRepayFuturesStatus.js | 20 + examples/apidoc/PortfolioClient/getBalance.js | 20 + .../PortfolioClient/getCMADLQuantile.js | 20 + .../apidoc/PortfolioClient/getCMAccount.js | 20 + .../PortfolioClient/getCMCommissionRate.js | 20 + .../getCMConditionalOrderHistory.js | 20 + .../PortfolioClient/getCMForceOrders.js | 20 + .../PortfolioClient/getCMIncomeHistory.js | 20 + .../PortfolioClient/getCMLeverageBrackets.js | 20 + .../getCMOpenConditionalOrder.js | 20 + .../getCMOpenConditionalOrders.js | 20 + .../apidoc/PortfolioClient/getCMOpenOrder.js | 20 + examples/apidoc/PortfolioClient/getCMOrder.js | 20 + .../getCMOrderModificationHistory.js | 20 + .../apidoc/PortfolioClient/getCMPosition.js | 20 + .../PortfolioClient/getCMPositionMode.js | 20 + .../apidoc/PortfolioClient/getCMTrades.js | 20 + .../PortfolioClient/getMarginForceOrders.js | 20 + .../getMarginInterestHistory.js | 20 + .../PortfolioClient/getMarginLoanRecords.js | 20 + .../PortfolioClient/getMarginMaxBorrow.js | 20 + .../PortfolioClient/getMarginMaxWithdraw.js | 20 + .../apidoc/PortfolioClient/getMarginOCO.js | 20 + .../PortfolioClient/getMarginOpenOCO.js | 20 + .../PortfolioClient/getMarginOpenOrders.js | 20 + .../apidoc/PortfolioClient/getMarginOrder.js | 20 + .../PortfolioClient/getMarginRepayRecords.js | 20 + .../apidoc/PortfolioClient/getMarginTrades.js | 20 + .../PortfolioClient/getPMUserDataListenKey.js | 20 + ...PortfolioNegativeBalanceInterestHistory.js | 20 + .../PortfolioClient/getUMADLQuantile.js | 20 + .../apidoc/PortfolioClient/getUMAccount.js | 20 + .../PortfolioClient/getUMAccountConfig.js | 20 + .../apidoc/PortfolioClient/getUMAccountV2.js | 20 + .../PortfolioClient/getUMCommissionRate.js | 20 + .../getUMConditionalOrderHistory.js | 20 + .../PortfolioClient/getUMFeeBurnStatus.js | 20 + .../PortfolioClient/getUMForceOrders.js | 20 + .../PortfolioClient/getUMIncomeHistory.js | 20 + .../PortfolioClient/getUMLeverageBrackets.js | 20 + .../getUMOpenConditionalOrder.js | 20 + .../getUMOpenConditionalOrders.js | 20 + .../apidoc/PortfolioClient/getUMOpenOrder.js | 20 + examples/apidoc/PortfolioClient/getUMOrder.js | 20 + .../PortfolioClient/getUMOrderDownloadLink.js | 20 + .../getUMOrderHistoryDownloadId.js | 20 + .../getUMOrderModificationHistory.js | 20 + .../apidoc/PortfolioClient/getUMPosition.js | 20 + .../PortfolioClient/getUMPositionMode.js | 20 + .../PortfolioClient/getUMSymbolConfig.js | 20 + .../PortfolioClient/getUMTradeDownloadLink.js | 20 + .../getUMTradeHistoryDownloadId.js | 20 + .../apidoc/PortfolioClient/getUMTrades.js | 20 + .../PortfolioClient/getUMTradingStatus.js | 20 + .../getUMTransactionDownloadLink.js | 20 + .../getUMTransactionHistoryDownloadId.js | 20 + .../keepAlivePMUserDataListenKey.js | 20 + .../apidoc/PortfolioClient/modifyCMOrder.js | 20 + .../apidoc/PortfolioClient/modifyUMOrder.js | 20 + .../repayFuturesNegativeBalance.js | 20 + .../apidoc/PortfolioClient/repayMarginDebt.js | 20 + .../PortfolioClient/submitMarginLoan.js | 20 + .../PortfolioClient/submitMarginRepay.js | 20 + .../submitNewCMConditionalOrder.js | 20 + .../PortfolioClient/submitNewCMOrder.js | 20 + .../PortfolioClient/submitNewMarginOCO.js | 20 + .../PortfolioClient/submitNewMarginOrder.js | 20 + .../submitNewUMConditionalOrder.js | 20 + .../PortfolioClient/submitNewUMOrder.js | 20 + .../PortfolioClient/testConnectivity.js | 20 + .../apidoc/PortfolioClient/toggleUMFeeBurn.js | 20 + .../transferAssetFuturesMargin.js | 20 + .../apidoc/PortfolioClient/transferBNB.js | 20 + .../updateAutoRepayFuturesStatus.js | 20 + .../PortfolioClient/updateCMLeverage.js | 20 + .../PortfolioClient/updateCMPositionMode.js | 20 + .../PortfolioClient/updateUMLeverage.js | 20 + .../PortfolioClient/updateUMPositionMode.js | 20 + 109 files changed, 2801 insertions(+), 526 deletions(-) create mode 100644 examples/apidoc/MainClient/claimSolBoostRewards.js create mode 100644 examples/apidoc/MainClient/getFlexibleLoanCollateralRepayRate.js create mode 100644 examples/apidoc/MainClient/getFlexibleLoanLiquidationHistory.js create mode 100644 examples/apidoc/MainClient/getSolBoostRewardsHistory.js create mode 100644 examples/apidoc/MainClient/getSolUnclaimedRewards.js create mode 100644 examples/apidoc/MainClient/mintPortfolioMarginBFUSD.js create mode 100644 examples/apidoc/MainClient/redeemPortfolioMarginBFUSD.js create mode 100644 examples/apidoc/MainClient/repayCryptoLoanFlexibleWithCollateral.js create mode 100644 examples/apidoc/PortfolioClient/autoCollectFunds.js create mode 100644 examples/apidoc/PortfolioClient/cancelAllCMConditionalOrders.js create mode 100644 examples/apidoc/PortfolioClient/cancelAllCMOrders.js create mode 100644 examples/apidoc/PortfolioClient/cancelAllMarginOrders.js create mode 100644 examples/apidoc/PortfolioClient/cancelAllUMConditionalOrders.js create mode 100644 examples/apidoc/PortfolioClient/cancelAllUMOrders.js create mode 100644 examples/apidoc/PortfolioClient/cancelCMConditionalOrder.js create mode 100644 examples/apidoc/PortfolioClient/cancelCMOrder.js create mode 100644 examples/apidoc/PortfolioClient/cancelMarginOCO.js create mode 100644 examples/apidoc/PortfolioClient/cancelMarginOrder.js create mode 100644 examples/apidoc/PortfolioClient/cancelUMConditionalOrder.js create mode 100644 examples/apidoc/PortfolioClient/cancelUMOrder.js create mode 100644 examples/apidoc/PortfolioClient/closePMUserDataListenKey.js create mode 100644 examples/apidoc/PortfolioClient/getAccountInfo.js create mode 100644 examples/apidoc/PortfolioClient/getAllCMConditionalOrders.js create mode 100644 examples/apidoc/PortfolioClient/getAllCMOpenOrders.js create mode 100644 examples/apidoc/PortfolioClient/getAllCMOrders.js create mode 100644 examples/apidoc/PortfolioClient/getAllMarginOCO.js create mode 100644 examples/apidoc/PortfolioClient/getAllMarginOrders.js create mode 100644 examples/apidoc/PortfolioClient/getAllUMConditionalOrders.js create mode 100644 examples/apidoc/PortfolioClient/getAllUMOpenOrders.js create mode 100644 examples/apidoc/PortfolioClient/getAllUMOrders.js create mode 100644 examples/apidoc/PortfolioClient/getAutoRepayFuturesStatus.js create mode 100644 examples/apidoc/PortfolioClient/getBalance.js create mode 100644 examples/apidoc/PortfolioClient/getCMADLQuantile.js create mode 100644 examples/apidoc/PortfolioClient/getCMAccount.js create mode 100644 examples/apidoc/PortfolioClient/getCMCommissionRate.js create mode 100644 examples/apidoc/PortfolioClient/getCMConditionalOrderHistory.js create mode 100644 examples/apidoc/PortfolioClient/getCMForceOrders.js create mode 100644 examples/apidoc/PortfolioClient/getCMIncomeHistory.js create mode 100644 examples/apidoc/PortfolioClient/getCMLeverageBrackets.js create mode 100644 examples/apidoc/PortfolioClient/getCMOpenConditionalOrder.js create mode 100644 examples/apidoc/PortfolioClient/getCMOpenConditionalOrders.js create mode 100644 examples/apidoc/PortfolioClient/getCMOpenOrder.js create mode 100644 examples/apidoc/PortfolioClient/getCMOrder.js create mode 100644 examples/apidoc/PortfolioClient/getCMOrderModificationHistory.js create mode 100644 examples/apidoc/PortfolioClient/getCMPosition.js create mode 100644 examples/apidoc/PortfolioClient/getCMPositionMode.js create mode 100644 examples/apidoc/PortfolioClient/getCMTrades.js create mode 100644 examples/apidoc/PortfolioClient/getMarginForceOrders.js create mode 100644 examples/apidoc/PortfolioClient/getMarginInterestHistory.js create mode 100644 examples/apidoc/PortfolioClient/getMarginLoanRecords.js create mode 100644 examples/apidoc/PortfolioClient/getMarginMaxBorrow.js create mode 100644 examples/apidoc/PortfolioClient/getMarginMaxWithdraw.js create mode 100644 examples/apidoc/PortfolioClient/getMarginOCO.js create mode 100644 examples/apidoc/PortfolioClient/getMarginOpenOCO.js create mode 100644 examples/apidoc/PortfolioClient/getMarginOpenOrders.js create mode 100644 examples/apidoc/PortfolioClient/getMarginOrder.js create mode 100644 examples/apidoc/PortfolioClient/getMarginRepayRecords.js create mode 100644 examples/apidoc/PortfolioClient/getMarginTrades.js create mode 100644 examples/apidoc/PortfolioClient/getPMUserDataListenKey.js create mode 100644 examples/apidoc/PortfolioClient/getPortfolioNegativeBalanceInterestHistory.js create mode 100644 examples/apidoc/PortfolioClient/getUMADLQuantile.js create mode 100644 examples/apidoc/PortfolioClient/getUMAccount.js create mode 100644 examples/apidoc/PortfolioClient/getUMAccountConfig.js create mode 100644 examples/apidoc/PortfolioClient/getUMAccountV2.js create mode 100644 examples/apidoc/PortfolioClient/getUMCommissionRate.js create mode 100644 examples/apidoc/PortfolioClient/getUMConditionalOrderHistory.js create mode 100644 examples/apidoc/PortfolioClient/getUMFeeBurnStatus.js create mode 100644 examples/apidoc/PortfolioClient/getUMForceOrders.js create mode 100644 examples/apidoc/PortfolioClient/getUMIncomeHistory.js create mode 100644 examples/apidoc/PortfolioClient/getUMLeverageBrackets.js create mode 100644 examples/apidoc/PortfolioClient/getUMOpenConditionalOrder.js create mode 100644 examples/apidoc/PortfolioClient/getUMOpenConditionalOrders.js create mode 100644 examples/apidoc/PortfolioClient/getUMOpenOrder.js create mode 100644 examples/apidoc/PortfolioClient/getUMOrder.js create mode 100644 examples/apidoc/PortfolioClient/getUMOrderDownloadLink.js create mode 100644 examples/apidoc/PortfolioClient/getUMOrderHistoryDownloadId.js create mode 100644 examples/apidoc/PortfolioClient/getUMOrderModificationHistory.js create mode 100644 examples/apidoc/PortfolioClient/getUMPosition.js create mode 100644 examples/apidoc/PortfolioClient/getUMPositionMode.js create mode 100644 examples/apidoc/PortfolioClient/getUMSymbolConfig.js create mode 100644 examples/apidoc/PortfolioClient/getUMTradeDownloadLink.js create mode 100644 examples/apidoc/PortfolioClient/getUMTradeHistoryDownloadId.js create mode 100644 examples/apidoc/PortfolioClient/getUMTrades.js create mode 100644 examples/apidoc/PortfolioClient/getUMTradingStatus.js create mode 100644 examples/apidoc/PortfolioClient/getUMTransactionDownloadLink.js create mode 100644 examples/apidoc/PortfolioClient/getUMTransactionHistoryDownloadId.js create mode 100644 examples/apidoc/PortfolioClient/keepAlivePMUserDataListenKey.js create mode 100644 examples/apidoc/PortfolioClient/modifyCMOrder.js create mode 100644 examples/apidoc/PortfolioClient/modifyUMOrder.js create mode 100644 examples/apidoc/PortfolioClient/repayFuturesNegativeBalance.js create mode 100644 examples/apidoc/PortfolioClient/repayMarginDebt.js create mode 100644 examples/apidoc/PortfolioClient/submitMarginLoan.js create mode 100644 examples/apidoc/PortfolioClient/submitMarginRepay.js create mode 100644 examples/apidoc/PortfolioClient/submitNewCMConditionalOrder.js create mode 100644 examples/apidoc/PortfolioClient/submitNewCMOrder.js create mode 100644 examples/apidoc/PortfolioClient/submitNewMarginOCO.js create mode 100644 examples/apidoc/PortfolioClient/submitNewMarginOrder.js create mode 100644 examples/apidoc/PortfolioClient/submitNewUMConditionalOrder.js create mode 100644 examples/apidoc/PortfolioClient/submitNewUMOrder.js create mode 100644 examples/apidoc/PortfolioClient/testConnectivity.js create mode 100644 examples/apidoc/PortfolioClient/toggleUMFeeBurn.js create mode 100644 examples/apidoc/PortfolioClient/transferAssetFuturesMargin.js create mode 100644 examples/apidoc/PortfolioClient/transferBNB.js create mode 100644 examples/apidoc/PortfolioClient/updateAutoRepayFuturesStatus.js create mode 100644 examples/apidoc/PortfolioClient/updateCMLeverage.js create mode 100644 examples/apidoc/PortfolioClient/updateCMPositionMode.js create mode 100644 examples/apidoc/PortfolioClient/updateUMLeverage.js create mode 100644 examples/apidoc/PortfolioClient/updateUMPositionMode.js diff --git a/docs/endpointFunctionList.md b/docs/endpointFunctionList.md index a56afe1..20a2ef3 100644 --- a/docs/endpointFunctionList.md +++ b/docs/endpointFunctionList.md @@ -51,431 +51,439 @@ This table includes all endpoints from the official Exchange API docs and corres | Function | AUTH | HTTP Method | Endpoint | | -------- | :------: | :------: | -------- | -| [testConnectivity()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L635) | | GET | `api/v3/ping` | -| [getExchangeInfo()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L639) | | GET | `api/v3/exchangeInfo` | -| [getOrderBook()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L659) | | GET | `api/v3/depth` | -| [getRecentTrades()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L663) | | GET | `api/v3/trades` | -| [getHistoricalTrades()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L667) | | GET | `api/v3/historicalTrades` | -| [getAggregateTrades()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L671) | | GET | `api/v3/aggTrades` | -| [getKlines()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L677) | | GET | `api/v3/klines` | -| [getUIKlines()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L681) | | GET | `api/v3/uiKlines` | -| [getAvgPrice()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L685) | | GET | `api/v3/avgPrice` | -| [get24hrChangeStatististics()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L689) | | GET | `api/v3/ticker/24hr` | -| [getTradingDayTicker()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L714) | | GET | `api/v3/ticker/tradingDay` | -| [getSymbolPriceTicker()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L720) | | GET | `api/v3/ticker/price` | -| [getSymbolOrderBookTicker()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L726) | | GET | `api/v3/ticker/bookTicker` | -| [getRollingWindowTicker()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L732) | | GET | `api/v3/ticker` | -| [submitNewOrder()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L744) | :closed_lock_with_key: | POST | `api/v3/order` | -| [testNewOrder()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L752) | :closed_lock_with_key: | POST | `api/v3/order/test` | -| [getOrder()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L760) | :closed_lock_with_key: | GET | `api/v3/order` | -| [cancelOrder()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L764) | :closed_lock_with_key: | DELETE | `api/v3/order` | -| [cancelAllSymbolOrders()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L768) | :closed_lock_with_key: | DELETE | `api/v3/openOrders` | -| [replaceOrder()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L774) | :closed_lock_with_key: | POST | `api/v3/order/cancelReplace` | -| [getOpenOrders()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L783) | :closed_lock_with_key: | GET | `api/v3/openOrders` | -| [getAllOrders()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L787) | :closed_lock_with_key: | GET | `api/v3/allOrders` | -| [submitNewOCO()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L794) | :closed_lock_with_key: | POST | `api/v3/order/oco` | -| [submitNewOrderList()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L801) | :closed_lock_with_key: | POST | `api/v3/orderList/oco` | -| [submitNewOrderListOTO()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L811) | :closed_lock_with_key: | POST | `api/v3/orderList/oto` | -| [submitNewOrderListOTOCO()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L821) | :closed_lock_with_key: | POST | `api/v3/orderList/otoco` | -| [cancelOCO()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L831) | :closed_lock_with_key: | DELETE | `api/v3/orderList` | -| [getOCO()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L836) | :closed_lock_with_key: | GET | `api/v3/orderList` | -| [getAllOCO()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L840) | :closed_lock_with_key: | GET | `api/v3/allOrderList` | -| [getAllOpenOCO()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L847) | :closed_lock_with_key: | GET | `api/v3/openOrderList` | -| [submitNewSOROrder()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L854) | :closed_lock_with_key: | POST | `api/v3/sor/order` | -| [testNewSOROrder()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L865) | :closed_lock_with_key: | POST | `api/v3/sor/order/test` | -| [getAccountInformation()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L881) | :closed_lock_with_key: | GET | `api/v3/account` | -| [getAccountTradeList()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L885) | :closed_lock_with_key: | GET | `api/v3/myTrades` | -| [getOrderRateLimit()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L891) | :closed_lock_with_key: | GET | `api/v3/rateLimit/order` | -| [getPreventedMatches()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L895) | :closed_lock_with_key: | GET | `api/v3/myPreventedMatches` | -| [getAllocations()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L901) | :closed_lock_with_key: | GET | `api/v3/myAllocations` | -| [getCommissionRates()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L905) | :closed_lock_with_key: | GET | `api/v3/account/commission` | -| [getCrossMarginCollateralRatio()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L915) | :closed_lock_with_key: | GET | `sapi/v1/margin/crossMarginCollateralRatio` | -| [getAllCrossMarginPairs()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L924) | | GET | `sapi/v1/margin/allPairs` | -| [getIsolatedMarginAllSymbols()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L928) | :closed_lock_with_key: | GET | `sapi/v1/margin/isolated/allPairs` | -| [getAllMarginAssets()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L934) | | GET | `sapi/v1/margin/allAssets` | -| [getMarginDelistSchedule()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L938) | :closed_lock_with_key: | GET | `sapi/v1/margin/delist-schedule` | -| [getIsolatedMarginTierData()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L942) | :closed_lock_with_key: | GET | `sapi/v1/margin/isolatedMarginTier` | -| [queryMarginPriceIndex()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L948) | | GET | `sapi/v1/margin/priceIndex` | -| [getMarginAvailableInventory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L954) | :closed_lock_with_key: | GET | `sapi/v1/margin/available-inventory` | -| [getLeverageBracket()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L960) | :closed_lock_with_key: | GET | `sapi/v1/margin/leverageBracket` | -| [getNextHourlyInterestRate()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L970) | :closed_lock_with_key: | GET | `sapi/v1/margin/next-hourly-interest-rate` | -| [getMarginInterestHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L976) | :closed_lock_with_key: | GET | `sapi/v1/margin/interestHistory` | -| [submitMarginAccountBorrowRepay()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L983) | :closed_lock_with_key: | POST | `sapi/v1/margin/borrow-repay` | -| [getMarginAccountBorrowRepayRecords()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L989) | :closed_lock_with_key: | GET | `sapi/v1/margin/borrow-repay` | -| [getMarginInterestRateHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L995) | :closed_lock_with_key: | GET | `sapi/v1/margin/interestRateHistory` | -| [queryMaxBorrow()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1001) | :closed_lock_with_key: | GET | `sapi/v1/margin/maxBorrowable` | -| [getMarginForceLiquidationRecord()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1013) | :closed_lock_with_key: | GET | `sapi/v1/margin/forceLiquidationRec` | -| [getSmallLiabilityExchangeCoins()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1022) | :closed_lock_with_key: | GET | `sapi/v1/margin/exchange-small-liability` | -| [getSmallLiabilityExchangeHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1026) | :closed_lock_with_key: | GET | `sapi/v1/margin/exchange-small-liability-history` | -| [marginAccountCancelOpenOrders()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1038) | :closed_lock_with_key: | DELETE | `sapi/v1/margin/openOrders` | -| [marginAccountCancelOCO()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1044) | :closed_lock_with_key: | DELETE | `sapi/v1/margin/orderList` | -| [marginAccountCancelOrder()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1049) | :closed_lock_with_key: | DELETE | `sapi/v1/margin/order` | -| [marginAccountNewOCO()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1055) | :closed_lock_with_key: | POST | `sapi/v1/margin/order/oco` | -| [marginAccountNewOrder()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1062) | :closed_lock_with_key: | POST | `sapi/v1/margin/order` | -| [getMarginOrderCountUsage()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1070) | :closed_lock_with_key: | GET | `sapi/v1/margin/rateLimit/order` | -| [queryMarginAccountAllOCO()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1076) | :closed_lock_with_key: | GET | `sapi/v1/margin/allOrderList` | -| [queryMarginAccountAllOrders()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1082) | :closed_lock_with_key: | GET | `sapi/v1/margin/allOrders` | -| [queryMarginAccountOCO()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1088) | :closed_lock_with_key: | GET | `sapi/v1/margin/orderList` | -| [queryMarginAccountOpenOCO()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1092) | :closed_lock_with_key: | GET | `sapi/v1/margin/openOrderList` | -| [queryMarginAccountOpenOrders()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1099) | :closed_lock_with_key: | GET | `sapi/v1/margin/openOrders` | -| [queryMarginAccountOrder()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1103) | :closed_lock_with_key: | GET | `sapi/v1/margin/order` | -| [queryMarginAccountTradeList()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1107) | :closed_lock_with_key: | GET | `sapi/v1/margin/myTrades` | -| [submitSmallLiabilityExchange()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1113) | :closed_lock_with_key: | POST | `sapi/v1/margin/exchange-small-liability` | -| [submitManualLiquidation()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1120) | :closed_lock_with_key: | POST | `sapi/v1/margin/manual-liquidation` | -| [submitMarginOTOOrder()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1129) | :closed_lock_with_key: | POST | `sapi/v1/margin/order/oto` | -| [submitMarginOTOCOOrder()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1141) | :closed_lock_with_key: | POST | `sapi/v1/margin/order/otoco` | -| [createMarginSpecialLowLatencyKey()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1154) | :closed_lock_with_key: | POST | `sapi/v1/margin/apiKey` | -| [deleteMarginSpecialLowLatencyKey()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1160) | :closed_lock_with_key: | DELETE | `sapi/v1/margin/apiKey` | -| [updateMarginIPForSpecialLowLatencyKey()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1168) | :closed_lock_with_key: | PUT | `sapi/v1/margin/apiKey/ip` | -| [getMarginSpecialLowLatencyKeys()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1179) | :closed_lock_with_key: | GET | `sapi/v1/margin/api-key-list` | -| [getMarginSpecialLowLatencyKey()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1188) | :closed_lock_with_key: | GET | `sapi/v1/margin/apiKey` | -| [getCrossMarginTransferHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1201) | :closed_lock_with_key: | GET | `sapi/v1/margin/transfer` | -| [queryMaxTransferOutAmount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1207) | :closed_lock_with_key: | GET | `sapi/v1/margin/maxTransferable` | -| [updateCrossMarginMaxLeverage()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1219) | :closed_lock_with_key: | POST | `sapi/v1/margin/max-leverage` | -| [disableIsolatedMarginAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1225) | :closed_lock_with_key: | DELETE | `sapi/v1/margin/isolated/account` | -| [enableIsolatedMarginAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1232) | :closed_lock_with_key: | POST | `sapi/v1/margin/isolated/account` | -| [getBNBBurn()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1239) | :closed_lock_with_key: | GET | `sapi/v1/bnbBurn` | -| [getMarginSummary()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1243) | :closed_lock_with_key: | GET | `sapi/v1/margin/tradeCoeff` | -| [queryCrossMarginAccountDetails()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1247) | :closed_lock_with_key: | GET | `sapi/v1/margin/account` | -| [getCrossMarginFeeData()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1251) | :closed_lock_with_key: | GET | `sapi/v1/margin/crossMarginData` | -| [getIsolatedMarginAccountLimit()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1257) | :closed_lock_with_key: | GET | `sapi/v1/margin/isolated/accountLimit` | -| [getIsolatedMarginAccountInfo()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1264) | :closed_lock_with_key: | GET | `sapi/v1/margin/isolated/account` | -| [getIsolatedMarginFeeData()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1270) | :closed_lock_with_key: | GET | `sapi/v1/margin/isolatedMarginData` | -| [toggleBNBBurn()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1276) | :closed_lock_with_key: | POST | `sapi/v1/bnbBurn` | -| [getMarginCapitalFlow()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1284) | :closed_lock_with_key: | GET | `sapi/v1/margin/capital-flow` | -| [queryLoanRecord()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1293) | :closed_lock_with_key: | GET | `sapi/v1/margin/loan` | -| [queryRepayRecord()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1302) | :closed_lock_with_key: | GET | `sapi/v1/margin/repay` | -| [isolatedMarginAccountTransfer()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1311) | :closed_lock_with_key: | POST | `sapi/v1/margin/isolated/transfer` | -| [getBalances()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1323) | :closed_lock_with_key: | GET | `sapi/v1/capital/config/getall` | -| [withdraw()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1326) | :closed_lock_with_key: | POST | `sapi/v1/capital/withdraw/apply` | -| [getWithdrawHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1330) | :closed_lock_with_key: | GET | `sapi/v1/capital/withdraw/history` | -| [getWithdrawAddresses()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1336) | :closed_lock_with_key: | GET | `sapi/v1/capital/withdraw/address/list` | -| [getDepositHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1340) | :closed_lock_with_key: | GET | `sapi/v1/capital/deposit/hisrec` | -| [getDepositAddress()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1344) | :closed_lock_with_key: | GET | `sapi/v1/capital/deposit/address` | -| [getDepositAddresses()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1350) | :closed_lock_with_key: | GET | `sapi/v1/capital/deposit/address/list` | -| [submitDepositCredit()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1356) | :closed_lock_with_key: | POST | `sapi/v1/capital/deposit/credit-apply` | -| [getAutoConvertStablecoins()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1365) | :closed_lock_with_key: | GET | `sapi/v1/capital/contract/convertible-coins` | -| [setConvertibleCoins()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1372) | :closed_lock_with_key: | POST | `sapi/v1/capital/contract/convertible-coins` | -| [getAssetDetail()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1385) | :closed_lock_with_key: | GET | `sapi/v1/asset/assetDetail` | -| [getWalletBalances()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1391) | :closed_lock_with_key: | GET | `sapi/v1/asset/wallet/balance` | -| [getUserAsset()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1395) | :closed_lock_with_key: | POST | `sapi/v3/asset/getUserAsset` | -| [submitUniversalTransfer()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1399) | :closed_lock_with_key: | POST | `sapi/v1/asset/transfer` | -| [getUniversalTransferHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1405) | :closed_lock_with_key: | GET | `sapi/v1/asset/transfer` | -| [getDust()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1411) | :closed_lock_with_key: | POST | `sapi/v1/asset/dust-btc` | -| [convertDustToBnb()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1415) | :closed_lock_with_key: | POST | `sapi/v1/asset/dust` | -| [getDustLog()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1419) | :closed_lock_with_key: | GET | `sapi/v1/asset/dribblet` | -| [getAssetDividendRecord()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1423) | :closed_lock_with_key: | GET | `sapi/v1/asset/assetDividend` | -| [getTradeFee()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1427) | :closed_lock_with_key: | GET | `sapi/v1/asset/tradeFee` | -| [getFundingAsset()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1431) | :closed_lock_with_key: | POST | `sapi/v1/asset/get-funding-asset` | -| [getCloudMiningHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1435) | :closed_lock_with_key: | GET | `sapi/v1/asset/ledger-transfer/cloud-mining/queryByPage` | -| [getDelegationHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1445) | :closed_lock_with_key: | GET | `sapi/v1/asset/custody/transfer-history` | -| [submitNewFutureAccountTransfer()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1475) | :closed_lock_with_key: | POST | `sapi/v1/futures/transfer` | -| [getFutureAccountTransferHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1485) | :closed_lock_with_key: | GET | `sapi/v1/futures/transfer` | -| [getCrossCollateralBorrowHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1494) | :closed_lock_with_key: | GET | `sapi/v1/futures/loan/borrow/history` | -| [getCrossCollateralRepaymentHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1500) | :closed_lock_with_key: | GET | `sapi/v1/futures/loan/repay/history` | -| [getCrossCollateralWalletV2()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1506) | :closed_lock_with_key: | GET | `sapi/v2/futures/loan/wallet` | -| [getAdjustCrossCollateralLTVHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1512) | :closed_lock_with_key: | GET | `sapi/v1/futures/loan/adjustCollateral/history` | -| [getCrossCollateralLiquidationHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1523) | :closed_lock_with_key: | GET | `sapi/v1/futures/loan/liquidationHistory` | -| [getCrossCollateralInterestHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1531) | :closed_lock_with_key: | GET | `sapi/v1/futures/loan/interestHistory` | -| [getAccountInfo()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1543) | :closed_lock_with_key: | GET | `sapi/v1/account/info` | -| [getDailyAccountSnapshot()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1547) | :closed_lock_with_key: | GET | `sapi/v1/accountSnapshot` | -| [disableFastWithdrawSwitch()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1553) | :closed_lock_with_key: | POST | `sapi/v1/account/disableFastWithdrawSwitch` | -| [enableFastWithdrawSwitch()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1557) | :closed_lock_with_key: | POST | `sapi/v1/account/enableFastWithdrawSwitch` | -| [getAccountStatus()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1561) | :closed_lock_with_key: | GET | `sapi/v1/account/status` | -| [getApiTradingStatus()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1565) | :closed_lock_with_key: | GET | `sapi/v1/account/apiTradingStatus` | -| [getApiKeyPermissions()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1569) | :closed_lock_with_key: | GET | `sapi/v1/account/apiRestrictions` | -| [getSystemStatus()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1587) | | GET | `sapi/v1/system/status` | -| [getDelistSchedule()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1591) | :closed_lock_with_key: | GET | `sapi/v1/spot/delist-schedule` | -| [createVirtualSubAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1601) | :closed_lock_with_key: | POST | `sapi/v1/sub-account/virtualSubAccount` | -| [getSubAccountList()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1607) | :closed_lock_with_key: | GET | `sapi/v1/sub-account/list` | -| [subAccountEnableFutures()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1613) | :closed_lock_with_key: | POST | `sapi/v1/sub-account/futures/enable` | -| [subAccountEnableMargin()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1617) | :closed_lock_with_key: | POST | `sapi/v1/sub-account/margin/enable` | -| [enableOptionsForSubAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1621) | :closed_lock_with_key: | POST | `sapi/v1/sub-account/eoptions/enable` | -| [subAccountEnableLeverageToken()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1627) | :closed_lock_with_key: | POST | `sapi/v1/sub-account/blvt/enable` | -| [getSubAccountStatusOnMarginOrFutures()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1633) | :closed_lock_with_key: | GET | `sapi/v1/sub-account/status` | -| [getSubAccountFuturesPositionRisk()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1639) | :closed_lock_with_key: | GET | `sapi/v1/sub-account/futures/positionRisk` | -| [getSubAccountFuturesPositionRiskV2()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1647) | :closed_lock_with_key: | GET | `sapi/v2/sub-account/futures/positionRisk` | -| [getSubAccountTransactionStatistics()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1653) | :closed_lock_with_key: | GET | `sapi/v1/sub-account/transaction-statistics` | -| [getSubAccountIPRestriction()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1668) | :closed_lock_with_key: | GET | `sapi/v1/sub-account/subAccountApi/ipRestriction` | -| [subAccountDeleteIPList()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1677) | :closed_lock_with_key: | DELETE | `sapi/v1/sub-account/subAccountApi/ipRestriction/ipList` | -| [subAccountAddIPRestriction()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1686) | :closed_lock_with_key: | POST | `sapi/v2/sub-account/subAccountApi/ipRestriction` | -| [subAccountAddIPList()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1699) | :closed_lock_with_key: | POST | `sapi/v1/sub-account/subAccountApi/ipRestriction/ipList` | -| [subAccountEnableOrDisableIPRestriction()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1712) | :closed_lock_with_key: | POST | `sapi/v1/sub-account/subAccountApi/ipRestriction` | -| [subAccountFuturesTransfer()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1727) | :closed_lock_with_key: | POST | `sapi/v1/sub-account/futures/transfer` | -| [getSubAccountFuturesAccountDetail()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1733) | :closed_lock_with_key: | GET | `sapi/v1/sub-account/futures/account` | -| [getSubAccountDetailOnFuturesAccountV2()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1739) | :closed_lock_with_key: | GET | `sapi/v2/sub-account/futures/account` | -| [getSubAccountDetailOnMarginAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1745) | :closed_lock_with_key: | GET | `sapi/v1/sub-account/margin/account` | -| [getSubAccountDepositAddress()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1751) | :closed_lock_with_key: | GET | `sapi/v1/capital/deposit/subAddress` | -| [getSubAccountDepositHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1757) | :closed_lock_with_key: | GET | `sapi/v1/capital/deposit/subHisrec` | -| [getSubAccountFuturesAccountSummary()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1763) | :closed_lock_with_key: | GET | `sapi/v1/sub-account/futures/accountSummary` | -| [getSubAccountSummaryOnFuturesAccountV2()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1767) | :closed_lock_with_key: | GET | `sapi/v2/sub-account/futures/accountSummary` | -| [getSubAccountsSummaryOfMarginAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1776) | :closed_lock_with_key: | GET | `sapi/v1/sub-account/margin/accountSummary` | -| [subAccountMarginTransfer()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1780) | :closed_lock_with_key: | POST | `sapi/v1/sub-account/margin/transfer` | -| [getSubAccountAssets()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1786) | :closed_lock_with_key: | GET | `sapi/v3/sub-account/assets` | -| [getSubAccountAssetsMaster()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1792) | :closed_lock_with_key: | GET | `sapi/v4/sub-account/assets` | -| [getSubAccountFuturesAssetTransferHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1798) | :closed_lock_with_key: | GET | `sapi/v1/sub-account/futures/internalTransfer` | -| [getSubAccountSpotAssetTransferHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1807) | :closed_lock_with_key: | GET | `sapi/v1/sub-account/sub/transfer/history` | -| [getSubAccountSpotAssetsSummary()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1813) | :closed_lock_with_key: | GET | `sapi/v1/sub-account/spotSummary` | -| [getSubAccountUniversalTransferHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1819) | :closed_lock_with_key: | GET | `sapi/v1/sub-account/universalTransfer` | -| [subAccountFuturesAssetTransfer()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1825) | :closed_lock_with_key: | POST | `sapi/v1/sub-account/futures/internalTransfer` | -| [subAccountTransferHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1834) | :closed_lock_with_key: | GET | `sapi/v1/sub-account/transfer/subUserHistory` | -| [subAccountTransferToMaster()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1843) | :closed_lock_with_key: | POST | `sapi/v1/sub-account/transfer/subToMaster` | -| [subAccountTransferToSameMaster()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1849) | :closed_lock_with_key: | POST | `sapi/v1/sub-account/transfer/subToSub` | -| [subAccountUniversalTransfer()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1855) | :closed_lock_with_key: | POST | `sapi/v1/sub-account/universalTransfer` | -| [depositAssetsIntoManagedSubAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1867) | :closed_lock_with_key: | POST | `sapi/v1/managed-subaccount/deposit` | -| [getManagedSubAccountDepositAddress()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1873) | :closed_lock_with_key: | GET | `sapi/v1/managed-subaccount/deposit/address` | -| [withdrawAssetsFromManagedSubAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1882) | :closed_lock_with_key: | POST | `sapi/v1/managed-subaccount/withdraw` | -| [getManagedSubAccountTransfersParent()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1888) | :closed_lock_with_key: | GET | `sapi/v1/managed-subaccount/queryTransLogForTradeParent` | -| [getManagedSubAccountTransferLog()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1900) | :closed_lock_with_key: | GET | `sapi/v1/managed-subaccount/query-trans-log` | -| [getManagedSubAccountTransfersInvestor()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1912) | :closed_lock_with_key: | GET | `sapi/v1/managed-subaccount/queryTransLogForInvestor` | -| [getManagedSubAccounts()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1924) | :closed_lock_with_key: | GET | `sapi/v1/managed-subaccount/info` | -| [getManagedSubAccountSnapshot()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1931) | :closed_lock_with_key: | GET | `sapi/v1/managed-subaccount/accountSnapshot` | -| [getManagedSubAccountAssetDetails()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1940) | :closed_lock_with_key: | GET | `sapi/v1/managed-subaccount/asset` | -| [getManagedSubAccountMarginAssets()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1946) | :closed_lock_with_key: | GET | `sapi/v1/managed-subaccount/marginAsset` | -| [getManagedSubAccountFuturesAssets()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1953) | :closed_lock_with_key: | GET | `sapi/v1/managed-subaccount/fetch-future-asset` | -| [getAutoInvestAssets()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1969) | :closed_lock_with_key: | GET | `sapi/v1/lending/auto-invest/all/asset` | -| [getAutoInvestSourceAssets()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1976) | :closed_lock_with_key: | GET | `sapi/v1/lending/auto-invest/source-asset/list` | -| [getAutoInvestTargetAssets()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1985) | :closed_lock_with_key: | GET | `sapi/v1/lending/auto-invest/target-asset/list` | -| [getAutoInvestTargetAssetsROI()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1994) | :closed_lock_with_key: | GET | `sapi/v1/lending/auto-invest/target-asset/roi/list` | -| [getAutoInvestIndex()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2003) | :closed_lock_with_key: | GET | `sapi/v1/lending/auto-invest/index/info` | -| [getAutoInvestPlans()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2009) | :closed_lock_with_key: | GET | `sapi/v1/lending/auto-invest/plan/list` | -| [submitAutoInvestOneTimeTransaction()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2027) | :closed_lock_with_key: | POST | `sapi/v1/lending/auto-invest/one-off` | -| [updateAutoInvestPlanStatus()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2043) | :closed_lock_with_key: | POST | `sapi/v1/lending/auto-invest/plan/edit-status` | -| [updateAutoInvestmentPlanOld()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2057) | :closed_lock_with_key: | POST | `sapi/v1/lending/auto-invest/plan/edit` | -| [updateAutoInvestmentPlan()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2063) | :closed_lock_with_key: | POST | `sapi/v1/lending/auto-invest/plan/edit` | -| [submitAutoInvestRedemption()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2080) | :closed_lock_with_key: | POST | `sapi/v1/lending/auto-invest/redeem` | -| [getAutoInvestSubscriptionTransactions()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2088) | :closed_lock_with_key: | GET | `sapi/v1/lending/auto-invest/history/list` | -| [getOneTimeTransactionStatus()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2094) | :closed_lock_with_key: | GET | `sapi/v1/lending/auto-invest/one-off/status` | -| [submitAutoInvestmentPlanOld()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2107) | :closed_lock_with_key: | POST | `sapi/v1/lending/auto-invest/plan/add` | -| [submitAutoInvestmentPlan()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2113) | :closed_lock_with_key: | POST | `sapi/v1/lending/auto-invest/plan/add` | -| [getAutoInvestRedemptionHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2128) | :closed_lock_with_key: | GET | `sapi/v1/lending/auto-invest/redeem/history` | -| [getAutoInvestPlan()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2137) | :closed_lock_with_key: | GET | `sapi/v1/lending/auto-invest/plan/id` | -| [getAutoInvestUserIndex()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2141) | :closed_lock_with_key: | GET | `sapi/v1/lending/auto-invest/index/user-summary` | -| [getAutoInvestRebalanceHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2150) | :closed_lock_with_key: | GET | `sapi/v1/lending/auto-invest/rebalance/history` | -| [getConvertPairs()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2165) | :closed_lock_with_key: | GET | `sapi/v1/convert/exchangeInfo` | -| [getConvertAssetInfo()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2169) | :closed_lock_with_key: | GET | `sapi/v1/convert/assetInfo` | -| [convertQuoteRequest()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2179) | :closed_lock_with_key: | POST | `sapi/v1/convert/getQuote` | -| [acceptQuoteRequest()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2183) | :closed_lock_with_key: | POST | `sapi/v1/convert/acceptQuote` | -| [getConvertTradeHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2187) | :closed_lock_with_key: | GET | `sapi/v1/convert/tradeFlow` | -| [getOrderStatus()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2191) | :closed_lock_with_key: | GET | `sapi/v1/convert/orderStatus` | -| [submitConvertLimitOrder()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2195) | :closed_lock_with_key: | POST | `sapi/v1/convert/limit/placeOrder` | -| [cancelConvertLimitOrder()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2199) | :closed_lock_with_key: | POST | `sapi/v1/convert/limit/cancelOrder` | -| [getConvertLimitOpenOrders()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2203) | :closed_lock_with_key: | GET | `sapi/v1/convert/limit/queryOpenOrders` | -| [getEthStakingAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2218) | :closed_lock_with_key: | GET | `sapi/v1/eth-staking/account` | -| [getEthStakingAccountV2()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2222) | :closed_lock_with_key: | GET | `sapi/v2/eth-staking/account` | -| [getEthStakingQuota()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2226) | :closed_lock_with_key: | GET | `sapi/v1/eth-staking/eth/quota` | -| [subscribeEthStakingV1()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2239) | :closed_lock_with_key: | POST | `sapi/v1/eth-staking/eth/stake` | -| [subscribeEthStakingV2()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2245) | :closed_lock_with_key: | POST | `sapi/v2/eth-staking/eth/stake` | -| [redeemEth()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2251) | :closed_lock_with_key: | POST | `sapi/v1/eth-staking/eth/redeem` | -| [wrapBeth()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2255) | :closed_lock_with_key: | POST | `sapi/v1/eth-staking/wbeth/wrap` | -| [getEthStakingHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2265) | :closed_lock_with_key: | GET | `sapi/v1/eth-staking/eth/history/stakingHistory` | -| [getEthRedemptionHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2275) | :closed_lock_with_key: | GET | `sapi/v1/eth-staking/eth/history/redemptionHistory` | -| [getBethRewardsHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2285) | :closed_lock_with_key: | GET | `sapi/v1/eth-staking/eth/history/rewardsHistory` | -| [getWbethRewardsHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2295) | :closed_lock_with_key: | GET | `sapi/v1/eth-staking/eth/history/wbethRewardsHistory` | -| [getEthRateHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2304) | :closed_lock_with_key: | GET | `sapi/v1/eth-staking/eth/history/rateHistory` | -| [getBethWrapHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2314) | :closed_lock_with_key: | GET | `sapi/v1/eth-staking/wbeth/history/wrapHistory` | -| [getBethUnwrapHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2324) | :closed_lock_with_key: | GET | `sapi/v1/eth-staking/wbeth/history/unwrapHistory` | -| [getStakingProducts()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2337) | :closed_lock_with_key: | GET | `sapi/v1/staking/productList` | -| [getStakingProductPosition()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2348) | :closed_lock_with_key: | GET | `sapi/v1/staking/position` | -| [getStakingHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2360) | :closed_lock_with_key: | GET | `sapi/v1/staking/stakingRecord` | -| [getPersonalLeftQuotaOfStakingProduct()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2367) | :closed_lock_with_key: | GET | `sapi/v1/staking/personalLeftQuota` | -| [getSolStakingAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2380) | :closed_lock_with_key: | GET | `sapi/v1/sol-staking/account` | -| [getSolStakingQuota()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2384) | :closed_lock_with_key: | GET | `sapi/v1/sol-staking/sol/quota` | -| [subscribeSolStaking()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2394) | :closed_lock_with_key: | POST | `sapi/v1/sol-staking/sol/stake` | -| [redeemSol()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2400) | :closed_lock_with_key: | POST | `sapi/v1/sol-staking/sol/redeem` | -| [getSolStakingHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2410) | :closed_lock_with_key: | GET | `sapi/v1/sol-staking/sol/history/stakingHistory` | -| [getSolRedemptionHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2420) | :closed_lock_with_key: | GET | `sapi/v1/sol-staking/sol/history/redemptionHistory` | -| [getBnsolRewardsHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2430) | :closed_lock_with_key: | GET | `sapi/v1/sol-staking/sol/history/bnsolRewardsHistory` | -| [getBnsolRateHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2441) | :closed_lock_with_key: | GET | `sapi/v1/sol-staking/sol/history/rateHistory` | -| [getFuturesLeadTraderStatus()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2457) | :closed_lock_with_key: | GET | `sapi/v1/copyTrading/futures/userStatus` | -| [getFuturesLeadTradingSymbolWhitelist()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2461) | :closed_lock_with_key: | GET | `sapi/v1/copyTrading/futures/leadSymbol` | -| [getMiningAlgos()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2473) | | GET | `sapi/v1/mining/pub/algoList` | -| [getMiningCoins()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2477) | | GET | `sapi/v1/mining/pub/coinList` | -| [getHashrateResales()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2481) | :closed_lock_with_key: | GET | `sapi/v1/mining/hash-transfer/config/details/list` | -| [getMiners()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2490) | :closed_lock_with_key: | GET | `sapi/v1/mining/worker/list` | -| [getMinerDetails()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2494) | :closed_lock_with_key: | GET | `sapi/v1/mining/worker/detail` | -| [getExtraBonuses()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2500) | :closed_lock_with_key: | GET | `sapi/v1/mining/payment/other` | -| [getMiningEarnings()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2506) | :closed_lock_with_key: | GET | `sapi/v1/mining/payment/list` | -| [cancelHashrateResaleConfig()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2512) | :closed_lock_with_key: | POST | `sapi/v1/mining/hash-transfer/config/cancel` | -| [getHashrateResale()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2521) | :closed_lock_with_key: | GET | `sapi/v1/mining/hash-transfer/profit/details` | -| [getMiningAccountEarnings()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2530) | :closed_lock_with_key: | GET | `sapi/v1/mining/payment/uid` | -| [getMiningStatistics()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2536) | :closed_lock_with_key: | GET | `sapi/v1/mining/statistics/user/status` | -| [submitHashrateResale()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2542) | :closed_lock_with_key: | POST | `sapi/v1/mining/hash-transfer/config` | -| [getMiningAccounts()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2546) | :closed_lock_with_key: | GET | `sapi/v1/mining/statistics/user/list` | -| [submitVpNewOrder()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2558) | :closed_lock_with_key: | POST | `sapi/v1/algo/futures/newOrderVp` | -| [submitTwapNewOrder()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2565) | :closed_lock_with_key: | POST | `sapi/v1/algo/futures/newOrderTwap` | -| [cancelAlgoOrder()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2572) | :closed_lock_with_key: | DELETE | `sapi/v1/algo/futures/order` | -| [getAlgoSubOrders()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2578) | :closed_lock_with_key: | GET | `sapi/v1/algo/futures/subOrders` | -| [getAlgoOpenOrders()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2584) | :closed_lock_with_key: | GET | `sapi/v1/algo/futures/openOrders` | -| [getAlgoHistoricalOrders()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2591) | :closed_lock_with_key: | GET | `sapi/v1/algo/futures/historicalOrders` | -| [submitSpotAlgoTwapOrder()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2604) | :closed_lock_with_key: | POST | `sapi/v1/algo/spot/newOrderTwap` | -| [cancelSpotAlgoOrder()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2611) | :closed_lock_with_key: | DELETE | `sapi/v1/algo/spot/order` | -| [getSpotAlgoSubOrders()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2617) | :closed_lock_with_key: | GET | `sapi/v1/algo/spot/subOrders` | -| [getSpotAlgoOpenOrders()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2623) | :closed_lock_with_key: | GET | `sapi/v1/algo/spot/openOrders` | -| [getSpotAlgoHistoricalOrders()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2630) | :closed_lock_with_key: | GET | `sapi/v1/algo/spot/historicalOrders` | -| [getCryptoLoanFlexibleCollateralAssets()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2645) | :closed_lock_with_key: | GET | `sapi/v2/loan/flexible/collateral/data` | -| [getCryptoLoanFlexibleAssets()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2654) | :closed_lock_with_key: | GET | `sapi/v2/loan/flexible/loanable/data` | -| [borrowCryptoLoanFlexible()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2667) | :closed_lock_with_key: | POST | `sapi/v2/loan/flexible/borrow` | -| [repayCryptoLoanFlexible()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2673) | :closed_lock_with_key: | POST | `sapi/v2/loan/flexible/repay` | -| [adjustCryptoLoanFlexibleLTV()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2679) | :closed_lock_with_key: | POST | `sapi/v2/loan/flexible/adjust/ltv` | -| [getCryptoLoanFlexibleLTVAdjustmentHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2691) | :closed_lock_with_key: | GET | `sapi/v2/loan/flexible/ltv/adjustment/history` | -| [getLoanFlexibleBorrowHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2703) | :closed_lock_with_key: | GET | `sapi/v2/loan/flexible/borrow/history` | -| [getCryptoLoanFlexibleOngoingOrders()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2712) | :closed_lock_with_key: | GET | `sapi/v2/loan/flexible/ongoing/orders` | -| [getLoanFlexibleRepaymentHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2721) | :closed_lock_with_key: | GET | `sapi/v2/loan/flexible/repay/history` | -| [getCryptoLoanLoanableAssets()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2739) | :closed_lock_with_key: | GET | `sapi/v1/loan/loanable/data` | -| [getCryptoLoanCollateralRepayRate()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2746) | :closed_lock_with_key: | GET | `sapi/v1/loan/repay/collateral/rate` | -| [getCryptoLoanCollateralAssetsData()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2755) | :closed_lock_with_key: | GET | `sapi/v1/loan/collateral/data` | -| [getCryptoLoansIncomeHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2764) | :closed_lock_with_key: | GET | `sapi/v1/loan/income` | -| [borrowCryptoLoan()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2779) | :closed_lock_with_key: | POST | `sapi/v1/loan/borrow` | -| [repayCryptoLoan()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2788) | :closed_lock_with_key: | POST | `sapi/v1/loan/repay` | -| [adjustCryptoLoanLTV()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2797) | :closed_lock_with_key: | POST | `sapi/v1/loan/adjust/ltv` | -| [customizeCryptoLoanMarginCall()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2805) | :closed_lock_with_key: | POST | `sapi/v1/loan/customize/margin_call` | -| [getCryptoLoanOngoingOrders()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2821) | :closed_lock_with_key: | GET | `sapi/v1/loan/ongoing/orders` | -| [getCryptoLoanBorrowHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2828) | :closed_lock_with_key: | GET | `sapi/v1/loan/borrow/history` | -| [getCryptoLoanLTVAdjustmentHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2835) | :closed_lock_with_key: | GET | `sapi/v1/loan/ltv/adjustment/history` | -| [getCryptoLoanRepaymentHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2844) | :closed_lock_with_key: | GET | `sapi/v1/loan/repay/history` | -| [getSimpleEarnAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2856) | :closed_lock_with_key: | GET | `sapi/v1/simple-earn/account` | -| [getFlexibleSavingProducts()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2860) | :closed_lock_with_key: | GET | `sapi/v1/simple-earn/flexible/list` | -| [getSimpleEarnLockedProductList()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2867) | :closed_lock_with_key: | GET | `sapi/v1/simple-earn/locked/list` | -| [getFlexibleProductPosition()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2876) | :closed_lock_with_key: | GET | `sapi/v1/simple-earn/flexible/position` | -| [getLockedProductPosition()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2885) | :closed_lock_with_key: | GET | `sapi/v1/simple-earn/locked/position` | -| [getFlexiblePersonalLeftQuota()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2894) | :closed_lock_with_key: | GET | `sapi/v1/simple-earn/flexible/personalLeftQuota` | -| [getLockedPersonalLeftQuota()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2903) | :closed_lock_with_key: | GET | `sapi/v1/simple-earn/locked/personalLeftQuota` | -| [purchaseFlexibleProduct()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2918) | :closed_lock_with_key: | POST | `sapi/v1/simple-earn/flexible/subscribe` | -| [subscribeSimpleEarnLockedProduct()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2924) | :closed_lock_with_key: | POST | `sapi/v1/simple-earn/locked/subscribe` | -| [redeemFlexibleProduct()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2930) | :closed_lock_with_key: | POST | `sapi/v1/simple-earn/flexible/redeem` | -| [redeemLockedProduct()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2936) | :closed_lock_with_key: | POST | `sapi/v1/simple-earn/locked/redeem` | -| [setFlexibleAutoSubscribe()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2942) | :closed_lock_with_key: | POST | `sapi/v1/simple-earn/flexible/setAutoSubscribe` | -| [setLockedAutoSubscribe()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2951) | :closed_lock_with_key: | POST | `sapi/v1/simple-earn/locked/setAutoSubscribe` | -| [getFlexibleSubscriptionPreview()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2960) | :closed_lock_with_key: | GET | `sapi/v1/simple-earn/flexible/subscriptionPreview` | -| [getLockedSubscriptionPreview()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2969) | :closed_lock_with_key: | GET | `sapi/v1/simple-earn/locked/subscriptionPreview` | -| [setLockedProductRedeemOption()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2978) | :closed_lock_with_key: | POST | `sapi/v1/simple-earn/locked/setRedeemOption` | -| [getFlexibleSubscriptionRecord()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2996) | :closed_lock_with_key: | GET | `sapi/v1/simple-earn/flexible/history/subscriptionRecord` | -| [getLockedSubscriptionRecord()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3008) | :closed_lock_with_key: | GET | `sapi/v1/simple-earn/locked/history/subscriptionRecord` | -| [getFlexibleRedemptionRecord()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3020) | :closed_lock_with_key: | GET | `sapi/v1/simple-earn/flexible/history/redemptionRecord` | -| [getLockedRedemptionRecord()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3032) | :closed_lock_with_key: | GET | `sapi/v1/simple-earn/locked/history/redemptionRecord` | -| [getFlexibleRewardsHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3042) | :closed_lock_with_key: | GET | `sapi/v1/simple-earn/flexible/history/rewardsRecord` | -| [getLockedRewardsHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3052) | :closed_lock_with_key: | GET | `sapi/v1/simple-earn/locked/history/rewardsRecord` | -| [getCollateralRecord()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3062) | :closed_lock_with_key: | GET | `sapi/v1/simple-earn/flexible/history/collateralRecord` | -| [getRateHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3072) | :closed_lock_with_key: | GET | `sapi/v1/simple-earn/flexible/history/rateHistory` | -| [getVipBorrowInterestRate()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3088) | :closed_lock_with_key: | GET | `sapi/v1/loan/vip/request/interestRate` | -| [getVipLoanInterestRateHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3094) | :closed_lock_with_key: | GET | `sapi/v1/loan/vip/interestRateHistory` | -| [getVipLoanableAssets()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3103) | :closed_lock_with_key: | GET | `sapi/v1/loan/vip/loanable/data` | -| [getVipCollateralAssets()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3110) | :closed_lock_with_key: | GET | `sapi/v1/loan/vip/collateral/data` | -| [getVipLoanOpenOrders()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3123) | :closed_lock_with_key: | GET | `sapi/v1/loan/vip/ongoing/orders` | -| [getVipLoanRepaymentHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3130) | :closed_lock_with_key: | GET | `sapi/v1/loan/vip/repay/history` | -| [checkVipCollateralAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3139) | :closed_lock_with_key: | GET | `sapi/v1/loan/vip/collateral/account` | -| [getVipLoanAccruedInterest()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3146) | :closed_lock_with_key: | GET | `sapi/v1/loan/vip/accruedInterest` | -| [getVipApplicationStatus()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3153) | :closed_lock_with_key: | GET | `sapi/v1/loan/vip/request/data` | -| [renewVipLoan()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3166) | :closed_lock_with_key: | POST | `sapi/v1/loan/vip/renew` | -| [repayVipLoan()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3170) | :closed_lock_with_key: | POST | `sapi/v1/loan/vip/repay` | -| [borrowVipLoan()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3174) | :closed_lock_with_key: | POST | `sapi/v1/loan/vip/borrow` | -| [getDualInvestmentProducts()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3184) | :closed_lock_with_key: | GET | `sapi/v1/dci/product/list` | -| [subscribeDualInvestmentProduct()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3199) | :closed_lock_with_key: | POST | `sapi/v1/dci/product/subscribe` | -| [getDualInvestmentPositions()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3205) | :closed_lock_with_key: | GET | `sapi/v1/dci/product/positions` | -| [getDualInvestmentAccounts()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3214) | :closed_lock_with_key: | GET | `sapi/v1/dci/product/accounts` | -| [updateAutoCompoundStatus()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3218) | :closed_lock_with_key: | POST | `sapi/v1/dci/product/auto_compound/edit-status` | -| [createGiftCard()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3233) | :closed_lock_with_key: | POST | `sapi/v1/giftcard/createCode` | -| [createDualTokenGiftCard()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3237) | :closed_lock_with_key: | POST | `sapi/v1/giftcard/buyCode` | -| [redeemGiftCard()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3241) | :closed_lock_with_key: | POST | `sapi/v1/giftcard/redeemCode` | -| [verifyGiftCard()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3245) | :closed_lock_with_key: | GET | `sapi/v1/giftcard/verify` | -| [getTokenLimit()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3249) | :closed_lock_with_key: | GET | `sapi/v1/giftcard/buyCode/token-limit` | -| [getRsaPublicKey()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3253) | :closed_lock_with_key: | GET | `sapi/v1/giftcard/cryptography/rsa-public-key` | -| [getNftTransactionHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3263) | :closed_lock_with_key: | GET | `sapi/v1/nft/history/transactions` | -| [getNftDepositHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3270) | :closed_lock_with_key: | GET | `sapi/v1/nft/history/deposit` | -| [getNftWithdrawHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3277) | :closed_lock_with_key: | GET | `sapi/v1/nft/history/withdraw` | -| [getNftAsset()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3284) | :closed_lock_with_key: | GET | `sapi/v1/nft/user/getAsset` | -| [getC2CTradeHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3297) | :closed_lock_with_key: | GET | `sapi/v1/c2c/orderMatch/listUserOrderHistory` | -| [getFiatOrderHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3312) | :closed_lock_with_key: | GET | `sapi/v1/fiat/orders` | -| [getFiatPaymentsHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3318) | :closed_lock_with_key: | GET | `sapi/v1/fiat/payments` | -| [getSpotRebateHistoryRecords()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3330) | :closed_lock_with_key: | GET | `sapi/v1/rebate/taxQuery` | -| [getPortfolioMarginIndexPrice()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3343) | | GET | `sapi/v1/portfolio/asset-index-price` | -| [getPortfolioMarginAssetLeverage()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3349) | :closed_lock_with_key: | GET | `sapi/v1/portfolio/margin-asset-leverage` | -| [getPortfolioMarginProCollateralRate()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3355) | | GET | `sapi/v1/portfolio/collateralRate` | -| [getPortfolioMarginProTieredCollateralRate()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3361) | | GET | `sapi/v2/portfolio/collateralRate` | -| [getPortfolioMarginProAccountInfo()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3372) | :closed_lock_with_key: | GET | `sapi/v1/portfolio/account` | -| [bnbTransfer()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3376) | :closed_lock_with_key: | POST | `sapi/v1/portfolio/bnb-transfer` | -| [submitPortfolioMarginProFullTransfer()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3382) | :closed_lock_with_key: | POST | `sapi/v1/portfolio/auto-collection` | -| [submitPortfolioMarginProSpecificTransfer()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3388) | :closed_lock_with_key: | POST | `sapi/v1/portfolio/asset-collection` | -| [repayPortfolioMarginProBankruptcyLoan()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3394) | :closed_lock_with_key: | POST | `sapi/v1/portfolio/repay` | -| [getPortfolioMarginProBankruptcyLoanAmount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3402) | :closed_lock_with_key: | GET | `sapi/v1/portfolio/pmLoan` | -| [repayFuturesNegativeBalance()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3406) | :closed_lock_with_key: | POST | `sapi/v1/portfolio/repay-futures-negative-balance` | -| [updateAutoRepayFuturesStatus()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3412) | :closed_lock_with_key: | POST | `sapi/v1/portfolio/repay-futures-switch` | -| [getAutoRepayFuturesStatus()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3418) | :closed_lock_with_key: | GET | `sapi/v1/portfolio/repay-futures-switch` | -| [getPortfolioMarginProInterestHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3424) | :closed_lock_with_key: | GET | `sapi/v1/portfolio/interest-history` | -| [getPortfolioMarginProSpanAccountInfo()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3430) | :closed_lock_with_key: | GET | `sapi/v2/portfolio/account` | -| [getPortfolioMarginProAccountBalance()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3434) | :closed_lock_with_key: | GET | `sapi/v1/portfolio/balance` | -| [getFuturesTickLevelOrderbookDataLink()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3447) | :closed_lock_with_key: | GET | `sapi/v1/futures/histDataLink` | -| [getBlvtInfo()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3461) | | GET | `sapi/v1/blvt/tokenInfo` | -| [subscribeBlvt()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3465) | :closed_lock_with_key: | POST | `sapi/v1/blvt/subscribe` | -| [getBlvtSubscriptionRecord()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3469) | :closed_lock_with_key: | GET | `sapi/v1/blvt/subscribe/record` | -| [redeemBlvt()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3475) | :closed_lock_with_key: | POST | `sapi/v1/blvt/redeem` | -| [getBlvtRedemptionRecord()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3479) | :closed_lock_with_key: | GET | `sapi/v1/blvt/redeem/record` | -| [getBlvtUserLimitInfo()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3485) | :closed_lock_with_key: | GET | `sapi/v1/blvt/userLimit` | -| [getPayTransactions()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3496) | :closed_lock_with_key: | GET | `sapi/v1/pay/transactions` | -| [createBrokerSubAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3506) | :closed_lock_with_key: | POST | `sapi/v1/broker/subAccount` | -| [getBrokerSubAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3512) | :closed_lock_with_key: | GET | `sapi/v1/broker/subAccount` | -| [enableMarginBrokerSubAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3518) | :closed_lock_with_key: | POST | `sapi/v1/broker/subAccount/futures` | -| [createApiKeyBrokerSubAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3524) | :closed_lock_with_key: | POST | `sapi/v1/broker/subAccountApi` | -| [changePermissionApiKeyBrokerSubAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3530) | :closed_lock_with_key: | POST | `sapi/v1/broker/subAccountApi/permission` | -| [changeComissionBrokerSubAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3536) | :closed_lock_with_key: | POST | `sapi/v1/broker/subAccountApi/permission` | -| [enableUniversalTransferApiKeyBrokerSubAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3542) | :closed_lock_with_key: | POST | `sapi/v1/broker/subAccountApi/permission/universalTransfer` | -| [updateIpRestrictionForSubAccountApiKey()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3551) | :closed_lock_with_key: | POST | `sapi/v2/broker/subAccountApi/ipRestriction` | -| [deleteIPRestrictionForSubAccountApiKey()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3565) | :closed_lock_with_key: | DELETE | `sapi/v1/broker/subAccountApi/ipRestriction/ipList` | -| [deleteApiKeyBrokerSubAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3581) | :closed_lock_with_key: | DELETE | `sapi/v1/broker/subAccountApi` | -| [getSubAccountBrokerIpRestriction()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3587) | :closed_lock_with_key: | GET | `sapi/v1/broker/subAccountApi/ipRestriction` | -| [getApiKeyBrokerSubAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3603) | :closed_lock_with_key: | GET | `sapi/v1/broker/subAccountApi` | -| [getBrokerInfo()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3609) | :closed_lock_with_key: | GET | `sapi/v1/broker/info` | -| [updateSubAccountBNBBurn()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3613) | :closed_lock_with_key: | POST | `sapi/v1/broker/subAccount/bnbBurn/spot` | -| [updateSubAccountMarginInterestBNBBurn()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3623) | :closed_lock_with_key: | POST | `sapi/v1/broker/subAccount/bnbBurn/marginInterest` | -| [getSubAccountBNBBurnStatus()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3636) | :closed_lock_with_key: | GET | `sapi/v1/broker/subAccount/bnbBurn/status` | -| [transferBrokerSubAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3650) | :closed_lock_with_key: | POST | `sapi/v1/broker/transfer` | -| [getBrokerSubAccountHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3656) | :closed_lock_with_key: | GET | `sapi/v1/broker/transfer` | -| [submitBrokerSubFuturesTransfer()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3662) | :closed_lock_with_key: | POST | `sapi/v1/broker/transfer/futures` | -| [getSubAccountFuturesTransferHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3677) | :closed_lock_with_key: | GET | `sapi/v1/broker/transfer/futures` | -| [getBrokerSubDepositHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3689) | :closed_lock_with_key: | GET | `sapi/v1/broker/subAccount/depositHist` | -| [getBrokerSubAccountSpotAssets()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3695) | :closed_lock_with_key: | GET | `sapi/v1/broker/subAccount/spotSummary` | -| [getSubAccountMarginAssetInfo()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3704) | :closed_lock_with_key: | GET | `sapi/v1/broker/subAccount/marginSummary` | -| [querySubAccountFuturesAssetInfo()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3713) | :closed_lock_with_key: | GET | `sapi/v3/broker/subAccount/futuresSummary` | -| [universalTransferBroker()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3722) | :closed_lock_with_key: | POST | `sapi/v1/broker/universalTransfer` | -| [getUniversalTransferBroker()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3729) | :closed_lock_with_key: | GET | `sapi/v1/broker/universalTransfer` | -| [updateBrokerSubAccountCommission()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3741) | :closed_lock_with_key: | POST | `sapi/v1/broker/subAccountApi/commission` | -| [updateBrokerSubAccountFuturesCommission()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3747) | :closed_lock_with_key: | POST | `sapi/v1/broker/subAccountApi/commission/futures` | -| [getBrokerSubAccountFuturesCommission()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3756) | :closed_lock_with_key: | GET | `sapi/v1/broker/subAccountApi/commission/futures` | -| [updateBrokerSubAccountCoinFuturesCommission()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3765) | :closed_lock_with_key: | POST | `sapi/v1/broker/subAccountApi/commission/coinFutures` | -| [getBrokerSubAccountCoinFuturesCommission()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3774) | :closed_lock_with_key: | GET | `sapi/v1/broker/subAccountApi/commission/coinFutures` | -| [getBrokerSpotCommissionRebate()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3783) | :closed_lock_with_key: | GET | `sapi/v1/broker/rebate/recentRecord` | -| [getBrokerFuturesCommissionRebate()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3789) | :closed_lock_with_key: | GET | `sapi/v1/broker/rebate/futures/recentRecord` | -| [getBrokerIfNewSpotUser()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3826) | :closed_lock_with_key: | GET | `sapi/v1/apiReferral/ifNewUser` | -| [getBrokerSubAccountDepositHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3837) | :closed_lock_with_key: | GET | `sapi/v1/bv1/apiReferral/ifNewUser` | -| [enableFuturesBrokerSubAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3856) | :closed_lock_with_key: | POST | `sapi/v1/broker/subAccount` | -| [enableMarginApiKeyBrokerSubAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3866) | :closed_lock_with_key: | POST | `sapi/v1/broker/subAccount/margin` | -| [getSpotUserDataListenKey()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3903) | | POST | `api/v3/userDataStream` | -| [keepAliveSpotUserDataListenKey()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3907) | | PUT | `api/v3/userDataStream?listenKey=${listenKey}` | -| [closeSpotUserDataListenKey()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3911) | | DELETE | `api/v3/userDataStream?listenKey=${listenKey}` | -| [getMarginUserDataListenKey()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3916) | | POST | `sapi/v1/userDataStream` | -| [keepAliveMarginUserDataListenKey()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3920) | | PUT | `sapi/v1/userDataStream?listenKey=${listenKey}` | -| [closeMarginUserDataListenKey()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3924) | | DELETE | `sapi/v1/userDataStream?listenKey=${listenKey}` | -| [getIsolatedMarginUserDataListenKey()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3929) | | POST | `sapi/v1/userDataStream/isolated?${serialiseParams(params)}` | -| [keepAliveIsolatedMarginUserDataListenKey()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3937) | | PUT | `sapi/v1/userDataStream/isolated?${serialiseParams(params)}` | -| [closeIsolatedMarginUserDataListenKey()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3946) | | DELETE | `sapi/v1/userDataStream/isolated?${serialiseParams(params)}` | -| [getBSwapLiquidity()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3969) | :closed_lock_with_key: | GET | `sapi/v1/bswap/liquidity` | -| [addBSwapLiquidity()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3976) | :closed_lock_with_key: | POST | `sapi/v1/bswap/liquidityAdd` | -| [removeBSwapLiquidity()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3985) | :closed_lock_with_key: | POST | `sapi/v1/bswap/liquidityRemove` | -| [getBSwapOperations()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3994) | :closed_lock_with_key: | GET | `sapi/v1/bswap/liquidityOps` | -| [getLeftDailyPurchaseQuotaFlexibleProduct()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4009) | :closed_lock_with_key: | GET | `sapi/v1/lending/daily/userLeftQuota` | -| [getLeftDailyRedemptionQuotaFlexibleProduct()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4018) | :closed_lock_with_key: | GET | `sapi/v1/lending/daily/userRedemptionQuota` | -| [purchaseFixedAndActivityProject()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4032) | :closed_lock_with_key: | POST | `sapi/v1/lending/customizedFixed/purchase` | -| [getFixedAndActivityProjects()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4042) | :closed_lock_with_key: | GET | `sapi/v1/lending/project/list` | -| [getFixedAndActivityProductPosition()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4051) | :closed_lock_with_key: | GET | `sapi/v1/lending/project/position/list` | -| [getLendingAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4060) | :closed_lock_with_key: | GET | `sapi/v1/lending/union/account` | -| [getPurchaseRecord()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4067) | :closed_lock_with_key: | GET | `sapi/v1/lending/union/purchaseRecord` | -| [getRedemptionRecord()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4074) | :closed_lock_with_key: | GET | `sapi/v1/lending/union/redemptionRecord` | -| [getInterestHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4081) | :closed_lock_with_key: | GET | `sapi/v1/lending/union/interestHistory` | -| [changeFixedAndActivityPositionToDailyPosition()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4088) | :closed_lock_with_key: | POST | `sapi/v1/lending/positionChanged` | -| [enableConvertSubAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4105) | :closed_lock_with_key: | POST | `sapi/v1/broker/subAccount/convert` | -| [convertBUSD()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4112) | :closed_lock_with_key: | POST | `sapi/v1/asset/convert-transfer` | -| [getConvertBUSDHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4119) | :closed_lock_with_key: | GET | `sapi/v1/asset/convert-transfer/queryByPage` | +| [testConnectivity()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L642) | | GET | `api/v3/ping` | +| [getExchangeInfo()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L646) | | GET | `api/v3/exchangeInfo` | +| [getOrderBook()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L666) | | GET | `api/v3/depth` | +| [getRecentTrades()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L670) | | GET | `api/v3/trades` | +| [getHistoricalTrades()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L674) | | GET | `api/v3/historicalTrades` | +| [getAggregateTrades()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L678) | | GET | `api/v3/aggTrades` | +| [getKlines()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L684) | | GET | `api/v3/klines` | +| [getUIKlines()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L688) | | GET | `api/v3/uiKlines` | +| [getAvgPrice()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L692) | | GET | `api/v3/avgPrice` | +| [get24hrChangeStatististics()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L696) | | GET | `api/v3/ticker/24hr` | +| [getTradingDayTicker()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L721) | | GET | `api/v3/ticker/tradingDay` | +| [getSymbolPriceTicker()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L727) | | GET | `api/v3/ticker/price` | +| [getSymbolOrderBookTicker()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L733) | | GET | `api/v3/ticker/bookTicker` | +| [getRollingWindowTicker()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L739) | | GET | `api/v3/ticker` | +| [submitNewOrder()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L751) | :closed_lock_with_key: | POST | `api/v3/order` | +| [testNewOrder()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L759) | :closed_lock_with_key: | POST | `api/v3/order/test` | +| [getOrder()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L767) | :closed_lock_with_key: | GET | `api/v3/order` | +| [cancelOrder()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L771) | :closed_lock_with_key: | DELETE | `api/v3/order` | +| [cancelAllSymbolOrders()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L775) | :closed_lock_with_key: | DELETE | `api/v3/openOrders` | +| [replaceOrder()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L781) | :closed_lock_with_key: | POST | `api/v3/order/cancelReplace` | +| [getOpenOrders()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L790) | :closed_lock_with_key: | GET | `api/v3/openOrders` | +| [getAllOrders()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L794) | :closed_lock_with_key: | GET | `api/v3/allOrders` | +| [submitNewOCO()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L801) | :closed_lock_with_key: | POST | `api/v3/order/oco` | +| [submitNewOrderList()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L808) | :closed_lock_with_key: | POST | `api/v3/orderList/oco` | +| [submitNewOrderListOTO()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L818) | :closed_lock_with_key: | POST | `api/v3/orderList/oto` | +| [submitNewOrderListOTOCO()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L828) | :closed_lock_with_key: | POST | `api/v3/orderList/otoco` | +| [cancelOCO()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L838) | :closed_lock_with_key: | DELETE | `api/v3/orderList` | +| [getOCO()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L843) | :closed_lock_with_key: | GET | `api/v3/orderList` | +| [getAllOCO()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L847) | :closed_lock_with_key: | GET | `api/v3/allOrderList` | +| [getAllOpenOCO()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L854) | :closed_lock_with_key: | GET | `api/v3/openOrderList` | +| [submitNewSOROrder()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L861) | :closed_lock_with_key: | POST | `api/v3/sor/order` | +| [testNewSOROrder()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L872) | :closed_lock_with_key: | POST | `api/v3/sor/order/test` | +| [getAccountInformation()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L888) | :closed_lock_with_key: | GET | `api/v3/account` | +| [getAccountTradeList()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L892) | :closed_lock_with_key: | GET | `api/v3/myTrades` | +| [getOrderRateLimit()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L898) | :closed_lock_with_key: | GET | `api/v3/rateLimit/order` | +| [getPreventedMatches()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L902) | :closed_lock_with_key: | GET | `api/v3/myPreventedMatches` | +| [getAllocations()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L908) | :closed_lock_with_key: | GET | `api/v3/myAllocations` | +| [getCommissionRates()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L912) | :closed_lock_with_key: | GET | `api/v3/account/commission` | +| [getCrossMarginCollateralRatio()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L922) | :closed_lock_with_key: | GET | `sapi/v1/margin/crossMarginCollateralRatio` | +| [getAllCrossMarginPairs()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L931) | | GET | `sapi/v1/margin/allPairs` | +| [getIsolatedMarginAllSymbols()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L935) | :closed_lock_with_key: | GET | `sapi/v1/margin/isolated/allPairs` | +| [getAllMarginAssets()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L941) | | GET | `sapi/v1/margin/allAssets` | +| [getMarginDelistSchedule()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L945) | :closed_lock_with_key: | GET | `sapi/v1/margin/delist-schedule` | +| [getIsolatedMarginTierData()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L949) | :closed_lock_with_key: | GET | `sapi/v1/margin/isolatedMarginTier` | +| [queryMarginPriceIndex()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L955) | | GET | `sapi/v1/margin/priceIndex` | +| [getMarginAvailableInventory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L961) | :closed_lock_with_key: | GET | `sapi/v1/margin/available-inventory` | +| [getLeverageBracket()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L967) | :closed_lock_with_key: | GET | `sapi/v1/margin/leverageBracket` | +| [getNextHourlyInterestRate()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L977) | :closed_lock_with_key: | GET | `sapi/v1/margin/next-hourly-interest-rate` | +| [getMarginInterestHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L983) | :closed_lock_with_key: | GET | `sapi/v1/margin/interestHistory` | +| [submitMarginAccountBorrowRepay()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L990) | :closed_lock_with_key: | POST | `sapi/v1/margin/borrow-repay` | +| [getMarginAccountBorrowRepayRecords()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L996) | :closed_lock_with_key: | GET | `sapi/v1/margin/borrow-repay` | +| [getMarginInterestRateHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1002) | :closed_lock_with_key: | GET | `sapi/v1/margin/interestRateHistory` | +| [queryMaxBorrow()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1008) | :closed_lock_with_key: | GET | `sapi/v1/margin/maxBorrowable` | +| [getMarginForceLiquidationRecord()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1020) | :closed_lock_with_key: | GET | `sapi/v1/margin/forceLiquidationRec` | +| [getSmallLiabilityExchangeCoins()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1029) | :closed_lock_with_key: | GET | `sapi/v1/margin/exchange-small-liability` | +| [getSmallLiabilityExchangeHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1033) | :closed_lock_with_key: | GET | `sapi/v1/margin/exchange-small-liability-history` | +| [marginAccountCancelOpenOrders()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1045) | :closed_lock_with_key: | DELETE | `sapi/v1/margin/openOrders` | +| [marginAccountCancelOCO()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1051) | :closed_lock_with_key: | DELETE | `sapi/v1/margin/orderList` | +| [marginAccountCancelOrder()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1056) | :closed_lock_with_key: | DELETE | `sapi/v1/margin/order` | +| [marginAccountNewOCO()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1062) | :closed_lock_with_key: | POST | `sapi/v1/margin/order/oco` | +| [marginAccountNewOrder()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1069) | :closed_lock_with_key: | POST | `sapi/v1/margin/order` | +| [getMarginOrderCountUsage()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1077) | :closed_lock_with_key: | GET | `sapi/v1/margin/rateLimit/order` | +| [queryMarginAccountAllOCO()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1083) | :closed_lock_with_key: | GET | `sapi/v1/margin/allOrderList` | +| [queryMarginAccountAllOrders()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1089) | :closed_lock_with_key: | GET | `sapi/v1/margin/allOrders` | +| [queryMarginAccountOCO()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1095) | :closed_lock_with_key: | GET | `sapi/v1/margin/orderList` | +| [queryMarginAccountOpenOCO()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1099) | :closed_lock_with_key: | GET | `sapi/v1/margin/openOrderList` | +| [queryMarginAccountOpenOrders()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1106) | :closed_lock_with_key: | GET | `sapi/v1/margin/openOrders` | +| [queryMarginAccountOrder()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1110) | :closed_lock_with_key: | GET | `sapi/v1/margin/order` | +| [queryMarginAccountTradeList()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1114) | :closed_lock_with_key: | GET | `sapi/v1/margin/myTrades` | +| [submitSmallLiabilityExchange()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1120) | :closed_lock_with_key: | POST | `sapi/v1/margin/exchange-small-liability` | +| [submitManualLiquidation()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1127) | :closed_lock_with_key: | POST | `sapi/v1/margin/manual-liquidation` | +| [submitMarginOTOOrder()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1136) | :closed_lock_with_key: | POST | `sapi/v1/margin/order/oto` | +| [submitMarginOTOCOOrder()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1148) | :closed_lock_with_key: | POST | `sapi/v1/margin/order/otoco` | +| [createMarginSpecialLowLatencyKey()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1161) | :closed_lock_with_key: | POST | `sapi/v1/margin/apiKey` | +| [deleteMarginSpecialLowLatencyKey()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1167) | :closed_lock_with_key: | DELETE | `sapi/v1/margin/apiKey` | +| [updateMarginIPForSpecialLowLatencyKey()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1175) | :closed_lock_with_key: | PUT | `sapi/v1/margin/apiKey/ip` | +| [getMarginSpecialLowLatencyKeys()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1186) | :closed_lock_with_key: | GET | `sapi/v1/margin/api-key-list` | +| [getMarginSpecialLowLatencyKey()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1195) | :closed_lock_with_key: | GET | `sapi/v1/margin/apiKey` | +| [getCrossMarginTransferHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1208) | :closed_lock_with_key: | GET | `sapi/v1/margin/transfer` | +| [queryMaxTransferOutAmount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1214) | :closed_lock_with_key: | GET | `sapi/v1/margin/maxTransferable` | +| [updateCrossMarginMaxLeverage()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1226) | :closed_lock_with_key: | POST | `sapi/v1/margin/max-leverage` | +| [disableIsolatedMarginAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1232) | :closed_lock_with_key: | DELETE | `sapi/v1/margin/isolated/account` | +| [enableIsolatedMarginAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1239) | :closed_lock_with_key: | POST | `sapi/v1/margin/isolated/account` | +| [getBNBBurn()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1246) | :closed_lock_with_key: | GET | `sapi/v1/bnbBurn` | +| [getMarginSummary()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1250) | :closed_lock_with_key: | GET | `sapi/v1/margin/tradeCoeff` | +| [queryCrossMarginAccountDetails()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1254) | :closed_lock_with_key: | GET | `sapi/v1/margin/account` | +| [getCrossMarginFeeData()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1258) | :closed_lock_with_key: | GET | `sapi/v1/margin/crossMarginData` | +| [getIsolatedMarginAccountLimit()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1264) | :closed_lock_with_key: | GET | `sapi/v1/margin/isolated/accountLimit` | +| [getIsolatedMarginAccountInfo()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1271) | :closed_lock_with_key: | GET | `sapi/v1/margin/isolated/account` | +| [getIsolatedMarginFeeData()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1277) | :closed_lock_with_key: | GET | `sapi/v1/margin/isolatedMarginData` | +| [toggleBNBBurn()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1283) | :closed_lock_with_key: | POST | `sapi/v1/bnbBurn` | +| [getMarginCapitalFlow()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1291) | :closed_lock_with_key: | GET | `sapi/v1/margin/capital-flow` | +| [queryLoanRecord()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1300) | :closed_lock_with_key: | GET | `sapi/v1/margin/loan` | +| [queryRepayRecord()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1309) | :closed_lock_with_key: | GET | `sapi/v1/margin/repay` | +| [isolatedMarginAccountTransfer()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1318) | :closed_lock_with_key: | POST | `sapi/v1/margin/isolated/transfer` | +| [getBalances()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1330) | :closed_lock_with_key: | GET | `sapi/v1/capital/config/getall` | +| [withdraw()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1334) | :closed_lock_with_key: | POST | `sapi/v1/capital/withdraw/apply` | +| [getWithdrawHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1338) | :closed_lock_with_key: | GET | `sapi/v1/capital/withdraw/history` | +| [getWithdrawAddresses()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1344) | :closed_lock_with_key: | GET | `sapi/v1/capital/withdraw/address/list` | +| [getDepositHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1348) | :closed_lock_with_key: | GET | `sapi/v1/capital/deposit/hisrec` | +| [getDepositAddress()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1352) | :closed_lock_with_key: | GET | `sapi/v1/capital/deposit/address` | +| [getDepositAddresses()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1358) | :closed_lock_with_key: | GET | `sapi/v1/capital/deposit/address/list` | +| [submitDepositCredit()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1364) | :closed_lock_with_key: | POST | `sapi/v1/capital/deposit/credit-apply` | +| [getAutoConvertStablecoins()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1373) | :closed_lock_with_key: | GET | `sapi/v1/capital/contract/convertible-coins` | +| [setConvertibleCoins()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1380) | :closed_lock_with_key: | POST | `sapi/v1/capital/contract/convertible-coins` | +| [getAssetDetail()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1393) | :closed_lock_with_key: | GET | `sapi/v1/asset/assetDetail` | +| [getWalletBalances()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1399) | :closed_lock_with_key: | GET | `sapi/v1/asset/wallet/balance` | +| [getUserAsset()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1403) | :closed_lock_with_key: | POST | `sapi/v3/asset/getUserAsset` | +| [submitUniversalTransfer()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1407) | :closed_lock_with_key: | POST | `sapi/v1/asset/transfer` | +| [getUniversalTransferHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1413) | :closed_lock_with_key: | GET | `sapi/v1/asset/transfer` | +| [getDust()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1419) | :closed_lock_with_key: | POST | `sapi/v1/asset/dust-btc` | +| [convertDustToBnb()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1423) | :closed_lock_with_key: | POST | `sapi/v1/asset/dust` | +| [getDustLog()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1427) | :closed_lock_with_key: | GET | `sapi/v1/asset/dribblet` | +| [getAssetDividendRecord()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1431) | :closed_lock_with_key: | GET | `sapi/v1/asset/assetDividend` | +| [getTradeFee()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1435) | :closed_lock_with_key: | GET | `sapi/v1/asset/tradeFee` | +| [getFundingAsset()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1439) | :closed_lock_with_key: | POST | `sapi/v1/asset/get-funding-asset` | +| [getCloudMiningHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1443) | :closed_lock_with_key: | GET | `sapi/v1/asset/ledger-transfer/cloud-mining/queryByPage` | +| [getDelegationHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1453) | :closed_lock_with_key: | GET | `sapi/v1/asset/custody/transfer-history` | +| [submitNewFutureAccountTransfer()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1483) | :closed_lock_with_key: | POST | `sapi/v1/futures/transfer` | +| [getFutureAccountTransferHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1493) | :closed_lock_with_key: | GET | `sapi/v1/futures/transfer` | +| [getCrossCollateralBorrowHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1502) | :closed_lock_with_key: | GET | `sapi/v1/futures/loan/borrow/history` | +| [getCrossCollateralRepaymentHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1509) | :closed_lock_with_key: | GET | `sapi/v1/futures/loan/repay/history` | +| [getCrossCollateralWalletV2()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1516) | :closed_lock_with_key: | GET | `sapi/v2/futures/loan/wallet` | +| [getAdjustCrossCollateralLTVHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1523) | :closed_lock_with_key: | GET | `sapi/v1/futures/loan/adjustCollateral/history` | +| [getCrossCollateralLiquidationHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1535) | :closed_lock_with_key: | GET | `sapi/v1/futures/loan/liquidationHistory` | +| [getCrossCollateralInterestHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1544) | :closed_lock_with_key: | GET | `sapi/v1/futures/loan/interestHistory` | +| [getAccountInfo()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1556) | :closed_lock_with_key: | GET | `sapi/v1/account/info` | +| [getDailyAccountSnapshot()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1560) | :closed_lock_with_key: | GET | `sapi/v1/accountSnapshot` | +| [disableFastWithdrawSwitch()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1566) | :closed_lock_with_key: | POST | `sapi/v1/account/disableFastWithdrawSwitch` | +| [enableFastWithdrawSwitch()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1570) | :closed_lock_with_key: | POST | `sapi/v1/account/enableFastWithdrawSwitch` | +| [getAccountStatus()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1574) | :closed_lock_with_key: | GET | `sapi/v1/account/status` | +| [getApiTradingStatus()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1578) | :closed_lock_with_key: | GET | `sapi/v1/account/apiTradingStatus` | +| [getApiKeyPermissions()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1582) | :closed_lock_with_key: | GET | `sapi/v1/account/apiRestrictions` | +| [getSystemStatus()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1600) | | GET | `sapi/v1/system/status` | +| [getDelistSchedule()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1604) | :closed_lock_with_key: | GET | `sapi/v1/spot/delist-schedule` | +| [createVirtualSubAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1614) | :closed_lock_with_key: | POST | `sapi/v1/sub-account/virtualSubAccount` | +| [getSubAccountList()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1620) | :closed_lock_with_key: | GET | `sapi/v1/sub-account/list` | +| [subAccountEnableFutures()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1626) | :closed_lock_with_key: | POST | `sapi/v1/sub-account/futures/enable` | +| [subAccountEnableMargin()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1630) | :closed_lock_with_key: | POST | `sapi/v1/sub-account/margin/enable` | +| [enableOptionsForSubAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1634) | :closed_lock_with_key: | POST | `sapi/v1/sub-account/eoptions/enable` | +| [subAccountEnableLeverageToken()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1640) | :closed_lock_with_key: | POST | `sapi/v1/sub-account/blvt/enable` | +| [getSubAccountStatusOnMarginOrFutures()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1646) | :closed_lock_with_key: | GET | `sapi/v1/sub-account/status` | +| [getSubAccountFuturesPositionRisk()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1652) | :closed_lock_with_key: | GET | `sapi/v1/sub-account/futures/positionRisk` | +| [getSubAccountFuturesPositionRiskV2()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1660) | :closed_lock_with_key: | GET | `sapi/v2/sub-account/futures/positionRisk` | +| [getSubAccountTransactionStatistics()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1666) | :closed_lock_with_key: | GET | `sapi/v1/sub-account/transaction-statistics` | +| [getSubAccountIPRestriction()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1681) | :closed_lock_with_key: | GET | `sapi/v1/sub-account/subAccountApi/ipRestriction` | +| [subAccountDeleteIPList()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1690) | :closed_lock_with_key: | DELETE | `sapi/v1/sub-account/subAccountApi/ipRestriction/ipList` | +| [subAccountAddIPRestriction()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1699) | :closed_lock_with_key: | POST | `sapi/v2/sub-account/subAccountApi/ipRestriction` | +| [subAccountAddIPList()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1712) | :closed_lock_with_key: | POST | `sapi/v1/sub-account/subAccountApi/ipRestriction/ipList` | +| [subAccountEnableOrDisableIPRestriction()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1725) | :closed_lock_with_key: | POST | `sapi/v1/sub-account/subAccountApi/ipRestriction` | +| [subAccountFuturesTransfer()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1740) | :closed_lock_with_key: | POST | `sapi/v1/sub-account/futures/transfer` | +| [getSubAccountFuturesAccountDetail()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1746) | :closed_lock_with_key: | GET | `sapi/v1/sub-account/futures/account` | +| [getSubAccountDetailOnFuturesAccountV2()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1752) | :closed_lock_with_key: | GET | `sapi/v2/sub-account/futures/account` | +| [getSubAccountDetailOnMarginAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1758) | :closed_lock_with_key: | GET | `sapi/v1/sub-account/margin/account` | +| [getSubAccountDepositAddress()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1764) | :closed_lock_with_key: | GET | `sapi/v1/capital/deposit/subAddress` | +| [getSubAccountDepositHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1770) | :closed_lock_with_key: | GET | `sapi/v1/capital/deposit/subHisrec` | +| [getSubAccountFuturesAccountSummary()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1776) | :closed_lock_with_key: | GET | `sapi/v1/sub-account/futures/accountSummary` | +| [getSubAccountSummaryOnFuturesAccountV2()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1780) | :closed_lock_with_key: | GET | `sapi/v2/sub-account/futures/accountSummary` | +| [getSubAccountsSummaryOfMarginAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1789) | :closed_lock_with_key: | GET | `sapi/v1/sub-account/margin/accountSummary` | +| [subAccountMarginTransfer()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1793) | :closed_lock_with_key: | POST | `sapi/v1/sub-account/margin/transfer` | +| [getSubAccountAssets()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1799) | :closed_lock_with_key: | GET | `sapi/v3/sub-account/assets` | +| [getSubAccountAssetsMaster()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1805) | :closed_lock_with_key: | GET | `sapi/v4/sub-account/assets` | +| [getSubAccountFuturesAssetTransferHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1811) | :closed_lock_with_key: | GET | `sapi/v1/sub-account/futures/internalTransfer` | +| [getSubAccountSpotAssetTransferHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1820) | :closed_lock_with_key: | GET | `sapi/v1/sub-account/sub/transfer/history` | +| [getSubAccountSpotAssetsSummary()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1826) | :closed_lock_with_key: | GET | `sapi/v1/sub-account/spotSummary` | +| [getSubAccountUniversalTransferHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1832) | :closed_lock_with_key: | GET | `sapi/v1/sub-account/universalTransfer` | +| [subAccountFuturesAssetTransfer()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1838) | :closed_lock_with_key: | POST | `sapi/v1/sub-account/futures/internalTransfer` | +| [subAccountTransferHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1847) | :closed_lock_with_key: | GET | `sapi/v1/sub-account/transfer/subUserHistory` | +| [subAccountTransferToMaster()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1856) | :closed_lock_with_key: | POST | `sapi/v1/sub-account/transfer/subToMaster` | +| [subAccountTransferToSameMaster()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1862) | :closed_lock_with_key: | POST | `sapi/v1/sub-account/transfer/subToSub` | +| [subAccountUniversalTransfer()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1868) | :closed_lock_with_key: | POST | `sapi/v1/sub-account/universalTransfer` | +| [depositAssetsIntoManagedSubAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1880) | :closed_lock_with_key: | POST | `sapi/v1/managed-subaccount/deposit` | +| [getManagedSubAccountDepositAddress()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1886) | :closed_lock_with_key: | GET | `sapi/v1/managed-subaccount/deposit/address` | +| [withdrawAssetsFromManagedSubAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1895) | :closed_lock_with_key: | POST | `sapi/v1/managed-subaccount/withdraw` | +| [getManagedSubAccountTransfersParent()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1901) | :closed_lock_with_key: | GET | `sapi/v1/managed-subaccount/queryTransLogForTradeParent` | +| [getManagedSubAccountTransferLog()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1913) | :closed_lock_with_key: | GET | `sapi/v1/managed-subaccount/query-trans-log` | +| [getManagedSubAccountTransfersInvestor()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1925) | :closed_lock_with_key: | GET | `sapi/v1/managed-subaccount/queryTransLogForInvestor` | +| [getManagedSubAccounts()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1937) | :closed_lock_with_key: | GET | `sapi/v1/managed-subaccount/info` | +| [getManagedSubAccountSnapshot()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1944) | :closed_lock_with_key: | GET | `sapi/v1/managed-subaccount/accountSnapshot` | +| [getManagedSubAccountAssetDetails()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1953) | :closed_lock_with_key: | GET | `sapi/v1/managed-subaccount/asset` | +| [getManagedSubAccountMarginAssets()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1959) | :closed_lock_with_key: | GET | `sapi/v1/managed-subaccount/marginAsset` | +| [getManagedSubAccountFuturesAssets()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1966) | :closed_lock_with_key: | GET | `sapi/v1/managed-subaccount/fetch-future-asset` | +| [getAutoInvestAssets()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1982) | :closed_lock_with_key: | GET | `sapi/v1/lending/auto-invest/all/asset` | +| [getAutoInvestSourceAssets()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1989) | :closed_lock_with_key: | GET | `sapi/v1/lending/auto-invest/source-asset/list` | +| [getAutoInvestTargetAssets()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1998) | :closed_lock_with_key: | GET | `sapi/v1/lending/auto-invest/target-asset/list` | +| [getAutoInvestTargetAssetsROI()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2007) | :closed_lock_with_key: | GET | `sapi/v1/lending/auto-invest/target-asset/roi/list` | +| [getAutoInvestIndex()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2016) | :closed_lock_with_key: | GET | `sapi/v1/lending/auto-invest/index/info` | +| [getAutoInvestPlans()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2022) | :closed_lock_with_key: | GET | `sapi/v1/lending/auto-invest/plan/list` | +| [submitAutoInvestOneTimeTransaction()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2040) | :closed_lock_with_key: | POST | `sapi/v1/lending/auto-invest/one-off` | +| [updateAutoInvestPlanStatus()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2056) | :closed_lock_with_key: | POST | `sapi/v1/lending/auto-invest/plan/edit-status` | +| [updateAutoInvestmentPlanOld()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2070) | :closed_lock_with_key: | POST | `sapi/v1/lending/auto-invest/plan/edit` | +| [updateAutoInvestmentPlan()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2076) | :closed_lock_with_key: | POST | `sapi/v1/lending/auto-invest/plan/edit` | +| [submitAutoInvestRedemption()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2093) | :closed_lock_with_key: | POST | `sapi/v1/lending/auto-invest/redeem` | +| [getAutoInvestSubscriptionTransactions()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2101) | :closed_lock_with_key: | GET | `sapi/v1/lending/auto-invest/history/list` | +| [getOneTimeTransactionStatus()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2107) | :closed_lock_with_key: | GET | `sapi/v1/lending/auto-invest/one-off/status` | +| [submitAutoInvestmentPlanOld()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2120) | :closed_lock_with_key: | POST | `sapi/v1/lending/auto-invest/plan/add` | +| [submitAutoInvestmentPlan()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2126) | :closed_lock_with_key: | POST | `sapi/v1/lending/auto-invest/plan/add` | +| [getAutoInvestRedemptionHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2141) | :closed_lock_with_key: | GET | `sapi/v1/lending/auto-invest/redeem/history` | +| [getAutoInvestPlan()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2150) | :closed_lock_with_key: | GET | `sapi/v1/lending/auto-invest/plan/id` | +| [getAutoInvestUserIndex()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2154) | :closed_lock_with_key: | GET | `sapi/v1/lending/auto-invest/index/user-summary` | +| [getAutoInvestRebalanceHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2163) | :closed_lock_with_key: | GET | `sapi/v1/lending/auto-invest/rebalance/history` | +| [getConvertPairs()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2178) | :closed_lock_with_key: | GET | `sapi/v1/convert/exchangeInfo` | +| [getConvertAssetInfo()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2182) | :closed_lock_with_key: | GET | `sapi/v1/convert/assetInfo` | +| [convertQuoteRequest()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2192) | :closed_lock_with_key: | POST | `sapi/v1/convert/getQuote` | +| [acceptQuoteRequest()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2196) | :closed_lock_with_key: | POST | `sapi/v1/convert/acceptQuote` | +| [getConvertTradeHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2200) | :closed_lock_with_key: | GET | `sapi/v1/convert/tradeFlow` | +| [getOrderStatus()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2204) | :closed_lock_with_key: | GET | `sapi/v1/convert/orderStatus` | +| [submitConvertLimitOrder()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2208) | :closed_lock_with_key: | POST | `sapi/v1/convert/limit/placeOrder` | +| [cancelConvertLimitOrder()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2212) | :closed_lock_with_key: | POST | `sapi/v1/convert/limit/cancelOrder` | +| [getConvertLimitOpenOrders()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2216) | :closed_lock_with_key: | GET | `sapi/v1/convert/limit/queryOpenOrders` | +| [getEthStakingAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2231) | :closed_lock_with_key: | GET | `sapi/v1/eth-staking/account` | +| [getEthStakingAccountV2()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2235) | :closed_lock_with_key: | GET | `sapi/v2/eth-staking/account` | +| [getEthStakingQuota()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2239) | :closed_lock_with_key: | GET | `sapi/v1/eth-staking/eth/quota` | +| [subscribeEthStakingV1()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2252) | :closed_lock_with_key: | POST | `sapi/v1/eth-staking/eth/stake` | +| [subscribeEthStakingV2()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2258) | :closed_lock_with_key: | POST | `sapi/v2/eth-staking/eth/stake` | +| [redeemEth()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2264) | :closed_lock_with_key: | POST | `sapi/v1/eth-staking/eth/redeem` | +| [wrapBeth()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2268) | :closed_lock_with_key: | POST | `sapi/v1/eth-staking/wbeth/wrap` | +| [getEthStakingHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2278) | :closed_lock_with_key: | GET | `sapi/v1/eth-staking/eth/history/stakingHistory` | +| [getEthRedemptionHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2288) | :closed_lock_with_key: | GET | `sapi/v1/eth-staking/eth/history/redemptionHistory` | +| [getBethRewardsHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2298) | :closed_lock_with_key: | GET | `sapi/v1/eth-staking/eth/history/rewardsHistory` | +| [getWbethRewardsHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2308) | :closed_lock_with_key: | GET | `sapi/v1/eth-staking/eth/history/wbethRewardsHistory` | +| [getEthRateHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2317) | :closed_lock_with_key: | GET | `sapi/v1/eth-staking/eth/history/rateHistory` | +| [getBethWrapHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2327) | :closed_lock_with_key: | GET | `sapi/v1/eth-staking/wbeth/history/wrapHistory` | +| [getBethUnwrapHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2337) | :closed_lock_with_key: | GET | `sapi/v1/eth-staking/wbeth/history/unwrapHistory` | +| [getStakingProducts()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2350) | :closed_lock_with_key: | GET | `sapi/v1/staking/productList` | +| [getStakingProductPosition()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2361) | :closed_lock_with_key: | GET | `sapi/v1/staking/position` | +| [getStakingHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2373) | :closed_lock_with_key: | GET | `sapi/v1/staking/stakingRecord` | +| [getPersonalLeftQuotaOfStakingProduct()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2380) | :closed_lock_with_key: | GET | `sapi/v1/staking/personalLeftQuota` | +| [getSolStakingAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2393) | :closed_lock_with_key: | GET | `sapi/v1/sol-staking/account` | +| [getSolStakingQuota()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2397) | :closed_lock_with_key: | GET | `sapi/v1/sol-staking/sol/quota` | +| [subscribeSolStaking()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2407) | :closed_lock_with_key: | POST | `sapi/v1/sol-staking/sol/stake` | +| [redeemSol()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2413) | :closed_lock_with_key: | POST | `sapi/v1/sol-staking/sol/redeem` | +| [claimSolBoostRewards()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2417) | :closed_lock_with_key: | POST | `sapi/v1/sol-staking/sol/claim` | +| [getSolStakingHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2431) | :closed_lock_with_key: | GET | `sapi/v1/sol-staking/sol/history/stakingHistory` | +| [getSolRedemptionHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2441) | :closed_lock_with_key: | GET | `sapi/v1/sol-staking/sol/history/redemptionHistory` | +| [getBnsolRewardsHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2451) | :closed_lock_with_key: | GET | `sapi/v1/sol-staking/sol/history/bnsolRewardsHistory` | +| [getBnsolRateHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2462) | :closed_lock_with_key: | GET | `sapi/v1/sol-staking/sol/history/rateHistory` | +| [getSolBoostRewardsHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2472) | :closed_lock_with_key: | GET | `sapi/v1/sol-staking/sol/history/boostRewardsHistory` | +| [getSolUnclaimedRewards()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2479) | :closed_lock_with_key: | GET | `sapi/v1/sol-staking/sol/history/unclaimedRewards` | +| [getFuturesLeadTraderStatus()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2492) | :closed_lock_with_key: | GET | `sapi/v1/copyTrading/futures/userStatus` | +| [getFuturesLeadTradingSymbolWhitelist()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2496) | :closed_lock_with_key: | GET | `sapi/v1/copyTrading/futures/leadSymbol` | +| [getMiningAlgos()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2508) | | GET | `sapi/v1/mining/pub/algoList` | +| [getMiningCoins()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2512) | | GET | `sapi/v1/mining/pub/coinList` | +| [getHashrateResales()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2516) | :closed_lock_with_key: | GET | `sapi/v1/mining/hash-transfer/config/details/list` | +| [getMiners()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2525) | :closed_lock_with_key: | GET | `sapi/v1/mining/worker/list` | +| [getMinerDetails()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2529) | :closed_lock_with_key: | GET | `sapi/v1/mining/worker/detail` | +| [getExtraBonuses()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2535) | :closed_lock_with_key: | GET | `sapi/v1/mining/payment/other` | +| [getMiningEarnings()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2541) | :closed_lock_with_key: | GET | `sapi/v1/mining/payment/list` | +| [cancelHashrateResaleConfig()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2547) | :closed_lock_with_key: | POST | `sapi/v1/mining/hash-transfer/config/cancel` | +| [getHashrateResale()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2556) | :closed_lock_with_key: | GET | `sapi/v1/mining/hash-transfer/profit/details` | +| [getMiningAccountEarnings()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2565) | :closed_lock_with_key: | GET | `sapi/v1/mining/payment/uid` | +| [getMiningStatistics()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2571) | :closed_lock_with_key: | GET | `sapi/v1/mining/statistics/user/status` | +| [submitHashrateResale()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2577) | :closed_lock_with_key: | POST | `sapi/v1/mining/hash-transfer/config` | +| [getMiningAccounts()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2581) | :closed_lock_with_key: | GET | `sapi/v1/mining/statistics/user/list` | +| [submitVpNewOrder()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2593) | :closed_lock_with_key: | POST | `sapi/v1/algo/futures/newOrderVp` | +| [submitTwapNewOrder()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2600) | :closed_lock_with_key: | POST | `sapi/v1/algo/futures/newOrderTwap` | +| [cancelAlgoOrder()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2607) | :closed_lock_with_key: | DELETE | `sapi/v1/algo/futures/order` | +| [getAlgoSubOrders()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2613) | :closed_lock_with_key: | GET | `sapi/v1/algo/futures/subOrders` | +| [getAlgoOpenOrders()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2619) | :closed_lock_with_key: | GET | `sapi/v1/algo/futures/openOrders` | +| [getAlgoHistoricalOrders()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2626) | :closed_lock_with_key: | GET | `sapi/v1/algo/futures/historicalOrders` | +| [submitSpotAlgoTwapOrder()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2639) | :closed_lock_with_key: | POST | `sapi/v1/algo/spot/newOrderTwap` | +| [cancelSpotAlgoOrder()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2646) | :closed_lock_with_key: | DELETE | `sapi/v1/algo/spot/order` | +| [getSpotAlgoSubOrders()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2652) | :closed_lock_with_key: | GET | `sapi/v1/algo/spot/subOrders` | +| [getSpotAlgoOpenOrders()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2658) | :closed_lock_with_key: | GET | `sapi/v1/algo/spot/openOrders` | +| [getSpotAlgoHistoricalOrders()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2665) | :closed_lock_with_key: | GET | `sapi/v1/algo/spot/historicalOrders` | +| [getCryptoLoanFlexibleCollateralAssets()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2680) | :closed_lock_with_key: | GET | `sapi/v2/loan/flexible/collateral/data` | +| [getCryptoLoanFlexibleAssets()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2689) | :closed_lock_with_key: | GET | `sapi/v2/loan/flexible/loanable/data` | +| [borrowCryptoLoanFlexible()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2702) | :closed_lock_with_key: | POST | `sapi/v2/loan/flexible/borrow` | +| [repayCryptoLoanFlexible()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2708) | :closed_lock_with_key: | POST | `sapi/v2/loan/flexible/repay` | +| [repayCryptoLoanFlexibleWithCollateral()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2714) | :closed_lock_with_key: | POST | `sapi/v2/loan/flexible/repay/collateral` | +| [adjustCryptoLoanFlexibleLTV()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2720) | :closed_lock_with_key: | POST | `sapi/v2/loan/flexible/adjust/ltv` | +| [getCryptoLoanFlexibleLTVAdjustmentHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2732) | :closed_lock_with_key: | GET | `sapi/v2/loan/flexible/ltv/adjustment/history` | +| [getFlexibleLoanCollateralRepayRate()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2744) | :closed_lock_with_key: | GET | `sapi/v2/loan/flexible/repay/rate` | +| [getLoanFlexibleBorrowHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2758) | :closed_lock_with_key: | GET | `sapi/v2/loan/flexible/borrow/history` | +| [getCryptoLoanFlexibleOngoingOrders()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2767) | :closed_lock_with_key: | GET | `sapi/v2/loan/flexible/ongoing/orders` | +| [getFlexibleLoanLiquidationHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2776) | :closed_lock_with_key: | GET | `sapi/v2/loan/flexible/liquidation/history` | +| [getLoanFlexibleRepaymentHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2785) | :closed_lock_with_key: | GET | `sapi/v2/loan/flexible/repay/history` | +| [getCryptoLoanLoanableAssets()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2805) | :closed_lock_with_key: | GET | `sapi/v1/loan/loanable/data` | +| [getCryptoLoanCollateralRepayRate()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2812) | :closed_lock_with_key: | GET | `sapi/v1/loan/repay/collateral/rate` | +| [getCryptoLoanCollateralAssetsData()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2821) | :closed_lock_with_key: | GET | `sapi/v1/loan/collateral/data` | +| [getCryptoLoansIncomeHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2830) | :closed_lock_with_key: | GET | `sapi/v1/loan/income` | +| [borrowCryptoLoan()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2845) | :closed_lock_with_key: | POST | `sapi/v1/loan/borrow` | +| [repayCryptoLoan()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2854) | :closed_lock_with_key: | POST | `sapi/v1/loan/repay` | +| [adjustCryptoLoanLTV()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2863) | :closed_lock_with_key: | POST | `sapi/v1/loan/adjust/ltv` | +| [customizeCryptoLoanMarginCall()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2872) | :closed_lock_with_key: | POST | `sapi/v1/loan/customize/margin_call` | +| [getCryptoLoanOngoingOrders()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2888) | :closed_lock_with_key: | GET | `sapi/v1/loan/ongoing/orders` | +| [getCryptoLoanBorrowHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2895) | :closed_lock_with_key: | GET | `sapi/v1/loan/borrow/history` | +| [getCryptoLoanLTVAdjustmentHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2902) | :closed_lock_with_key: | GET | `sapi/v1/loan/ltv/adjustment/history` | +| [getCryptoLoanRepaymentHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2911) | :closed_lock_with_key: | GET | `sapi/v1/loan/repay/history` | +| [getSimpleEarnAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2923) | :closed_lock_with_key: | GET | `sapi/v1/simple-earn/account` | +| [getFlexibleSavingProducts()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2927) | :closed_lock_with_key: | GET | `sapi/v1/simple-earn/flexible/list` | +| [getSimpleEarnLockedProductList()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2934) | :closed_lock_with_key: | GET | `sapi/v1/simple-earn/locked/list` | +| [getFlexibleProductPosition()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2943) | :closed_lock_with_key: | GET | `sapi/v1/simple-earn/flexible/position` | +| [getLockedProductPosition()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2952) | :closed_lock_with_key: | GET | `sapi/v1/simple-earn/locked/position` | +| [getFlexiblePersonalLeftQuota()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2961) | :closed_lock_with_key: | GET | `sapi/v1/simple-earn/flexible/personalLeftQuota` | +| [getLockedPersonalLeftQuota()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2970) | :closed_lock_with_key: | GET | `sapi/v1/simple-earn/locked/personalLeftQuota` | +| [purchaseFlexibleProduct()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2985) | :closed_lock_with_key: | POST | `sapi/v1/simple-earn/flexible/subscribe` | +| [subscribeSimpleEarnLockedProduct()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2991) | :closed_lock_with_key: | POST | `sapi/v1/simple-earn/locked/subscribe` | +| [redeemFlexibleProduct()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2997) | :closed_lock_with_key: | POST | `sapi/v1/simple-earn/flexible/redeem` | +| [redeemLockedProduct()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3003) | :closed_lock_with_key: | POST | `sapi/v1/simple-earn/locked/redeem` | +| [setFlexibleAutoSubscribe()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3009) | :closed_lock_with_key: | POST | `sapi/v1/simple-earn/flexible/setAutoSubscribe` | +| [setLockedAutoSubscribe()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3018) | :closed_lock_with_key: | POST | `sapi/v1/simple-earn/locked/setAutoSubscribe` | +| [getFlexibleSubscriptionPreview()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3027) | :closed_lock_with_key: | GET | `sapi/v1/simple-earn/flexible/subscriptionPreview` | +| [getLockedSubscriptionPreview()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3036) | :closed_lock_with_key: | GET | `sapi/v1/simple-earn/locked/subscriptionPreview` | +| [setLockedProductRedeemOption()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3045) | :closed_lock_with_key: | POST | `sapi/v1/simple-earn/locked/setRedeemOption` | +| [getFlexibleSubscriptionRecord()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3063) | :closed_lock_with_key: | GET | `sapi/v1/simple-earn/flexible/history/subscriptionRecord` | +| [getLockedSubscriptionRecord()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3075) | :closed_lock_with_key: | GET | `sapi/v1/simple-earn/locked/history/subscriptionRecord` | +| [getFlexibleRedemptionRecord()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3087) | :closed_lock_with_key: | GET | `sapi/v1/simple-earn/flexible/history/redemptionRecord` | +| [getLockedRedemptionRecord()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3099) | :closed_lock_with_key: | GET | `sapi/v1/simple-earn/locked/history/redemptionRecord` | +| [getFlexibleRewardsHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3109) | :closed_lock_with_key: | GET | `sapi/v1/simple-earn/flexible/history/rewardsRecord` | +| [getLockedRewardsHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3119) | :closed_lock_with_key: | GET | `sapi/v1/simple-earn/locked/history/rewardsRecord` | +| [getCollateralRecord()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3129) | :closed_lock_with_key: | GET | `sapi/v1/simple-earn/flexible/history/collateralRecord` | +| [getRateHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3139) | :closed_lock_with_key: | GET | `sapi/v1/simple-earn/flexible/history/rateHistory` | +| [getVipBorrowInterestRate()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3155) | :closed_lock_with_key: | GET | `sapi/v1/loan/vip/request/interestRate` | +| [getVipLoanInterestRateHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3161) | :closed_lock_with_key: | GET | `sapi/v1/loan/vip/interestRateHistory` | +| [getVipLoanableAssets()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3170) | :closed_lock_with_key: | GET | `sapi/v1/loan/vip/loanable/data` | +| [getVipCollateralAssets()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3177) | :closed_lock_with_key: | GET | `sapi/v1/loan/vip/collateral/data` | +| [getVipLoanOpenOrders()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3190) | :closed_lock_with_key: | GET | `sapi/v1/loan/vip/ongoing/orders` | +| [getVipLoanRepaymentHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3197) | :closed_lock_with_key: | GET | `sapi/v1/loan/vip/repay/history` | +| [checkVipCollateralAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3206) | :closed_lock_with_key: | GET | `sapi/v1/loan/vip/collateral/account` | +| [getVipApplicationStatus()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3213) | :closed_lock_with_key: | GET | `sapi/v1/loan/vip/request/data` | +| [renewVipLoan()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3226) | :closed_lock_with_key: | POST | `sapi/v1/loan/vip/renew` | +| [repayVipLoan()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3230) | :closed_lock_with_key: | POST | `sapi/v1/loan/vip/repay` | +| [borrowVipLoan()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3234) | :closed_lock_with_key: | POST | `sapi/v1/loan/vip/borrow` | +| [getDualInvestmentProducts()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3244) | :closed_lock_with_key: | GET | `sapi/v1/dci/product/list` | +| [subscribeDualInvestmentProduct()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3259) | :closed_lock_with_key: | POST | `sapi/v1/dci/product/subscribe` | +| [getDualInvestmentPositions()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3265) | :closed_lock_with_key: | GET | `sapi/v1/dci/product/positions` | +| [getDualInvestmentAccounts()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3274) | :closed_lock_with_key: | GET | `sapi/v1/dci/product/accounts` | +| [getVipLoanAccruedInterest()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3278) | :closed_lock_with_key: | GET | `sapi/v1/loan/vip/accruedInterest` | +| [updateAutoCompoundStatus()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3285) | :closed_lock_with_key: | POST | `sapi/v1/dci/product/auto_compound/edit-status` | +| [createGiftCard()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3300) | :closed_lock_with_key: | POST | `sapi/v1/giftcard/createCode` | +| [createDualTokenGiftCard()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3304) | :closed_lock_with_key: | POST | `sapi/v1/giftcard/buyCode` | +| [redeemGiftCard()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3308) | :closed_lock_with_key: | POST | `sapi/v1/giftcard/redeemCode` | +| [verifyGiftCard()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3312) | :closed_lock_with_key: | GET | `sapi/v1/giftcard/verify` | +| [getTokenLimit()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3316) | :closed_lock_with_key: | GET | `sapi/v1/giftcard/buyCode/token-limit` | +| [getRsaPublicKey()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3320) | :closed_lock_with_key: | GET | `sapi/v1/giftcard/cryptography/rsa-public-key` | +| [getNftTransactionHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3330) | :closed_lock_with_key: | GET | `sapi/v1/nft/history/transactions` | +| [getNftDepositHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3337) | :closed_lock_with_key: | GET | `sapi/v1/nft/history/deposit` | +| [getNftWithdrawHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3344) | :closed_lock_with_key: | GET | `sapi/v1/nft/history/withdraw` | +| [getNftAsset()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3351) | :closed_lock_with_key: | GET | `sapi/v1/nft/user/getAsset` | +| [getC2CTradeHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3364) | :closed_lock_with_key: | GET | `sapi/v1/c2c/orderMatch/listUserOrderHistory` | +| [getFiatOrderHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3379) | :closed_lock_with_key: | GET | `sapi/v1/fiat/orders` | +| [getFiatPaymentsHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3385) | :closed_lock_with_key: | GET | `sapi/v1/fiat/payments` | +| [getSpotRebateHistoryRecords()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3397) | :closed_lock_with_key: | GET | `sapi/v1/rebate/taxQuery` | +| [getPortfolioMarginIndexPrice()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3410) | | GET | `sapi/v1/portfolio/asset-index-price` | +| [getPortfolioMarginAssetLeverage()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3416) | :closed_lock_with_key: | GET | `sapi/v1/portfolio/margin-asset-leverage` | +| [getPortfolioMarginProCollateralRate()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3422) | | GET | `sapi/v1/portfolio/collateralRate` | +| [getPortfolioMarginProTieredCollateralRate()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3428) | | GET | `sapi/v2/portfolio/collateralRate` | +| [getPortfolioMarginProAccountInfo()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3439) | :closed_lock_with_key: | GET | `sapi/v1/portfolio/account` | +| [bnbTransfer()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3443) | :closed_lock_with_key: | POST | `sapi/v1/portfolio/bnb-transfer` | +| [submitPortfolioMarginProFullTransfer()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3449) | :closed_lock_with_key: | POST | `sapi/v1/portfolio/auto-collection` | +| [submitPortfolioMarginProSpecificTransfer()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3455) | :closed_lock_with_key: | POST | `sapi/v1/portfolio/asset-collection` | +| [repayPortfolioMarginProBankruptcyLoan()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3461) | :closed_lock_with_key: | POST | `sapi/v1/portfolio/repay` | +| [getPortfolioMarginProBankruptcyLoanAmount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3469) | :closed_lock_with_key: | GET | `sapi/v1/portfolio/pmLoan` | +| [repayFuturesNegativeBalance()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3473) | :closed_lock_with_key: | POST | `sapi/v1/portfolio/repay-futures-negative-balance` | +| [updateAutoRepayFuturesStatus()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3479) | :closed_lock_with_key: | POST | `sapi/v1/portfolio/repay-futures-switch` | +| [getAutoRepayFuturesStatus()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3485) | :closed_lock_with_key: | GET | `sapi/v1/portfolio/repay-futures-switch` | +| [getPortfolioMarginProInterestHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3491) | :closed_lock_with_key: | GET | `sapi/v1/portfolio/interest-history` | +| [getPortfolioMarginProSpanAccountInfo()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3497) | :closed_lock_with_key: | GET | `sapi/v2/portfolio/account` | +| [getPortfolioMarginProAccountBalance()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3501) | :closed_lock_with_key: | GET | `sapi/v1/portfolio/balance` | +| [mintPortfolioMarginBFUSD()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3507) | :closed_lock_with_key: | POST | `sapi/v1/portfolio/mint` | +| [redeemPortfolioMarginBFUSD()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3511) | :closed_lock_with_key: | POST | `sapi/v1/portfolio/redeem` | +| [getFuturesTickLevelOrderbookDataLink()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3526) | :closed_lock_with_key: | GET | `sapi/v1/futures/histDataLink` | +| [getBlvtInfo()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3540) | | GET | `sapi/v1/blvt/tokenInfo` | +| [subscribeBlvt()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3544) | :closed_lock_with_key: | POST | `sapi/v1/blvt/subscribe` | +| [getBlvtSubscriptionRecord()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3548) | :closed_lock_with_key: | GET | `sapi/v1/blvt/subscribe/record` | +| [redeemBlvt()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3554) | :closed_lock_with_key: | POST | `sapi/v1/blvt/redeem` | +| [getBlvtRedemptionRecord()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3558) | :closed_lock_with_key: | GET | `sapi/v1/blvt/redeem/record` | +| [getBlvtUserLimitInfo()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3564) | :closed_lock_with_key: | GET | `sapi/v1/blvt/userLimit` | +| [getPayTransactions()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3575) | :closed_lock_with_key: | GET | `sapi/v1/pay/transactions` | +| [createBrokerSubAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3585) | :closed_lock_with_key: | POST | `sapi/v1/broker/subAccount` | +| [getBrokerSubAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3591) | :closed_lock_with_key: | GET | `sapi/v1/broker/subAccount` | +| [enableMarginBrokerSubAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3597) | :closed_lock_with_key: | POST | `sapi/v1/broker/subAccount/futures` | +| [createApiKeyBrokerSubAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3603) | :closed_lock_with_key: | POST | `sapi/v1/broker/subAccountApi` | +| [changePermissionApiKeyBrokerSubAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3609) | :closed_lock_with_key: | POST | `sapi/v1/broker/subAccountApi/permission` | +| [changeComissionBrokerSubAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3615) | :closed_lock_with_key: | POST | `sapi/v1/broker/subAccountApi/permission` | +| [enableUniversalTransferApiKeyBrokerSubAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3621) | :closed_lock_with_key: | POST | `sapi/v1/broker/subAccountApi/permission/universalTransfer` | +| [updateIpRestrictionForSubAccountApiKey()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3630) | :closed_lock_with_key: | POST | `sapi/v2/broker/subAccountApi/ipRestriction` | +| [deleteIPRestrictionForSubAccountApiKey()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3644) | :closed_lock_with_key: | DELETE | `sapi/v1/broker/subAccountApi/ipRestriction/ipList` | +| [deleteApiKeyBrokerSubAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3660) | :closed_lock_with_key: | DELETE | `sapi/v1/broker/subAccountApi` | +| [getSubAccountBrokerIpRestriction()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3666) | :closed_lock_with_key: | GET | `sapi/v1/broker/subAccountApi/ipRestriction` | +| [getApiKeyBrokerSubAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3682) | :closed_lock_with_key: | GET | `sapi/v1/broker/subAccountApi` | +| [getBrokerInfo()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3688) | :closed_lock_with_key: | GET | `sapi/v1/broker/info` | +| [updateSubAccountBNBBurn()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3692) | :closed_lock_with_key: | POST | `sapi/v1/broker/subAccount/bnbBurn/spot` | +| [updateSubAccountMarginInterestBNBBurn()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3702) | :closed_lock_with_key: | POST | `sapi/v1/broker/subAccount/bnbBurn/marginInterest` | +| [getSubAccountBNBBurnStatus()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3715) | :closed_lock_with_key: | GET | `sapi/v1/broker/subAccount/bnbBurn/status` | +| [transferBrokerSubAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3729) | :closed_lock_with_key: | POST | `sapi/v1/broker/transfer` | +| [getBrokerSubAccountHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3735) | :closed_lock_with_key: | GET | `sapi/v1/broker/transfer` | +| [submitBrokerSubFuturesTransfer()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3741) | :closed_lock_with_key: | POST | `sapi/v1/broker/transfer/futures` | +| [getSubAccountFuturesTransferHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3756) | :closed_lock_with_key: | GET | `sapi/v1/broker/transfer/futures` | +| [getBrokerSubDepositHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3768) | :closed_lock_with_key: | GET | `sapi/v1/broker/subAccount/depositHist` | +| [getBrokerSubAccountSpotAssets()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3774) | :closed_lock_with_key: | GET | `sapi/v1/broker/subAccount/spotSummary` | +| [getSubAccountMarginAssetInfo()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3783) | :closed_lock_with_key: | GET | `sapi/v1/broker/subAccount/marginSummary` | +| [querySubAccountFuturesAssetInfo()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3792) | :closed_lock_with_key: | GET | `sapi/v3/broker/subAccount/futuresSummary` | +| [universalTransferBroker()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3801) | :closed_lock_with_key: | POST | `sapi/v1/broker/universalTransfer` | +| [getUniversalTransferBroker()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3808) | :closed_lock_with_key: | GET | `sapi/v1/broker/universalTransfer` | +| [updateBrokerSubAccountCommission()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3820) | :closed_lock_with_key: | POST | `sapi/v1/broker/subAccountApi/commission` | +| [updateBrokerSubAccountFuturesCommission()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3826) | :closed_lock_with_key: | POST | `sapi/v1/broker/subAccountApi/commission/futures` | +| [getBrokerSubAccountFuturesCommission()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3835) | :closed_lock_with_key: | GET | `sapi/v1/broker/subAccountApi/commission/futures` | +| [updateBrokerSubAccountCoinFuturesCommission()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3844) | :closed_lock_with_key: | POST | `sapi/v1/broker/subAccountApi/commission/coinFutures` | +| [getBrokerSubAccountCoinFuturesCommission()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3853) | :closed_lock_with_key: | GET | `sapi/v1/broker/subAccountApi/commission/coinFutures` | +| [getBrokerSpotCommissionRebate()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3862) | :closed_lock_with_key: | GET | `sapi/v1/broker/rebate/recentRecord` | +| [getBrokerFuturesCommissionRebate()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3868) | :closed_lock_with_key: | GET | `sapi/v1/broker/rebate/futures/recentRecord` | +| [getBrokerIfNewSpotUser()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3905) | :closed_lock_with_key: | GET | `sapi/v1/apiReferral/ifNewUser` | +| [getBrokerSubAccountDepositHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3916) | :closed_lock_with_key: | GET | `sapi/v1/bv1/apiReferral/ifNewUser` | +| [enableFuturesBrokerSubAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3935) | :closed_lock_with_key: | POST | `sapi/v1/broker/subAccount` | +| [enableMarginApiKeyBrokerSubAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3945) | :closed_lock_with_key: | POST | `sapi/v1/broker/subAccount/margin` | +| [getSpotUserDataListenKey()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3982) | | POST | `api/v3/userDataStream` | +| [keepAliveSpotUserDataListenKey()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3986) | | PUT | `api/v3/userDataStream?listenKey=${listenKey}` | +| [closeSpotUserDataListenKey()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3990) | | DELETE | `api/v3/userDataStream?listenKey=${listenKey}` | +| [getMarginUserDataListenKey()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3995) | | POST | `sapi/v1/userDataStream` | +| [keepAliveMarginUserDataListenKey()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3999) | | PUT | `sapi/v1/userDataStream?listenKey=${listenKey}` | +| [closeMarginUserDataListenKey()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4003) | | DELETE | `sapi/v1/userDataStream?listenKey=${listenKey}` | +| [getIsolatedMarginUserDataListenKey()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4008) | | POST | `sapi/v1/userDataStream/isolated?${serialiseParams(params)}` | +| [keepAliveIsolatedMarginUserDataListenKey()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4016) | | PUT | `sapi/v1/userDataStream/isolated?${serialiseParams(params)}` | +| [closeIsolatedMarginUserDataListenKey()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4025) | | DELETE | `sapi/v1/userDataStream/isolated?${serialiseParams(params)}` | +| [getBSwapLiquidity()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4048) | :closed_lock_with_key: | GET | `sapi/v1/bswap/liquidity` | +| [addBSwapLiquidity()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4055) | :closed_lock_with_key: | POST | `sapi/v1/bswap/liquidityAdd` | +| [removeBSwapLiquidity()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4064) | :closed_lock_with_key: | POST | `sapi/v1/bswap/liquidityRemove` | +| [getBSwapOperations()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4073) | :closed_lock_with_key: | GET | `sapi/v1/bswap/liquidityOps` | +| [getLeftDailyPurchaseQuotaFlexibleProduct()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4088) | :closed_lock_with_key: | GET | `sapi/v1/lending/daily/userLeftQuota` | +| [getLeftDailyRedemptionQuotaFlexibleProduct()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4097) | :closed_lock_with_key: | GET | `sapi/v1/lending/daily/userRedemptionQuota` | +| [purchaseFixedAndActivityProject()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4111) | :closed_lock_with_key: | POST | `sapi/v1/lending/customizedFixed/purchase` | +| [getFixedAndActivityProjects()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4121) | :closed_lock_with_key: | GET | `sapi/v1/lending/project/list` | +| [getFixedAndActivityProductPosition()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4130) | :closed_lock_with_key: | GET | `sapi/v1/lending/project/position/list` | +| [getLendingAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4139) | :closed_lock_with_key: | GET | `sapi/v1/lending/union/account` | +| [getPurchaseRecord()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4146) | :closed_lock_with_key: | GET | `sapi/v1/lending/union/purchaseRecord` | +| [getRedemptionRecord()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4153) | :closed_lock_with_key: | GET | `sapi/v1/lending/union/redemptionRecord` | +| [getInterestHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4160) | :closed_lock_with_key: | GET | `sapi/v1/lending/union/interestHistory` | +| [changeFixedAndActivityPositionToDailyPosition()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4167) | :closed_lock_with_key: | POST | `sapi/v1/lending/positionChanged` | +| [enableConvertSubAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4184) | :closed_lock_with_key: | POST | `sapi/v1/broker/subAccount/convert` | +| [convertBUSD()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4192) | :closed_lock_with_key: | POST | `sapi/v1/asset/convert-transfer` | +| [getConvertBUSDHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4199) | :closed_lock_with_key: | GET | `sapi/v1/asset/convert-transfer/queryByPage` | # usdm-client.ts @@ -483,22 +491,22 @@ This table includes all endpoints from the official Exchange API docs and corres | Function | AUTH | HTTP Method | Endpoint | | -------- | :------: | :------: | -------- | -| [testConnectivity()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L130) | | GET | `fapi/v1/ping` | -| [getExchangeInfo()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L134) | | GET | `fapi/v1/exchangeInfo` | -| [getOrderBook()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L138) | | GET | `fapi/v1/depth` | -| [getRecentTrades()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L142) | | GET | `fapi/v1/trades` | -| [getHistoricalTrades()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L146) | | GET | `fapi/v1/historicalTrades` | -| [getAggregateTrades()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L152) | | GET | `fapi/v1/aggTrades` | -| [getKlines()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L158) | | GET | `fapi/v1/klines` | -| [getContinuousContractKlines()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L162) | | GET | `fapi/v1/continuousKlines` | -| [getIndexPriceKlines()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L168) | | GET | `fapi/v1/indexPriceKlines` | -| [getMarkPriceKlines()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L172) | | GET | `fapi/v1/markPriceKlines` | -| [getPremiumIndexKlines()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L176) | | GET | `fapi/v1/premiumIndexKlines` | -| [getMarkPrice()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L180) | | GET | `fapi/v1/premiumIndex` | -| [getFundingRateHistory()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L189) | | GET | `fapi/v1/fundingRate` | -| [getFundingRates()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L195) | | GET | `fapi/v1/fundingInfo` | -| [get24hrChangeStatististics()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L202) | | GET | `fapi/v1/ticker/24hr` | -| [get24hrChangeStatistics()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L208) | | GET | `fapi/v1/ticker/24hr` | +| [testConnectivity()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L127) | | GET | `fapi/v1/ping` | +| [getExchangeInfo()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L131) | | GET | `fapi/v1/exchangeInfo` | +| [getOrderBook()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L135) | | GET | `fapi/v1/depth` | +| [getRecentTrades()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L139) | | GET | `fapi/v1/trades` | +| [getHistoricalTrades()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L143) | | GET | `fapi/v1/historicalTrades` | +| [getAggregateTrades()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L149) | | GET | `fapi/v1/aggTrades` | +| [getKlines()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L155) | | GET | `fapi/v1/klines` | +| [getContinuousContractKlines()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L159) | | GET | `fapi/v1/continuousKlines` | +| [getIndexPriceKlines()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L165) | | GET | `fapi/v1/indexPriceKlines` | +| [getMarkPriceKlines()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L169) | | GET | `fapi/v1/markPriceKlines` | +| [getPremiumIndexKlines()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L173) | | GET | `fapi/v1/premiumIndexKlines` | +| [getMarkPrice()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L177) | | GET | `fapi/v1/premiumIndex` | +| [getFundingRateHistory()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L187) | | GET | `fapi/v1/fundingRate` | +| [getFundingRates()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L193) | | GET | `fapi/v1/fundingInfo` | +| [get24hrChangeStatististics()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L200) | | GET | `fapi/v1/ticker/24hr` | +| [get24hrChangeStatistics()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L206) | | GET | `fapi/v1/ticker/24hr` | | [getSymbolPriceTicker()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L224) | | GET | `fapi/v1/ticker/price` | | [getSymbolPriceTickerV2()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L230) | | GET | `fapi/v2/ticker/price` | | [getSymbolOrderBookTicker()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L236) | | GET | `fapi/v1/ticker/bookTicker` | @@ -567,16 +575,16 @@ This table includes all endpoints from the official Exchange API docs and corres | [getConvertOrderStatus()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L637) | :closed_lock_with_key: | GET | `fapi/v1/convert/orderStatus` | | [getPortfolioMarginProAccountInfo()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L650) | :closed_lock_with_key: | GET | `fapi/v1/pmAccountInfo` | | [getBrokerIfNewFuturesUser()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L667) | :closed_lock_with_key: | GET | `fapi/v1/apiReferral/ifNewUser` | -| [setBrokerCustomIdForClient()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L679) | :closed_lock_with_key: | POST | `fapi/v1/apiReferral/customization` | -| [getBrokerClientCustomIds()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L691) | :closed_lock_with_key: | GET | `fapi/v1/apiReferral/customization` | -| [getBrokerUserCustomId()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L707) | :closed_lock_with_key: | GET | `fapi/v1/apiReferral/userCustomization` | -| [getBrokerRebateDataOverview()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L715) | :closed_lock_with_key: | GET | `fapi/v1/apiReferral/overview` | -| [getBrokerUserTradeVolume()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L723) | :closed_lock_with_key: | GET | `fapi/v1/apiReferral/tradeVol` | -| [getBrokerRebateVolume()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L739) | :closed_lock_with_key: | GET | `fapi/v1/apiReferral/rebateVol` | -| [getBrokerTradeDetail()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L755) | :closed_lock_with_key: | GET | `fapi/v1/apiReferral/traderSummary` | -| [getFuturesUserDataListenKey()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L777) | | POST | `fapi/v1/listenKey` | -| [keepAliveFuturesUserDataListenKey()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L781) | | PUT | `fapi/v1/listenKey` | -| [closeFuturesUserDataListenKey()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L785) | | DELETE | `fapi/v1/listenKey` | +| [setBrokerCustomIdForClient()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L680) | :closed_lock_with_key: | POST | `fapi/v1/apiReferral/customization` | +| [getBrokerClientCustomIds()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L693) | :closed_lock_with_key: | GET | `fapi/v1/apiReferral/customization` | +| [getBrokerUserCustomId()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L710) | :closed_lock_with_key: | GET | `fapi/v1/apiReferral/userCustomization` | +| [getBrokerRebateDataOverview()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L719) | :closed_lock_with_key: | GET | `fapi/v1/apiReferral/overview` | +| [getBrokerUserTradeVolume()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L728) | :closed_lock_with_key: | GET | `fapi/v1/apiReferral/tradeVol` | +| [getBrokerRebateVolume()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L745) | :closed_lock_with_key: | GET | `fapi/v1/apiReferral/rebateVol` | +| [getBrokerTradeDetail()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L762) | :closed_lock_with_key: | GET | `fapi/v1/apiReferral/traderSummary` | +| [getFuturesUserDataListenKey()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L784) | | POST | `fapi/v1/listenKey` | +| [keepAliveFuturesUserDataListenKey()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L788) | | PUT | `fapi/v1/listenKey` | +| [closeFuturesUserDataListenKey()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L792) | | DELETE | `fapi/v1/listenKey` | # coinm-client.ts @@ -584,78 +592,185 @@ This table includes all endpoints from the official Exchange API docs and corres | Function | AUTH | HTTP Method | Endpoint | | -------- | :------: | :------: | -------- | -| [testConnectivity()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L126) | | GET | `dapi/v1/ping` | -| [getExchangeInfo()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L130) | | GET | `dapi/v1/exchangeInfo` | -| [getOrderBook()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L134) | | GET | `dapi/v1/depth` | -| [getRecentTrades()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L138) | | GET | `dapi/v1/trades` | -| [getHistoricalTrades()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L142) | | GET | `dapi/v1/historicalTrades` | -| [getAggregateTrades()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L148) | | GET | `dapi/v1/aggTrades` | -| [getMarkPrice()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L157) | | GET | `dapi/v1/premiumIndex` | -| [getFundingRateHistory()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L163) | | GET | `dapi/v1/fundingRate` | -| [getFundingRate()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L169) | | GET | `dapi/v1/fundingInfo` | -| [getKlines()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L173) | | GET | `dapi/v1/klines` | -| [getContinuousContractKlines()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L177) | | GET | `dapi/v1/continuousKlines` | -| [getIndexPriceKlines()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L183) | | GET | `dapi/v1/indexPriceKlines` | -| [getMarkPriceKlines()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L187) | | GET | `dapi/v1/markPriceKlines` | -| [getPremiumIndexKlines()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L191) | | GET | `dapi/v1/premiumIndexKlines` | -| [get24hrChangeStatististics()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L198) | | GET | `dapi/v1/ticker/24hr` | -| [get24hrChangeStatistics()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L204) | | GET | `dapi/v1/ticker/24hr` | -| [getSymbolPriceTicker()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L210) | | GET | `dapi/v1/ticker/price` | -| [getSymbolOrderBookTicker()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L216) | | GET | `dapi/v1/ticker/bookTicker` | -| [getOpenInterest()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L224) | | GET | `dapi/v1/openInterest` | -| [getOpenInterestStatistics()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L228) | | GET | `futures/data/openInterestHist` | -| [getTopTradersLongShortAccountRatio()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L232) | | GET | `futures/data/topLongShortAccountRatio` | -| [getTopTradersLongShortPositionRatio()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L238) | | GET | `futures/data/topLongShortPositionRatio` | -| [getGlobalLongShortAccountRatio()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L244) | | GET | `futures/data/globalLongShortAccountRatio` | -| [getTakerBuySellVolume()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L250) | | GET | `futures/data/takerBuySellVol` | -| [getCompositeSymbolIndex()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L256) | | GET | `futures/data/basis` | -| [getIndexPriceConstituents()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L264) | | GET | `dapi/v1/constituents` | -| [getQuarterlyContractSettlementPrices()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L274) | | GET | `futures/data/delivery-price` | -| [submitNewOrder()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L286) | :closed_lock_with_key: | POST | `dapi/v1/order` | -| [submitMultipleOrders()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L296) | :closed_lock_with_key: | POST | `dapi/v1/batchOrders` | -| [modifyOrder()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L313) | :closed_lock_with_key: | PUT | `dapi/v1/order` | -| [modifyMultipleOrders()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L322) | :closed_lock_with_key: | PUT | `dapi/v1/batchOrders` | -| [getOrderModifyHistory()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L335) | :closed_lock_with_key: | GET | `dapi/v1/orderAmendment` | -| [cancelOrder()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L341) | :closed_lock_with_key: | DELETE | `dapi/v1/order` | -| [cancelMultipleOrders()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L345) | :closed_lock_with_key: | DELETE | `dapi/v1/batchOrders` | -| [cancelAllOpenOrders()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L365) | :closed_lock_with_key: | DELETE | `dapi/v1/allOpenOrders` | -| [setCancelOrdersOnTimeout()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L372) | :closed_lock_with_key: | POST | `dapi/v1/countdownCancelAll` | -| [getOrder()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L378) | :closed_lock_with_key: | GET | `dapi/v1/order` | -| [getAllOrders()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L382) | :closed_lock_with_key: | GET | `dapi/v1/allOrders` | -| [getAllOpenOrders()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L386) | :closed_lock_with_key: | GET | `dapi/v1/openOrders` | -| [getCurrentOpenOrder()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L390) | :closed_lock_with_key: | GET | `dapi/v1/openOrder` | -| [getForceOrders()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L394) | :closed_lock_with_key: | GET | `dapi/v1/forceOrders` | -| [getAccountTrades()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L398) | :closed_lock_with_key: | GET | `dapi/v1/userTrades` | -| [getPositions()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L404) | :closed_lock_with_key: | GET | `dapi/v1/positionRisk` | -| [setPositionMode()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L408) | :closed_lock_with_key: | POST | `dapi/v1/positionSide/dual` | -| [setMarginType()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L412) | :closed_lock_with_key: | POST | `dapi/v1/marginType` | -| [setLeverage()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L416) | :closed_lock_with_key: | POST | `dapi/v1/leverage` | -| [getADLQuantileEstimation()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L420) | :closed_lock_with_key: | GET | `dapi/v1/adlQuantile` | -| [setIsolatedPositionMargin()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L424) | :closed_lock_with_key: | POST | `dapi/v1/positionMargin` | -| [getPositionMarginChangeHistory()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L430) | :closed_lock_with_key: | GET | `dapi/v1/positionMargin/history` | -| [getBalance()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L441) | :closed_lock_with_key: | GET | `dapi/v1/balance` | -| [getAccountComissionRate()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L448) | :closed_lock_with_key: | GET | `dapi/v1/commissionRate` | -| [getAccountCommissionRate()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L454) | :closed_lock_with_key: | GET | `dapi/v1/commissionRate` | -| [getAccountInformation()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L460) | :closed_lock_with_key: | GET | `dapi/v1/account` | -| [getNotionalAndLeverageBrackets()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L467) | :closed_lock_with_key: | GET | `dapi/v2/leverageBracket` | -| [getCurrentPositionMode()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L476) | :closed_lock_with_key: | GET | `dapi/v1/positionSide/dual` | -| [getIncomeHistory()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L480) | :closed_lock_with_key: | GET | `dapi/v1/income` | -| [getDownloadIdForFuturesTransactionHistory()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L484) | :closed_lock_with_key: | GET | `dapi/v1/income/asyn` | -| [getFuturesTransactionHistoryDownloadLink()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L494) | :closed_lock_with_key: | GET | `dapi/v1/income/asyn/id` | -| [getDownloadIdForFuturesOrderHistory()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L500) | :closed_lock_with_key: | GET | `dapi/v1/order/asyn` | -| [getFuturesOrderHistoryDownloadLink()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L510) | :closed_lock_with_key: | GET | `dapi/v1/order/asyn/id` | -| [getDownloadIdForFuturesTradeHistory()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L516) | :closed_lock_with_key: | GET | `dapi/v1/trade/asyn` | -| [getFuturesTradeHistoryDownloadLink()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L526) | :closed_lock_with_key: | GET | `dapi/v1/trade/asyn/id` | -| [getClassicPortfolioMarginAccount()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L538) | :closed_lock_with_key: | GET | `dapi/v1/pmAccountInfo` | -| [getClassicPortfolioMarginNotionalLimits()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L547) | :closed_lock_with_key: | GET | `dapi/v1/pmExchangeInfo` | -| [getBrokerIfNewFuturesUser()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L566) | :closed_lock_with_key: | GET | `dapi/v1/apiReferral/ifNewUser` | -| [setBrokerCustomIdForClient()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L579) | :closed_lock_with_key: | POST | `dapi/v1/apiReferral/customization` | -| [getBrokerClientCustomIds()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L592) | :closed_lock_with_key: | GET | `dapi/v1/apiReferral/customization` | -| [getBrokerUserCustomId()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L609) | :closed_lock_with_key: | GET | `dapi/v1/apiReferral/userCustomization` | -| [getBrokerRebateDataOverview()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L618) | :closed_lock_with_key: | GET | `dapi/v1/apiReferral/overview` | -| [getBrokerUserTradeVolume()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L627) | :closed_lock_with_key: | GET | `dapi/v1/apiReferral/tradeVol` | -| [getBrokerRebateVolume()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L644) | :closed_lock_with_key: | GET | `dapi/v1/apiReferral/rebateVol` | -| [getBrokerTradeDetail()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L661) | :closed_lock_with_key: | GET | `dapi/v1/apiReferral/traderSummary` | -| [getFuturesUserDataListenKey()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L681) | | POST | `dapi/v1/listenKey` | -| [keepAliveFuturesUserDataListenKey()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L685) | | PUT | `dapi/v1/listenKey` | -| [closeFuturesUserDataListenKey()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L689) | | DELETE | `dapi/v1/listenKey` | \ No newline at end of file +| [testConnectivity()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L124) | | GET | `dapi/v1/ping` | +| [getExchangeInfo()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L128) | | GET | `dapi/v1/exchangeInfo` | +| [getOrderBook()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L132) | | GET | `dapi/v1/depth` | +| [getRecentTrades()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L136) | | GET | `dapi/v1/trades` | +| [getHistoricalTrades()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L140) | | GET | `dapi/v1/historicalTrades` | +| [getAggregateTrades()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L146) | | GET | `dapi/v1/aggTrades` | +| [getMarkPrice()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L155) | | GET | `dapi/v1/premiumIndex` | +| [getFundingRateHistory()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L161) | | GET | `dapi/v1/fundingRate` | +| [getFundingRate()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L167) | | GET | `dapi/v1/fundingInfo` | +| [getKlines()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L171) | | GET | `dapi/v1/klines` | +| [getContinuousContractKlines()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L175) | | GET | `dapi/v1/continuousKlines` | +| [getIndexPriceKlines()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L181) | | GET | `dapi/v1/indexPriceKlines` | +| [getMarkPriceKlines()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L185) | | GET | `dapi/v1/markPriceKlines` | +| [getPremiumIndexKlines()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L189) | | GET | `dapi/v1/premiumIndexKlines` | +| [get24hrChangeStatististics()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L196) | | GET | `dapi/v1/ticker/24hr` | +| [get24hrChangeStatistics()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L202) | | GET | `dapi/v1/ticker/24hr` | +| [getSymbolPriceTicker()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L208) | | GET | `dapi/v1/ticker/price` | +| [getSymbolOrderBookTicker()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L214) | | GET | `dapi/v1/ticker/bookTicker` | +| [getOpenInterest()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L222) | | GET | `dapi/v1/openInterest` | +| [getOpenInterestStatistics()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L226) | | GET | `futures/data/openInterestHist` | +| [getTopTradersLongShortAccountRatio()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L230) | | GET | `futures/data/topLongShortAccountRatio` | +| [getTopTradersLongShortPositionRatio()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L236) | | GET | `futures/data/topLongShortPositionRatio` | +| [getGlobalLongShortAccountRatio()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L242) | | GET | `futures/data/globalLongShortAccountRatio` | +| [getTakerBuySellVolume()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L248) | | GET | `futures/data/takerBuySellVol` | +| [getCompositeSymbolIndex()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L254) | | GET | `futures/data/basis` | +| [getIndexPriceConstituents()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L262) | | GET | `dapi/v1/constituents` | +| [getQuarterlyContractSettlementPrices()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L272) | | GET | `futures/data/delivery-price` | +| [submitNewOrder()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L284) | :closed_lock_with_key: | POST | `dapi/v1/order` | +| [submitMultipleOrders()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L294) | :closed_lock_with_key: | POST | `dapi/v1/batchOrders` | +| [modifyOrder()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L311) | :closed_lock_with_key: | PUT | `dapi/v1/order` | +| [modifyMultipleOrders()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L320) | :closed_lock_with_key: | PUT | `dapi/v1/batchOrders` | +| [getOrderModifyHistory()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L333) | :closed_lock_with_key: | GET | `dapi/v1/orderAmendment` | +| [cancelOrder()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L339) | :closed_lock_with_key: | DELETE | `dapi/v1/order` | +| [cancelMultipleOrders()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L343) | :closed_lock_with_key: | DELETE | `dapi/v1/batchOrders` | +| [cancelAllOpenOrders()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L363) | :closed_lock_with_key: | DELETE | `dapi/v1/allOpenOrders` | +| [setCancelOrdersOnTimeout()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L370) | :closed_lock_with_key: | POST | `dapi/v1/countdownCancelAll` | +| [getOrder()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L376) | :closed_lock_with_key: | GET | `dapi/v1/order` | +| [getAllOrders()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L380) | :closed_lock_with_key: | GET | `dapi/v1/allOrders` | +| [getAllOpenOrders()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L384) | :closed_lock_with_key: | GET | `dapi/v1/openOrders` | +| [getCurrentOpenOrder()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L388) | :closed_lock_with_key: | GET | `dapi/v1/openOrder` | +| [getForceOrders()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L392) | :closed_lock_with_key: | GET | `dapi/v1/forceOrders` | +| [getAccountTrades()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L396) | :closed_lock_with_key: | GET | `dapi/v1/userTrades` | +| [getPositions()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L402) | :closed_lock_with_key: | GET | `dapi/v1/positionRisk` | +| [setPositionMode()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L406) | :closed_lock_with_key: | POST | `dapi/v1/positionSide/dual` | +| [setMarginType()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L410) | :closed_lock_with_key: | POST | `dapi/v1/marginType` | +| [setLeverage()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L414) | :closed_lock_with_key: | POST | `dapi/v1/leverage` | +| [getADLQuantileEstimation()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L418) | :closed_lock_with_key: | GET | `dapi/v1/adlQuantile` | +| [setIsolatedPositionMargin()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L422) | :closed_lock_with_key: | POST | `dapi/v1/positionMargin` | +| [getPositionMarginChangeHistory()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L428) | :closed_lock_with_key: | GET | `dapi/v1/positionMargin/history` | +| [getBalance()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L439) | :closed_lock_with_key: | GET | `dapi/v1/balance` | +| [getAccountComissionRate()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L446) | :closed_lock_with_key: | GET | `dapi/v1/commissionRate` | +| [getAccountCommissionRate()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L452) | :closed_lock_with_key: | GET | `dapi/v1/commissionRate` | +| [getAccountInformation()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L458) | :closed_lock_with_key: | GET | `dapi/v1/account` | +| [getNotionalAndLeverageBrackets()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L465) | :closed_lock_with_key: | GET | `dapi/v2/leverageBracket` | +| [getCurrentPositionMode()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L474) | :closed_lock_with_key: | GET | `dapi/v1/positionSide/dual` | +| [getIncomeHistory()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L478) | :closed_lock_with_key: | GET | `dapi/v1/income` | +| [getDownloadIdForFuturesTransactionHistory()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L482) | :closed_lock_with_key: | GET | `dapi/v1/income/asyn` | +| [getFuturesTransactionHistoryDownloadLink()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L492) | :closed_lock_with_key: | GET | `dapi/v1/income/asyn/id` | +| [getDownloadIdForFuturesOrderHistory()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L498) | :closed_lock_with_key: | GET | `dapi/v1/order/asyn` | +| [getFuturesOrderHistoryDownloadLink()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L508) | :closed_lock_with_key: | GET | `dapi/v1/order/asyn/id` | +| [getDownloadIdForFuturesTradeHistory()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L514) | :closed_lock_with_key: | GET | `dapi/v1/trade/asyn` | +| [getFuturesTradeHistoryDownloadLink()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L524) | :closed_lock_with_key: | GET | `dapi/v1/trade/asyn/id` | +| [getClassicPortfolioMarginAccount()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L536) | :closed_lock_with_key: | GET | `dapi/v1/pmAccountInfo` | +| [getClassicPortfolioMarginNotionalLimits()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L545) | :closed_lock_with_key: | GET | `dapi/v1/pmExchangeInfo` | +| [getBrokerIfNewFuturesUser()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L564) | :closed_lock_with_key: | GET | `dapi/v1/apiReferral/ifNewUser` | +| [setBrokerCustomIdForClient()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L577) | :closed_lock_with_key: | POST | `dapi/v1/apiReferral/customization` | +| [getBrokerClientCustomIds()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L590) | :closed_lock_with_key: | GET | `dapi/v1/apiReferral/customization` | +| [getBrokerUserCustomId()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L607) | :closed_lock_with_key: | GET | `dapi/v1/apiReferral/userCustomization` | +| [getBrokerRebateDataOverview()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L616) | :closed_lock_with_key: | GET | `dapi/v1/apiReferral/overview` | +| [getBrokerUserTradeVolume()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L625) | :closed_lock_with_key: | GET | `dapi/v1/apiReferral/tradeVol` | +| [getBrokerRebateVolume()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L642) | :closed_lock_with_key: | GET | `dapi/v1/apiReferral/rebateVol` | +| [getBrokerTradeDetail()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L659) | :closed_lock_with_key: | GET | `dapi/v1/apiReferral/traderSummary` | +| [getFuturesUserDataListenKey()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L679) | | POST | `dapi/v1/listenKey` | +| [keepAliveFuturesUserDataListenKey()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L683) | | PUT | `dapi/v1/listenKey` | +| [closeFuturesUserDataListenKey()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L687) | | DELETE | `dapi/v1/listenKey` | + +# portfolio-client.ts + +This table includes all endpoints from the official Exchange API docs and corresponding SDK functions for each endpoint that are found in [portfolio-client.ts](/src/portfolio-client.ts). + +| Function | AUTH | HTTP Method | Endpoint | +| -------- | :------: | :------: | -------- | +| [testConnectivity()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L159) | | GET | `papi/v1/ping` | +| [submitNewUMOrder()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L169) | :closed_lock_with_key: | POST | `papi/v1/um/order` | +| [submitNewUMConditionalOrder()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L176) | :closed_lock_with_key: | POST | `papi/v1/um/conditional/order` | +| [submitNewCMOrder()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L183) | :closed_lock_with_key: | POST | `papi/v1/cm/order` | +| [submitNewCMConditionalOrder()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L190) | :closed_lock_with_key: | POST | `papi/v1/cm/conditional/order` | +| [submitNewMarginOrder()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L197) | :closed_lock_with_key: | POST | `papi/v1/margin/order` | +| [submitMarginLoan()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L204) | :closed_lock_with_key: | POST | `papi/v1/marginLoan` | +| [submitMarginRepay()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L210) | :closed_lock_with_key: | POST | `papi/v1/repayLoan` | +| [submitNewMarginOCO()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L216) | :closed_lock_with_key: | POST | `papi/v1/margin/order/oco` | +| [cancelUMOrder()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L225) | :closed_lock_with_key: | DELETE | `papi/v1/um/order` | +| [cancelAllUMOrders()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L231) | :closed_lock_with_key: | DELETE | `papi/v1/um/allOpenOrders` | +| [cancelUMConditionalOrder()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L238) | :closed_lock_with_key: | DELETE | `papi/v1/um/conditional/order` | +| [cancelAllUMConditionalOrders()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L244) | :closed_lock_with_key: | DELETE | `papi/v1/um/conditional/allOpenOrders` | +| [cancelCMOrder()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L251) | :closed_lock_with_key: | DELETE | `papi/v1/cm/order` | +| [cancelAllCMOrders()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L257) | :closed_lock_with_key: | DELETE | `papi/v1/cm/allOpenOrders` | +| [cancelCMConditionalOrder()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L264) | :closed_lock_with_key: | DELETE | `papi/v1/cm/conditional/order` | +| [cancelAllCMConditionalOrders()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L270) | :closed_lock_with_key: | DELETE | `papi/v1/cm/conditional/allOpenOrders` | +| [cancelMarginOrder()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L277) | :closed_lock_with_key: | DELETE | `papi/v1/margin/order` | +| [cancelMarginOCO()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L283) | :closed_lock_with_key: | DELETE | `papi/v1/margin/orderList` | +| [cancelAllMarginOrders()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L289) | :closed_lock_with_key: | DELETE | `papi/v1/margin/allOpenOrders` | +| [modifyUMOrder()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L295) | :closed_lock_with_key: | PUT | `papi/v1/um/order` | +| [modifyCMOrder()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L301) | :closed_lock_with_key: | PUT | `papi/v1/cm/order` | +| [getUMOrder()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L307) | :closed_lock_with_key: | GET | `papi/v1/um/order` | +| [getAllUMOrders()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L311) | :closed_lock_with_key: | GET | `papi/v1/um/allOrders` | +| [getUMOpenOrder()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L317) | :closed_lock_with_key: | GET | `papi/v1/um/openOrder` | +| [getAllUMOpenOrders()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L323) | :closed_lock_with_key: | GET | `papi/v1/um/openOrders` | +| [getAllUMConditionalOrders()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L327) | :closed_lock_with_key: | GET | `papi/v1/um/conditional/allOrders` | +| [getUMOpenConditionalOrders()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L333) | :closed_lock_with_key: | GET | `papi/v1/um/conditional/openOrders` | +| [getUMOpenConditionalOrder()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L339) | :closed_lock_with_key: | GET | `papi/v1/um/conditional/openOrder` | +| [getUMConditionalOrderHistory()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L345) | :closed_lock_with_key: | GET | `papi/v1/um/conditional/orderHistory` | +| [getCMOrder()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L351) | :closed_lock_with_key: | GET | `papi/v1/cm/order` | +| [getAllCMOrders()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L355) | :closed_lock_with_key: | GET | `papi/v1/cm/allOrders` | +| [getCMOpenOrder()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L361) | :closed_lock_with_key: | GET | `papi/v1/cm/openOrder` | +| [getAllCMOpenOrders()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L367) | :closed_lock_with_key: | GET | `papi/v1/cm/openOrders` | +| [getCMOpenConditionalOrders()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L374) | :closed_lock_with_key: | GET | `papi/v1/cm/conditional/openOrders` | +| [getCMOpenConditionalOrder()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L380) | :closed_lock_with_key: | GET | `papi/v1/cm/conditional/openOrder` | +| [getAllCMConditionalOrders()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L388) | :closed_lock_with_key: | GET | `papi/v1/cm/conditional/allOrders` | +| [getCMConditionalOrderHistory()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L394) | :closed_lock_with_key: | GET | `papi/v1/cm/conditional/orderHistory` | +| [getUMForceOrders()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L400) | :closed_lock_with_key: | GET | `papi/v1/um/forceOrders` | +| [getCMForceOrders()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L406) | :closed_lock_with_key: | GET | `papi/v1/cm/forceOrders` | +| [getUMOrderModificationHistory()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L412) | :closed_lock_with_key: | GET | `papi/v1/um/orderAmendment` | +| [getCMOrderModificationHistory()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L418) | :closed_lock_with_key: | GET | `papi/v1/cm/orderAmendment` | +| [getMarginForceOrders()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L424) | :closed_lock_with_key: | GET | `papi/v1/margin/forceOrders` | +| [getUMTrades()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L431) | :closed_lock_with_key: | GET | `papi/v1/um/userTrades` | +| [getCMTrades()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L435) | :closed_lock_with_key: | GET | `papi/v1/cm/userTrades` | +| [getUMADLQuantile()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L439) | :closed_lock_with_key: | GET | `papi/v1/um/adlQuantile` | +| [getCMADLQuantile()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L448) | :closed_lock_with_key: | GET | `papi/v1/cm/adlQuantile` | +| [toggleUMFeeBurn()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L457) | :closed_lock_with_key: | POST | `papi/v1/um/feeBurn` | +| [getUMFeeBurnStatus()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L463) | :closed_lock_with_key: | GET | `papi/v1/um/feeBurn` | +| [getMarginOrder()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L467) | :closed_lock_with_key: | GET | `papi/v1/margin/order` | +| [getMarginOpenOrders()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L473) | :closed_lock_with_key: | GET | `papi/v1/margin/openOrders` | +| [getAllMarginOrders()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L479) | :closed_lock_with_key: | GET | `papi/v1/margin/allOrders` | +| [getMarginOCO()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L485) | :closed_lock_with_key: | GET | `papi/v1/margin/orderList` | +| [getAllMarginOCO()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L491) | :closed_lock_with_key: | GET | `papi/v1/margin/allOrderList` | +| [getMarginOpenOCO()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L497) | :closed_lock_with_key: | GET | `papi/v1/margin/openOrderList` | +| [getMarginTrades()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L501) | :closed_lock_with_key: | GET | `papi/v1/margin/myTrades` | +| [repayMarginDebt()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L507) | :closed_lock_with_key: | POST | `papi/v1/margin/repay-debt` | +| [getBalance()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L519) | :closed_lock_with_key: | GET | `papi/v1/balance` | +| [getAccountInfo()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L523) | :closed_lock_with_key: | GET | `papi/v1/account` | +| [getMarginMaxBorrow()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L527) | :closed_lock_with_key: | GET | `papi/v1/margin/maxBorrowable` | +| [getMarginMaxWithdraw()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L534) | :closed_lock_with_key: | GET | `papi/v1/margin/maxWithdraw` | +| [getUMPosition()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L540) | :closed_lock_with_key: | GET | `papi/v1/um/positionRisk` | +| [getCMPosition()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L544) | :closed_lock_with_key: | GET | `papi/v1/cm/positionRisk` | +| [updateUMLeverage()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L551) | :closed_lock_with_key: | POST | `papi/v1/um/leverage` | +| [updateCMLeverage()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L559) | :closed_lock_with_key: | POST | `papi/v1/cm/leverage` | +| [updateUMPositionMode()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L567) | :closed_lock_with_key: | POST | `papi/v1/um/positionSide/dual` | +| [updateCMPositionMode()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L576) | :closed_lock_with_key: | POST | `papi/v1/cm/positionSide/dual` | +| [getUMPositionMode()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L585) | :closed_lock_with_key: | GET | `papi/v1/um/positionSide/dual` | +| [getCMPositionMode()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L591) | :closed_lock_with_key: | GET | `papi/v1/cm/positionSide/dual` | +| [getUMLeverageBrackets()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L597) | :closed_lock_with_key: | GET | `papi/v1/um/leverageBracket` | +| [getCMLeverageBrackets()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L607) | :closed_lock_with_key: | GET | `papi/v1/cm/leverageBracket` | +| [getUMTradingStatus()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L616) | :closed_lock_with_key: | GET | `papi/v1/um/apiTradingStatus` | +| [getUMCommissionRate()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L622) | :closed_lock_with_key: | GET | `papi/v1/um/commissionRate` | +| [getCMCommissionRate()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L630) | :closed_lock_with_key: | GET | `papi/v1/cm/commissionRate` | +| [getMarginLoanRecords()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L638) | :closed_lock_with_key: | GET | `papi/v1/margin/marginLoan` | +| [getMarginRepayRecords()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L645) | :closed_lock_with_key: | GET | `papi/v1/margin/repayLoan` | +| [getAutoRepayFuturesStatus()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L652) | :closed_lock_with_key: | GET | `papi/v1/repay-futures-switch` | +| [updateAutoRepayFuturesStatus()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L658) | :closed_lock_with_key: | POST | `papi/v1/repay-futures-switch` | +| [getMarginInterestHistory()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L666) | :closed_lock_with_key: | GET | `papi/v1/margin/marginInterestHistory` | +| [repayFuturesNegativeBalance()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L673) | :closed_lock_with_key: | POST | `papi/v1/repay-futures-negative-balance` | +| [getPortfolioNegativeBalanceInterestHistory()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L679) | :closed_lock_with_key: | GET | `papi/v1/portfolio/interest-history` | +| [autoCollectFunds()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L685) | :closed_lock_with_key: | POST | `papi/v1/auto-collection` | +| [transferAssetFuturesMargin()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L691) | :closed_lock_with_key: | POST | `papi/v1/asset-collection` | +| [transferBNB()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L697) | :closed_lock_with_key: | POST | `papi/v1/bnb-transfer` | +| [getUMIncomeHistory()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L706) | :closed_lock_with_key: | GET | `papi/v1/um/income` | +| [getCMIncomeHistory()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L712) | :closed_lock_with_key: | GET | `papi/v1/cm/income` | +| [getUMAccount()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L718) | :closed_lock_with_key: | GET | `papi/v1/um/account` | +| [getCMAccount()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L725) | :closed_lock_with_key: | GET | `papi/v1/cm/account` | +| [getUMAccountConfig()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L732) | :closed_lock_with_key: | GET | `papi/v1/um/accountConfig` | +| [getUMSymbolConfig()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L736) | :closed_lock_with_key: | GET | `papi/v1/um/symbolConfig` | +| [getUMAccountV2()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L742) | :closed_lock_with_key: | GET | `papi/v2/um/account` | +| [getUMTradeHistoryDownloadId()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L749) | :closed_lock_with_key: | GET | `papi/v1/um/trade/asyn` | +| [getUMTradeDownloadLink()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L759) | :closed_lock_with_key: | GET | `papi/v1/um/trade/asyn/id` | +| [getUMOrderHistoryDownloadId()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L765) | :closed_lock_with_key: | GET | `papi/v1/um/order/asyn` | +| [getUMOrderDownloadLink()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L775) | :closed_lock_with_key: | GET | `papi/v1/um/order/asyn/id` | +| [getUMTransactionHistoryDownloadId()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L781) | :closed_lock_with_key: | GET | `papi/v1/um/income/asyn` | +| [getUMTransactionDownloadLink()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L791) | :closed_lock_with_key: | GET | `papi/v1/um/income/asyn/id` | +| [getPMUserDataListenKey()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L826) | | POST | `papi/v1/listenKey` | +| [keepAlivePMUserDataListenKey()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L830) | | PUT | `papi/v1/listenKey` | +| [closePMUserDataListenKey()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L834) | | DELETE | `papi/v1/listenKey` | \ No newline at end of file diff --git a/examples/apidoc/MainClient/claimSolBoostRewards.js b/examples/apidoc/MainClient/claimSolBoostRewards.js new file mode 100644 index 0000000..b62d888 --- /dev/null +++ b/examples/apidoc/MainClient/claimSolBoostRewards.js @@ -0,0 +1,20 @@ +const { MainClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: sapi/v1/sol-staking/sol/claim + // METHOD: POST + // PUBLIC: NO + +const client = new MainClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.claimSolBoostRewards(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/MainClient/getFlexibleLoanCollateralRepayRate.js b/examples/apidoc/MainClient/getFlexibleLoanCollateralRepayRate.js new file mode 100644 index 0000000..b7092a4 --- /dev/null +++ b/examples/apidoc/MainClient/getFlexibleLoanCollateralRepayRate.js @@ -0,0 +1,20 @@ +const { MainClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: sapi/v2/loan/flexible/repay/rate + // METHOD: GET + // PUBLIC: NO + +const client = new MainClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getFlexibleLoanCollateralRepayRate(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/MainClient/getFlexibleLoanLiquidationHistory.js b/examples/apidoc/MainClient/getFlexibleLoanLiquidationHistory.js new file mode 100644 index 0000000..d56cef3 --- /dev/null +++ b/examples/apidoc/MainClient/getFlexibleLoanLiquidationHistory.js @@ -0,0 +1,20 @@ +const { MainClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: sapi/v2/loan/flexible/liquidation/history + // METHOD: GET + // PUBLIC: NO + +const client = new MainClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getFlexibleLoanLiquidationHistory(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/MainClient/getSolBoostRewardsHistory.js b/examples/apidoc/MainClient/getSolBoostRewardsHistory.js new file mode 100644 index 0000000..7405045 --- /dev/null +++ b/examples/apidoc/MainClient/getSolBoostRewardsHistory.js @@ -0,0 +1,20 @@ +const { MainClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: sapi/v1/sol-staking/sol/history/boostRewardsHistory + // METHOD: GET + // PUBLIC: NO + +const client = new MainClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getSolBoostRewardsHistory(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/MainClient/getSolUnclaimedRewards.js b/examples/apidoc/MainClient/getSolUnclaimedRewards.js new file mode 100644 index 0000000..d04c94a --- /dev/null +++ b/examples/apidoc/MainClient/getSolUnclaimedRewards.js @@ -0,0 +1,20 @@ +const { MainClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: sapi/v1/sol-staking/sol/history/unclaimedRewards + // METHOD: GET + // PUBLIC: NO + +const client = new MainClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getSolUnclaimedRewards(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/MainClient/mintPortfolioMarginBFUSD.js b/examples/apidoc/MainClient/mintPortfolioMarginBFUSD.js new file mode 100644 index 0000000..0814c38 --- /dev/null +++ b/examples/apidoc/MainClient/mintPortfolioMarginBFUSD.js @@ -0,0 +1,20 @@ +const { MainClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: sapi/v1/portfolio/mint + // METHOD: POST + // PUBLIC: NO + +const client = new MainClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.mintPortfolioMarginBFUSD(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/MainClient/redeemPortfolioMarginBFUSD.js b/examples/apidoc/MainClient/redeemPortfolioMarginBFUSD.js new file mode 100644 index 0000000..7c440f2 --- /dev/null +++ b/examples/apidoc/MainClient/redeemPortfolioMarginBFUSD.js @@ -0,0 +1,20 @@ +const { MainClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: sapi/v1/portfolio/redeem + // METHOD: POST + // PUBLIC: NO + +const client = new MainClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.redeemPortfolioMarginBFUSD(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/MainClient/repayCryptoLoanFlexibleWithCollateral.js b/examples/apidoc/MainClient/repayCryptoLoanFlexibleWithCollateral.js new file mode 100644 index 0000000..735d919 --- /dev/null +++ b/examples/apidoc/MainClient/repayCryptoLoanFlexibleWithCollateral.js @@ -0,0 +1,20 @@ +const { MainClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: sapi/v2/loan/flexible/repay/collateral + // METHOD: POST + // PUBLIC: NO + +const client = new MainClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.repayCryptoLoanFlexibleWithCollateral(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/autoCollectFunds.js b/examples/apidoc/PortfolioClient/autoCollectFunds.js new file mode 100644 index 0000000..420b925 --- /dev/null +++ b/examples/apidoc/PortfolioClient/autoCollectFunds.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/auto-collection + // METHOD: POST + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.autoCollectFunds(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/cancelAllCMConditionalOrders.js b/examples/apidoc/PortfolioClient/cancelAllCMConditionalOrders.js new file mode 100644 index 0000000..f57a74d --- /dev/null +++ b/examples/apidoc/PortfolioClient/cancelAllCMConditionalOrders.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/cm/conditional/allOpenOrders + // METHOD: DELETE + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.cancelAllCMConditionalOrders(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/cancelAllCMOrders.js b/examples/apidoc/PortfolioClient/cancelAllCMOrders.js new file mode 100644 index 0000000..8cc2305 --- /dev/null +++ b/examples/apidoc/PortfolioClient/cancelAllCMOrders.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/cm/allOpenOrders + // METHOD: DELETE + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.cancelAllCMOrders(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/cancelAllMarginOrders.js b/examples/apidoc/PortfolioClient/cancelAllMarginOrders.js new file mode 100644 index 0000000..a2689ef --- /dev/null +++ b/examples/apidoc/PortfolioClient/cancelAllMarginOrders.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/margin/allOpenOrders + // METHOD: DELETE + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.cancelAllMarginOrders(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/cancelAllUMConditionalOrders.js b/examples/apidoc/PortfolioClient/cancelAllUMConditionalOrders.js new file mode 100644 index 0000000..4b197e4 --- /dev/null +++ b/examples/apidoc/PortfolioClient/cancelAllUMConditionalOrders.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/um/conditional/allOpenOrders + // METHOD: DELETE + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.cancelAllUMConditionalOrders(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/cancelAllUMOrders.js b/examples/apidoc/PortfolioClient/cancelAllUMOrders.js new file mode 100644 index 0000000..b3762fb --- /dev/null +++ b/examples/apidoc/PortfolioClient/cancelAllUMOrders.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/um/allOpenOrders + // METHOD: DELETE + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.cancelAllUMOrders(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/cancelCMConditionalOrder.js b/examples/apidoc/PortfolioClient/cancelCMConditionalOrder.js new file mode 100644 index 0000000..ee7c45b --- /dev/null +++ b/examples/apidoc/PortfolioClient/cancelCMConditionalOrder.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/cm/conditional/order + // METHOD: DELETE + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.cancelCMConditionalOrder(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/cancelCMOrder.js b/examples/apidoc/PortfolioClient/cancelCMOrder.js new file mode 100644 index 0000000..05c25df --- /dev/null +++ b/examples/apidoc/PortfolioClient/cancelCMOrder.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/cm/order + // METHOD: DELETE + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.cancelCMOrder(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/cancelMarginOCO.js b/examples/apidoc/PortfolioClient/cancelMarginOCO.js new file mode 100644 index 0000000..0e97317 --- /dev/null +++ b/examples/apidoc/PortfolioClient/cancelMarginOCO.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/margin/orderList + // METHOD: DELETE + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.cancelMarginOCO(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/cancelMarginOrder.js b/examples/apidoc/PortfolioClient/cancelMarginOrder.js new file mode 100644 index 0000000..80240f5 --- /dev/null +++ b/examples/apidoc/PortfolioClient/cancelMarginOrder.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/margin/order + // METHOD: DELETE + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.cancelMarginOrder(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/cancelUMConditionalOrder.js b/examples/apidoc/PortfolioClient/cancelUMConditionalOrder.js new file mode 100644 index 0000000..e26192b --- /dev/null +++ b/examples/apidoc/PortfolioClient/cancelUMConditionalOrder.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/um/conditional/order + // METHOD: DELETE + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.cancelUMConditionalOrder(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/cancelUMOrder.js b/examples/apidoc/PortfolioClient/cancelUMOrder.js new file mode 100644 index 0000000..7876d48 --- /dev/null +++ b/examples/apidoc/PortfolioClient/cancelUMOrder.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/um/order + // METHOD: DELETE + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.cancelUMOrder(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/closePMUserDataListenKey.js b/examples/apidoc/PortfolioClient/closePMUserDataListenKey.js new file mode 100644 index 0000000..189cd4c --- /dev/null +++ b/examples/apidoc/PortfolioClient/closePMUserDataListenKey.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/listenKey + // METHOD: DELETE + // PUBLIC: YES + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.closePMUserDataListenKey(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getAccountInfo.js b/examples/apidoc/PortfolioClient/getAccountInfo.js new file mode 100644 index 0000000..513ffe1 --- /dev/null +++ b/examples/apidoc/PortfolioClient/getAccountInfo.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/account + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getAccountInfo(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getAllCMConditionalOrders.js b/examples/apidoc/PortfolioClient/getAllCMConditionalOrders.js new file mode 100644 index 0000000..34ae500 --- /dev/null +++ b/examples/apidoc/PortfolioClient/getAllCMConditionalOrders.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/cm/conditional/allOrders + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getAllCMConditionalOrders(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getAllCMOpenOrders.js b/examples/apidoc/PortfolioClient/getAllCMOpenOrders.js new file mode 100644 index 0000000..e417479 --- /dev/null +++ b/examples/apidoc/PortfolioClient/getAllCMOpenOrders.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/cm/openOrders + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getAllCMOpenOrders(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getAllCMOrders.js b/examples/apidoc/PortfolioClient/getAllCMOrders.js new file mode 100644 index 0000000..5ca24a5 --- /dev/null +++ b/examples/apidoc/PortfolioClient/getAllCMOrders.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/cm/allOrders + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getAllCMOrders(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getAllMarginOCO.js b/examples/apidoc/PortfolioClient/getAllMarginOCO.js new file mode 100644 index 0000000..98638e4 --- /dev/null +++ b/examples/apidoc/PortfolioClient/getAllMarginOCO.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/margin/allOrderList + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getAllMarginOCO(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getAllMarginOrders.js b/examples/apidoc/PortfolioClient/getAllMarginOrders.js new file mode 100644 index 0000000..7ef08b6 --- /dev/null +++ b/examples/apidoc/PortfolioClient/getAllMarginOrders.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/margin/allOrders + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getAllMarginOrders(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getAllUMConditionalOrders.js b/examples/apidoc/PortfolioClient/getAllUMConditionalOrders.js new file mode 100644 index 0000000..561979e --- /dev/null +++ b/examples/apidoc/PortfolioClient/getAllUMConditionalOrders.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/um/conditional/allOrders + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getAllUMConditionalOrders(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getAllUMOpenOrders.js b/examples/apidoc/PortfolioClient/getAllUMOpenOrders.js new file mode 100644 index 0000000..fd7acca --- /dev/null +++ b/examples/apidoc/PortfolioClient/getAllUMOpenOrders.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/um/openOrders + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getAllUMOpenOrders(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getAllUMOrders.js b/examples/apidoc/PortfolioClient/getAllUMOrders.js new file mode 100644 index 0000000..3251b3d --- /dev/null +++ b/examples/apidoc/PortfolioClient/getAllUMOrders.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/um/allOrders + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getAllUMOrders(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getAutoRepayFuturesStatus.js b/examples/apidoc/PortfolioClient/getAutoRepayFuturesStatus.js new file mode 100644 index 0000000..ebf5061 --- /dev/null +++ b/examples/apidoc/PortfolioClient/getAutoRepayFuturesStatus.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/repay-futures-switch + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getAutoRepayFuturesStatus(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getBalance.js b/examples/apidoc/PortfolioClient/getBalance.js new file mode 100644 index 0000000..7e21309 --- /dev/null +++ b/examples/apidoc/PortfolioClient/getBalance.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/balance + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getBalance(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getCMADLQuantile.js b/examples/apidoc/PortfolioClient/getCMADLQuantile.js new file mode 100644 index 0000000..953ec04 --- /dev/null +++ b/examples/apidoc/PortfolioClient/getCMADLQuantile.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/cm/adlQuantile + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getCMADLQuantile(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getCMAccount.js b/examples/apidoc/PortfolioClient/getCMAccount.js new file mode 100644 index 0000000..1cfa5d9 --- /dev/null +++ b/examples/apidoc/PortfolioClient/getCMAccount.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/cm/account + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getCMAccount(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getCMCommissionRate.js b/examples/apidoc/PortfolioClient/getCMCommissionRate.js new file mode 100644 index 0000000..7092beb --- /dev/null +++ b/examples/apidoc/PortfolioClient/getCMCommissionRate.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/cm/commissionRate + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getCMCommissionRate(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getCMConditionalOrderHistory.js b/examples/apidoc/PortfolioClient/getCMConditionalOrderHistory.js new file mode 100644 index 0000000..f9f9320 --- /dev/null +++ b/examples/apidoc/PortfolioClient/getCMConditionalOrderHistory.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/cm/conditional/orderHistory + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getCMConditionalOrderHistory(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getCMForceOrders.js b/examples/apidoc/PortfolioClient/getCMForceOrders.js new file mode 100644 index 0000000..9aa2660 --- /dev/null +++ b/examples/apidoc/PortfolioClient/getCMForceOrders.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/cm/forceOrders + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getCMForceOrders(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getCMIncomeHistory.js b/examples/apidoc/PortfolioClient/getCMIncomeHistory.js new file mode 100644 index 0000000..cc3d1bc --- /dev/null +++ b/examples/apidoc/PortfolioClient/getCMIncomeHistory.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/cm/income + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getCMIncomeHistory(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getCMLeverageBrackets.js b/examples/apidoc/PortfolioClient/getCMLeverageBrackets.js new file mode 100644 index 0000000..1d8129b --- /dev/null +++ b/examples/apidoc/PortfolioClient/getCMLeverageBrackets.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/cm/leverageBracket + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getCMLeverageBrackets(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getCMOpenConditionalOrder.js b/examples/apidoc/PortfolioClient/getCMOpenConditionalOrder.js new file mode 100644 index 0000000..f4a6ee2 --- /dev/null +++ b/examples/apidoc/PortfolioClient/getCMOpenConditionalOrder.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/cm/conditional/openOrder + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getCMOpenConditionalOrder(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getCMOpenConditionalOrders.js b/examples/apidoc/PortfolioClient/getCMOpenConditionalOrders.js new file mode 100644 index 0000000..05a6f83 --- /dev/null +++ b/examples/apidoc/PortfolioClient/getCMOpenConditionalOrders.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/cm/conditional/openOrders + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getCMOpenConditionalOrders(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getCMOpenOrder.js b/examples/apidoc/PortfolioClient/getCMOpenOrder.js new file mode 100644 index 0000000..23919f9 --- /dev/null +++ b/examples/apidoc/PortfolioClient/getCMOpenOrder.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/cm/openOrder + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getCMOpenOrder(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getCMOrder.js b/examples/apidoc/PortfolioClient/getCMOrder.js new file mode 100644 index 0000000..f1215eb --- /dev/null +++ b/examples/apidoc/PortfolioClient/getCMOrder.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/cm/order + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getCMOrder(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getCMOrderModificationHistory.js b/examples/apidoc/PortfolioClient/getCMOrderModificationHistory.js new file mode 100644 index 0000000..2315ee7 --- /dev/null +++ b/examples/apidoc/PortfolioClient/getCMOrderModificationHistory.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/cm/orderAmendment + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getCMOrderModificationHistory(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getCMPosition.js b/examples/apidoc/PortfolioClient/getCMPosition.js new file mode 100644 index 0000000..0e897c1 --- /dev/null +++ b/examples/apidoc/PortfolioClient/getCMPosition.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/cm/positionRisk + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getCMPosition(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getCMPositionMode.js b/examples/apidoc/PortfolioClient/getCMPositionMode.js new file mode 100644 index 0000000..2088b4e --- /dev/null +++ b/examples/apidoc/PortfolioClient/getCMPositionMode.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/cm/positionSide/dual + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getCMPositionMode(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getCMTrades.js b/examples/apidoc/PortfolioClient/getCMTrades.js new file mode 100644 index 0000000..4aca4bd --- /dev/null +++ b/examples/apidoc/PortfolioClient/getCMTrades.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/cm/userTrades + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getCMTrades(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getMarginForceOrders.js b/examples/apidoc/PortfolioClient/getMarginForceOrders.js new file mode 100644 index 0000000..c07fd4e --- /dev/null +++ b/examples/apidoc/PortfolioClient/getMarginForceOrders.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/margin/forceOrders + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getMarginForceOrders(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getMarginInterestHistory.js b/examples/apidoc/PortfolioClient/getMarginInterestHistory.js new file mode 100644 index 0000000..2e6e7b7 --- /dev/null +++ b/examples/apidoc/PortfolioClient/getMarginInterestHistory.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/margin/marginInterestHistory + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getMarginInterestHistory(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getMarginLoanRecords.js b/examples/apidoc/PortfolioClient/getMarginLoanRecords.js new file mode 100644 index 0000000..0e71595 --- /dev/null +++ b/examples/apidoc/PortfolioClient/getMarginLoanRecords.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/margin/marginLoan + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getMarginLoanRecords(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getMarginMaxBorrow.js b/examples/apidoc/PortfolioClient/getMarginMaxBorrow.js new file mode 100644 index 0000000..1b62697 --- /dev/null +++ b/examples/apidoc/PortfolioClient/getMarginMaxBorrow.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/margin/maxBorrowable + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getMarginMaxBorrow(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getMarginMaxWithdraw.js b/examples/apidoc/PortfolioClient/getMarginMaxWithdraw.js new file mode 100644 index 0000000..2f6f661 --- /dev/null +++ b/examples/apidoc/PortfolioClient/getMarginMaxWithdraw.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/margin/maxWithdraw + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getMarginMaxWithdraw(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getMarginOCO.js b/examples/apidoc/PortfolioClient/getMarginOCO.js new file mode 100644 index 0000000..4deedb2 --- /dev/null +++ b/examples/apidoc/PortfolioClient/getMarginOCO.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/margin/orderList + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getMarginOCO(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getMarginOpenOCO.js b/examples/apidoc/PortfolioClient/getMarginOpenOCO.js new file mode 100644 index 0000000..11b9da5 --- /dev/null +++ b/examples/apidoc/PortfolioClient/getMarginOpenOCO.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/margin/openOrderList + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getMarginOpenOCO(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getMarginOpenOrders.js b/examples/apidoc/PortfolioClient/getMarginOpenOrders.js new file mode 100644 index 0000000..5a7928b --- /dev/null +++ b/examples/apidoc/PortfolioClient/getMarginOpenOrders.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/margin/openOrders + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getMarginOpenOrders(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getMarginOrder.js b/examples/apidoc/PortfolioClient/getMarginOrder.js new file mode 100644 index 0000000..5a6b209 --- /dev/null +++ b/examples/apidoc/PortfolioClient/getMarginOrder.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/margin/order + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getMarginOrder(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getMarginRepayRecords.js b/examples/apidoc/PortfolioClient/getMarginRepayRecords.js new file mode 100644 index 0000000..5a048e8 --- /dev/null +++ b/examples/apidoc/PortfolioClient/getMarginRepayRecords.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/margin/repayLoan + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getMarginRepayRecords(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getMarginTrades.js b/examples/apidoc/PortfolioClient/getMarginTrades.js new file mode 100644 index 0000000..b0ad0d0 --- /dev/null +++ b/examples/apidoc/PortfolioClient/getMarginTrades.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/margin/myTrades + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getMarginTrades(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getPMUserDataListenKey.js b/examples/apidoc/PortfolioClient/getPMUserDataListenKey.js new file mode 100644 index 0000000..142599c --- /dev/null +++ b/examples/apidoc/PortfolioClient/getPMUserDataListenKey.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/listenKey + // METHOD: POST + // PUBLIC: YES + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getPMUserDataListenKey(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getPortfolioNegativeBalanceInterestHistory.js b/examples/apidoc/PortfolioClient/getPortfolioNegativeBalanceInterestHistory.js new file mode 100644 index 0000000..ba10cf5 --- /dev/null +++ b/examples/apidoc/PortfolioClient/getPortfolioNegativeBalanceInterestHistory.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/portfolio/interest-history + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getPortfolioNegativeBalanceInterestHistory(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getUMADLQuantile.js b/examples/apidoc/PortfolioClient/getUMADLQuantile.js new file mode 100644 index 0000000..bb73380 --- /dev/null +++ b/examples/apidoc/PortfolioClient/getUMADLQuantile.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/um/adlQuantile + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getUMADLQuantile(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getUMAccount.js b/examples/apidoc/PortfolioClient/getUMAccount.js new file mode 100644 index 0000000..691955f --- /dev/null +++ b/examples/apidoc/PortfolioClient/getUMAccount.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/um/account + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getUMAccount(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getUMAccountConfig.js b/examples/apidoc/PortfolioClient/getUMAccountConfig.js new file mode 100644 index 0000000..524cb97 --- /dev/null +++ b/examples/apidoc/PortfolioClient/getUMAccountConfig.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/um/accountConfig + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getUMAccountConfig(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getUMAccountV2.js b/examples/apidoc/PortfolioClient/getUMAccountV2.js new file mode 100644 index 0000000..ca67b39 --- /dev/null +++ b/examples/apidoc/PortfolioClient/getUMAccountV2.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v2/um/account + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getUMAccountV2(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getUMCommissionRate.js b/examples/apidoc/PortfolioClient/getUMCommissionRate.js new file mode 100644 index 0000000..decdd85 --- /dev/null +++ b/examples/apidoc/PortfolioClient/getUMCommissionRate.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/um/commissionRate + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getUMCommissionRate(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getUMConditionalOrderHistory.js b/examples/apidoc/PortfolioClient/getUMConditionalOrderHistory.js new file mode 100644 index 0000000..8567e3a --- /dev/null +++ b/examples/apidoc/PortfolioClient/getUMConditionalOrderHistory.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/um/conditional/orderHistory + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getUMConditionalOrderHistory(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getUMFeeBurnStatus.js b/examples/apidoc/PortfolioClient/getUMFeeBurnStatus.js new file mode 100644 index 0000000..b18481a --- /dev/null +++ b/examples/apidoc/PortfolioClient/getUMFeeBurnStatus.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/um/feeBurn + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getUMFeeBurnStatus(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getUMForceOrders.js b/examples/apidoc/PortfolioClient/getUMForceOrders.js new file mode 100644 index 0000000..5b61cb3 --- /dev/null +++ b/examples/apidoc/PortfolioClient/getUMForceOrders.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/um/forceOrders + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getUMForceOrders(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getUMIncomeHistory.js b/examples/apidoc/PortfolioClient/getUMIncomeHistory.js new file mode 100644 index 0000000..dcc2087 --- /dev/null +++ b/examples/apidoc/PortfolioClient/getUMIncomeHistory.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/um/income + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getUMIncomeHistory(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getUMLeverageBrackets.js b/examples/apidoc/PortfolioClient/getUMLeverageBrackets.js new file mode 100644 index 0000000..d1a1bee --- /dev/null +++ b/examples/apidoc/PortfolioClient/getUMLeverageBrackets.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/um/leverageBracket + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getUMLeverageBrackets(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getUMOpenConditionalOrder.js b/examples/apidoc/PortfolioClient/getUMOpenConditionalOrder.js new file mode 100644 index 0000000..a2c11b5 --- /dev/null +++ b/examples/apidoc/PortfolioClient/getUMOpenConditionalOrder.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/um/conditional/openOrder + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getUMOpenConditionalOrder(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getUMOpenConditionalOrders.js b/examples/apidoc/PortfolioClient/getUMOpenConditionalOrders.js new file mode 100644 index 0000000..658545e --- /dev/null +++ b/examples/apidoc/PortfolioClient/getUMOpenConditionalOrders.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/um/conditional/openOrders + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getUMOpenConditionalOrders(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getUMOpenOrder.js b/examples/apidoc/PortfolioClient/getUMOpenOrder.js new file mode 100644 index 0000000..1da8a52 --- /dev/null +++ b/examples/apidoc/PortfolioClient/getUMOpenOrder.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/um/openOrder + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getUMOpenOrder(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getUMOrder.js b/examples/apidoc/PortfolioClient/getUMOrder.js new file mode 100644 index 0000000..056d2d7 --- /dev/null +++ b/examples/apidoc/PortfolioClient/getUMOrder.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/um/order + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getUMOrder(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getUMOrderDownloadLink.js b/examples/apidoc/PortfolioClient/getUMOrderDownloadLink.js new file mode 100644 index 0000000..08291c8 --- /dev/null +++ b/examples/apidoc/PortfolioClient/getUMOrderDownloadLink.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/um/order/asyn/id + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getUMOrderDownloadLink(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getUMOrderHistoryDownloadId.js b/examples/apidoc/PortfolioClient/getUMOrderHistoryDownloadId.js new file mode 100644 index 0000000..52426a6 --- /dev/null +++ b/examples/apidoc/PortfolioClient/getUMOrderHistoryDownloadId.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/um/order/asyn + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getUMOrderHistoryDownloadId(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getUMOrderModificationHistory.js b/examples/apidoc/PortfolioClient/getUMOrderModificationHistory.js new file mode 100644 index 0000000..b3b6b6c --- /dev/null +++ b/examples/apidoc/PortfolioClient/getUMOrderModificationHistory.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/um/orderAmendment + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getUMOrderModificationHistory(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getUMPosition.js b/examples/apidoc/PortfolioClient/getUMPosition.js new file mode 100644 index 0000000..af75b44 --- /dev/null +++ b/examples/apidoc/PortfolioClient/getUMPosition.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/um/positionRisk + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getUMPosition(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getUMPositionMode.js b/examples/apidoc/PortfolioClient/getUMPositionMode.js new file mode 100644 index 0000000..5b71370 --- /dev/null +++ b/examples/apidoc/PortfolioClient/getUMPositionMode.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/um/positionSide/dual + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getUMPositionMode(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getUMSymbolConfig.js b/examples/apidoc/PortfolioClient/getUMSymbolConfig.js new file mode 100644 index 0000000..58c5fc9 --- /dev/null +++ b/examples/apidoc/PortfolioClient/getUMSymbolConfig.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/um/symbolConfig + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getUMSymbolConfig(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getUMTradeDownloadLink.js b/examples/apidoc/PortfolioClient/getUMTradeDownloadLink.js new file mode 100644 index 0000000..ea666e1 --- /dev/null +++ b/examples/apidoc/PortfolioClient/getUMTradeDownloadLink.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/um/trade/asyn/id + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getUMTradeDownloadLink(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getUMTradeHistoryDownloadId.js b/examples/apidoc/PortfolioClient/getUMTradeHistoryDownloadId.js new file mode 100644 index 0000000..9c77f36 --- /dev/null +++ b/examples/apidoc/PortfolioClient/getUMTradeHistoryDownloadId.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/um/trade/asyn + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getUMTradeHistoryDownloadId(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getUMTrades.js b/examples/apidoc/PortfolioClient/getUMTrades.js new file mode 100644 index 0000000..f3ad275 --- /dev/null +++ b/examples/apidoc/PortfolioClient/getUMTrades.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/um/userTrades + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getUMTrades(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getUMTradingStatus.js b/examples/apidoc/PortfolioClient/getUMTradingStatus.js new file mode 100644 index 0000000..dc52ec7 --- /dev/null +++ b/examples/apidoc/PortfolioClient/getUMTradingStatus.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/um/apiTradingStatus + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getUMTradingStatus(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getUMTransactionDownloadLink.js b/examples/apidoc/PortfolioClient/getUMTransactionDownloadLink.js new file mode 100644 index 0000000..599f673 --- /dev/null +++ b/examples/apidoc/PortfolioClient/getUMTransactionDownloadLink.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/um/income/asyn/id + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getUMTransactionDownloadLink(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/getUMTransactionHistoryDownloadId.js b/examples/apidoc/PortfolioClient/getUMTransactionHistoryDownloadId.js new file mode 100644 index 0000000..4567670 --- /dev/null +++ b/examples/apidoc/PortfolioClient/getUMTransactionHistoryDownloadId.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/um/income/asyn + // METHOD: GET + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.getUMTransactionHistoryDownloadId(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/keepAlivePMUserDataListenKey.js b/examples/apidoc/PortfolioClient/keepAlivePMUserDataListenKey.js new file mode 100644 index 0000000..38c229f --- /dev/null +++ b/examples/apidoc/PortfolioClient/keepAlivePMUserDataListenKey.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/listenKey + // METHOD: PUT + // PUBLIC: YES + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.keepAlivePMUserDataListenKey(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/modifyCMOrder.js b/examples/apidoc/PortfolioClient/modifyCMOrder.js new file mode 100644 index 0000000..1b74387 --- /dev/null +++ b/examples/apidoc/PortfolioClient/modifyCMOrder.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/cm/order + // METHOD: PUT + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.modifyCMOrder(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/modifyUMOrder.js b/examples/apidoc/PortfolioClient/modifyUMOrder.js new file mode 100644 index 0000000..e13c620 --- /dev/null +++ b/examples/apidoc/PortfolioClient/modifyUMOrder.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/um/order + // METHOD: PUT + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.modifyUMOrder(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/repayFuturesNegativeBalance.js b/examples/apidoc/PortfolioClient/repayFuturesNegativeBalance.js new file mode 100644 index 0000000..630e9a0 --- /dev/null +++ b/examples/apidoc/PortfolioClient/repayFuturesNegativeBalance.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/repay-futures-negative-balance + // METHOD: POST + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.repayFuturesNegativeBalance(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/repayMarginDebt.js b/examples/apidoc/PortfolioClient/repayMarginDebt.js new file mode 100644 index 0000000..e85bc68 --- /dev/null +++ b/examples/apidoc/PortfolioClient/repayMarginDebt.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/margin/repay-debt + // METHOD: POST + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.repayMarginDebt(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/submitMarginLoan.js b/examples/apidoc/PortfolioClient/submitMarginLoan.js new file mode 100644 index 0000000..e921fa3 --- /dev/null +++ b/examples/apidoc/PortfolioClient/submitMarginLoan.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/marginLoan + // METHOD: POST + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.submitMarginLoan(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/submitMarginRepay.js b/examples/apidoc/PortfolioClient/submitMarginRepay.js new file mode 100644 index 0000000..faed36f --- /dev/null +++ b/examples/apidoc/PortfolioClient/submitMarginRepay.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/repayLoan + // METHOD: POST + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.submitMarginRepay(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/submitNewCMConditionalOrder.js b/examples/apidoc/PortfolioClient/submitNewCMConditionalOrder.js new file mode 100644 index 0000000..5052396 --- /dev/null +++ b/examples/apidoc/PortfolioClient/submitNewCMConditionalOrder.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/cm/conditional/order + // METHOD: POST + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.submitNewCMConditionalOrder(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/submitNewCMOrder.js b/examples/apidoc/PortfolioClient/submitNewCMOrder.js new file mode 100644 index 0000000..1b4d521 --- /dev/null +++ b/examples/apidoc/PortfolioClient/submitNewCMOrder.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/cm/order + // METHOD: POST + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.submitNewCMOrder(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/submitNewMarginOCO.js b/examples/apidoc/PortfolioClient/submitNewMarginOCO.js new file mode 100644 index 0000000..8cd91cf --- /dev/null +++ b/examples/apidoc/PortfolioClient/submitNewMarginOCO.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/margin/order/oco + // METHOD: POST + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.submitNewMarginOCO(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/submitNewMarginOrder.js b/examples/apidoc/PortfolioClient/submitNewMarginOrder.js new file mode 100644 index 0000000..536df05 --- /dev/null +++ b/examples/apidoc/PortfolioClient/submitNewMarginOrder.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/margin/order + // METHOD: POST + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.submitNewMarginOrder(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/submitNewUMConditionalOrder.js b/examples/apidoc/PortfolioClient/submitNewUMConditionalOrder.js new file mode 100644 index 0000000..aed37db --- /dev/null +++ b/examples/apidoc/PortfolioClient/submitNewUMConditionalOrder.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/um/conditional/order + // METHOD: POST + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.submitNewUMConditionalOrder(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/submitNewUMOrder.js b/examples/apidoc/PortfolioClient/submitNewUMOrder.js new file mode 100644 index 0000000..123e45b --- /dev/null +++ b/examples/apidoc/PortfolioClient/submitNewUMOrder.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/um/order + // METHOD: POST + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.submitNewUMOrder(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/testConnectivity.js b/examples/apidoc/PortfolioClient/testConnectivity.js new file mode 100644 index 0000000..afcb535 --- /dev/null +++ b/examples/apidoc/PortfolioClient/testConnectivity.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/ping + // METHOD: GET + // PUBLIC: YES + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.testConnectivity(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/toggleUMFeeBurn.js b/examples/apidoc/PortfolioClient/toggleUMFeeBurn.js new file mode 100644 index 0000000..deffc70 --- /dev/null +++ b/examples/apidoc/PortfolioClient/toggleUMFeeBurn.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/um/feeBurn + // METHOD: POST + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.toggleUMFeeBurn(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/transferAssetFuturesMargin.js b/examples/apidoc/PortfolioClient/transferAssetFuturesMargin.js new file mode 100644 index 0000000..72e2c8d --- /dev/null +++ b/examples/apidoc/PortfolioClient/transferAssetFuturesMargin.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/asset-collection + // METHOD: POST + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.transferAssetFuturesMargin(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/transferBNB.js b/examples/apidoc/PortfolioClient/transferBNB.js new file mode 100644 index 0000000..1897341 --- /dev/null +++ b/examples/apidoc/PortfolioClient/transferBNB.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/bnb-transfer + // METHOD: POST + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.transferBNB(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/updateAutoRepayFuturesStatus.js b/examples/apidoc/PortfolioClient/updateAutoRepayFuturesStatus.js new file mode 100644 index 0000000..57b6227 --- /dev/null +++ b/examples/apidoc/PortfolioClient/updateAutoRepayFuturesStatus.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/repay-futures-switch + // METHOD: POST + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.updateAutoRepayFuturesStatus(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/updateCMLeverage.js b/examples/apidoc/PortfolioClient/updateCMLeverage.js new file mode 100644 index 0000000..1652a54 --- /dev/null +++ b/examples/apidoc/PortfolioClient/updateCMLeverage.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/cm/leverage + // METHOD: POST + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.updateCMLeverage(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/updateCMPositionMode.js b/examples/apidoc/PortfolioClient/updateCMPositionMode.js new file mode 100644 index 0000000..9f35a8b --- /dev/null +++ b/examples/apidoc/PortfolioClient/updateCMPositionMode.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/cm/positionSide/dual + // METHOD: POST + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.updateCMPositionMode(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/updateUMLeverage.js b/examples/apidoc/PortfolioClient/updateUMLeverage.js new file mode 100644 index 0000000..9b140ed --- /dev/null +++ b/examples/apidoc/PortfolioClient/updateUMLeverage.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/um/leverage + // METHOD: POST + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.updateUMLeverage(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); diff --git a/examples/apidoc/PortfolioClient/updateUMPositionMode.js b/examples/apidoc/PortfolioClient/updateUMPositionMode.js new file mode 100644 index 0000000..253e399 --- /dev/null +++ b/examples/apidoc/PortfolioClient/updateUMPositionMode.js @@ -0,0 +1,20 @@ +const { PortfolioClient } = require('binance'); + + // This example shows how to call this Binance API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "binance" for Binance exchange + // This Binance API SDK is available on npm via "npm install binance" + // ENDPOINT: papi/v1/um/positionSide/dual + // METHOD: POST + // PUBLIC: NO + +const client = new PortfolioClient({ + api_key: 'insert_api_key_here', + api_secret: 'insert_api_secret_here', +}); + +client.updateUMPositionMode(params) + .then((response) => { + console.log(response); + }) + .catch((error) => { + console.error(error); + }); From 9cf5ddf5323f4cd50c7d4277e8b49fd2121136cf Mon Sep 17 00:00:00 2001 From: JJ-Cro Date: Mon, 6 Jan 2025 10:34:01 +0100 Subject: [PATCH 3/3] chore(): update linter --- src/main-client.ts | 40 ++++----- src/types/spot.ts | 213 ++++++++++++++++++++++----------------------- 2 files changed, 126 insertions(+), 127 deletions(-) diff --git a/src/main-client.ts b/src/main-client.ts index dabb110..38511c4 100644 --- a/src/main-client.ts +++ b/src/main-client.ts @@ -2420,8 +2420,6 @@ export class MainClient extends BaseRestClient { return this.postPrivate('sapi/v1/sol-staking/sol/claim'); } - - /** * * STAKING Endpoints - SOL Staking- History @@ -2473,13 +2471,18 @@ export class MainClient extends BaseRestClient { rows: SolBoostRewardsHistoryRecord[]; total: number; }> { - return this.getPrivate('sapi/v1/sol-staking/sol/history/boostRewardsHistory', params); + return this.getPrivate( + 'sapi/v1/sol-staking/sol/history/boostRewardsHistory', + params, + ); } - getSolUnclaimedRewards(): Promise<{ - amount: string; - rewardsAsset: string; - }[]> { + getSolUnclaimedRewards(): Promise< + { + amount: string; + rewardsAsset: string; + }[] + > { return this.getPrivate('sapi/v1/sol-staking/sol/history/unclaimedRewards'); } @@ -2712,7 +2715,7 @@ export class MainClient extends BaseRestClient { } repayCryptoLoanFlexibleWithCollateral( - params: RepayCryptoLoanFlexibleWithCollateralParams + params: RepayCryptoLoanFlexibleWithCollateralParams, ): Promise { return this.postPrivate('sapi/v2/loan/flexible/repay/collateral', params); } @@ -2741,12 +2744,10 @@ export class MainClient extends BaseRestClient { ); } - getFlexibleLoanCollateralRepayRate( - params: { - loanCoin: string; - collateralCoin: string; - } - ): Promise<{ + getFlexibleLoanCollateralRepayRate(params: { + loanCoin: string; + collateralCoin: string; + }): Promise<{ loanCoin: string; collateralCoin: string; rate: string; @@ -2754,7 +2755,6 @@ export class MainClient extends BaseRestClient { return this.getPrivate('sapi/v2/loan/flexible/repay/rate', params); } - getLoanFlexibleBorrowHistory( params: GetFlexibleCryptoLoanBorrowHistoryParams, ): Promise<{ @@ -2774,7 +2774,7 @@ export class MainClient extends BaseRestClient { } getFlexibleLoanLiquidationHistory( - params?: GetFlexibleLoanLiquidationHistoryParams + params?: GetFlexibleLoanLiquidationHistoryParams, ): Promise<{ rows: FlexibleLoanLiquidationHistoryRecord[]; total: number; @@ -2791,8 +2791,6 @@ export class MainClient extends BaseRestClient { return this.getPrivate('sapi/v2/loan/flexible/repay/history', params); } - - /** * * CRYPTO LOAN Endpoints - Stable rate - Market data @@ -3504,12 +3502,14 @@ export class MainClient extends BaseRestClient { return this.getPrivate('sapi/v1/portfolio/balance', params); } - mintPortfolioMarginBFUSD(params: PMProMintBFUSDParams): Promise { + mintPortfolioMarginBFUSD( + params: PMProMintBFUSDParams, + ): Promise { return this.postPrivate('sapi/v1/portfolio/mint', params); } redeemPortfolioMarginBFUSD(params: { - fromAsset: string; // BFUSD only + fromAsset: string; // BFUSD only targetAsset: string; // USDT only amount: number; }): Promise { diff --git a/src/types/spot.ts b/src/types/spot.ts index 139e857..da370c8 100644 --- a/src/types/spot.ts +++ b/src/types/spot.ts @@ -709,12 +709,12 @@ export type OrderResponseTypeFor< > = RT extends 'ACK' ? OrderResponseACK : RT extends 'RESULT' - ? OrderResponseResult - : RT extends 'FULL' - ? OrderResponseFull - : T extends 'MARKET' | 'LIMIT' - ? OrderResponseFull - : OrderResponseACK; + ? OrderResponseResult + : RT extends 'FULL' + ? OrderResponseFull + : T extends 'MARKET' | 'LIMIT' + ? OrderResponseFull + : OrderResponseACK; export interface OrderListOrder { symbol: string; @@ -844,19 +844,19 @@ export interface ReplaceSpotOrderCancelAllFailure export interface ReplaceSpotOrderResultError { data: - | ReplaceSpotOrderCancelStopFailure - | ReplaceSpotOrderNewFailure - | ReplaceSpotOrderCancelAllowFailure - | ReplaceSpotOrderCancelAllFailure; + | ReplaceSpotOrderCancelStopFailure + | ReplaceSpotOrderNewFailure + | ReplaceSpotOrderCancelAllowFailure + | ReplaceSpotOrderCancelAllFailure; } export interface ReplaceSpotOrderResultSuccess< T extends OrderType = OrderType, RT extends OrderResponseType | undefined = OrderResponseType, > extends GenericReplaceSpotOrderResult< - CancelSpotOrderResult, - OrderResponseTypeFor -> { + CancelSpotOrderResult, + OrderResponseTypeFor + > { cancelResult: 'SUCCESS'; newOrderResult: 'SUCCESS'; } @@ -2179,11 +2179,11 @@ export interface ManagedSubAccountTransferLogParams { limit: number; transfers?: 'from' | 'to'; transferFunctionAccountType?: - | 'SPOT' - | 'MARGIN' - | 'ISOLATED_MARGIN' - | 'USDT_FUTURE' - | 'COIN_FUTURE'; + | 'SPOT' + | 'MARGIN' + | 'ISOLATED_MARGIN' + | 'USDT_FUTURE' + | 'COIN_FUTURE'; } export interface ManagerSubTransferHistoryVos { @@ -2571,11 +2571,11 @@ export interface MarginInterestHistory { interest: string; interestRate: string; type: - | 'PERIODIC' - | 'ON_BORROW' - | 'PERIODIC_CONVERTED' - | 'ON_BORROW_CONVERTED' - | 'PORTFOLIO'; + | 'PERIODIC' + | 'ON_BORROW' + | 'PERIODIC_CONVERTED' + | 'ON_BORROW_CONVERTED' + | 'PORTFOLIO'; isolatedSymbol?: string; } @@ -3051,13 +3051,13 @@ export interface SubscribeDualInvestmentProductResponse { export interface GetDualInvestmentPositionsParams { status?: - | 'PENDING' - | 'PURCHASE_SUCCESS' - | 'SETTLED' - | 'PURCHASE_FAIL' - | 'REFUNDING' - | 'REFUND_SUCCESS' - | 'SETTLING'; + | 'PENDING' + | 'PURCHASE_SUCCESS' + | 'SETTLED' + | 'PURCHASE_FAIL' + | 'REFUNDING' + | 'REFUND_SUCCESS' + | 'SETTLING'; pageSize?: number; pageIndex?: number; } @@ -3122,12 +3122,12 @@ export interface GetTargetAssetListResponse { export interface GetTargetAssetROIParams { targetAsset: string; hisRoiType: - | 'FIVE_YEAR' - | 'THREE_YEAR' - | 'ONE_YEAR' - | 'SIX_MONTH' - | 'THREE_MONTH' - | 'SEVEN_DAY'; + | 'FIVE_YEAR' + | 'THREE_YEAR' + | 'ONE_YEAR' + | 'SIX_MONTH' + | 'THREE_MONTH' + | 'SEVEN_DAY'; } export interface TargetAssetROI { @@ -3170,23 +3170,23 @@ export interface CreateInvestmentPlanParams { indexId?: number; subscriptionAmount: number; subscriptionCycle: - | 'H1' - | 'H4' - | 'H8' - | 'H12' - | 'WEEKLY' - | 'DAILY' - | 'MONTHLY' - | 'BI_WEEKLY'; + | 'H1' + | 'H4' + | 'H8' + | 'H12' + | 'WEEKLY' + | 'DAILY' + | 'MONTHLY' + | 'BI_WEEKLY'; subscriptionStartDay?: number; subscriptionStartWeekday?: - | 'MON' - | 'TUE' - | 'WED' - | 'THU' - | 'FRI' - | 'SAT' - | 'SUN'; + | 'MON' + | 'TUE' + | 'WED' + | 'THU' + | 'FRI' + | 'SAT' + | 'SUN'; subscriptionStartTime: number; sourceAsset: string; flexibleAllowedToUse: boolean; @@ -3202,23 +3202,23 @@ export interface EditInvestmentPlanParams { planId: number; subscriptionAmount: number; subscriptionCycle: - | 'H1' - | 'H4' - | 'H8' - | 'H12' - | 'WEEKLY' - | 'DAILY' - | 'MONTHLY' - | 'BI_WEEKLY'; + | 'H1' + | 'H4' + | 'H8' + | 'H12' + | 'WEEKLY' + | 'DAILY' + | 'MONTHLY' + | 'BI_WEEKLY'; subscriptionStartDay?: number; subscriptionStartWeekday?: - | 'MON' - | 'TUE' - | 'WED' - | 'THU' - | 'FRI' - | 'SAT' - | 'SUN'; + | 'MON' + | 'TUE' + | 'WED' + | 'THU' + | 'FRI' + | 'SAT' + | 'SUN'; subscriptionStartTime: number; sourceAsset: string; flexibleAllowedToUse?: boolean; @@ -4578,8 +4578,8 @@ export interface GetFlexibleLoanLiquidationHistoryParams { collateralCoin?: string; startTime?: number; endTime?: number; - current?: number; // Default: 1, max: 1000 - limit?: number; // Default: 10, max: 100 + current?: number; // Default: 1, max: 1000 + limit?: number; // Default: 10, max: 100 recvWindow?: number; } @@ -4631,12 +4631,11 @@ export interface RepayCryptoFlexibleLoanResponse { repayStatus: 'Repaid' | 'Repaying' | 'Failed'; } - export interface RepayCryptoLoanFlexibleWithCollateralParams { loanCoin: string; collateralCoin: string; - repayAmount: number; // Amount of loan to repay - fullRepayment?: boolean; // Default: FALSE + repayAmount: number; // Amount of loan to repay + fullRepayment?: boolean; // Default: FALSE } export interface RepayCryptoLoanFlexibleWithCollateralResponse { @@ -5198,10 +5197,10 @@ export interface SubmitMarginOTOOrderParams { newOrderRespType?: 'ACK' | 'RESULT' | 'FULL'; sideEffectType?: 'NO_SIDE_EFFECT' | 'MARGIN_BUY'; selfTradePreventionMode?: - | 'EXPIRE_TAKER' - | 'EXPIRE_MAKER' - | 'EXPIRE_BOTH' - | 'NONE'; + | 'EXPIRE_TAKER' + | 'EXPIRE_MAKER' + | 'EXPIRE_BOTH' + | 'NONE'; autoRepayAtCancel?: boolean; workingType: 'LIMIT' | 'LIMIT_MAKER'; workingSide: 'BUY' | 'SELL'; @@ -5261,10 +5260,10 @@ export interface SubmitMarginOTOCOOrderParams { listClientOrderId?: string; newOrderRespType?: 'ACK' | 'RESULT' | 'FULL'; selfTradePreventionMode?: - | 'EXPIRE_TAKER' - | 'EXPIRE_MAKER' - | 'EXPIRE_BOTH' - | 'NONE'; + | 'EXPIRE_TAKER' + | 'EXPIRE_MAKER' + | 'EXPIRE_BOTH' + | 'NONE'; workingType: 'LIMIT' | 'LIMIT_MAKER'; workingSide: 'BUY' | 'SELL'; workingClientOrderId?: string; @@ -5315,30 +5314,30 @@ export interface MarginOTOCOOrder { executedQty: string; cummulativeQuoteQty: string; status: - | 'NEW' - | 'PARTIALLY_FILLED' - | 'FILLED' - | 'CANCELED' - | 'PENDING_CANCEL' - | 'REJECTED' - | 'EXPIRED' - | 'PENDING_NEW'; + | 'NEW' + | 'PARTIALLY_FILLED' + | 'FILLED' + | 'CANCELED' + | 'PENDING_CANCEL' + | 'REJECTED' + | 'EXPIRED' + | 'PENDING_NEW'; timeInForce: 'GTC' | 'IOC' | 'FOK'; type: - | 'LIMIT' - | 'MARKET' - | 'STOP_LOSS' - | 'STOP_LOSS_LIMIT' - | 'TAKE_PROFIT' - | 'TAKE_PROFIT_LIMIT' - | 'LIMIT_MAKER'; + | 'LIMIT' + | 'MARKET' + | 'STOP_LOSS' + | 'STOP_LOSS_LIMIT' + | 'TAKE_PROFIT' + | 'TAKE_PROFIT_LIMIT' + | 'LIMIT_MAKER'; side: 'BUY' | 'SELL'; stopPrice?: string; selfTradePreventionMode: - | 'EXPIRE_TAKER' - | 'EXPIRE_MAKER' - | 'EXPIRE_BOTH' - | 'NONE'; + | 'EXPIRE_TAKER' + | 'EXPIRE_MAKER' + | 'EXPIRE_BOTH' + | 'NONE'; }[]; } @@ -5473,7 +5472,7 @@ export interface SolBoostRewardsHistoryRecord { token: string; amount: string; bnsolHolding?: string; // Only present if type is "DISTRIBUTE" - status?: string; // Only present if type is "CLAIM" + status?: string; // Only present if type is "CLAIM" } export interface BnsolRateHistoryRecord { @@ -5496,13 +5495,13 @@ export interface PortfolioMarginProSpanAccountInfo { marginMM: string; otherMM: string; accountStatus: - | 'NORMAL' - | 'MARGIN_CALL' - | 'SUPPLY_MARGIN' - | 'REDUCE_ONLY' - | 'ACTIVE_LIQUIDATION' - | 'FORCE_LIQUIDATION' - | 'BANKRUPTED'; + | 'NORMAL' + | 'MARGIN_CALL' + | 'SUPPLY_MARGIN' + | 'REDUCE_ONLY' + | 'ACTIVE_LIQUIDATION' + | 'FORCE_LIQUIDATION' + | 'BANKRUPTED'; accountType: 'PM_1' | 'PM_2' | 'PM_3'; // PM_1 for classic PM, PM_2 for PM, PM_3 for PM Pro(SPAN) } @@ -5525,7 +5524,7 @@ export interface PortfolioMarginProAccountBalance { } export interface PMProMintBFUSDParams { - fromAsset: string; // USDT only + fromAsset: string; // USDT only targetAsset: string; // BFUSD only amount: number; }