这是我基于CCXT(lfern websockets分支)的开放源代码命令行python程序的演示,以订阅加密货币交换websockets并实时获取订单书https://github.com/firepol/ccxt-websockets-db-updater
它即时支持sqlite,但您也可以将其设置为使用postgresql。演示在Ubuntu Linux上完成,但是您当然也可以在Windows上使用。
这使用了这种依赖关系:https://github.com/firepol/ccxt-websockets
这是从lfern分支生成的转译python代码:https://github.com/lfern/ccxt/tree/feature/websockets-multiple
另请参阅:https://github.com/ccxt/ccxt/issues/56
官方CCXT git存储库:https://github.com/ccxt/ccxt
how this?
If you like this open source project (that you can adapt and use for your own trading bot), please star my github repository: https://github.com/firepol/ccxt-websockets-db-updater
if you have questions/trouble to get started feel free to open an issue (in the "Issues" page