Setting up OANDA FX Data in Optuma
OverviewThis article will take you through the process of setting up Optuma to use real-time forex data sourced from OANDA.
Before you configure Optuma to use Oanda data, please ensure that you have the following:
- A free demo or live trading account from Oanda. If you do not have an account you can register for a free demo account here.
- Optuma with an active subscription. If you do not have an active subscription, please contact the sales team.
ProcessLog in to your online Oanda account to get your v20 account number and API token required for 3rd party software.
Your v20 account number can be found under Manage Funds:
Once in the Managed Funds section the v20 Account number is displayed under Account Summary:
You can generate your API token under the Manage API Access link:
Click the button to generate and copy the token:
Important Note: The Token will only display once, when it is created. When the token displays it is recommended you keep a copy saved somewhere on your system incase you need to use it again in the future. In the event you have lost it you will need to revoke, then recreate a new API token.
Setting up Connection in Optuma
Open Optuma and left-click the Data menu and select the Configure Data Providers option.
In the window displayed, locate the Oanda option, left-click it and select Next.
In the window displayed, enter your Oanda V20 Account number as your username (should look similar to this: 101-022-807878), and paste the API token for the password:
IMPORTANT: DO NOT USE YOUR OANDA WEBSITE USERNAME, IT MUST BE THE V20 ACCOUNT NUMBER
With the login details entered click the Next button to continue.
In the window displayed left-click the Oanda FX exchange, then click the > button.
Once the exchange has been added to the right-hand side, click the Apply button.
Opening a chart using the Oanda datafeed
To open a chart press F3 on your keyboard (or go to New > Single Chart > Bar Chart). The Security Selection window will open.
Left-click the Oanda FX exchange folder.
Left-click in the Type Code field and enter the FX code you wish to view (AUDUSD, for example) and press Enter on your keyboard. The chart will open showing live data and you will also have access to intraday time frames:
For more information on opening a chart in Optuma, click here.
Converting from Oanda's MT4 connection to the REST APIIn July 2019 Oanda stopped providing data via their MT4 connection. To connect via REST API instead see this short video to swap from MT4 to API.
Note: you will need an Oanda V20 account number and API key as described above. If your Oanda account was opened before 2015 you will not have a V20 account number so will need to open a new sub-account with them. Contact Oanda if you have any questions.
Note: Oanda's MT4 server connected to their GMT+2 server, whereas the Oanda REST API is not set to the same GMT settings, so the times will be different.
TroubleshootingIf opening a chart fails to download chart data close Optuma and restart in administration mode (right-click on the Optuma desktop icon and select 'Run as administrator').
Also ensure that the chart header displays (OF) as the exchange and 'Data from Oanda'. If it display (FX) then the chart is sourcing Optuma's end-of-day data and will not update in realtime. Reopen the chart from the Oanda FX exchange, as per above.