bybit-api
Advanced tools
Comparing version 1.1.8 to 1.1.9
@@ -77,2 +77,5 @@ # Rest API | ||
#### async getAssetExchangeRecords(params) | ||
[See bybit documentation](https://bybit-exchange.github.io/docs/inverse/#t-assetexchangerecords) | ||
#### async getWalletBalance(params) | ||
@@ -107,2 +110,11 @@ [See bybit documentation](https://bybit-exchange.github.io/docs/inverse/#t-balance) | ||
#### async getOpenInterest(params) | ||
[See bybit documentation](https://bybit-exchange.github.io/docs/inverse/#t-marketopeninterest) | ||
#### async getLatestBigDeal(params) | ||
[See bybit documentation](https://bybit-exchange.github.io/docs/inverse/#t-marketbigdeal) | ||
#### async getLongShortRatio(params) | ||
[See bybit documentation](https://bybit-exchange.github.io/docs/inverse/#t-marketaccountratio) | ||
#### async getLatestInformation() | ||
@@ -109,0 +121,0 @@ [See bybit documentation](https://bybit-exchange.github.io/docs/inverse/#t-latestsymbolinfo) |
@@ -155,2 +155,6 @@ | ||
async getAssetExchangeRecords(params) { | ||
return await this.request.get('v2/private/exchange-order/list', params); | ||
} | ||
async getWalletBalance(params) { | ||
@@ -218,2 +222,25 @@ assert(params, 'No params passed'); | ||
async getOpenInterest(params) { | ||
assert(params, 'No params passed'); | ||
assert(params.symbol, 'Parameter symbol is required'); | ||
assert(params.period, 'Parameter period is required'); | ||
return await this.request.get('v2/public/open-interest', params); | ||
} | ||
async getLatestBigDeal(params) { | ||
assert(params, 'No params passed'); | ||
assert(params.symbol, 'Parameter symbol is required'); | ||
return await this.request.get('v2/public/big-deal', params); | ||
} | ||
async getLongShortRatio(params) { | ||
assert(params, 'No params passed'); | ||
assert(params.symbol, 'Parameter symbol is required'); | ||
assert(params.period, 'Parameter period is required'); | ||
return await this.request.get('v2/public/account-ratio', params); | ||
} | ||
async getLatestInformation() { | ||
@@ -220,0 +247,0 @@ return await this.request.get('v2/public/tickers'); |
{ | ||
"name": "bybit-api", | ||
"version": "1.1.8", | ||
"version": "1.1.9", | ||
"description": "An unofficial node.js lowlevel wrapper for the Bybit Cryptocurrency Derivative exchange API", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
40513
14
527