IPC removed, replaced by WS
This commit is contained in:
1 parent
ba4217fb24
commit
656c193511
503 files changed
+28128
-34498
No files matched your search
+2
-1
@@ -464,6 +464,7 @@ module.exports = class coinex extends Exchange {
|
||||
const side = this.safeString (order, 'type');
|
||||
return {
|
||||
'id': this.safeString (order, 'id'),
|
||||
'clientOrderId': undefined,
|
||||
'datetime': this.iso8601 (timestamp),
|
||||
'timestamp': timestamp,
|
||||
'lastTradeTimestamp': undefined,
|
||||
@@ -724,7 +725,7 @@ module.exports = class coinex extends Exchange {
|
||||
const code = this.safeCurrencyCode (currencyId, currency);
|
||||
const timestamp = this.safeTimestamp (transaction, 'create_time');
|
||||
const type = ('coin_withdraw_id' in transaction) ? 'withdraw' : 'deposit';
|
||||
const status = this.parseTransactionStatus (this.safeString (transaction, 'status'), type);
|
||||
const status = this.parseTransactionStatus (this.safeString (transaction, 'status'));
|
||||
const amount = this.safeFloat (transaction, 'amount');
|
||||
let feeCost = this.safeFloat (transaction, 'tx_fee');
|
||||
if (type === 'deposit') {
|
||||
|
||||
Reference in new issue
Block a user