with OANDA and DotSimple?
Emit new event when a new account is connected. See the documentation
Emit new event when a new open position is created or updated in an Oanda account. See the documentation
Emit new event when a new file is uploaded. See the documentation
Emit new event when a new trade is opened in an Oanda account. See the documentation
Emit new event when a new post is created on the platform. See the documentation
The 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-fxpractice.oanda.com/v3/accounts`,
headers: {
Authorization: `Bearer ${this.oanda.$auth.personal_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
dotsimple: {
type: "app",
app: "dotsimple",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.dotsimple.io/app/api/${this.dotsimple.$auth.workspace_id}/accounts`,
headers: {
Authorization: `Bearer ${this.dotsimple.$auth.access_token}`,
},
})
},
})