Stock and Crypto Investment Ideas | Social Sentiment Analytics | Automated Due Diligence and Trade Alerts | Investment Community
Delay the execution of your workflow for a specific amount of time (does not count against your compute time).
The Utradea API allows users to access financial analytics and social sentiment data for various investment opportunities. With this API, you can programmatically get insights into stock trends, market predictions, and community-driven investment analysis. When used within Pipedream, you have the ability to create automated workflows that can help you make informed investment decisions, track stock performance, or integrate with other financial tools.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
utradea: {
type: "app",
app: "utradea",
}
},
async run({steps, $}) {
return await axios($, {
url: `http://cloud.utradea.com/v1/get-social-tickers`,
headers: {
"Content-Type": `application/json`,
"Authorization": `${this.utradea.$auth.api_key}`,
},
params: {
social: `stocktwits`,
tickers: `BTC-USD,PLTR`,
},
})
},
})
The Delay API in Pipedream is a built-in function that allows you to pause a workflow for a specified amount of time. This can be incredibly useful when you need to stagger API calls to avoid rate limits, wait for an external process to complete, or simply introduce a delay between actions in a sequence. With precision up to milliseconds, the Delay API provides a simple yet powerful tool for managing timing in automation workflows.
export default defineComponent({
async run({steps, $}) {
// Specify the amount of time to delay your workflow in milliseconds
return $.flow.delay(5000)
},
})