Skip to content

Commit

Permalink
Merge pull request #468 from JJ-Cro/WSUpdate
Browse files Browse the repository at this point in the history
feat(): added latency fn, updated examples
  • Loading branch information
tiagosiebler authored Oct 18, 2024
2 parents 3c92933 + 31175eb commit 998c53e
Show file tree
Hide file tree
Showing 582 changed files with 477 additions and 996 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ util/config.js
coverage/
yarn-error.log
lib/*
testfile.ts
privaterepotracker
restClientRegex.ts
832 changes: 416 additions & 416 deletions docs/endpointFunctionList.md

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion examples/apidoc/CoinMClient/cancelAllOpenOrders.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const { CoinMClient } = require('binance');
// ENDPOINT: dapi/v1/allOpenOrders
// METHOD: DELETE
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L364

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CoinMClient/cancelMultipleOrders.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const { CoinMClient } = require('binance');
// ENDPOINT: dapi/v1/batchOrders
// METHOD: DELETE
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L344

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CoinMClient/cancelOrder.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const { CoinMClient } = require('binance');
// ENDPOINT: dapi/v1/order
// METHOD: DELETE
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L340

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const { CoinMClient } = require('binance');
// ENDPOINT: dapi/v1/listenKey
// METHOD: DELETE
// PUBLIC: YES
// Link to function: https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L631

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CoinMClient/get24hrChangeStatistics.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const { CoinMClient } = require('binance');
// ENDPOINT: dapi/v1/ticker/24hr
// METHOD: GET
// PUBLIC: YES
// Link to function: https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L203

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CoinMClient/get24hrChangeStatististics.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const { CoinMClient } = require('binance');
// ENDPOINT: dapi/v1/ticker/24hr
// METHOD: GET
// PUBLIC: YES
// Link to function: https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L197

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CoinMClient/getADLQuantileEstimation.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const { CoinMClient } = require('binance');
// ENDPOINT: dapi/v1/adlQuantile
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L419

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CoinMClient/getAccountComissionRate.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const { CoinMClient } = require('binance');
// ENDPOINT: dapi/v1/commissionRate
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L444

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CoinMClient/getAccountInformation.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const { CoinMClient } = require('binance');
// ENDPOINT: dapi/v1/account
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L450

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CoinMClient/getAccountTrades.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const { CoinMClient } = require('binance');
// ENDPOINT: dapi/v1/userTrades
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L397

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CoinMClient/getAggregateTrades.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const { CoinMClient } = require('binance');
// ENDPOINT: dapi/v1/aggTrades
// METHOD: GET
// PUBLIC: YES
// Link to function: https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L147

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CoinMClient/getAllOpenOrders.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const { CoinMClient } = require('binance');
// ENDPOINT: dapi/v1/openOrders
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L385

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CoinMClient/getAllOrders.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const { CoinMClient } = require('binance');
// ENDPOINT: dapi/v1/allOrders
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L381

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CoinMClient/getBalance.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const { CoinMClient } = require('binance');
// ENDPOINT: dapi/v1/balance
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L440

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CoinMClient/getBrokerClientCustomIds.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const { CoinMClient } = require('binance');
// ENDPOINT: dapi/v1/apiReferral/customization
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L534

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CoinMClient/getBrokerIfNewFuturesUser.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const { CoinMClient } = require('binance');
// ENDPOINT: dapi/v1/apiReferral/ifNewUser
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L508

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CoinMClient/getBrokerRebateDataOverview.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const { CoinMClient } = require('binance');
// ENDPOINT: dapi/v1/apiReferral/overview
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L560

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CoinMClient/getBrokerRebateVolume.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const { CoinMClient } = require('binance');
// ENDPOINT: dapi/v1/apiReferral/rebateVol
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L586

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CoinMClient/getBrokerTradeDetail.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const { CoinMClient } = require('binance');
// ENDPOINT: dapi/v1/apiReferral/traderSummary
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L603

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CoinMClient/getBrokerUserCustomId.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const { CoinMClient } = require('binance');
// ENDPOINT: dapi/v1/apiReferral/userCustomization
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L551

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CoinMClient/getBrokerUserTradeVolume.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const { CoinMClient } = require('binance');
// ENDPOINT: dapi/v1/apiReferral/tradeVol
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L569

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const { CoinMClient } = require('binance');
// ENDPOINT: dapi/v1/pmAccountInfo
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L480

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const { CoinMClient } = require('binance');
// ENDPOINT: dapi/v1/pmExchangeInfo
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L489

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CoinMClient/getCompositeSymbolIndex.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const { CoinMClient } = require('binance');
// ENDPOINT: futures/data/basis
// METHOD: GET
// PUBLIC: YES
// Link to function: https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L255

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CoinMClient/getContinuousContractKlines.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const { CoinMClient } = require('binance');
// ENDPOINT: dapi/v1/continuousKlines
// METHOD: GET
// PUBLIC: YES
// Link to function: https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L176

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CoinMClient/getCurrentOpenOrder.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const { CoinMClient } = require('binance');
// ENDPOINT: dapi/v1/openOrder
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L389

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CoinMClient/getCurrentPositionMode.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const { CoinMClient } = require('binance');
// ENDPOINT: dapi/v1/positionSide/dual
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L466

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CoinMClient/getExchangeInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const { CoinMClient } = require('binance');
// ENDPOINT: dapi/v1/exchangeInfo
// METHOD: GET
// PUBLIC: YES
// Link to function: https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L129

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CoinMClient/getForceOrders.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const { CoinMClient } = require('binance');
// ENDPOINT: dapi/v1/forceOrders
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L393

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CoinMClient/getFundingRate.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const { CoinMClient } = require('binance');
// ENDPOINT: dapi/v1/fundingInfo
// METHOD: GET
// PUBLIC: YES
// Link to function: https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L168

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CoinMClient/getFundingRateHistory.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const { CoinMClient } = require('binance');
// ENDPOINT: dapi/v1/fundingRate
// METHOD: GET
// PUBLIC: YES
// Link to function: https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L162

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CoinMClient/getFuturesUserDataListenKey.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const { CoinMClient } = require('binance');
// ENDPOINT: dapi/v1/listenKey
// METHOD: POST
// PUBLIC: YES
// Link to function: https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L623

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const { CoinMClient } = require('binance');
// ENDPOINT: futures/data/globalLongShortAccountRatio
// METHOD: GET
// PUBLIC: YES
// Link to function: https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L243

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CoinMClient/getHistoricalTrades.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const { CoinMClient } = require('binance');
// ENDPOINT: dapi/v1/historicalTrades
// METHOD: GET
// PUBLIC: YES
// Link to function: https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L141

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CoinMClient/getIncomeHistory.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const { CoinMClient } = require('binance');
// ENDPOINT: dapi/v1/income
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L470

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CoinMClient/getIndexPriceConstituents.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const { CoinMClient } = require('binance');
// ENDPOINT: dapi/v1/constituents
// METHOD: GET
// PUBLIC: YES
// Link to function: https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L263

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CoinMClient/getIndexPriceKlines.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const { CoinMClient } = require('binance');
// ENDPOINT: dapi/v1/indexPriceKlines
// METHOD: GET
// PUBLIC: YES
// Link to function: https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L182

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CoinMClient/getKlines.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const { CoinMClient } = require('binance');
// ENDPOINT: dapi/v1/klines
// METHOD: GET
// PUBLIC: YES
// Link to function: https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L172

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CoinMClient/getMarkPrice.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const { CoinMClient } = require('binance');
// ENDPOINT: dapi/v1/premiumIndex
// METHOD: GET
// PUBLIC: YES
// Link to function: https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L156

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CoinMClient/getMarkPriceKlines.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const { CoinMClient } = require('binance');
// ENDPOINT: dapi/v1/markPriceKlines
// METHOD: GET
// PUBLIC: YES
// Link to function: https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L186

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const { CoinMClient } = require('binance');
// ENDPOINT: dapi/v2/leverageBracket
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L457

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CoinMClient/getOpenInterest.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const { CoinMClient } = require('binance');
// ENDPOINT: dapi/v1/openInterest
// METHOD: GET
// PUBLIC: YES
// Link to function: https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L223

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CoinMClient/getOpenInterestStatistics.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const { CoinMClient } = require('binance');
// ENDPOINT: futures/data/openInterestHist
// METHOD: GET
// PUBLIC: YES
// Link to function: https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L227

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CoinMClient/getOrder.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const { CoinMClient } = require('binance');
// ENDPOINT: dapi/v1/order
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L377

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CoinMClient/getOrderBook.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const { CoinMClient } = require('binance');
// ENDPOINT: dapi/v1/depth
// METHOD: GET
// PUBLIC: YES
// Link to function: https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L133

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CoinMClient/getOrderModifyHistory.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const { CoinMClient } = require('binance');
// ENDPOINT: dapi/v1/orderAmendment
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L334

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const { CoinMClient } = require('binance');
// ENDPOINT: dapi/v1/positionMargin/history
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L429

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CoinMClient/getPositions.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const { CoinMClient } = require('binance');
// ENDPOINT: dapi/v1/positionRisk
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L403

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
Expand Down
1 change: 0 additions & 1 deletion examples/apidoc/CoinMClient/getPremiumIndexKlines.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const { CoinMClient } = require('binance');
// ENDPOINT: dapi/v1/premiumIndexKlines
// METHOD: GET
// PUBLIC: YES
// Link to function: https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L190

const client = new CoinMClient({
apiKey: 'insert_api_key_here',
Expand Down
Loading

0 comments on commit 998c53e

Please sign in to comment.