Author Archives: proprietor

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.

How to Get Past SSL-based Errors on Chrome Family of Browsers

Many websites have their SSL encrpytion certificates setup incorrectly. Most of the ones I’ve encountered were DOD sites, who seemingly can’t figure out how to setup the certificates to allow both the www prefix and no prefix or other similar problems. I recommend you download the certificate and check before considering the work-around that I’m going to share.

In fact, I recommend you don’t do the work-around but if you feel so inclined…

When your chrome– based browser won’t let you continue due to a ssl certificate mismatch, you can type

thisisunsafe

and it will bypass the logic that doesn’t allow you to access sites with ssl mis-configurations.

I don’t recommend this but it will work on chrome, chromium, brave or any other browser based on chrome.