I' m trying to use the code Oandatest.py but that doesn't work I have the following error:
I read old posts :https://community.backtrader.com/topic/99/oandatest-no-attribute-contractdetails
but I'm a bit stupid, not find a way to continue. I just started learning to use backtrader, and run oandatest.py.
I got oanda account and token , but don't know how to get old oanda API message .
I change parameter attribute (account_id, token, data0)
if I don't change ,it's don't work and error:
so, how to run oandatest.py succeed ? What should I pay attention? I couldn't find a way.
please, give me a hand . thanks very much.