Change getOrderTradeRecords to getTradeRecords
This commit is contained in:
@@ -82,8 +82,8 @@ If you only use the [public endpoints](#public-endpoints) you can ommit key and
|
|||||||
#### async getPredictedFunding(params)
|
#### async getPredictedFunding(params)
|
||||||
[See bybit documentation](https://github.com/bybit-exchange/bybit-official-api-docs/blob/master/en/rest_api.md#get-predicted-funding-rate-and-funding-fee)
|
[See bybit documentation](https://github.com/bybit-exchange/bybit-official-api-docs/blob/master/en/rest_api.md#get-predicted-funding-rate-and-funding-fee)
|
||||||
|
|
||||||
#### async getOrderTradeRecords(params)
|
#### async getTradeRecords(params)
|
||||||
[See bybit documentation](https://github.com/bybit-exchange/bybit-official-api-docs/blob/master/en/rest_api.md#get-the-trade-records-of-a-order)
|
[See bybit documentation](https://github.com/bybit-exchange/bybit-official-api-docs/blob/master/en/rest_api.md#get-users-trade-records)
|
||||||
|
|
||||||
### Public enpoints
|
### Public enpoints
|
||||||
|
|
||||||
|
|||||||
@@ -169,7 +169,7 @@ module.exports = class RestClient {
|
|||||||
return await this.request.get('/open-api/funding/predicted-funding', params);
|
return await this.request.get('/open-api/funding/predicted-funding', params);
|
||||||
}
|
}
|
||||||
|
|
||||||
async getOrderTradeRecords(params) {
|
async getTradeRecords(params) {
|
||||||
assert(params, 'No params passed');
|
assert(params, 'No params passed');
|
||||||
assert(params.order_id, 'Parameter order_id is required');
|
assert(params.order_id, 'Parameter order_id is required');
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user