Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 8 additions & 6 deletions examples/apidoc/CoinMClient/cancelAllOpenOrders.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
const { CoinMClient } = require('binance');
import { CoinMClient } from 'binance';
// or, if require is preferred:
// const { CoinMClient } = 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: dapi/v1/allOpenOrders
// METHOD: DELETE
// PUBLIC: NO
// 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: dapi/v1/allOpenOrders
// METHOD: DELETE
// PUBLIC: NO

const client = new CoinMClient({
api_key: 'insert_api_key_here',
Expand Down
14 changes: 8 additions & 6 deletions examples/apidoc/CoinMClient/cancelMultipleOrders.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
const { CoinMClient } = require('binance');
import { CoinMClient } from 'binance';
// or, if require is preferred:
// const { CoinMClient } = 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: dapi/v1/batchOrders
// METHOD: DELETE
// PUBLIC: NO
// 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: dapi/v1/batchOrders
// METHOD: DELETE
// PUBLIC: NO

const client = new CoinMClient({
api_key: 'insert_api_key_here',
Expand Down
14 changes: 8 additions & 6 deletions examples/apidoc/CoinMClient/cancelOrder.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
const { CoinMClient } = require('binance');
import { CoinMClient } from 'binance';
// or, if require is preferred:
// const { CoinMClient } = 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: dapi/v1/order
// METHOD: DELETE
// PUBLIC: NO
// 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: dapi/v1/order
// METHOD: DELETE
// PUBLIC: NO

const client = new CoinMClient({
api_key: 'insert_api_key_here',
Expand Down
14 changes: 8 additions & 6 deletions examples/apidoc/CoinMClient/closeFuturesUserDataListenKey.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
const { CoinMClient } = require('binance');
import { CoinMClient } from 'binance';
// or, if require is preferred:
// const { CoinMClient } = 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: dapi/v1/listenKey
// METHOD: DELETE
// PUBLIC: YES
// 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: dapi/v1/listenKey
// METHOD: DELETE
// PUBLIC: YES

const client = new CoinMClient({
api_key: 'insert_api_key_here',
Expand Down
14 changes: 8 additions & 6 deletions examples/apidoc/CoinMClient/get24hrChangeStatistics.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
const { CoinMClient } = require('binance');
import { CoinMClient } from 'binance';
// or, if require is preferred:
// const { CoinMClient } = 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: dapi/v1/ticker/24hr
// METHOD: GET
// PUBLIC: YES
// 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: dapi/v1/ticker/24hr
// METHOD: GET
// PUBLIC: YES

const client = new CoinMClient({
api_key: 'insert_api_key_here',
Expand Down
14 changes: 8 additions & 6 deletions examples/apidoc/CoinMClient/getADLQuantileEstimation.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
const { CoinMClient } = require('binance');
import { CoinMClient } from 'binance';
// or, if require is preferred:
// const { CoinMClient } = 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: dapi/v1/adlQuantile
// METHOD: GET
// PUBLIC: NO
// 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: dapi/v1/adlQuantile
// METHOD: GET
// PUBLIC: NO

const client = new CoinMClient({
api_key: 'insert_api_key_here',
Expand Down
14 changes: 8 additions & 6 deletions examples/apidoc/CoinMClient/getAccountCommissionRate.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
const { CoinMClient } = require('binance');
import { CoinMClient } from 'binance';
// or, if require is preferred:
// const { CoinMClient } = 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: dapi/v1/commissionRate
// METHOD: GET
// PUBLIC: NO
// 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: dapi/v1/commissionRate
// METHOD: GET
// PUBLIC: NO

const client = new CoinMClient({
api_key: 'insert_api_key_here',
Expand Down
14 changes: 8 additions & 6 deletions examples/apidoc/CoinMClient/getAccountInformation.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
const { CoinMClient } = require('binance');
import { CoinMClient } from 'binance';
// or, if require is preferred:
// const { CoinMClient } = 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: dapi/v1/account
// METHOD: GET
// PUBLIC: NO
// 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: dapi/v1/account
// METHOD: GET
// PUBLIC: NO

const client = new CoinMClient({
api_key: 'insert_api_key_here',
Expand Down
14 changes: 8 additions & 6 deletions examples/apidoc/CoinMClient/getAccountTrades.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
const { CoinMClient } = require('binance');
import { CoinMClient } from 'binance';
// or, if require is preferred:
// const { CoinMClient } = 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: dapi/v1/userTrades
// METHOD: GET
// PUBLIC: NO
// 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: dapi/v1/userTrades
// METHOD: GET
// PUBLIC: NO

const client = new CoinMClient({
api_key: 'insert_api_key_here',
Expand Down
14 changes: 8 additions & 6 deletions examples/apidoc/CoinMClient/getAggregateTrades.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
const { CoinMClient } = require('binance');
import { CoinMClient } from 'binance';
// or, if require is preferred:
// const { CoinMClient } = 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: dapi/v1/aggTrades
// METHOD: GET
// PUBLIC: YES
// 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: dapi/v1/aggTrades
// METHOD: GET
// PUBLIC: YES

const client = new CoinMClient({
api_key: 'insert_api_key_here',
Expand Down
14 changes: 8 additions & 6 deletions examples/apidoc/CoinMClient/getAllOpenOrders.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
const { CoinMClient } = require('binance');
import { CoinMClient } from 'binance';
// or, if require is preferred:
// const { CoinMClient } = 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: dapi/v1/openOrders
// METHOD: GET
// PUBLIC: NO
// 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: dapi/v1/openOrders
// METHOD: GET
// PUBLIC: NO

const client = new CoinMClient({
api_key: 'insert_api_key_here',
Expand Down
14 changes: 8 additions & 6 deletions examples/apidoc/CoinMClient/getAllOrders.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
const { CoinMClient } = require('binance');
import { CoinMClient } from 'binance';
// or, if require is preferred:
// const { CoinMClient } = 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: dapi/v1/allOrders
// METHOD: GET
// PUBLIC: NO
// 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: dapi/v1/allOrders
// METHOD: GET
// PUBLIC: NO

const client = new CoinMClient({
api_key: 'insert_api_key_here',
Expand Down
14 changes: 8 additions & 6 deletions examples/apidoc/CoinMClient/getBalance.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
const { CoinMClient } = require('binance');
import { CoinMClient } from 'binance';
// or, if require is preferred:
// const { CoinMClient } = 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: dapi/v1/balance
// METHOD: GET
// PUBLIC: NO
// 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: dapi/v1/balance
// METHOD: GET
// PUBLIC: NO

const client = new CoinMClient({
api_key: 'insert_api_key_here',
Expand Down
14 changes: 8 additions & 6 deletions examples/apidoc/CoinMClient/getBrokerClientCustomIds.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
const { CoinMClient } = require('binance');
import { CoinMClient } from 'binance';
// or, if require is preferred:
// const { CoinMClient } = 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: dapi/v1/apiReferral/customization
// METHOD: GET
// PUBLIC: NO
// 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: dapi/v1/apiReferral/customization
// METHOD: GET
// PUBLIC: NO

const client = new CoinMClient({
api_key: 'insert_api_key_here',
Expand Down
14 changes: 8 additions & 6 deletions examples/apidoc/CoinMClient/getBrokerIfNewFuturesUser.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
const { CoinMClient } = require('binance');
import { CoinMClient } from 'binance';
// or, if require is preferred:
// const { CoinMClient } = 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: dapi/v1/apiReferral/ifNewUser
// METHOD: GET
// PUBLIC: NO
// 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: dapi/v1/apiReferral/ifNewUser
// METHOD: GET
// PUBLIC: NO

const client = new CoinMClient({
api_key: 'insert_api_key_here',
Expand Down
14 changes: 8 additions & 6 deletions examples/apidoc/CoinMClient/getBrokerRebateDataOverview.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
const { CoinMClient } = require('binance');
import { CoinMClient } from 'binance';
// or, if require is preferred:
// const { CoinMClient } = 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: dapi/v1/apiReferral/overview
// METHOD: GET
// PUBLIC: NO
// 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: dapi/v1/apiReferral/overview
// METHOD: GET
// PUBLIC: NO

const client = new CoinMClient({
api_key: 'insert_api_key_here',
Expand Down
14 changes: 8 additions & 6 deletions examples/apidoc/CoinMClient/getBrokerRebateVolume.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
const { CoinMClient } = require('binance');
import { CoinMClient } from 'binance';
// or, if require is preferred:
// const { CoinMClient } = 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: dapi/v1/apiReferral/rebateVol
// METHOD: GET
// PUBLIC: NO
// 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: dapi/v1/apiReferral/rebateVol
// METHOD: GET
// PUBLIC: NO

const client = new CoinMClient({
api_key: 'insert_api_key_here',
Expand Down
14 changes: 8 additions & 6 deletions examples/apidoc/CoinMClient/getBrokerTradeDetail.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
const { CoinMClient } = require('binance');
import { CoinMClient } from 'binance';
// or, if require is preferred:
// const { CoinMClient } = 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: dapi/v1/apiReferral/traderSummary
// METHOD: GET
// PUBLIC: NO
// 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: dapi/v1/apiReferral/traderSummary
// METHOD: GET
// PUBLIC: NO

const client = new CoinMClient({
api_key: 'insert_api_key_here',
Expand Down
14 changes: 8 additions & 6 deletions examples/apidoc/CoinMClient/getBrokerUserCustomId.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
const { CoinMClient } = require('binance');
import { CoinMClient } from 'binance';
// or, if require is preferred:
// const { CoinMClient } = 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: dapi/v1/apiReferral/userCustomization
// METHOD: GET
// PUBLIC: NO
// 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: dapi/v1/apiReferral/userCustomization
// METHOD: GET
// PUBLIC: NO

const client = new CoinMClient({
api_key: 'insert_api_key_here',
Expand Down
14 changes: 8 additions & 6 deletions examples/apidoc/CoinMClient/getBrokerUserTradeVolume.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
const { CoinMClient } = require('binance');
import { CoinMClient } from 'binance';
// or, if require is preferred:
// const { CoinMClient } = 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: dapi/v1/apiReferral/tradeVol
// METHOD: GET
// PUBLIC: NO
// 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: dapi/v1/apiReferral/tradeVol
// METHOD: GET
// PUBLIC: NO

const client = new CoinMClient({
api_key: 'insert_api_key_here',
Expand Down
14 changes: 8 additions & 6 deletions examples/apidoc/CoinMClient/getClassicPortfolioMarginAccount.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
const { CoinMClient } = require('binance');
import { CoinMClient } from 'binance';
// or, if require is preferred:
// const { CoinMClient } = 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: dapi/v1/pmAccountInfo
// METHOD: GET
// PUBLIC: NO
// 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: dapi/v1/pmAccountInfo
// METHOD: GET
// PUBLIC: NO

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