stefan-jansen / zipline-reloaded

Zipline, a Pythonic Algorithmic Trading Library
https://zipline.ml4trading.io
Apache License 2.0
1.02k stars 198 forks source link

Live/Paper Trading #81

Closed noowfel closed 1 year ago

noowfel commented 2 years ago

Dear Zipline Maintainers,

Just wondering if there is an example of live trading with this library ? I cannot find one. Any help ?

Sincerely, noowfel

MBounouar commented 2 years ago

There isn't. It should be possible to hook it to brokers like Interactive Brokers

noowfel commented 2 years ago

Do you know where I can find the documentation about the class/function to use? Thanks

MBounouar commented 2 years ago

There are several forks of zipline that implement the functionality, best to look at them directly. For instance, https://github.com/zipline-live/zipline

noowfel commented 2 years ago

Thank you. I think I might keep on using Backtrader but I am also tempted by quantconnect. May I ask what do you use/recommend ?

ajjcoppola commented 2 years ago

You can also look at the repo I maintain at: https://github.com/hotchilianalytics/zipline-broker and the other one that is a bit newer and is mostly Alpaca centric is https://github.com/shlomikushchi/zipline-trader

Am thinking about having a fork of zipline-reloaded that incorporates the live IB modules, yet not clear if it's worth it. Perhaps zipline-reloaded for backtesting engine, and separate trading module using exhaust from backtesting? I do trade daily on IB using zipline-broker.

noowfel commented 2 years ago

Looks good !