ImportError: No module named 'backtester'
JafferWilson opened this issue · 7 comments
JafferWilson commented
I m trying to run the example from your instructions. I am getting the error:
ImportError: No module named 'backtester'
Kindly, let me know what is the cause of this?
anfederico commented
What Python version are you using?
Try from clairvoyant import backtester
JafferWilson commented
I am using Python 3.5
I tried it already. Not working.
JafferWilson commented
anfederico commented
Not sure what happened but this should work, sorry for the confusion.
from clairvoyant.engine import Backtest
JafferWilson commented
No worries... Let me check it.
JafferWilson commented
It worked thank you for help.
santosh1383 commented
What did you do? I am still getting an error: "NameError: name 'backtester' is not defined" or "AttributeError: 'Backtest' object has no attribute 'Simulation'" or " AttributeError: type object 'Backtest' has no attribute 'Simulation'"