Help with oandatest.py
xiaoliangbuaa last edited by
I am new to backtrader. I try to run oandatest.py and get the following error:
Traceback (most recent call last):
File "/Users/tanjuju/PycharmProjects/backtrader-master/lxl/my_oanda_test.py", line 44, in <module>
oandastore = bt.stores.OandaStore(token=apikey, account=acc, practice=True)
AttributeError: module 'backtrader.stores' has no attribute 'OandaStore'
So, I delete all .pyc files in the module stores and rerun. The same error occurs. I have no idea where is the problem. Anyone can help?
Follow the instructions: https://www.backtrader.com/docu/live/oanda/oanda.html
Jammawind last edited by
This link sends me back to the introduction page. And that does not provide any further help.
Well ... you may click on "Documentation", then on "Live Trading" and then on "Oanda" ...