BotEdge
← All exchanges

Connect Oanda

Oanda is included in the Pro plan.

1. Create the API key

In your OANDA account, open Manage API Access and generate a personal access token. The account ID (for example 001-004-1234567-001) is in your account summary.

  • Permissions: The token can trade every account of your OANDA user.
  • Never enable withdrawals or transfers. BotEdge only places orders.

If the exchange offers it, restrict the key to the addresses BotEdge trades from: 161.35.155.159. A stolen key is then useless anywhere else.

2. Add it to BotEdge

  1. In the dashboard, click Add connection and choose Oanda.
  2. Paste the values from the exchange:
    • Account ID: e.g. 001-004-1234567-001
    • API access token (secret)

    Secrets are encrypted before they are stored and are never shown again.

  3. Save. The connection card shows your pointer, the webhook URL and the alert message.

Practice accounts (IDs starting with 101-) are detected automatically.

3. Set up the alert

  • Chart and ticker: An OANDA chart, for example OANDA:EURUSD.
  • Quantity: Units of the base currency: 1000 is 0.01 lot, 100000 is 1 lot.

Then follow the TradingView guide to create the alert.

Good to know

  • Practice accounts work too: generate the token from your practice account. Practice account IDs start with 101- and are detected automatically.

Order rejected?

The error email explains what Oanda answered. The error guide covers the most common causes.