How to Connect OANDA to Your Trading Journal
Link your OANDA account to TradeLogger and see balance, daily P&L, and win/loss stats in one place—while you still journal each trade with screenshots and notes.
Introduction
Most forex journals make you type every fill by hand. OANDA exposes account data through its REST API, so TradeLogger can pull performance numbers automatically. You connect once with an API token; TradeLogger handles balance, realized P&L, and daily breakdowns.
Broker stats tell you what happened. Your journal tells you why. Use both together for a complete picture.
Prerequisites
- An active OANDA practice or live account.
- Access to the OANDA HUB to generate an API token.
- A TradeLogger account (sign in before connecting).
Step 1: Generate an OANDA API Token
Log in to the OANDA HUB, open Tools → API, and create a new API key. Copy the token immediately—you will not see it again.
OANDA HUB → Tools → API → Generate API key Save the token somewhere secure before closing the dialog.
Match the token type to the account you want to track: practice tokens for demo accounts, live tokens for real money accounts. See the OANDA API authentication docs if you need more detail on environments.
Step 2: Open OANDA Settings in TradeLogger
From your dashboard, go to the OANDA performance page. If you are not connected yet, you will see the connection form.
- Choose Practice or Live to match your OANDA account type.
- Paste your API token into the token field.
- Click Find my accounts to list every v20 account the token can access.
- Select the account you want to track and save.
Step 3: Select the Right Account (OANDA One Users)
If you use OANDA One or multiple sub-accounts, pick the line that matches your v20 Account Number from HUB → Accounts—not just the main login name.
HUB → Accounts → copy v20 Account Number TradeLogger → Find my accounts → select matching row
If a new sub-account does not appear, regenerate the API token in HUB so it includes access to that account.
Step 4: Review Your Performance Dashboard
Once connected, TradeLogger shows a summary pulled from OANDA:
- Account balance and NAV
- Unrealized P&L on open positions
- Realized P&L from recent transactions
- Win and loss counts
- Daily P&L chart over the last 30 days
Example summary fields: Balance: $10,245.00 NAV: $10,312.50 Unrealized P/L: +$67.50 30-day realized: +$412.00 Wins / Losses: 18 / 11
Click refresh to pull the latest numbers after a trading session.
Step 5: Journal Trades Alongside Broker Data
OANDA connection gives you account-level stats. It does not replace per-trade journaling. After each session, log your setups on the dashboard with a chart screenshot, your pre-trade emotion, and notes. Compare broker P&L to your journal to spot when you traded outside your plan.
If you chart on TradingView with OANDA as the broker, export fills from OANDA and attach TradingView screenshots for full context.
Security Notes
- TradeLogger encrypts your API token on the server and never displays it again after you save.
- Generate a dedicated API key for TradeLogger instead of reusing keys from other apps.
- Revoke the token in OANDA HUB if you disconnect or stop using the integration.
- Use a practice token while testing; switch to live only when you are ready.
Limitations and Considerations
- TradeLogger reads account performance via the OANDA v20 REST API. It does not place or modify orders.
- Only OANDA accounts are supported today—not other brokers.
- Daily P&L reflects OANDA transaction data; always confirm against your broker statement for tax or compliance records.
- This guide is for journaling and performance tracking, not trading or financial advice.
Conclusion
Connecting OANDA to TradeLogger takes a few minutes: generate a token in HUB, paste it on the OANDA page, pick your account, and review performance alongside your journal. Broker data shows results; your journal shows process. Use both every week.