Multi-timeframe Trading Analysis for WEEX Spot Market with GPT-4o & Telegram

Go to Workflow
0 views
Built by Don Jayamaha Jr Don Jayamaha Jr
Created on June 05, 2026

Description

๐Ÿ“Š WEEX Spot Market Quant AI Agent (All-in-One Multi-Agent Trading System)

โšก Overview

This multi-agent n8n workflow delivers an automated, intelligent trading analysis system for the WEEX Spot Market. It uses GPT-4o to interpret user prompts, route them to the correct sub-agent tools, analyze technical indicators, price data, sentiment insights, and return concise trading signals via Telegram or downstream automations.

No need to download additional workflowsโ€”everything is embedded in this single orchestrated agent.

๐Ÿง  Core Features

๐Ÿ”น Single-entry architecture โ†’ Built-in orchestration logic with no external subworkflow dependencies
๐Ÿ”น Multi-timeframe indicator analysis โ†’ 15m, 1h, 4h, and 1d
๐Ÿ”น Sentiment + news insights from crypto sources
๐Ÿ”น Live price, volume, kline, and order book analysis
๐Ÿ”น LLM-powered signal evaluation using GPT-4o
๐Ÿ”น Telegram integration for fast human queries or autonomous alerts

๐Ÿค– Built-In Agent Modules

| Module | Description |
| ----------------------------------- | ---------------------------------------------------------- |
| โœ… Financial Analyst Tool | Routes prompts, interprets tokens, and triggers sub-agents |
| โœ… News & Sentiment Analyst Tool | Gathers real-time sentiment from crypto news sources |
| โœ… Technical Indicator Tools | 15m, 1h, 4h, 1d indicators using WEEX spot market data |
| โœ… Price & Order Book Agent | Fetches real-time stats, price, and structure |
| โœ… Trading Signal Evaluator | GPT-4o merges all data and generates trading decision |

๐Ÿ–ฅ๏ธ Prompt Flow Example

User Input: โ€œShould I long or short ETH on WEEX today?โ€
โ†’ Financial Analyst Agent interprets the query
โ†’ Fetches multi-timeframe indicators, live price, sentiment
โ†’ GPT-4o evaluates conditions and creates recommendation
โ†’ Output delivered via Telegram:

๐Ÿ“ˆ ETH/USDT Overview
โ€ข Price: \$3,710
โ€ข 4h RSI: 64.5 โ€“ Slightly Overbought
โ€ข MACD: Bullish Crossover
โ€ข Market Sentiment: ๐Ÿ”ผ Positive
Recommendation: Consider long entry with stop at \$3,640.

๐Ÿ”ง Setup Instructions

Follow these steps to fully deploy and operate the WEEX Quant AI Agent in your n8n environment:

๐ŸŸข Get Telegram Bot API Key

Create your bot via @BotFather on Telegram
Save the token it gives you (format: 123456789:ABCdefGHIjkLMNopQRStuvWXyz)

๐Ÿ”‘ Add OpenAI / DeepSeek Chat API Key

Compatible with GPT-4o (OpenAI) or DeepSeek Chat

๐Ÿ“ˆ (Optional) WEEX API Keys

If expanding to live trading or authenticated data, get a WEEX Spot API key from your account dashboard
Not required for the analysis agent to function

๐Ÿ”— Connect Telegram to n8n

Use Telegram Trigger and Telegram node with your API key
Ensure webhook is set correctly (or use polling mode)

โœ… Example Use Cases

| Scenario | Outcome |
| ---------------------------------- | ----------------------------------------------------- |
| โ€œIs BTC bullish or bearish?โ€ | Merged indicator + sentiment + price analysis summary |
| โ€œGet 15m and 4h trends for SOLโ€ | Multi-timeframe volatility vs macro trend report |
| โ€œLatest crypto news on XRPโ€ | Real-time filtered news + DeepSeek sentiment summary |
| โ€œWhatโ€™s the order book structure?โ€ | Level-by-level spread analysis with buy/sell volumes |

๐ŸŽฅ Watch the Live Demo

๐Ÿ‘จโ€๐Ÿ’ผ Licensing & Support

๐Ÿงพ ยฉ 2025 Treasurium Capital Limited Company
Architecture, prompts, and trade signal framework are IP-protected. No unauthorized rebranding or replication permitted.

๐Ÿ“ฉ Connect with the Creator
Don Jayamaha โ€“ LinkedIn Profile

Nodes Used (8)

AI Agent
@n8n/n8n-nodes-langchain.agent
AI Agent Tool
@n8n/n8n-nodes-langchain.agentTool
Calculator
@n8n/n8n-nodes-langchain.toolCalculator
Code
n8n-nodes-base.code
OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi
Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow
Telegram
n8n-nodes-base.telegram
Think Tool
@n8n/n8n-nodes-langchain.toolThink