OANDA is one of the most popular brokers for automated trading, thanks to its well-documented REST API and reliable practice account environment. If you have been considering automated trading bots for your OANDA account, this guide walks through the process from start to finish.

With the right platform, you can go from zero to a live automated bot in under five minutes, starting with a practice account so no real money is at risk while you evaluate the system.

Why OANDA for Automated Trading?

OANDA stands out among brokers for several reasons that matter specifically for algorithmic execution:

Step-by-Step Setup

The following steps describe how to connect an OANDA account to Stratagium. The general process is similar for any API-based trading platform.

1Create an OANDA Account

If you do not already have an OANDA account, sign up at oanda.com. Start with a practice account -- it is free and uses live market data with simulated funds. You can upgrade to a live account later when you are ready.

2Generate an API Token

Log into your OANDA account portal. Navigate to "Manage API Access" (under My Account or My Services, depending on your region). Generate a new API token. Copy it securely -- you will need it in the next step. This token gives read and trade access to your account. You can revoke it at any time to instantly disconnect any external platform.

3Create a Stratagium Account

Sign up at stratagium.ai. The registration takes about 30 seconds. You will be asked for your name, email, and a password. No credit card is required for demo access.

4Connect Your Broker

In your Stratagium dashboard, navigate to Settings and select OANDA as your broker. Paste your API token and your OANDA account ID. The platform will verify the connection and confirm whether you are on a practice or live account.

5Configure Risk Parameters

Before deploying any bot, set your risk parameters. This includes your maximum risk per trade (as a percentage of equity), daily drawdown limit, and maximum number of trades per day. These settings are enforced by the risk engine independently of the trading algorithms.

6Deploy Your First Bot

Choose from the available algorithms. Each bot targets a specific instrument and uses a strategy validated through walk-forward testing across 6 years of market data. Start with one bot on one instrument to get familiar with how the system operates. You can add more as you gain confidence.

What Instruments Can You Trade?

Stratagium currently supports 15 instruments across OANDA, each with a dedicated algorithm optimised for that instrument's specific market characteristics:

Each algorithm has been validated using walk-forward methodology, meaning it was tested on data it was not trained on. This is a critical distinction from simple backtesting, which can produce misleading results through overfitting.

Monitoring and Control

Once a bot is deployed, you can monitor its activity through the Stratagium dashboard. You will see every signal generated, every trade executed, and every risk check that was applied. The dashboard displays real-time metrics including:

You can pause or stop any bot at any time from the dashboard. You can also revoke API access from your OANDA account directly, which will immediately prevent any further automated execution.

Important: Start with Practice

The single most important recommendation is to start with a practice account. This gives you complete visibility into how the algorithms operate in live market conditions without any financial risk. Observe the trade frequency, the risk management in action, and the reporting before deciding whether to connect a live account.

Connect Your OANDA Account in 5 Minutes

Sign up for free, paste your API token, and deploy your first bot on a practice account. No credit card required.

Sign Up and Connect
Risk Disclaimer: Trading CFDs and other leveraged products involves significant risk of loss and is not suitable for all investors. Past performance, whether from backtesting or live trading, does not guarantee future results. This article is for educational purposes only and does not constitute financial advice. OANDA is a third-party broker; Stratagium is not affiliated with, endorsed by, or a representative of OANDA. You should only trade with money you can afford to lose. Read full risk disclosure →