Skip to content

Commit

Permalink
hitbtc2 fetchActiveOrder → fetchOpenOrder
Browse files Browse the repository at this point in the history
  • Loading branch information
kroitor committed Dec 31, 2017
1 parent 5d85c5e commit 3ab8c62
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion js/hitbtc2.js
Original file line number Diff line number Diff line change
Expand Up @@ -892,7 +892,7 @@ module.exports = class hitbtc2 extends hitbtc {
throw new OrderNotFound (this.id + ' order ' + id + ' not found');
}

async fetchActiveOrder (id, symbol = undefined, params = {}) {
async fetchOpenOrder (id, symbol = undefined, params = {}) {
await this.loadMarkets ();
let response = await this.privateGetOrderClientOrderId (this.extend ({
'clientOrderId': id,
Expand Down
1 change: 1 addition & 0 deletions transpile.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ const commonRegexes = [
[ /\.fetchMyTrades\s/g, '.fetch_my_trades'],
[ /\.fetchOrderStatus\s/g, '.fetch_order_status'],
[ /\.fetchOpenOrders\s/g, '.fetch_open_orders'],
[ /\.fetchOpenOrder\s/g, '.fetch_open_order'],
[ /\.fetchOrders\s/g, '.fetch_orders'],
[ /\.fetchOrder\s/g, '.fetch_order'],
[ /\.fetchTickers\s/g, '.fetch_tickers'],
Expand Down

0 comments on commit 3ab8c62

Please sign in to comment.