-
-
Notifications
You must be signed in to change notification settings - Fork 265
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(): updated latest changes per release notes - as of 03-11-2024
- Loading branch information
Showing
15 changed files
with
819 additions
and
535 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
20 changes: 20 additions & 0 deletions
20
examples/apidoc/CoinMClient/getDownloadIdForFuturesOrderHistory.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
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/asyn | ||
// METHOD: GET | ||
// PUBLIC: NO | ||
|
||
const client = new CoinMClient({ | ||
apiKey: 'insert_api_key_here', | ||
apiSecret: 'insert_api_secret_here', | ||
}); | ||
|
||
client.getDownloadIdForFuturesOrderHistory(params) | ||
.then((response) => { | ||
console.log(response); | ||
}) | ||
.catch((error) => { | ||
console.error(error); | ||
}); |
20 changes: 20 additions & 0 deletions
20
examples/apidoc/CoinMClient/getDownloadIdForFuturesTradeHistory.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
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/trade/asyn | ||
// METHOD: GET | ||
// PUBLIC: NO | ||
|
||
const client = new CoinMClient({ | ||
apiKey: 'insert_api_key_here', | ||
apiSecret: 'insert_api_secret_here', | ||
}); | ||
|
||
client.getDownloadIdForFuturesTradeHistory(params) | ||
.then((response) => { | ||
console.log(response); | ||
}) | ||
.catch((error) => { | ||
console.error(error); | ||
}); |
20 changes: 20 additions & 0 deletions
20
examples/apidoc/CoinMClient/getDownloadIdForFuturesTransactionHistory.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
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/income/asyn | ||
// METHOD: GET | ||
// PUBLIC: NO | ||
|
||
const client = new CoinMClient({ | ||
apiKey: 'insert_api_key_here', | ||
apiSecret: 'insert_api_secret_here', | ||
}); | ||
|
||
client.getDownloadIdForFuturesTransactionHistory(params) | ||
.then((response) => { | ||
console.log(response); | ||
}) | ||
.catch((error) => { | ||
console.error(error); | ||
}); |
20 changes: 20 additions & 0 deletions
20
examples/apidoc/CoinMClient/getFuturesOrderHistoryDownloadLink.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
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/asyn/id | ||
// METHOD: GET | ||
// PUBLIC: NO | ||
|
||
const client = new CoinMClient({ | ||
apiKey: 'insert_api_key_here', | ||
apiSecret: 'insert_api_secret_here', | ||
}); | ||
|
||
client.getFuturesOrderHistoryDownloadLink(params) | ||
.then((response) => { | ||
console.log(response); | ||
}) | ||
.catch((error) => { | ||
console.error(error); | ||
}); |
20 changes: 20 additions & 0 deletions
20
examples/apidoc/CoinMClient/getFuturesTradeHistoryDownloadLink.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
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/trade/asyn/id | ||
// METHOD: GET | ||
// PUBLIC: NO | ||
|
||
const client = new CoinMClient({ | ||
apiKey: 'insert_api_key_here', | ||
apiSecret: 'insert_api_secret_here', | ||
}); | ||
|
||
client.getFuturesTradeHistoryDownloadLink(params) | ||
.then((response) => { | ||
console.log(response); | ||
}) | ||
.catch((error) => { | ||
console.error(error); | ||
}); |
20 changes: 20 additions & 0 deletions
20
examples/apidoc/CoinMClient/getFuturesTransactionHistoryDownloadLink.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
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/income/asyn/id | ||
// METHOD: GET | ||
// PUBLIC: NO | ||
|
||
const client = new CoinMClient({ | ||
apiKey: 'insert_api_key_here', | ||
apiSecret: 'insert_api_secret_here', | ||
}); | ||
|
||
client.getFuturesTransactionHistoryDownloadLink(params) | ||
.then((response) => { | ||
console.log(response); | ||
}) | ||
.catch((error) => { | ||
console.error(error); | ||
}); |
20 changes: 20 additions & 0 deletions
20
examples/apidoc/MainClient/getPortfolioMarginProAccountBalance.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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/balance | ||
// METHOD: GET | ||
// PUBLIC: NO | ||
|
||
const client = new MainClient({ | ||
apiKey: 'insert_api_key_here', | ||
apiSecret: 'insert_api_secret_here', | ||
}); | ||
|
||
client.getPortfolioMarginProAccountBalance(params) | ||
.then((response) => { | ||
console.log(response); | ||
}) | ||
.catch((error) => { | ||
console.error(error); | ||
}); |
20 changes: 20 additions & 0 deletions
20
examples/apidoc/MainClient/getPortfolioMarginProSpanAccountInfo.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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/portfolio/account | ||
// METHOD: GET | ||
// PUBLIC: NO | ||
|
||
const client = new MainClient({ | ||
apiKey: 'insert_api_key_here', | ||
apiSecret: 'insert_api_secret_here', | ||
}); | ||
|
||
client.getPortfolioMarginProSpanAccountInfo(params) | ||
.then((response) => { | ||
console.log(response); | ||
}) | ||
.catch((error) => { | ||
console.error(error); | ||
}); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.