ccxt
ccxt copied to clipboard
Expose a callback function while the orderbook changes while watching the orderbook, ticker, etc with ccxt.pro
- Binance market symbols do not follow naming conventions strictly. For example, Most of the exchanges name a swap trading symbol as BTC/USDT:USDT, but binance names a swap(actually, binance call swap 'future') trading symbol as BTC/USDT, without the suffix :USDT
- While watching an orderbook(or ticker etc...) with ccxt.pro, why not expose an callback function while the orderbook changed? This will improve scalability a lot, while we can write the data into a third party storage/cache, such as redis, mongo or mysql for further analysis.
Hello @zhangxf55
Binance market symbols do not follow naming conventions strictly. For example, Most of the exchanges name a swap trading symbol as BTC/USDT:USDT, but binance names a swap(actually, binance call swap 'future') trading symbol as BTC/USDT, without the suffix :USDT
Yes binance is one of the only exchanges that does not have yet symbols unified; we're working on it hopefully will be fixed soon
While watching an orderbook(or ticker etc...) with ccxt.pro, why not expose an callback function while the orderbook changed?
Thanks for your suggestion; we will take it into consideration
Yes, we plan to implement subscribe/unsubscribe event-driver approach in near future.
Any updates?