Analyze cryptocurrency market data with HTX API, GPT-4o and Telegram
Workflow preview
$20/month : Unlimited workflows
2500 executions/month
THE #1 IN WEB SCRAPING
Scrape any website without limits
HOSTINGER
Early Deal
DISCOUNT 20% Try free
DISCOUNT 20%
Self-hosted n8n
Unlimited workflows - from $4.99/mo
#1 hub for scraping, AI & automation
6000+ actors - $5 credits/mo
Important notice
This workflow is provided as-is. Please review and test before using in production.
Overview
A fully autonomous, HTX Spot Market AI Agent (Huobi AI Agent) built using GPT-4o and Telegram. This workflow is the primary interface, orchestrating all internal reasoning, trading logic, and output formatting.
โ๏ธ Core Features
- ๐ง LLM-Powered Intelligence: Built on GPT-4o with advanced reasoning
- โฑ๏ธ Multi-Timeframe Support: 15m, 1h, 4h, and 1d indicator logic
- ๐งฉ Self-Contained Multi-Agent Workflow: No external subflows required
- ๐งฎ Real-Time HTX Market Data: Live spot price, volume, 24h stats, and order book
- ๐ฒ Telegram Bot Integration: Interact via chat or schedule
- ๐ Autonomous Runs: Support for webhook, schedule, or Telegram triggers
๐ฅ Input Examples
| User Input | Agent Action |
|---|---|
btc |
Returns 15m + 1h analysis for BTC |
eth 4h |
Returns 4-hour swing data for ETH |
bnbusdt today |
Full day snapshot with technicals + 24h stats |
๐ฅ๏ธ Telegram Output Sample
๐ BTC/USDT Market Summary
๐ฐ Price: $62,400
๐ 24h Stats: High $63,020 | Low $60,780 | Volume: 89,000 BTC
๐ 1h Indicators:
โข RSI: 68.1 โ Overbought
โข MACD: Bearish crossover
โข BB: Tight squeeze forming
โข ADX: 26.5 โ Strengthening trend
๐ Support: $60,200
๐ Resistance: $63,800
๐ ๏ธ Setup Instructions
Create your Telegram Bot using @BotFather
Add Bot Token in n8n Telegram credentials
Add your GPT-4o or OpenAI-compatible key under HTTP credentials in n8n
(Optional) Add your HTX API credentials if expanding to authenticated endpoints
Deploy this main workflow using:
- โ Webhook (HTTP Request Trigger)
- โ Telegram messages
- โ Cron / Scheduled automation
๐ฅ Live Demo
๐ง Internal Architecture
| Component | Role |
|---|---|
| ๐ Telegram Trigger | Entry point for external or manual signal |
| ๐ง GPT-4o | Symbol + timeframe extraction + strategy generation |
| ๐ Data Collector | Internal tools fetch price, indicators, order book, etc. |
| ๐งฎ Reasoning Layer | Merges everything into a trading signal summary |
| ๐ฌ Telegram Output | Sends formatted HTML report via Telegram |
๐ Use Case Examples
| Scenario | Outcome |
|---|---|
| Auto-run every 4 hours | Sends new HTX signal summary to Telegram |
| Human requests โeth 1hโ | Bot replies with real-time 1h chart-based summary |
| System-wide trigger from another agent | Invokes webhook and returns response to parent workflow |
๐งพ Licensing & Attribution
ยฉ 2025 Treasurium Capital Limited Company Architecture, prompts, and trade report structure are IP-protected.
No unauthorized rebranding permitted.
๐ For support: Don Jayamaha โ LinkedIn
