PyInvesting

Discussion

Create own lists and copy backtests

5 years, 10 months ago 584 views

Hi Ivan,

I noticed you have some nice lists but I'd like to create custom lists so that I don't need to enter stocks manually in subsequent backtests.

In addition, would it be possible to copy backtests? Sometimes, I just want to modify a few parameters and compare the new backtest to the previous one; however if I use the "New Backtest" function, it overwrites the results. Thanks!

Contribute

Add to the discussion

Share an answer, source, or follow-up question.

2 replies

5 years, 10 months ago

Thanks Ivan! However, sometimes I do completely different simulations, and I'd like to build custom lists... Would it be possible?

For the second one - indeed I overlooked that :)

5 years, 10 months ago

Hi Fred, 

Thanks for your feedback! Currently, if you run a backtest with a specific stock list, the next time when you run the backtest, it will be auto populated with the same list so you don't need to manually enter the stocks again. 

When you use the "New Backtest" function, it will clone the backtest with the exact same parameters which is the same as copying a backtest. 

Hope this helps. 

The PyInvesting Team