IndexError: list index out of range when running with default settings
Running this command from the examples:
python portfolio_manager.py --is_test 0 --future_bars 30 --data_granularity_minutes 60 --history_to_use all --apply_noise_filtering 1 --market_index QQQ --only_long 1 --eigen_portfolio_number 3 --stocks_file_path stocks/stocks.txt
returns:
Traceback (most recent call last):
File "portfolio_manager.py", line 37, in
Any thoughts on what I'm doing wrong?
Try changing your stocks list. I am assuming this happens because data for your stocks cannot be downloaded by yahoo finance.
I'm using the default stocks/stocks.txt. I'm on the discord if you want to debug live.