Skip to content

Commit

Permalink
added cointiger cancelOrder "unified" response
Browse files Browse the repository at this point in the history
  • Loading branch information
tankakatan committed May 30, 2018
1 parent 790bd9c commit 1007d7a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion js/cointiger.js
Expand Up @@ -510,10 +510,15 @@ module.exports = class cointiger extends huobipro {
if (typeof symbol === 'undefined')
throw new ExchangeError (this.id + ' cancelOrder requires a symbol argument');
let market = this.market (symbol);
return await this.privateDeleteOrder (this.extend ({
let response = await this.privateDeleteOrder (this.extend ({
'symbol': market['id'],
'order_id': id,
}, params));
return {
'id': id,
'symbol': symbol,
'info': response,
};
}

sign (path, api = 'public', method = 'GET', params = {}, headers = undefined, body = undefined) {
Expand Down

0 comments on commit 1007d7a

Please sign in to comment.