vectorbt
vectorbt copied to clipboard
Adding/removing cash and resuming simulation
Hi everyone! First of all big shot-out to @polakowo for making this great package.
My first question is about cash management. What I am trying to achieve is to add or withdraw cash on certain days of backtest. What is the best way to achieve that?
Secondly, I would like to save backtest (this is easy) and on the next day, when new market data arrive, load the backtest and extend it using new data. Is there a way to achieve this?
Thanks in advance!
Originally posted by @tomlupo in https://github.com/polakowo/vectorbt/discussions/238