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

+5 -1
View File
@@ -175,6 +175,9 @@ module.exports = class stex extends Exchange {
'maker': 0.002,
},
},
'commonCurrencies': {
'BHD': 'Bithold',
},
'options': {
'parseOrderToPrecision': false,
},
@@ -504,7 +507,7 @@ module.exports = class stex extends Exchange {
let change = undefined;
let percentage = undefined;
if (last !== undefined) {
if (open !== undefined) {
if ((open !== undefined) && (open > 0)) {
change = last - open;
percentage = ((100 / open) * last) - 100;
}
@@ -915,6 +918,7 @@ module.exports = class stex extends Exchange {
const result = {
'info': order,
'id': id,
'clientOrderId': undefined,
'timestamp': timestamp,
'datetime': this.iso8601 (timestamp),
'lastTradeTimestamp': undefined,