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

Stuck on step 3

Open ghost opened this issue 4 years ago • 1 comments

Hi! I'm really new to python and stuck on what to do after step 3. I installed all the requirements, however I don't need AlphaVantage as I have my historical data of the stock already. Could you help me after step 3 as I get the following error & tell me how to not use AlphaVantage and only run the project with a pre-existing csv file?

 File "save_data_to_csv.py", line 22
    data.to_csv(f'./{symbol}_{time_window}.csv')
                                              ^
SyntaxError: invalid syntax

ghost avatar Jan 21 '21 08:01 ghost

Hi,

Run Your Command Like this "python save_data_to_csv.py MSFT daily"

[MSFT is Microsoft. You may replace it with your choice of symbol]

linuxdebian avatar Feb 13 '21 10:02 linuxdebian