1,000,000 backtest simulations in 20 seconds with vectorbt

Also switched to polars. It's more performant than pandas 2.0 but I find the filter and select syntax on columns awkward.

At first I felt the same but I realised it's only because I had gotten used to Pandas. Now for most things, Polars seems more concise.
 
Oh for sure, polars is way more concise, but so is Kx (kdb). It comes down to learning curves. For a once written code that's not an issue but for daily profiling it surely takes time to get used to.

At first I felt the same but I realised it's only because I had gotten used to Pandas. Now for most things, Polars seems more concise.
 
Back
Top