IPC removed, replaced by WS

This commit is contained in:
Luis Fernando Molina committed 2020-04-06 08:33:07 +02:00
1 parent ba4217fb24
commit 656c193511
503 files changed
+28128 -34498

No files matched your search

+8 -1
View File
@@ -542,9 +542,13 @@ module.exports = class yobit extends Exchange {
'filled': filled,
'fee': undefined,
// 'trades': this.parseTrades (order['trades'], market),
'info': response,
'clientOrderId': undefined,
'average': undefined,
'trades': undefined,
};
this.orders[id] = order;
return this.extend ({ 'info': response }, order);
return order;
}
async cancelOrder (id, symbol = undefined, params = {}) {
@@ -607,6 +611,7 @@ module.exports = class yobit extends Exchange {
const result = {
'info': order,
'id': id,
'clientOrderId': undefined,
'symbol': symbol,
'timestamp': timestamp,
'datetime': this.iso8601 (timestamp),
@@ -620,6 +625,8 @@ module.exports = class yobit extends Exchange {
'filled': filled,
'status': status,
'fee': fee,
'average': undefined,
'trades': undefined,
};
return result;
}