Forex
OANDA: forex and CFD trading with practice and live modes.
OANDA
ID: oanda | Markets: Forex, CFDs | API: v20 REST API
OANDA provides institutional-grade forex execution with tight spreads. The v20 API supports both practice and live accounts.
Connection parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
api_token | string | Required | OANDA API access token. |
account_id | string | Required | OANDA account ID (e.g. "101-001-12345678-001"). |
practice | string | "true" | "true" for practice (fxTrade Practice), "false" for live (fxTrade). |
Practice mode
Live mode
Instrument format
OANDA uses underscore-separated instrument names:
| OANDA format | Meaning |
|---|---|
EUR_USD | Euro / US Dollar |
GBP_JPY | British Pound / Japanese Yen |
USD_CHF | US Dollar / Swiss Franc |
XAU_USD | Gold / US Dollar |
US30_USD | Dow Jones Index CFD |
SPX500_USD | S&P 500 Index CFD |
Placing a forex order
In forex, quantity represents units of the base currency. 10,000 units of EUR_USD is a mini lot.
Practice vs live
| Feature | Practice | Live |
|---|---|---|
| Base URL | api-fxpractice.oanda.com | api-fxtrade.oanda.com |
| Real money | No | Yes |
| Market data | Delayed | Real-time |
| Token format | Same | Same |
Start with a practice account to test your agent's strategy before going live.
Getting API tokens
- Log in to your OANDA account at fxtrade.oanda.com.
- Go to Manage API Access under your account settings.
- Generate a personal access token.
- Copy the token and your account ID.
System R AI
| Python SDK | pip install systemr |
| MCP Server | agents.systemr.ai/mcp/sse |
| OpenAPI Spec | agents.systemr.ai/openapi.json |
| Machine Docs | agents.systemr.ai/llms.txt |
| GitHub | System-R-AI |
| X | @Systemrai |
| YouTube | @systemr_ai |
| hello@systemr.ai | |
| Phone | 628 333 6693 |
| Address | 7901 4TH ST N, STE 28529, ST PETERSBURG, FL 33702 |
| Terms | Terms of Service |
| Privacy | Privacy Policy |
| Security | Security Policy |
© 2026 System R AI. Software platform. Not financial advice.