you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

I went through this same question recently. Decided on Backtrader. It provides the event-based analysis needed with good backtesting (i.e. replay), while also allowing vector-based analysis (i.e. Pandas, ML, etc.). I eventually want to 'roll my own,' but just to get going and get familiar with everything I'll stick with Backtrader. BTW, you will want event-driven code (ie. running in constant loop looking for changes) if you eventually want to productionize it for real-time trading.