Category Archives: oanda

OANDA API Access Problems

I have some experimental trading that I conduct using the Oanda.com forex API. I don’t know that they’re the best broker out there but I’ve been a client of theirs for quite a while now.

I have been trading using automated trading strategies using python to access their API. I added a sub-account but was then unable to access the sub-account using the API connection.

I found a very simple fix: create a new API token. When previously experimenting I don’t recall this being required but as it stands now, an existing token will not work for a new sub-account.

Once I created the new token I was able to access the account through the API and continue the experiments.