PyInvesting

Discussion

Why my backtest results show 80% cash and just one share?

5 years, 7 months ago 1168 views

I am backtesting a sector portfolio with only ETFs. I am triying a simple strategic allocation to see how it compares to SPY.

Nevertheless, the total return is 6% and the algorithm sells cas from year 1.

Why?

 

ETFs I am using:  IMSU,ICDU,UIFS,DRDR...

 

thanks,

Catz

Contribute

Add to the discussion

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

2 replies

5 years, 7 months ago

Hi Catz,

The ETFs you selected do not have enough historical data. Hence as only 1 ETF had available prices, only 1 stock was selected for the backtest. 

Kind regards,

The PyInvesting Team