Backtrader, oandapy and OandaError issues
Jammawind last edited by
I am having trouble with importing backtrader as bt. I currently have Python 3.7.3 on my pc. I am stuck here:
import backtrader as bt
I get the following error:
~Anaconda3\kub\site-packages\stores\oandastotre.py in <module>
39 # Extend the exception to support extras cases
41 class OandaRequestError(oandapy.OandaError):
42 def init(self):
43 er = dict(code=599, message='Request Error', description=' ')
AttributeError: module 'oandapy' has no attribute 'OandaError'
I have tried to uninstall the packages multiple times. backtrader was working for me until i updated to the current version. Is there a package that I am missing and how do I get it back working.
I have been working with the program for a while with no issues and I do not know how to fix this issue.
Your problem is that you have upgraded
oandapyto something which isn't what's needed.