OANDA is a global leader in online multi-asset trading services, currency data, corporate payments and FX services.
Go to siteThe OANDA API enables you to tap into the world of forex trading, providing real-time currency exchange rates, and the ability to automate trading strategies, manage accounts, access market data, and more. On Pipedream, you can craft workflows that capitalize on OANDA's capabilities, such as reacting to market changes, automating trades based on custom logic, and syncing forex data with other business applications for analysis and decision-making.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
oanda: {
type: "app",
app: "oanda",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api-fxtrade.oanda.com/v3/accounts`,
headers: {
Authorization: `Bearer ${this.oanda.$auth.personal_token}`,
},
})
},
})
Automated Trading Strategy: Trigger a Pipedream workflow when specific forex signals are detected in OANDA. Use conditional logic to place trades automatically back on OANDA when certain technical indicators or price thresholds are met, ensuring timely execution of your trading strategy.
Forex Data Sync for Analytics: Schedule a recurring Pipedream workflow that fetches the latest exchange rates from OANDA and pushes them to a Google Sheets document. Leverage this for ongoing analysis or to fuel business intelligence dashboards that help inform company financial decisions.
Market Alert Notifications: Create a Pipedream workflow that monitors OANDA for significant market events or price movements. When specified conditions are detected, automatically send out alert notifications via email, SMS (Twilio), or messaging apps like Slack to keep you or your team instantly informed about critical market changes.
OANDA uses API keys for authentication. When you connect your OANDA account, Pipedream securely stores the keys so you can easily authenticate to OANDA APIs in both code and no-code steps.
A personal access token can be used to access your account through the OANDA v20 API. Once created, a token will grant access to all of your sub-accounts. Please note, your personal access token is like a password, so you should guard it carefully. These tokens are unique to an OANDA account and should be stored securely.
Obtaining a Personal Access Token
There is a link on your OANDA fxTrade account profile page titled “Manage API Access” (My Account -> My Services -> Manage API Access). From there, you can generate a personal access token to use with the OANDA API, as well as revoke a token you may currently have.
For more information, refer to OANDA's documentation.