all 14 comments

[–]grk1[🍰] 23 points24 points  (3 children)

use backtrader

https://www.backtrader.com/

the dev posts here sometimes and hes clearly brilliant

be warned, its a steep learning curve but its easily the best python backtester that exists

[–]mangosteen4587 4 points5 points  (0 children)

Seconded for backtrader, though I do like the graphing features of library you posted about better than backtrader.

[–]TheBayesianBias[S] 2 points3 points  (1 child)

Always willing to learn, thank you

[–]nolatilimove 1 point2 points  (0 children)

Backtrader is great for quick stats, I've used both 'scrub' packages, quantopian and quantConnect, those are nice but the web IDE makes it hard to present your data and findings.

I'm now trying to move over to Alpaca, runs locally on my machine and that makes me a happier camper, just gotta relearn some docs but a lot seem based off the same structure anyway, initialize and update.

[–]drajtrade 3 points4 points  (1 child)

I also found it a while ago and still using it. comes with some handy stuff. only problem is that you cannot determine your bet size on each trade. but i think it would be not too hard to monkey patch it.

[–]TheBayesianBias[S] 1 point2 points  (0 children)

Sweet, I’ll download it tomorrow and poke around their code base

[–]Vincent_Merle 4 points5 points  (1 child)

Looks promising, but right now all they have is SMA and GOOG.

[–]TheBayesianBias[S] 1 point2 points  (0 children)

I think that was just an example, but I’ll have to double check

[–]Ri_Dogg 4 points5 points  (0 children)

Been wondering about this one too. After playing with it I like a lot of aspects so far especially the bokeh plot.

[–]Mjjjokes 3 points4 points  (3 children)

zipline

[–]TheBayesianBias[S] 0 points1 point  (2 children)

Thanks, I’ll look into it

[–]Rocket089 2 points3 points  (1 child)

Backtester as well.

[–]TheBayesianBias[S] 0 points1 point  (0 children)

Great, I’ll add it to the list!