stock-trading-ml icon indicating copy to clipboard operation
stock-trading-ml copied to clipboard

NameError: name 'MSFT_daily' is not defined

Open Eccedustin opened this issue 4 years ago • 1 comments

I get this error when running the basic_model.py:

File "basic_model.py", line 20, in ohlvc_histories, _, next_day_open_values, unscaled_y, y_normaliser = MSFT_daily.csv NameError: name 'MSFT_daily' is not defined

Can anyone advise what the issue is? I have already extracted the MSFT_daily.csv to the project folder.

Eccedustin avatar Aug 13 '20 02:08 Eccedustin

Check line number 58 in the file "save_data_to_csv.py"

change from : data.to_csv(f'./Stockcsvs/{symbol}{time_window}.csv') to : data.to_csv(f'{symbol}{time_window}.csv')

linuxdebian avatar Feb 13 '21 10:02 linuxdebian