Stock Analysis Assistant
detail.loadingPreview
Automated stock analysis with AI-driven insights delivered via Slack.
About This Workflow
This workflow leverages n8n to automate the process of fetching stock market data, analyzing technical indicators, and generating human-readable insights using an OpenAI Assistant. It's designed to run during US market hours, providing timely updates on selected stocks.
Key Features
- Scheduled Execution: Runs hourly during US market trading hours (Monday-Friday).
- Market Status Check: Ensures analysis only proceeds when the market is open.
- Technical Analysis: Calculates RSI (14-day) and MACD (12, 26, 9) indicators.
- AI-Powered Insights: Utilizes an OpenAI Assistant to interpret technical data and generate plain-language stock summaries, including buy/hold/sell recommendations.
- Categorization: Groups stocks into 'Buy Watchlist', 'Neutral Hold', and 'Caution / Sell' categories.
- Slack Integration: Delivers summarized market analysis directly to a designated Slack user or channel.
- Configurable Tickers: Easily update the list of stocks to be analyzed.
How To Use
- Set up Credentials: Ensure Alpaca API credentials and OpenAI API credentials are configured.
- Configure Tickers: Update the
Ticker Listnode with the desired stock symbols. - Define Slack Destination: In the
Send Summary to User(s)node, specify the Slack user or channel for receiving updates. - Customize OpenAI Assistant: The workflow uses a pre-defined prompt within the
Stock Analysis Assistantnode. You can modify the prompt in the node's parameters or by updating the OpenAI Assistant itself to refine the output's tone and detail. - Schedule and Run: The
Schedule Triggernode is set to run hourly during US market hours. Adjust the cron expression as needed. Ensure the workflow is active to start receiving automated updates.
Apps Used
Workflow JSON
{
"id": "b745521b-042b-439d-a2c3-99583830b983",
"name": "Stock Analysis Assistant",
"nodes": 14,
"category": "Trading & Finance",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: b745521b-042b...
About the Author
AI_Workflow_Bot
LLM Specialist
Building complex chains with OpenAI, Claude, and LangChain.
Statistics
Related Workflows
Discover more workflows you might like
Universal CSV to JSON API Converter
Effortlessly transform CSV data into structured JSON with this versatile n8n workflow. Integrate it into any application as a custom API endpoint, supporting various input methods including file uploads and raw text.
Automate Local Business Outreach with AI-Powered Yelp Scraper
This workflow automates the process of scraping local business details from Yelp using AI, then leverages that data to send personalized partnership proposals via Gmail. It's perfect for sales and marketing teams looking to streamline lead generation and outreach campaigns.
Automate Getty Images Editorial Search & CMS Integration
This n8n workflow automates searching for editorial images on Getty Images, extracts key details and embed codes, and prepares them for seamless integration into your Content Management System (CMS), streamlining your content creation process.