Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(): update examples #477

Closed
wants to merge 11 commits into from
  •  
  •  
  •  
110 changes: 109 additions & 1 deletion docs/endpointFunctionList.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions examples/apidoc/CoinMClient/cancelAllOpenOrders.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ const { CoinMClient } = require('binance');
// PUBLIC: NO

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
apiSecret: 'insert_api_secret_here',
api_key: 'insert_api_key_here',
api_secret: 'insert_api_secret_here',
});

client.cancelAllOpenOrders(params)
Expand Down
4 changes: 2 additions & 2 deletions examples/apidoc/CoinMClient/cancelMultipleOrders.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ const { CoinMClient } = require('binance');
// PUBLIC: NO

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
apiSecret: 'insert_api_secret_here',
api_key: 'insert_api_key_here',
api_secret: 'insert_api_secret_here',
});

client.cancelMultipleOrders(params)
Expand Down
4 changes: 2 additions & 2 deletions examples/apidoc/CoinMClient/cancelOrder.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ const { CoinMClient } = require('binance');
// PUBLIC: NO

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
apiSecret: 'insert_api_secret_here',
api_key: 'insert_api_key_here',
api_secret: 'insert_api_secret_here',
});

client.cancelOrder(params)
Expand Down
4 changes: 2 additions & 2 deletions examples/apidoc/CoinMClient/closeFuturesUserDataListenKey.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ const { CoinMClient } = require('binance');
// PUBLIC: YES

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
apiSecret: 'insert_api_secret_here',
api_key: 'insert_api_key_here',
api_secret: 'insert_api_secret_here',
});

client.closeFuturesUserDataListenKey(params)
Expand Down
4 changes: 2 additions & 2 deletions examples/apidoc/CoinMClient/get24hrChangeStatistics.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ const { CoinMClient } = require('binance');
// PUBLIC: YES

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
apiSecret: 'insert_api_secret_here',
api_key: 'insert_api_key_here',
api_secret: 'insert_api_secret_here',
});

client.get24hrChangeStatistics(params)
Expand Down
4 changes: 2 additions & 2 deletions examples/apidoc/CoinMClient/get24hrChangeStatististics.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ const { CoinMClient } = require('binance');
// PUBLIC: YES

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
apiSecret: 'insert_api_secret_here',
api_key: 'insert_api_key_here',
api_secret: 'insert_api_secret_here',
});

client.get24hrChangeStatististics(params)
Expand Down
4 changes: 2 additions & 2 deletions examples/apidoc/CoinMClient/getADLQuantileEstimation.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ const { CoinMClient } = require('binance');
// PUBLIC: NO

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
apiSecret: 'insert_api_secret_here',
api_key: 'insert_api_key_here',
api_secret: 'insert_api_secret_here',
});

client.getADLQuantileEstimation(params)
Expand Down
4 changes: 2 additions & 2 deletions examples/apidoc/CoinMClient/getAccountComissionRate.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ const { CoinMClient } = require('binance');
// PUBLIC: NO

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
apiSecret: 'insert_api_secret_here',
api_key: 'insert_api_key_here',
api_secret: 'insert_api_secret_here',
});

client.getAccountComissionRate(params)
Expand Down
4 changes: 2 additions & 2 deletions examples/apidoc/CoinMClient/getAccountCommissionRate.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ const { CoinMClient } = require('binance');
// PUBLIC: NO

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
apiSecret: 'insert_api_secret_here',
api_key: 'insert_api_key_here',
api_secret: 'insert_api_secret_here',
});

client.getAccountCommissionRate(params)
Expand Down
4 changes: 2 additions & 2 deletions examples/apidoc/CoinMClient/getAccountInformation.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ const { CoinMClient } = require('binance');
// PUBLIC: NO

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
apiSecret: 'insert_api_secret_here',
api_key: 'insert_api_key_here',
api_secret: 'insert_api_secret_here',
});

client.getAccountInformation(params)
Expand Down
4 changes: 2 additions & 2 deletions examples/apidoc/CoinMClient/getAccountTrades.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ const { CoinMClient } = require('binance');
// PUBLIC: NO

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
apiSecret: 'insert_api_secret_here',
api_key: 'insert_api_key_here',
api_secret: 'insert_api_secret_here',
});

client.getAccountTrades(params)
Expand Down
4 changes: 2 additions & 2 deletions examples/apidoc/CoinMClient/getAggregateTrades.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ const { CoinMClient } = require('binance');
// PUBLIC: YES

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
apiSecret: 'insert_api_secret_here',
api_key: 'insert_api_key_here',
api_secret: 'insert_api_secret_here',
});

client.getAggregateTrades(params)
Expand Down
4 changes: 2 additions & 2 deletions examples/apidoc/CoinMClient/getAllOpenOrders.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ const { CoinMClient } = require('binance');
// PUBLIC: NO

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
apiSecret: 'insert_api_secret_here',
api_key: 'insert_api_key_here',
api_secret: 'insert_api_secret_here',
});

client.getAllOpenOrders(params)
Expand Down
4 changes: 2 additions & 2 deletions examples/apidoc/CoinMClient/getAllOrders.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ const { CoinMClient } = require('binance');
// PUBLIC: NO

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
apiSecret: 'insert_api_secret_here',
api_key: 'insert_api_key_here',
api_secret: 'insert_api_secret_here',
});

client.getAllOrders(params)
Expand Down
4 changes: 2 additions & 2 deletions examples/apidoc/CoinMClient/getBalance.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ const { CoinMClient } = require('binance');
// PUBLIC: NO

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
apiSecret: 'insert_api_secret_here',
api_key: 'insert_api_key_here',
api_secret: 'insert_api_secret_here',
});

client.getBalance(params)
Expand Down
4 changes: 2 additions & 2 deletions examples/apidoc/CoinMClient/getBrokerClientCustomIds.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ const { CoinMClient } = require('binance');
// PUBLIC: NO

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
apiSecret: 'insert_api_secret_here',
api_key: 'insert_api_key_here',
api_secret: 'insert_api_secret_here',
});

client.getBrokerClientCustomIds(params)
Expand Down
4 changes: 2 additions & 2 deletions examples/apidoc/CoinMClient/getBrokerIfNewFuturesUser.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ const { CoinMClient } = require('binance');
// PUBLIC: NO

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
apiSecret: 'insert_api_secret_here',
api_key: 'insert_api_key_here',
api_secret: 'insert_api_secret_here',
});

client.getBrokerIfNewFuturesUser(params)
Expand Down
4 changes: 2 additions & 2 deletions examples/apidoc/CoinMClient/getBrokerRebateDataOverview.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ const { CoinMClient } = require('binance');
// PUBLIC: NO

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
apiSecret: 'insert_api_secret_here',
api_key: 'insert_api_key_here',
api_secret: 'insert_api_secret_here',
});

client.getBrokerRebateDataOverview(params)
Expand Down
4 changes: 2 additions & 2 deletions examples/apidoc/CoinMClient/getBrokerRebateVolume.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ const { CoinMClient } = require('binance');
// PUBLIC: NO

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
apiSecret: 'insert_api_secret_here',
api_key: 'insert_api_key_here',
api_secret: 'insert_api_secret_here',
});

client.getBrokerRebateVolume(params)
Expand Down
4 changes: 2 additions & 2 deletions examples/apidoc/CoinMClient/getBrokerTradeDetail.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ const { CoinMClient } = require('binance');
// PUBLIC: NO

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
apiSecret: 'insert_api_secret_here',
api_key: 'insert_api_key_here',
api_secret: 'insert_api_secret_here',
});

client.getBrokerTradeDetail(params)
Expand Down
4 changes: 2 additions & 2 deletions examples/apidoc/CoinMClient/getBrokerUserCustomId.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ const { CoinMClient } = require('binance');
// PUBLIC: NO

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
apiSecret: 'insert_api_secret_here',
api_key: 'insert_api_key_here',
api_secret: 'insert_api_secret_here',
});

client.getBrokerUserCustomId(params)
Expand Down
4 changes: 2 additions & 2 deletions examples/apidoc/CoinMClient/getBrokerUserTradeVolume.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ const { CoinMClient } = require('binance');
// PUBLIC: NO

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
apiSecret: 'insert_api_secret_here',
api_key: 'insert_api_key_here',
api_secret: 'insert_api_secret_here',
});

client.getBrokerUserTradeVolume(params)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ const { CoinMClient } = require('binance');
// PUBLIC: NO

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
apiSecret: 'insert_api_secret_here',
api_key: 'insert_api_key_here',
api_secret: 'insert_api_secret_here',
});

client.getClassicPortfolioMarginAccount(params)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ const { CoinMClient } = require('binance');
// PUBLIC: NO

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
apiSecret: 'insert_api_secret_here',
api_key: 'insert_api_key_here',
api_secret: 'insert_api_secret_here',
});

client.getClassicPortfolioMarginNotionalLimits(params)
Expand Down
4 changes: 2 additions & 2 deletions examples/apidoc/CoinMClient/getCompositeSymbolIndex.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ const { CoinMClient } = require('binance');
// PUBLIC: YES

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
apiSecret: 'insert_api_secret_here',
api_key: 'insert_api_key_here',
api_secret: 'insert_api_secret_here',
});

client.getCompositeSymbolIndex(params)
Expand Down
4 changes: 2 additions & 2 deletions examples/apidoc/CoinMClient/getContinuousContractKlines.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ const { CoinMClient } = require('binance');
// PUBLIC: YES

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
apiSecret: 'insert_api_secret_here',
api_key: 'insert_api_key_here',
api_secret: 'insert_api_secret_here',
});

client.getContinuousContractKlines(params)
Expand Down
4 changes: 2 additions & 2 deletions examples/apidoc/CoinMClient/getCurrentOpenOrder.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ const { CoinMClient } = require('binance');
// PUBLIC: NO

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
apiSecret: 'insert_api_secret_here',
api_key: 'insert_api_key_here',
api_secret: 'insert_api_secret_here',
});

client.getCurrentOpenOrder(params)
Expand Down
4 changes: 2 additions & 2 deletions examples/apidoc/CoinMClient/getCurrentPositionMode.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ const { CoinMClient } = require('binance');
// PUBLIC: NO

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
apiSecret: 'insert_api_secret_here',
api_key: 'insert_api_key_here',
api_secret: 'insert_api_secret_here',
});

client.getCurrentPositionMode(params)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ const { CoinMClient } = require('binance');
// PUBLIC: NO

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
apiSecret: 'insert_api_secret_here',
api_key: 'insert_api_key_here',
api_secret: 'insert_api_secret_here',
});

client.getDownloadIdForFuturesOrderHistory(params)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ const { CoinMClient } = require('binance');
// PUBLIC: NO

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
apiSecret: 'insert_api_secret_here',
api_key: 'insert_api_key_here',
api_secret: 'insert_api_secret_here',
});

client.getDownloadIdForFuturesTradeHistory(params)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ const { CoinMClient } = require('binance');
// PUBLIC: NO

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
apiSecret: 'insert_api_secret_here',
api_key: 'insert_api_key_here',
api_secret: 'insert_api_secret_here',
});

client.getDownloadIdForFuturesTransactionHistory(params)
Expand Down
4 changes: 2 additions & 2 deletions examples/apidoc/CoinMClient/getExchangeInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ const { CoinMClient } = require('binance');
// PUBLIC: YES

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
apiSecret: 'insert_api_secret_here',
api_key: 'insert_api_key_here',
api_secret: 'insert_api_secret_here',
});

client.getExchangeInfo(params)
Expand Down
4 changes: 2 additions & 2 deletions examples/apidoc/CoinMClient/getForceOrders.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ const { CoinMClient } = require('binance');
// PUBLIC: NO

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
apiSecret: 'insert_api_secret_here',
api_key: 'insert_api_key_here',
api_secret: 'insert_api_secret_here',
});

client.getForceOrders(params)
Expand Down
4 changes: 2 additions & 2 deletions examples/apidoc/CoinMClient/getFundingRate.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ const { CoinMClient } = require('binance');
// PUBLIC: YES

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
apiSecret: 'insert_api_secret_here',
api_key: 'insert_api_key_here',
api_secret: 'insert_api_secret_here',
});

client.getFundingRate(params)
Expand Down
4 changes: 2 additions & 2 deletions examples/apidoc/CoinMClient/getFundingRateHistory.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ const { CoinMClient } = require('binance');
// PUBLIC: YES

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
apiSecret: 'insert_api_secret_here',
api_key: 'insert_api_key_here',
api_secret: 'insert_api_secret_here',
});

client.getFundingRateHistory(params)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ const { CoinMClient } = require('binance');
// PUBLIC: NO

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
apiSecret: 'insert_api_secret_here',
api_key: 'insert_api_key_here',
api_secret: 'insert_api_secret_here',
});

client.getFuturesOrderHistoryDownloadLink(params)
Expand Down
Loading
Loading