Replies: 1 comment 2 replies
-
@jb33k although vectorbt has 'vector' in its name, it doesn't actually do any vectorized backtesting - it follows a sequential approach just like most other libraries. But in contrast to them, vectorbt can accept inputs as arrays, broadcast them in a smart way, and do the backtesting by going row by row, column by column. You can still simulate in an event-driven mode using The main limitations are the following:
vectorbt has some room to grow to compete with other backtesters in terms of functionality, but it clearly outperforms them in terms of speed, extensibility, and the number of analysis tools. Plus its backtesting engine is becoming more and more validated against other frameworks such as backtrader (as demonstrated here), it just requires a slightly different way of thinking. |
Beta Was this translation helpful? Give feedback.
-
I'm currently evaluating different backtesting libraries and vectorbt looks incredibly interesting. However, whenever you research backtesting tools, you hear warnings against vectorized backtesting tools due to them not simulating realistic trade execution, so I was wondering how does vectorbt handle the trade execution, liquidity, slippage, etc.? I checked the docs but didn't find anything about this.
Beta Was this translation helpful? Give feedback.
All reactions