For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See:

AttributeError: 'module' object has no attribute 'IBBroker'

  • File "", line 259, in runstrategy
    broker = bt.brokers.IBBroker(**storekwargs)
    AttributeError: 'module' object has no attribute 'IBBroker'
    However, I installed it using pip install git+

  • administrators

    The most usual problem: you installed using pip but are running inside another environment like Spyder. You have to install it in your environment (the interpreter you use in the shell happens to be another installation)

Log in to reply