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

+23
View File
@@ -71,6 +71,9 @@ module.exports = class independentreserve extends Exchange {
'tierBased': false,
},
},
'commonCurrencies': {
'PLA': 'PlayChip',
},
});
}
@@ -94,6 +97,9 @@ module.exports = class independentreserve extends Exchange {
'baseId': baseId,
'quoteId': quoteId,
'info': id,
'active': undefined,
'precision': this.precision,
'limits': this.limits,
});
}
}
@@ -171,6 +177,21 @@ module.exports = class independentreserve extends Exchange {
}
parseOrder (order, market = undefined) {
//
// {
// "OrderGuid": "c7347e4c-b865-4c94-8f74-d934d4b0b177",
// "CreatedTimestampUtc": "2014-09-23T12:39:34.3817763Z",
// "Type": "MarketBid",
// "VolumeOrdered": 5.0,
// "VolumeFilled": 5.0,
// "Price": null,
// "AvgPrice": 100.0,
// "ReservedAmount": 0.0,
// "Status": "Filled",
// "PrimaryCurrencyCode": "Xbt",
// "SecondaryCurrencyCode": "Usd"
// }
//
let symbol = undefined;
const baseId = this.safeString (order, 'PrimaryCurrencyCode');
const quoteId = this.safeString (order, 'PrimaryCurrencyCode');
@@ -227,6 +248,7 @@ module.exports = class independentreserve extends Exchange {
return {
'info': order,
'id': id,
'clientOrderId': undefined,
'timestamp': timestamp,
'datetime': this.iso8601 (timestamp),
'lastTradeTimestamp': undefined,
@@ -241,6 +263,7 @@ module.exports = class independentreserve extends Exchange {
'remaining': remaining,
'status': status,
'fee': fee,
'trades': undefined,
};
}