mhallsmoore / qstrader

QuantStart.com - QSTrader backtesting simulation engine.
https://www.quantstart.com/qstrader/
MIT License
2.88k stars 856 forks source link

Error while running buy_and_hold_backtest.py #274

Closed RakeshPoluri closed 5 years ago

RakeshPoluri commented 5 years ago

I am trying to run python buy_and_hold_backtest.py but I am getting the following error:

File "buy_and_hold_backtest.py", line 7 < !DOCTYPE html > ^ SyntaxError: invalid syntax

I have installed and followed all the relevant steps including creating the qstrader.yml file.

I am using Windows 10 and Anaconda with Python 3.7.

briancappello commented 5 years ago

Not sure what you did, but that error means you've got HTML in your Python. The file in master looks fine, so I suspect this is on your end?

RakeshPoluri commented 5 years ago

Not sure what you did, but that error means you've got HTML in your Python. The file in master looks fine, so I suspect this is on your end?

I downloaded the files again and this seems to have solved this particular issue, though it raised a new one. Thanks for your help!