vectorbt
vectorbt copied to clipboard
Find your trading edge, using the fastest engine for backtesting, algorithmic trading, and research.
I am trying to build a custom environment that will be used for training an RL trading agent. VectorBT provides a lot of functionalities for building portfolios, so I want...
Hello there! Vectorbt is very straightforward for backtesting individual assets but I can't find any information about a portfolio performance? My code works for the individual performance but how do...
Hi, thank you for writing this amazing library. It is a very powerful yet simple to use backtrading library. My question is: is it possible for me to input an...
Hi, I am trying to import data from .csv file, which structure is exactly same as the csv's exported from yahoo finance (cryptocurrencies, so no AdjClose column). Is there any...
Hi, i am trying to download binance future klines, but i get the error TypeError: download_symbol() got an unexpected keyword argument 'klines_type' [https://github.com/sammchardy/python-binance/blob/8cac5eac94b71af6532aef128a8c815d7fc0c617/binance/client.py#L870](https://github.com/sammchardy/python-binance/blob/8cac5eac94b71af6532aef128a8c815d7fc0c617/binance/client.py#L870) ``` from binance.enums import HistoricalKlinesType symbols =...
I'm trying to run an example from the doc ``` price = pd.Series([1, 2, 3, 4, 5], dtype=float) vbt.MA.run(price, [2, 3]).ma ``` but is met with this assertion error `...
Is there a function/method that allows us to access the algorithm time? For example if you only want to accept trades during certain periods during the market session.
Hi, first of all, thanks for maintaining the project - it's really handy :) I'm learning about it and testing the different features; particularly, I like the hyper-paratemer optimisation for...
Hi, How to use vectorbt to be overweight and underweight backtesting? Thanks
Hi, Is the an helper that exits and that allow to exit after n candles during back test ? Many tks for nice lib ! Have a nice day.