Getting AttributeError in 3.0.11 Used to work fine with 3.0.9
>>> ctx = v20.Context('api-fxtrade.oanda.com', token=access_token)
>>> ctx.account.instruments(account_id)
Traceback (most recent call last):
File "<input>", line 1, in <module>
ctx.account.instruments(account_id)
File "/usr/lib/python3.5/site-packages/v20/account.py", line 1128, in instruments
for d in jbody.get('instruments')
File "/usr/lib/python3.5/site-packages/v20/account.py", line 1128, in <listcomp>
for d in jbody.get('instruments')
AttributeError: 'Context' object has no attribute 'primitives'
Getting
AttributeError
in3.0.11
Used to work fine with3.0.9