with OANDA and Bloomerang?
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 constituent profile is created in Bloomerang.
Emit new event when a new trade is opened in an Oanda account. See the documentation
Emit new event whenever a trade is executed in the user's account. See the documentation
Adds an interaction to an existing constituent in Bloomerang. See the documentation
Retrieve historical price data for a specified currency pair or instrument within a given time range. See the documentation
Creates a new constituent in Bloomerang. 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: {
bloomerang: {
type: "app",
app: "bloomerang",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.bloomerang.co/v2/user/current`,
headers: {
"accept": `application/json`,
"x-api-key": `${this.bloomerang.$auth.api_key}`,
},
})
},
})