ccxws
ccxws copied to clipboard
WebSocket client for 38 cryptocurrency exchanges
Price for L2 updates on Huobi can have 12 significant digits. Currently, ccxws uses 8 digits. ``` let asks = tick.asks ? tick.asks.map(p => new Level2Point(p[0].toFixed(8), p[1].toFixed(2))) : []; let...
#246
#248
Exchange URL https://bitbank.cc Exchange API URL https://docs.bitbank.cc/
Exchange URL https://coin.z.com/jp/ Exchange API URL https://api.coin.z.com/docs/#public-ws-api
Hi, thank you for good library, I found error message below. It seems that "changePrice" and "changeRate" type is string. ``` TypeError: Cannot read property 'toFixed' of undefined at KucoinClient._processTicker...
Hi. I love this repository and I found a bug. I got below error message... https://github.com/altangent/ccxws/blob/c7908b43d55a82c76b4ae9c851c5b76a94352e0c/src/exchanges/bitmex-client.js#L436 | TypeError: Cannot read property 'symbol' of undefined | at BitmexClient._onQuoteMessage (/app/node_modules/ccxws/src/exchanges/bitmex-client.js:436:33) | at...
I propose add l2depthStep: ```javascript // ccxws/src/exchanges/huobi-client.js class HuobiClient extends HuobiBase { constructor({ wssPath = "wss://api.huobi.pro/ws", watcherMs, l2depthStep } = {}) { //
(node:2725960) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with...