with Richpanel and OANDA?
Emit new event when a new message is sent on an existing or new ticket.
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 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 a message to an existing ticket. See the documentation
Creates a new support ticket in Richpanel. See the documentation
Retrieve historical price data for a specified currency pair or instrument within a given time range. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
richpanel: {
type: "app",
app: "richpanel",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.richpanel.com/v1/users`,
headers: {
"accept": `application/json`,
"x-richpanel-key": `${this.richpanel.$auth.api_key}`,
},
})
},
})
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}`,
},
})
},
})