AI Forex Trader using claude/gpt, MT5 & News Sentiment Analysis
Ready for 3.0What this workflow does
This AI workflow has 27 nodes and runs on a schedule (every day). Along the way it connects Discord and Anthropic Chat Model.
How it runs
Trigger: On a schedule (every day).
- Config (Edit Fields (Set)): sets or maps fields
- Get Portfolio from Signal Handler (HTTP Request): calls an HTTP API
- NewsAPI Headlines (HTTP Request): calls an HTTP API
- FinnHub Market News (HTTP Request): calls an HTTP API
- Alpha Vantage Macro Sentiment (HTTP Request): calls an HTTP API
- Fear & Greed Index (HTTP Request): calls an HTTP API
- Forex Factory Calendar (HTTP Request): calls an HTTP API
- Merge: merges the data from its input branches
- Build Full Context (Code): runs custom JavaScript code
- AI Portfolio Analyst (Basic LLM Chain): sends a prompt to an LLM, with model: Anthropic Chat Model
…plus 15 more steps. See the full node list below.
Services it uses
Other Discord + Anthropic templates (4)
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (10)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Merge
n8n-nodes-base.merge - Code
n8n-nodes-base.code - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Discord
n8n-nodes-base.discord - If
n8n-nodes-base.if - Switch
n8n-nodes-base.switch - Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic
From the author
Automate Your Forex Portfolio with AI: GPT-4o or Claude + MT5 + Live News Sentiment Harness real-time news, multi-source sentiment scoring, and geopolitical risk intelligence to manage your forex portfolio smarter — all automated inside n8n. This n8n template…