Stock and Crypto Investment Ideas | Social Sentiment Analytics | Automated Due Diligence and Trade Alerts | Investment Community
Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.
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`,
},
})
},
})
# $PIPEDREAM_STEPS file contains data from previous steps
cat $PIPEDREAM_STEPS | jq .trigger.context.id
# Write data to $PIPEDREAM_EXPORTS to return it from the step
# Exports must be written as key=value
echo foo=bar >> $PIPEDREAM_EXPORTS