anfederico/clairvoyant

ImportError: No module named 'backtester'

JafferWilson opened this issue · 7 comments

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?

What Python version are you using?

Try from clairvoyant import backtester

I am using Python 3.5
I tried it already. Not working.

Check this image:

capture

Not sure what happened but this should work, sorry for the confusion.

from clairvoyant.engine import Backtest

No worries... Let me check it.

It worked thank you for help.

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'"