Pythonで実行する場合は、有志が作成したoandapyv20というパッケージを利用する方が多いようです。 有志と言っても、OANDAのHPでもこのパッケージを使ったチュートリアル記事もあるので、公式公認みたいなものですが。
This repo contains a suite of Python sample code that desmonstrates the use of OANDA's v20 REST API along with OANDA's v20 bindings for Python. Most of the examples provided use a v20.conf discussed ...
This open source package provides an extension module for Python that can be used to access to the programmatic API for the OANDA FX broker. The entire API's functionality is supported, including live ...