Change getOrderTradeRecords to getTradeRecords

This commit is contained in:
Stefan Aebischer
2020-01-17 21:45:05 -05:00
parent d8c7a551a4
commit ac8ed45ef5
2 changed files with 3 additions and 3 deletions

View File

@@ -169,7 +169,7 @@ module.exports = class RestClient {
return await this.request.get('/open-api/funding/predicted-funding', params);
}
async getOrderTradeRecords(params) {
async getTradeRecords(params) {
assert(params, 'No params passed');
assert(params.order_id, 'Parameter order_id is required');