qstrader icon indicating copy to clipboard operation
qstrader copied to clipboard

two locations for examples folder

Open ghbcode opened this issue 7 years ago • 0 comments

All, I just want to check one thing, I'm seeing two locations for the 'examples' folder and this could become an issue later on. I'm seeing the following assuming venv is a virtual environment:

venv/lib/python3.5/site-packages/examples

  • buy_and_hold_backtest.py
  • display_prices_backtest.py
  • display_prices_ig.py
  • mac_backtest.py
  • mac_backtest_tearsheet.py
  • monthly_liquidate_rebalance_backtest.py
  • pandas_examples
  • strategy_backtest.py
  • test_examples.py

AND

venv/qstrader/examples

  • buy_and_hold_backtest.py
  • monthly_liquidate_rebalance_backtest.py
  • moving_average_cross_backtest.py
  • test_examples.py

Note that I was able to easily fix this by updating the test_examples.py file in venv/qstrader/examples and removing the 'examples.' reference in the import statements up top.

Anyway, is there a reason for this, if so what is it? Just checking.

ghbcode avatar Mar 31 '17 18:03 ghbcode