Closed
Description
Hello.
From yesterday, Coinex started to give "Invalid argument" error when fetching order book.
Looks like they have made some minor changes to their API, and it was enough to break the ccxt file.
We have made a quick fix in the ccxt file and the problem was gone
async fetchOrderBook (symbol, params = {}) {
await this.loadMarkets ();
let response = await this.publicGetMarketDepth (this.extend ({
'market': this.marketId (symbol),
'merge': '0.00000001',
'limit': '5'
}, params));
return this.parseOrderBook (response['data']);
In this fix, we have only added this line
'limit': '5'
Hope it helps.
Metadata
Metadata
Assignees
Labels
No labels