vectorbt icon indicating copy to clipboard operation
vectorbt copied to clipboard

Adding/removing cash and resuming simulation

Open polakowo opened this issue 3 years ago • 0 comments

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

polakowo avatar Sep 15 '21 07:09 polakowo