ccapi icon indicating copy to clipboard operation
ccapi copied to clipboard

few issues with some exchanges

Open go-dockly opened this issue 1 year ago • 1 comments

Few issues I come across:

  • running ccapi in batch mode results in memory leak despite .Purge() / does not occur if fanning
  • "bitget": no trade id is collected while available (made changes in the .h file recompiled but somehow the change is not reflected - not sure why I can't seem to update the c++ code)
  • "bitget-futures": no trade id is collected while available
  • "kraken-futures": collects orderbook snapshots fine but collects trades only for some seconds then fails with pong timeout: failed before opening even the socket was just open timestamps are off
  • "deribit": collects orderbook snapshots fine but no trades: ERROR_MESSAGE = rapidjson internal assertion failure
  • "kucoin-futures": ERROR_MESSAGE = {"id":"0","type":"error","code":400,"data":"topic :BTC-USDT_/contractMarket/execution is invalid"} while symbol used is BTC-USDT without underscore somehow the lib is adding it

go-dockly avatar Feb 08 '24 05:02 go-dockly

image Can confirm, get segfaults after running the script for a few hours.

I've checked heaptrack as well and the memory leaks are present

g-tejas avatar May 03 '24 11:05 g-tejas