Skip to content

Brokers

OANDA

Forex and CFDs, with prices, manual orders and algorithm sessions.

Trading on margin can lose you more than you put in. Past results, including backtests, do not predict future results. Cloud9Trader provides tools and education, not financial advice. Read the full risk warning.

OANDA is the most complete connection on Cloud9Trader. Its prices feed the charts, the price history used by backtests, and the demo account. You can connect your own OANDA account to trade on it.

  • Prices and charts for OANDA instruments, named like EUR_USD:OANDA.
  • Manual orders from the trade ticket: market orders. Selling from the ticket is not working at the moment.
  • Algorithm sessions: an algorithm can open and close positions, with stop loss, take profit and trailing stop.
  • Account view: your balance, equity, margin and open positions update as they change.
  1. Open an OANDA account, and start with a practice account.
  2. In OANDA’s account settings, generate a personal access token for the API. Copy it, because OANDA shows it once.
  3. In Cloud9Trader, choose one of two routes:
    • To run algorithm sessions: on the accounts page, pick OANDA, choose the account type (Practice or Live), enter your account ID, username and token, and click Test connection. When the test passes, submit. OANDA closed its sandbox, so a Sandbox account runs on practice.
    • To trade by hand: open Exchange API Keys from the user menu, paste the token into OANDA’s API Key field, choose Practice or Live (real money) to match the token, and click Save. A saved key shows which one it runs on.

If OANDA later refuses the token, for example because it has expired, the key’s row shows the error. Delete it and add a new token.

  • Only market orders from the trade ticket. Limit and stop orders are not sent to OANDA from the ticket.
  • One OANDA connection per account.
  • When a token expires, the connection stops rather than retrying. Add a new token to reconnect.