Skip to content

Commit

Permalink
fcoin fetchOpenOrders + fetchClosedOrders cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
kroitor authored Jul 3, 2018
1 parent 71840b7 commit 76476b8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions js/fcoin.js
Original file line number Diff line number Diff line change
Expand Up @@ -382,14 +382,12 @@ module.exports = class fcoin extends Exchange {
}

async fetchOpenOrders (symbol = undefined, since = undefined, limit = undefined, params = {}) {
let result = undefined;
result = await this.fetchOrders (symbol, since, limit, { 'states': 'submitted' });
let result = await this.fetchOrders (symbol, since, limit, { 'states': 'submitted' });
return result;
}

async fetchClosedOrders (symbol = undefined, since = undefined, limit = undefined, params = {}) {
let result = undefined;
result = await this.fetchOrders (symbol, since, limit, { 'states': 'filled' });
let result = await this.fetchOrders (symbol, since, limit, { 'states': 'filled' });
return result;
}

Expand Down

0 comments on commit 76476b8

Please sign in to comment.