Open david2588e opened 4 years ago
I fixed this by ensuring the files were in the correct folders and making sure all imports were not failing.
After, that I traced/tested (using IDE intellisense) what properties were being exposed from the module.
Traceback (most recent call last):
File "", line 5, in
import backtrader as bt
File "C:\Users\Liu\Anaconda3\lib\site-packages\backtrader__init__.py", line 62, in
from .cerebro import *
File "C:\Users\Liu\Anaconda3\lib\site-packages\backtrader\cerebro.py", line 35, in
from .brokers import BackBroker
File "C:\Users\Liu\Anaconda3\lib\site-packages\backtrader\brokers__init__.py", line 40, in
from .oandabroker import OandaBroker
File "C:\Users\Liu\Anaconda3\lib\site-packages\backtrader\brokers\oandabroker.py", line 36, in
from backtrader.stores import oandastore
File "C:\Users\Liu\Anaconda3\lib\site-packages\backtrader\stores\oandastore.py", line 41, in
class OandaRequestError(oandapy.OandaError):
AttributeError: module 'oandapy' has no attribute 'OandaError'