Contact Information
Email: [email protected]
Supported Asset Classes
- Forex
Forex on OANDA, connected with an API token
TradersPost sends forex orders to OANDA. Connect a live account, or a demo account as a paper account, with a token you generate in the OANDA Hub.
OANDA divisions
TradersPost uses OANDA's v20 API, which OANDA offers to every division but two.
-
Supported
Other OANDA divisions
Accounts with these divisions can connect.
-
Not available
OANDA Global Markets
OANDA does not offer the v20 API to this division.
-
Not available
OANDA TMS Brokers S.A.
OANDA does not offer the v20 API to this division.
What OANDA supports
Order types and features by asset class, as TradersPost sends them to OANDA.
| Capability | Forex Long and short |
|---|---|
| Order types | |
| Market orders | Yes |
| Limit orders | Yes |
| Stop orders | Yes |
| Stop-limit orders | No |
| Trailing stops | Yes |
| Time in force | |
| Day | Yes |
| Good till canceled | Yes |
| Immediate or cancel | Yes |
| Fill or kill | Yes |
| At the open | No |
| At the close | No |
| Attached exits | |
| Bracket orders | Yes |
| OCO orders | No |
| OTO orders | Yes |
| Trailing stop attached | Yes |
| Direction and size | |
| Short selling | Yes |
OANDA: 1 thing that works differently
-
Setup OANDA connects with an API key, not a login
Create the key in OANDA, copy it, and paste it into TradersPost. The steps are above.
Connect OANDA
OANDA accounts connect to TradersPost with an API token. A live account and a demo account each have their own token, so connect them separately.
- Generate a token in OANDA:
- Log in to the live or demo account you want to connect in the OANDA Hub.
- Click Tools, then API, and click Generate.
- Copy the token.
- Connect it to TradersPost:
- Go to Brokers and click Connect Broker.
- Choose OANDA.
- Choose Live Account for a live OANDA account, or Paper Account for an OANDA demo account.
- Tick the box confirming you are authorized to trade the account.
- Paste the token into the API Key field and click Connect OANDA.
- Enable your accounts: on the connection page, enable each account you want TradersPost to trade.
The token covers the sub-accounts you have when you generate it. If you add a sub-account in OANDA later, generate a new token and set it on the connection in TradersPost.
OANDA's v20 API is available to every OANDA division except OANDA Global Markets and OANDA TMS Brokers S.A., so accounts held with those divisions cannot connect.
Sub-accounts with hedging enabled and MT4 sub-accounts are not listed, so they cannot be enabled. TradersPost keeps one position per pair, which a hedging account does not, and OANDA does not let TradersPost label its orders on an MT4 account.
Symbols and Sizing
Use pair symbols with a slash, for example EUR/USD. Orders are sized in OANDA units (units of the base currency), not standard lots. See Forex Trading.
Market Orders
OANDA takes a market order only as fill or kill (FOK) or immediate or cancel (IOC). A market order with a DAY or GTC time in force is sent as fill or kill: when OANDA cannot fill all of it at once, for example in thin liquidity, it is cancelled rather than partly filled. Send it with IOC to take a partial fill instead.
OANDA automation questions
- How do I connect an OANDA demo account?
- Log in to the demo account in the OANDA Hub, click Tools, then API, and generate a token. In TradersPost, connect OANDA, choose Paper Account, and paste that token.