mhallsmoore / qstrader

QuantStart.com - QSTrader backtesting simulation engine.

Home Page:https://www.quantstart.com/qstrader/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HMM backtest problem (AttributeError: 'YahooDailyCsvBarPriceHandler')

ishest opened this issue · comments

commented

Hi,
when I run regime_hmm_backtest I get the message below:

"... self.config.CSV_DATA_DIR, self.events_queue,
AttributeError: 'YahooDailyCsvBarPriceHandler' object has no attribute 'CSV_DATA_DIR'"

system: windows 10
python 3.6

support@quantstart.com I get some problem with AttributeError: 'YahooDailyCsvBarPriceHandler' object has no attribute 'CSV_DATA_DIR'"

@ishest @rudydreamer
Ensure to you set CSV_DATA_DIR environment variable in your .bash_profile, .bashrc or .profile files if your are using Linux
See screenshot
Screenshot_2020-01-10_at_20_27_45

Thanks @onahkenneth for the suggestion.

@ishest and @rudydreamer - Did this fix your issue?

commented

Thanks @onahkenneth for the suggestion.

@ishest and @rudydreamer - Did this fix your issue?

yep! Thanks!

Great!

Regards,

Mike.