OANDA API Code Samples
What can I build?
OANDA is a leading forex broker enabling you to trade over 90 currency pairs, metals, and CFDs. Everything you ask for is live and real-time. The only limit is your imagination. If you have an idea for a product or company built on top of our platform we want to help! You could:
- Write automated trading strategies in any programming language
- Create a service that provides exchange rates for eCommerce companies
- Start a business to hedge currency risks for other companies
- Implement high frequency trading algorithms that make money while you sleep
- Build a “Chart Chat” service that combines our chart data with the StockTwits API
- Download Trading Account History to generate performance reports and trading analytics
Sample Programs
- Javascript - OANDA v20 bindings for Javascript or via npm
npm install @oanda/v20
- Python - OANDA v20 bindings for Python or via PyPI
pip install v20
- Java - OANDA v20 bindings for Java
- Python sample programs using the OANDA v20 Python wrapper
- Java sample programs using the OANDA v20 Java wrapper
Browse Github for more OANDA repos
OANDA makes no warranty or representation, either express or implied, with respect to the Software or Software features, including their quality, performance, merchantability, suitability, fitness for a particular purpose or that they are error free.