WEEX 现货市场量化 AI Agent 发布
高级
这是一个AI Chatbot, Multimodal AI领域的自动化工作流,包含 57 个节点。主要使用 Set, Code, Telegram, Agent, HttpRequestTool 等节点。 WEEX现货市场多时间框架交易分析,集成GPT-4o和Telegram
前置要求
- •Telegram Bot Token
- •可能需要目标 API 的认证凭证
- •OpenAI API Key
使用的节点 (57)
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "5PAMTCoQrOzWgfwA",
"meta": {
"instanceId": "a5283507e1917a33cc3ae615b2e7d5ad2c1e50955e6f831272ddd5ab816f3fb6",
"templateCredsSetupCompleted": true
},
"name": "WEEX 现货市场量化 AI Agent 发布",
"tags": [],
"nodes": [
{
"id": "402b854d-d84b-4d47-a6e2-e15dedd4ee65",
"name": "OpenAI 聊天模型",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-3872,
1104
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4.1-mini",
"cachedResultName": "gpt-4.1-mini"
},
"options": {}
},
"credentials": {
"openAiApi": {
"id": "yUizd8t0sD5wMYVG",
"name": "OpenAi account"
}
},
"typeVersion": 1.2
},
{
"id": "25209ddb-4d20-4a1c-a19b-9d786081915b",
"name": "Telegram 触发器",
"type": "n8n-nodes-base.telegramTrigger",
"position": [
-4208,
800
],
"webhookId": "2733b77a-6d58-4d88-a0d3-ec0219de1d8e",
"parameters": {
"updates": [
"message"
],
"additionalFields": {}
},
"credentials": {
"telegramApi": {
"id": "V9T6a372kMmcwhyP",
"name": "WEEX_Quant_AI_Agent_bot"
}
},
"typeVersion": 1.2
},
{
"id": "c9b1a580-cffb-4302-85fd-7664c0588a96",
"name": "添加 \"SessionId\"",
"type": "n8n-nodes-base.set",
"position": [
-3808,
800
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "47598bf1-e55f-4cc0-ae75-272085e7ce02",
"name": "=sessionId",
"type": "string",
"value": "={{ $json.message.chat.id }}"
},
{
"id": "daa49d74-e55e-47bc-ac52-8686d591ab83",
"name": "message",
"type": "string",
"value": "={{ $json.message.text }}"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "85b13ad3-80fb-4620-b4d0-794e976fc7c3",
"name": "分割超过4000字符的消息",
"type": "n8n-nodes-base.code",
"position": [
-2928,
800
],
"parameters": {
"jsCode": "// Input: assumes incoming message in `item.json.message`\nconst input = $json.output;\nconst chunkSize = 4000;\n\n// Function to split text\nfunction splitMessage(text, size) {\n const result = [];\n for (let i = 0; i < text.length; i += size) {\n result.push(text.substring(i, i + size));\n }\n return result;\n}\n\n// Logic\nif (input.length <= chunkSize) {\n return [{ json: { message: input } }];\n} else {\n const chunks = splitMessage(input, chunkSize);\n return chunks.map(chunk => ({ json: { message: chunk } }));\n}"
},
"typeVersion": 2
},
{
"id": "ed9dabd1-6bc7-4b03-bda1-eda5cdb4fad0",
"name": "WEEX 量化 AI Agent",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
-3456,
800
],
"parameters": {
"text": "={{ $json.message }}",
"options": {
"systemMessage": "You are the WEEX Quant AI Agent, responsible for generating structured, professional swing-trading reports for any trading pair on the WEEX Exchange.\n\nYou contain two specialized subagents:\n\n1. WEEX Spot Market Quant AI Agent Tool\n2. WEEX Futures Market Quant AI Agent Tool\n\nFor each user request, you must first identify if the query is about:\n\n* Spot Market → call only the Spot Subagent\n* Futures Market → call only the Futures Subagent\n\nNever run both subagents at the same time unless the user explicitly asks for both.\n\n---\n\nConnected Tools\n\n**Spot Subagent Tools**\n\n* WEEX SM Raw Data AI Agent (REST Snapshot + WebSocket Stream)\n* REST Snapshot: Fetch single ticker, 24h ticker, order book depth, recent trades, candlesticks (15m, 1h, 4h, 1d)\n* WebSocket Stream: Live ticker, trades, order book deltas, klines (15m, 1h, 4h, 1d)\n* Indicator Subagents:\n\n * WEEX SM 15min AI Agent (RSI, MACD, BBANDS, SMA, EMA, ADX)\n * WEEX SM 1h AI Agent (RSI, MACD, BBANDS, SMA, EMA, ADX)\n * WEEX SM 4h AI Agent (RSI, MACD, BBANDS, SMA, EMA, ADX)\n * WEEX SM 1d AI Agent (RSI, MACD, BBANDS, SMA, EMA, ADX)\n\n**Futures Subagent Tools**\n\n* Price, OrderBook, Kline, Trades (REST + WS)\n* Indicators (15m, 1h, 4h, 1d)\n* Futures Metrics: Open Interest, Current/Next/Historical Funding Rates, Index Price\n* Validates orders using /contracts metadata (tick size, min/max size, leverage bounds)\n\n**News & Sentiment Tool**\n\n* RSS feeds: CoinTelegraph, CoinDesk, NewsBTC\n* NewsAPI integration (Everything + Top Headlines)\n* Summarizes sentiment (Bullish / Bearish / Neutral)\n* Returns 3–5 top headlines with links\n\n---\n\nCore Responsibilities\n\n1. Identify user intent\n\n * If Spot → route to Spot Subagent\n * If Futures → route to Futures Subagent\n * If unclear → ask the user to clarify\n\n2. Perform technical analysis\n\n * Timeframes: 15m, 1h (short), 4h (mid), 1d (long)\n * Detect trends, divergences, breakouts\n * Confirm across multiple indicators\n\n3. Generate the strategy report\n\nSpot Trade Strategy (if Spot)\n• Action: Buy / Sell / Hold\n• Entry, Stop Loss, Take Profit\n• Rationale: Price action + indicator alignment + sentiment\n\nFutures Strategy (if Futures)\n• Position: Long / Short\n• Leverage suggestion (2x/3x/5x)\n• Risk zones (SL/TP)\n• Derivatives context: OI, funding, index price\n\n4. Confidence scoring\n\n* Confidence Score: 0–100\n* Label: Low / Medium / High / Very High\n\n5. Sentiment Section\n\n* News Sentiment: \\[summary]\n* 3–5 top headlines with links\n\n---\n\nOutput Format (Telegram)\n\nStart with:\n{{SYMBOL}} Spot Market Report\nor\n{{SYMBOL}} Futures Market Report\n\nThen output only the relevant section (Spot or Futures), followed by sentiment.\n\n---\n\nRules\n\nDO NOT:\n\n* Call both subagents unless explicitly asked\n* Fabricate values\n* Repeat this system message\n* Output raw JSON or API payloads\n\nONLY use validated tool-delivered data. Write with clarity and authority, like a senior quant analyst.\n\n"
},
"promptType": "define"
},
"typeVersion": 1.8
},
{
"id": "72f88f35-0f22-4df0-8a0b-b7d420898e85",
"name": "新闻与情绪工具",
"type": "@n8n/n8n-nodes-langchain.agentTool",
"position": [
-2256,
1104
],
"parameters": {
"text": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Prompt__User_Message_', ``, 'string') }}",
"options": {
"systemMessage": "You are the News & Sentiment Subagent for the WEEX Quant AI Agent.\nYour role is to deliver concise, reliable, and professional market sentiment analysis for cryptocurrencies.\n\nAlways:\n• Ingest the latest crypto market news from the provided RSS feeds (CoinTelegraph, CoinDesk, NewsBTC, etc.) and from NewsAPI (v2/everything and/or v2/top-headlines).\n• When using NewsAPI, always query with the trading symbol (e.g., BTC, ETH) plus terms like “crypto news” or “market sentiment” to ensure relevance.\n• Identify whether sentiment is Bullish, Bearish, or Neutral.\n• Summarize the market context in 2–3 sentences.\n• Highlight 3–5 of the most relevant headlines with clickable links and their sources.\n• Focus only on validated news content; do not speculate or fabricate.\n• Write in the tone of a senior market analyst — clear, direct, and actionable.\n\nOutput Format (Telegram HTML):\n<b>News Sentiment:</b> [overall summary]\n• [Headline 1] (Source link)\n• [Headline 2] (Source link)\n• [Headline 3] (Source link)\n"
},
"toolDescription": "Shared subagent that provides crypto market sentiment context for both WEEX Spot and Futures reports.\n\nCapabilities:\n• Gathers news from trusted crypto outlets (e.g., CoinDesk, Cointelegraph, BitcoinMagazine, NewsBTC).\n• Generates a sentiment score (Bullish / Bearish / Neutral).\n• Produces a 2–3 sentence market snapshot.\n• Returns top 3–5 headlines with source links for quick reference.\n\nOutput: A concise sentiment block for the final report, reinforcing or challenging technical signals with broader market context."
},
"typeVersion": 2.2
},
{
"id": "566163e8-d2c8-44d7-811a-48ef921778a8",
"name": "OpenAI 聊天模型1",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-3760,
1552
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4.1-mini"
},
"options": {}
},
"credentials": {
"openAiApi": {
"id": "yUizd8t0sD5wMYVG",
"name": "OpenAi account"
}
},
"typeVersion": 1.2
},
{
"id": "0fbdadaf-28c7-48d1-bd14-dac431fd3b23",
"name": "OpenAI 聊天模型2",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-2592,
1376
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4.1-mini"
},
"options": {}
},
"credentials": {
"openAiApi": {
"id": "yUizd8t0sD5wMYVG",
"name": "OpenAi account"
}
},
"typeVersion": 1.2
},
{
"id": "d1930759-6ad6-4950-8f10-fffe235383e1",
"name": "WEEX 现货市场量化 AI Agent 工具",
"type": "@n8n/n8n-nodes-langchain.agentTool",
"position": [
-3456,
1328
],
"parameters": {
"text": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Prompt__User_Message_', ``, 'string') }}",
"options": {
"systemMessage": "You are the WEEX Spot Market Quant AI Agent (e.g., BTCUSDT\\_SPBL).\nYour job is to orchestrate all Spot data tools, merge them, run multi-timeframe analysis, and produce a clear trading report in plain text.\n\nMUST USE TOOLS (in this order):\n\n1. WEEX SM REST Snapshot Subagent Tool — baseline snapshot required (ticker, 24h stats, depth, trades, candles 15m/1h/4h/1d). Do not skip this.\n2. WEEX SM WebSocket Stream Subagent Tool — apply latest deltas (ticker, last kline per TF, depth deltas, trades) onto the REST baseline.\n3. HTTP tools when needed to backfill or validate:\n • Fetch single ticker\n • Fetch 15m Candles • Fetch 1h Candles • Fetch 4h Candles • Fetch 1d Candles\n • Fetch OrderBook Depth\n • Fetch Trades\n Use these if the snapshot has fewer than \\~200 bars per TF, or if any section is missing.\n4. Indicator subagents (consume the merged OHLCV from step 1–3):\n • WEEX SM 15min AI Agent Tool\n • WEEX SM 1hour AI Agent Tool\n • WEEX SM 4hour AI Agent Tool\n • WEEX SM 1day AI Agent Tool\n5. News & Sentiment Tool — short market context with 3–5 links.\n\nDATA HANDLING RULES:\n• Always start from the REST Snapshot, then layer WebSocket updates.\n• Keep candles sorted ascending, clamp each TF to \\~200 bars.\n• Keep top 200 levels on each side of the order book; compute depth imbalance (%).\n• Parse all numbers; drop NaNs; ignore corrupted rows.\n• If any tool fails, continue with available data and add a one-line “Data gaps” note naming the tool.\n\nANALYSIS:\n• Timeframes: 15m (short), 1h (short), 4h (mid), 1d (long).\n• Indicators per TF: RSI(14), MACD(12,26,9), Bollinger(20,2), SMA(20/50/200), EMA(20/50/200), ADX(14).\n• Describe trend per TF (Bullish / Bearish / Sideways) based on indicator alignment and price structure (breakouts, divergences, supports/resistances).\n• Use order flow cues (bid/ask imbalance, notable recent trades) to confirm or fade signals.\n• Incorporate sentiment summary to support or caution the setup.\n\nOUTPUT FORMAT (PLAIN TEXT — NO HTML):\n{{SYMBOL}} Spot Market Report\n\nSnapshot\n• Last / Bid / Ask: \\[values]\n• 24h: High \\[h], Low \\[l], Volume \\[v]\n• Order book: Bid/Ask imbalance \\[%]\n• Recent trades: \\[count]/\\[lookback] with largest trade \\[size] @ \\[price]\n\nTechnicals\n• 15m: \\[RSI/MACD/BB/SMA/EMA/ADX highlights] → \\[Bullish | Bearish | Sideways]\n• 1h: …\n• 4h: …\n• 1d: …\n\nSpot Strategy\n• Action: Buy | Sell | Hold\n• Entry: \\[price]\n• Stop Loss: \\[price]\n• Take Profit: \\[price(s)]\n• Rationale: indicator alignment + order flow + key levels + sentiment\n\nConfidence\n• Score: 0–100\n• Label: Low | Medium | High | Very High\n\nNews Sentiment\n• \\[2–3 sentence snapshot]\n• Top headlines (3–5): \\[Source - URL]\n\nCONSTRAINTS:\n• Never omit data from the WEEX SM REST Snapshot Subagent Tool.\n• Do not fabricate values or return raw JSON.\n• Keep the report concise, professional, and actionable.\n"
},
"toolDescription": "Specialized subagent for analyzing WEEX Spot Market pairs (e.g., BTCUSDT_SPBL).\n\nCapabilities:\n• Fetches Spot price, order book, klines, trades via WS + REST.\n• Runs multi-timeframe indicators (15m, 1h, 4h, 1d): RSI, MACD, BBANDS, SMA, EMA, ADX.\n• Builds Spot Trade Strategy with entry/SL/TP levels.\n• Incorporates order flow depth and short-term sentiment.\n\nOutput: A professional Spot Market report with actionable Buy/Sell/Hold recommendations, risk zones, and confidence score."
},
"typeVersion": 2.2
},
{
"id": "b4659b52-d733-4abb-97d0-2c84b60e8983",
"name": "RSS CoinTelegraph 新闻源",
"type": "n8n-nodes-base.rssFeedReadTool",
"position": [
-2208,
1360
],
"parameters": {
"url": "=https://cointelegraph.com/rss",
"options": {},
"toolDescription": "Reads data from Cointelegraph RSS Feeds"
},
"typeVersion": 1.2
},
{
"id": "e67c7388-fb1d-4493-b83a-52c4deeaf9b8",
"name": "RSS Coindesk 新闻源",
"type": "n8n-nodes-base.rssFeedReadTool",
"position": [
-2016,
1360
],
"parameters": {
"url": "=https://www.coindesk.com/arc/outboundfeeds/rss",
"options": {},
"toolDescription": "Reads data from an Coindesk RSS Feeds"
},
"typeVersion": 1.2
},
{
"id": "efffa800-3ee4-4253-9a0e-8202190e4d94",
"name": "新闻搜索 API",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
-1632,
1360
],
"parameters": {
"url": "https://newsapi.org/v2/everything",
"options": {},
"sendQuery": true,
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"queryParameters": {
"parameters": [
{
"name": "q",
"value": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('parameters0_Value', `name of crypto that is being searched`, 'string') }}"
},
{
"name": "sortBy",
"value": "popularity"
}
]
},
"toolDescription": "Fetch the latest crypto-related news and market context from NewsAPI.\nUse the Everything endpoint (https://newsapi.org/v2/everything) with the user’s query term (e.g., “BTC news”, “Ethereum sentiment”, “Ripple regulatory update”).\n\nReturn the top 5–8 results with:\n• title\n• url\n• source\n• snippet (short description)\n• publishedAt (if available)\n\nOutput as a structured JSON list so the News & Sentiment Tool can merge these results with RSS feeds into one unified sentiment report.\n"
},
"credentials": {
"httpHeaderAuth": {
"id": "VHp0z35UDG0Iz42I",
"name": "NewsAPI"
}
},
"typeVersion": 4.2
},
{
"id": "90b0a8c8-f755-449c-acf2-89cdab3338b4",
"name": "OpenAI 聊天模型4",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-3952,
2288
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4.1-mini"
},
"options": {}
},
"credentials": {
"openAiApi": {
"id": "yUizd8t0sD5wMYVG",
"name": "OpenAi account"
}
},
"typeVersion": 1.2
},
{
"id": "2bc8cc20-6f80-4685-896d-6b6d06ef62ae",
"name": "OpenAI 聊天模型5",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-3424,
2576
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4.1-mini"
},
"options": {}
},
"credentials": {
"openAiApi": {
"id": "yUizd8t0sD5wMYVG",
"name": "OpenAi account"
}
},
"typeVersion": 1.2
},
{
"id": "6d2c89aa-8187-45ec-9f5e-26197e11b521",
"name": "OpenAI 聊天模型6",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-2624,
2208
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4.1-mini"
},
"options": {}
},
"credentials": {
"openAiApi": {
"id": "yUizd8t0sD5wMYVG",
"name": "OpenAi account"
}
},
"typeVersion": 1.2
},
{
"id": "9f336e0b-8516-4cb8-a6a8-54537367b18e",
"name": "OpenAI 聊天模型7",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-1792,
2480
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4.1-mini"
},
"options": {}
},
"credentials": {
"openAiApi": {
"id": "yUizd8t0sD5wMYVG",
"name": "OpenAi account"
}
},
"typeVersion": 1.2
},
{
"id": "cfd39879-b026-461c-aede-2f4682dd467d",
"name": "OpenAI 聊天模型8",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-1072,
2064
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4.1-mini"
},
"options": {}
},
"credentials": {
"openAiApi": {
"id": "yUizd8t0sD5wMYVG",
"name": "OpenAi account"
}
},
"typeVersion": 1.2
},
{
"id": "434606bc-428f-46cf-a305-ad4e134318f5",
"name": "WEEX 现货市场原始数据 AI Agent 工具",
"type": "@n8n/n8n-nodes-langchain.agentTool",
"position": [
-3792,
1952
],
"parameters": {
"text": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Prompt__User_Message_', ``, 'string') }}",
"options": {
"systemMessage": "You are the WEEX Spot Market Raw Data AI Agent.\nYour role is to orchestrate the Spot REST Snapshot Subagent and WebSocket Stream Subagent to produce one clean, normalized raw market data object for the requested symbol (e.g., BTCUSDT_SPBL). Do not provide analysis or trading recommendations.\n\nAlways:\n• Call the WEEX Spot REST Snapshot Subagent to fetch baseline data:\n - 24h ticker\n - Depth snapshot\n - Recent trades\n - Candles (15m, 1h, 4h, 1d)\n• Call the WEEX Spot WebSocket Stream Subagent to maintain live updates:\n - ticker.{SYMBOL}\n - kline.LAST_PRICE.{SYMBOL}.MINUTE_15, HOUR_1, HOUR_4, DAY_1\n - depth.{SYMBOL}.200\n - trades.{SYMBOL}\n• Merge REST baselines with WebSocket deltas using the merge tool.\n• Validate and normalize: ensure numeric fields, clamp candles to 200 bars, and keep top 200 bids/asks in depth.\n• Output ONE JSON object in this schema:\n\n{\n \"symbol\": \"BTCUSDT_SPBL\",\n \"asOf\": \"<ISO timestamp>\",\n \"ticker\": { \"last\":0, \"bid\":0, \"ask\":0, \"high24h\":0, \"low24h\":0, \"volume24h\":0 },\n \"candles\": {\n \"15m\": [ [ts, open, high, low, close, volume], ... ],\n \"1h\": [ ... ],\n \"4h\": [ ... ],\n \"1d\": [ ... ]\n },\n \"depth\": {\n \"bids\": [ [price, size], ... ],\n \"asks\": [ [price, size], ... ],\n \"ts\": 0\n },\n \"trades\": [\n { \"ts\":0, \"price\":0, \"size\":0, \"side\":\"buy|sell\" }, ...\n ],\n \"meta\": { \"source\":\"weex-spot\", \"bookLevel\":200, \"barsPerTF\":200 }\n}\n\nReturn only the normalized JSON object — no explanations or commentary.\n"
}
},
"typeVersion": 2.2
},
{
"id": "8805c81d-c80f-4337-ae11-ea06ef9072e9",
"name": "WEEX 现货市场 15分钟 AI Agent 工具",
"type": "@n8n/n8n-nodes-langchain.agentTool",
"position": [
-3120,
2144
],
"parameters": {
"text": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Prompt__User_Message_', ``, 'string') }}",
"options": {
"systemMessage": "You are the WEEX Spot Market 15-Minute AI Agent Tool. \nYour role is to analyze WEEX Spot Market candlestick data on the 15m timeframe only. \n\nAlways: \n• Fetch 15m OHLCV data for the requested symbol (e.g., BTCUSDT_SPBL). \n• Use the last ~200 candles as input. \n• Calculate and return the following indicators on this timeframe: \n - RSI (14) \n - MACD (12,26,9) \n - Bollinger Bands (20,2) \n - SMA (20, 50, 200) \n - EMA (20, 50, 200) \n - ADX (14) \n• For each indicator, provide both numeric values and a qualitative signal label (e.g., RSI=72 → “Overbought”, MACD cross → “Bearish Crossover”). \n• Summarize the 15m trend context (bullish / bearish / sideways) based on the indicator alignment. \n• Do not generate trade strategies, entry/SL/TP, or news — only the technical indicator results for this timeframe. \n\nOutput Format (JSON): \n{\n \"timeframe\": \"15m\",\n \"indicators\": {\n \"rsi\": {\"value\": 0, \"label\": \"\"},\n \"macd\": {\"macd\":0,\"signal\":0,\"histogram\":0,\"label\":\"\"},\n \"bbands\": {\"upper\":0,\"middle\":0,\"lower\":0,\"label\":\"\"},\n \"sma\": {\"sma20\":0,\"sma50\":0,\"sma200\":0},\n \"ema\": {\"ema20\":0,\"ema50\":0,\"ema200\":0},\n \"adx\": {\"value\":0,\"label\":\"\"}\n },\n \"summary\": \"Bullish | Bearish | Sideways\"\n}\n\nOnly return validated JSON results for indicators on the 15m timeframe. No extra text, commentary, or HTML.\n"
}
},
"typeVersion": 2.2
},
{
"id": "063e66cc-4438-4849-ac62-5ebd2d94fa0b",
"name": "WEEX 现货市场 1小时 AI Agent 工具",
"type": "@n8n/n8n-nodes-langchain.agentTool",
"position": [
-2400,
1872
],
"parameters": {
"text": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Prompt__User_Message_', ``, 'string') }}",
"options": {
"systemMessage": "You are the WEEX Spot Market 1-Hour AI Agent Tool. \nYour role is to analyze WEEX Spot Market candlestick data on the 1h timeframe only. \n\nAlways: \n• Fetch 1h OHLCV data for the requested symbol (e.g., BTCUSDT_SPBL). \n• Use the last ~200 candles as input. \n• Calculate and return the following indicators on this timeframe: \n - RSI (14) \n - MACD (12,26,9) \n - Bollinger Bands (20,2) \n - SMA (20, 50, 200) \n - EMA (20, 50, 200) \n - ADX (14) \n• For each indicator, provide both numeric values and a qualitative signal label (e.g., RSI=72 → “Overbought”, MACD cross → “Bullish Crossover”). \n• Summarize the 1h trend context (bullish / bearish / sideways) based on the indicator alignment. \n• Do not generate trade strategies, entry/SL/TP, or news — only the technical indicator results for this timeframe. \n\nOutput Format (JSON): \n{\n \"timeframe\": \"1h\",\n \"indicators\": {\n \"rsi\": {\"value\": 0, \"label\": \"\"},\n \"macd\": {\"macd\":0,\"signal\":0,\"histogram\":0,\"label\":\"\"},\n \"bbands\": {\"upper\":0,\"middle\":0,\"lower\":0,\"label\":\"\"},\n \"sma\": {\"sma20\":0,\"sma50\":0,\"sma200\":0},\n \"ema\": {\"ema20\":0,\"ema50\":0,\"ema200\":0},\n \"adx\": {\"value\":0,\"label\":\"\"}\n },\n \"summary\": \"Bullish | Bearish | Sideways\"\n}\n\nOnly return validated JSON results for indicators on the 1h timeframe. No extra text, commentary, or HTML.\n"
}
},
"typeVersion": 2.2
},
{
"id": "a18ebffe-d542-40a6-ac31-46b0518310f9",
"name": "WEEX 现货市场 4小时 AI Agent 工具",
"type": "@n8n/n8n-nodes-langchain.agentTool",
"position": [
-1568,
2144
],
"parameters": {
"text": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Prompt__User_Message_', ``, 'string') }}",
"options": {
"systemMessage": "You are the WEEX Spot Market 4-Hour AI Agent Tool. \nYour role is to analyze WEEX Spot Market candlestick data on the 4h timeframe only. \n\nAlways: \n• Fetch 4h OHLCV data for the requested symbol (e.g., BTCUSDT_SPBL). \n• Use the last ~200 candles as input. \n• Calculate and return the following indicators on this timeframe: \n - RSI (14) \n - MACD (12,26,9) \n - Bollinger Bands (20,2) \n - SMA (20, 50, 200) \n - EMA (20, 50, 200) \n - ADX (14) \n• For each indicator, provide both numeric values and a qualitative signal label (e.g., RSI=28 → “Oversold”, MACD cross → “Bearish Crossover”). \n• Summarize the 4h trend context (bullish / bearish / sideways) based on the indicator alignment. \n• Do not generate trade strategies, entry/SL/TP, or news — only the technical indicator results for this timeframe. \n\nOutput Format (JSON): \n{\n \"timeframe\": \"4h\",\n \"indicators\": {\n \"rsi\": {\"value\": 0, \"label\": \"\"},\n \"macd\": {\"macd\":0,\"signal\":0,\"histogram\":0,\"label\":\"\"},\n \"bbands\": {\"upper\":0,\"middle\":0,\"lower\":0,\"label\":\"\"},\n \"sma\": {\"sma20\":0,\"sma50\":0,\"sma200\":0},\n \"ema\": {\"ema20\":0,\"ema50\":0,\"ema200\":0},\n \"adx\": {\"value\":0,\"label\":\"\"}\n },\n \"summary\": \"Bullish | Bearish | Sideways\"\n}\n\nOnly return validated JSON results for indicators on the 4h timeframe. No extra text, commentary, or HTML.\n"
}
},
"typeVersion": 2.2
},
{
"id": "2c092c82-ef9b-4a8c-a6e2-54f2603ce5db",
"name": "WEEX 现货市场 1天 AI Agent 工具",
"type": "@n8n/n8n-nodes-langchain.agentTool",
"position": [
-832,
1728
],
"parameters": {
"text": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Prompt__User_Message_', ``, 'string') }}",
"options": {
"systemMessage": "You are the WEEX Spot Market 1-Day AI Agent Tool. \nYour role is to analyze WEEX Spot Market candlestick data on the 1d timeframe only. \n\nAlways: \n• Fetch 1d OHLCV data for the requested symbol (e.g., BTCUSDT_SPBL). \n• Use the last ~200 candles as input. \n• Calculate and return the following indicators on this timeframe: \n - RSI (14) \n - MACD (12,26,9) \n - Bollinger Bands (20,2) \n - SMA (20, 50, 200) \n - EMA (20, 50, 200) \n - ADX (14) \n• For each indicator, provide both numeric values and a qualitative signal label (e.g., RSI=65 → “Bullish Momentum”, MACD cross → “Bullish Crossover”). \n• Summarize the 1d trend context (bullish / bearish / sideways) based on the indicator alignment. \n• Do not generate trade strategies, entry/SL/TP, or news — only the technical indicator results for this timeframe. \n\nOutput Format (JSON): \n{\n \"timeframe\": \"1d\",\n \"indicators\": {\n \"rsi\": {\"value\": 0, \"label\": \"\"},\n \"macd\": {\"macd\":0,\"signal\":0,\"histogram\":0,\"label\":\"\"},\n \"bbands\": {\"upper\":0,\"middle\":0,\"lower\":0,\"label\":\"\"},\n \"sma\": {\"sma20\":0,\"sma50\":0,\"sma200\":0},\n \"ema\": {\"ema20\":0,\"ema50\":0,\"ema200\":0},\n \"adx\": {\"value\":0,\"label\":\"\"}\n },\n \"summary\": \"Bullish | Bearish | Sideways\"\n}\n\nOnly return validated JSON results for indicators on the 1d timeframe. No extra text, commentary, or HTML.\n"
}
},
"typeVersion": 2.2
},
{
"id": "e7b7115d-2d3a-4120-9321-233dc5b93e59",
"name": "RSS NewBTC 新闻源",
"type": "n8n-nodes-base.rssFeedReadTool",
"position": [
-1824,
1360
],
"parameters": {
"url": "=https://www.newsbtc.com/feed/",
"options": {},
"toolDescription": "Reads data from an RSS Feeds"
},
"typeVersion": 1.2
},
{
"id": "1d068775-1c3a-40a0-b410-faf046f091f3",
"name": "OpenAI 聊天模型14",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-5136,
2752
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4.1-mini"
},
"options": {}
},
"credentials": {
"openAiApi": {
"id": "yUizd8t0sD5wMYVG",
"name": "OpenAi account"
}
},
"typeVersion": 1.2
},
{
"id": "00e6e944-922f-4a4d-943f-55d3f8b3c178",
"name": "WEEX 现货市场 REST 快照子代理工具",
"type": "@n8n/n8n-nodes-langchain.agentTool",
"position": [
-4352,
2464
],
"parameters": {
"text": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Prompt__User_Message_', ``, 'string') }}",
"options": {
"systemMessage": "You are the WEEX Spot REST Snapshot Subagent.\nFetch and normalize baseline data for the given Spot symbol. Do not provide analysis.\n\nAlways:\n• Get 24h ticker, depth snapshot, recent trades, and candles for 15m/1h/4h/1d via WEEX Spot REST.\n• Return at least {{minBars}} bars per timeframe, sorted ascending.\n• Parse numeric fields; drop NaNs; clamp arrays to limits.\n\nRespond with ONE JSON object:\n{\n \"rest\": {\n \"asOf\":\"<ISO>\",\n \"ticker\":{...},\n \"candles\":{\"15m\":[[ts,o,h,l,c,v],...],\"1h\":[...],\"4h\":[...],\"1d\":[...]},\n \"depth\":{\"bids\":[[p,sz],...],\"asks\":[[p,sz],...],\"ts\":0},\n \"trades\":[{\"ts\":0,\"price\":0,\"size\":0,\"side\":\"buy|sell\"},...]\n }\n}\n"
}
},
"typeVersion": 2.2
},
{
"id": "92482077-9544-4ee1-be86-8b9f7c1ad58e",
"name": "WEEX 现货市场原始数据记忆",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
-3712,
2272
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "3392e047-d8e1-4f20-8378-f5d91b61f303",
"name": "WEEX 现货市场 REST 快照记忆",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
-4976,
2752
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "248b0f78-be28-47fc-8585-2469e21106a6",
"name": "获取单个交易对",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
-4624,
2752
],
"parameters": {
"url": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('URL', `Request example\n\ncurl \"https://contract-openapi.weex.com/api/spot/v1/market/ticker?symbol=BTCUSDT_SPBL\"\n`, 'string') }}",
"options": {},
"toolDescription": "Fetch single 24h ticker for one WEEX spot pair (e.g., BTCUSDT_SPBL). Returns latest price, 24h high/low, base/quote volumes, ts."
},
"typeVersion": 4.2
},
{
"id": "ed71929f-127d-4f66-93ed-b00baba2eea8",
"name": "获取 15分钟 K线",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
-4432,
2752
],
"parameters": {
"url": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('URL', `Request example\n\ncurl \"https://contract-openapi.weex.com/api/spot/v1/market/candles?symbol=BTCUSDT_SPBL&period=15min&limit=200\"`, 'string') }}",
"options": {},
"toolDescription": "Fetch 15min candlestick (OHLCV) data for a WEEX spot pair (e.g., BTCUSDT_SPBL). Returns timestamp, open, high, low, close, baseVol, quoteVol, usdtVol."
},
"typeVersion": 4.2
},
{
"id": "1b0b9941-b690-40b2-993c-9b26507c4470",
"name": "获取 15分钟 K线1",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
-3024,
2576
],
"parameters": {
"url": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('URL', `Request example\n\ncurl \"https://contract-openapi.weex.com/api/spot/v1/market/candles?symbol=BTCUSDT_SPBL&period=15min&limit=200\"`, 'string') }}",
"options": {},
"toolDescription": "Fetch 15min candlestick (OHLCV) data for a WEEX spot pair (e.g., BTCUSDT_SPBL). Returns timestamp, open, high, low, close, baseVol, quoteVol, usdtVol."
},
"typeVersion": 4.2
},
{
"id": "dd637c50-23ab-4028-97f6-6825e7e59541",
"name": "思考",
"type": "@n8n/n8n-nodes-langchain.toolThink",
"position": [
-2848,
2576
],
"parameters": {
"description": "WEEX 现货市场 15分钟 AI Agent 的内部推理步骤。"
},
"typeVersion": 1.1
},
{
"id": "f479e7c8-e345-43dc-977f-5202bd986e96",
"name": "计算器",
"type": "@n8n/n8n-nodes-langchain.toolCalculator",
"position": [
-2704,
2576
],
"parameters": {},
"typeVersion": 1
},
{
"id": "7f54c997-6995-4788-b910-605e4266ddcc",
"name": "计算器1",
"type": "@n8n/n8n-nodes-langchain.toolCalculator",
"position": [
-1984,
2208
],
"parameters": {},
"typeVersion": 1
},
{
"id": "499e4f16-5301-492e-9b30-ad9257487cdc",
"name": "计算器2",
"type": "@n8n/n8n-nodes-langchain.toolCalculator",
"position": [
-432,
2064
],
"parameters": {},
"typeVersion": 1
},
{
"id": "e0503baa-da12-41f9-9638-ef58cafa1386",
"name": "计算器3",
"type": "@n8n/n8n-nodes-langchain.toolCalculator",
"position": [
-1152,
2480
],
"parameters": {},
"typeVersion": 1
},
{
"id": "98dd3374-8db5-4b57-85e0-5aa99a9c9055",
"name": "获取 1小时 K线",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
-2256,
2208
],
"parameters": {
"url": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('URL', `Request example\n\ncurl \"https://contract-openapi.weex.com/api/spot/v1/market/candles?symbol=BTCUSDT_SPBL&period=1h&limit=200\"`, 'string') }}",
"options": {},
"toolDescription": "Fetch 1h candlestick (OHLCV) data for a WEEX spot pair (e.g., BTCUSDT_SPBL). Returns timestamp, open, high, low, close, baseVol, quoteVol, usdtVol."
},
"typeVersion": 4.2
},
{
"id": "0356b03c-9080-455f-8844-ad8a7ef192a5",
"name": "获取 1小时 K线1",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
-4240,
2752
],
"parameters": {
"url": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('URL', `Request example\n\ncurl \"https://contract-openapi.weex.com/api/spot/v1/market/candles?symbol=BTCUSDT_SPBL&period=1h&limit=200\"`, 'string') }}",
"options": {},
"toolDescription": "Fetch 1h candlestick (OHLCV) data for a WEEX spot pair (e.g., BTCUSDT_SPBL). Returns timestamp, open, high, low, close, baseVol, quoteVol, usdtVol."
},
"typeVersion": 4.2
},
{
"id": "a1d42ac3-5b90-4131-a80c-9b32c6e6cfe4",
"name": "获取 4小时 K线",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
-1440,
2480
],
"parameters": {
"url": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('URL', `Request example\n\ncurl \"https://contract-openapi.weex.com/api/spot/v1/market/candles?symbol=BTCUSDT_SPBL&period=4h&limit=200\"`, 'string') }}",
"options": {},
"toolDescription": "Fetch 4h candlestick (OHLCV) data for a WEEX spot pair (e.g., BTCUSDT_SPBL). Returns timestamp, open, high, low, close, baseVol, quoteVol, usdtVol."
},
"typeVersion": 4.2
},
{
"id": "e23e44a8-9e1c-4ba6-a424-071e8e91a649",
"name": "获取 4小时 K线1",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
-4048,
2752
],
"parameters": {
"url": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('URL', `Request example\n\ncurl \"https://contract-openapi.weex.com/api/spot/v1/market/candles?symbol=BTCUSDT_SPBL&period=4h&limit=200\"`, 'string') }}",
"options": {},
"toolDescription": "Fetch 4h candlestick (OHLCV) data for a WEEX spot pair (e.g., BTCUSDT_SPBL). Returns timestamp, open, high, low, close, baseVol, quoteVol, usdtVol."
},
"typeVersion": 4.2
},
{
"id": "09b93a69-dc37-42cf-840b-f99cee2effb2",
"name": "获取 1天 K线",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
-736,
2064
],
"parameters": {
"url": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('URL', `Request example\n\ncurl \"https://contract-openapi.weex.com/api/spot/v1/market/candles?symbol=BTCUSDT_SPBL&period=1day&limit=200\"`, 'string') }}",
"options": {},
"toolDescription": "Fetch 1d candlestick (OHLCV) data for a WEEX spot pair (e.g., BTCUSDT_SPBL). Returns timestamp, open, high, low, close, baseVol, quoteVol, usdtVol."
},
"typeVersion": 4.2
},
{
"id": "9e32934a-357d-4613-b5dd-4a6a3f82c96a",
"name": "获取 1天 K线1",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
-3872,
2752
],
"parameters": {
"url": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('URL', `Request example\n\ncurl \"https://contract-openapi.weex.com/api/spot/v1/market/candles?symbol=BTCUSDT_SPBL&period=1day&limit=200\"`, 'string') }}",
"options": {},
"toolDescription": "Fetch 1day candlestick (OHLCV) data for a WEEX spot pair (e.g., BTCUSDT_SPBL). Returns timestamp, open, high, low, close, baseVol, quoteVol, usdtVol."
},
"typeVersion": 4.2
},
{
"id": "c0bb5994-1500-426f-821f-212c762b73d7",
"name": "获取订单簿深度",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
-3696,
2752
],
"parameters": {
"url": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('URL', `Request example\n\ncurl \"https://contract-openapi.weex.com/api/spot/v1/market/depth?symbol=BTCUSDT_SPBL&type=step0&limit=200\"`, 'string') }}",
"options": {},
"toolDescription": "Fetch order book depth snapshot for a WEEX spot pair (e.g., BTCUSDT_SPBL). Returns arrays of [price, size] for bids and asks."
},
"typeVersion": 4.2
},
{
"id": "f072c5d5-2cb8-44af-978b-8780e2938898",
"name": "获取交易记录",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
-3536,
2752
],
"parameters": {
"url": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('URL', `Request example\n\ncurl \"https://contract-openapi.weex.com/api/spot/v1/market/fills?symbol=BTCUSDT_SPBL&limit=100\"`, 'string') }}",
"options": {},
"toolDescription": "Fetch recent trades (fills) for a WEEX spot pair (e.g., BTCUSDT_SPBL). Returns tradeId, side, price, quantity, and timestamp."
},
"typeVersion": 4.2
},
{
"id": "2d719589-1ec5-4131-89d4-e323c97786bc",
"name": "发送文本消息",
"type": "n8n-nodes-base.telegram",
"position": [
-2720,
800
],
"webhookId": "f1c28f52-ba37-4c87-93e6-ca3beb727a56",
"parameters": {
"text": "={{ $json.message }}",
"chatId": "={{ $('Telegram Trigger').item.json.message.chat.id }}",
"additionalFields": {
"appendAttribution": false
}
},
"credentials": {
"telegramApi": {
"id": "V9T6a372kMmcwhyP",
"name": "WEEX_Quant_AI_Agent_bot"
}
},
"typeVersion": 1.2
},
{
"id": "14760fdd-1cc8-4845-9aa9-359246d62309",
"name": "WEEX 量化 AI Agent 记忆",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
-3648,
1104
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "d4eaabf1-f945-42b4-bd73-5e66f75b5e8e",
"name": "WEEX 现货市场量化记忆",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
-3568,
1552
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "a4cd220b-10fd-4360-9196-a0ecbcbc1f91",
"name": "WEEX 现货市场 15分钟记忆",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
-3216,
2576
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "95cc6e39-b010-43f3-8f65-ec710570ac5a",
"name": "WEEX 现货市场 REST 快照思考",
"type": "@n8n/n8n-nodes-langchain.toolThink",
"position": [
-4784,
2752
],
"parameters": {
"description": "验证并协调所有 REST 快照获取。确保单个交易对、K线(15分钟/1小时/4小时/1天)、订单簿深度和最近交易记录成功收集。验证数组为数字、升序排列并修剪到限制(最多 200 根 K线,前 200 个深度级别)。丢弃 NaN,通过优先选择最新时间戳解决冲突。输出统一的、规范化的 JSON 对象(在 rest 下)传递给下游分析。"
},
"typeVersion": 1.1
},
{
"id": "a4419407-ea5b-4df5-9058-9602aae8bfae",
"name": "WEEX 现货市场原始数据思考",
"type": "@n8n/n8n-nodes-langchain.toolThink",
"position": [
-3488,
2288
],
"parameters": {
"description": "将现货 REST 快照和 WebSocket 流输出协调为单个规范化数据对象。验证交易对、K线(15分钟/1小时/4小时/1天)、订单簿深度和交易记录。确保 REST 基线数据与增量 WS 更新合并。去重条目,将数组限制为 200,并通过时间戳解决冲突(优先最新)。保证所有数值有效,丢弃无效行,并为下游代理输出统一的原始现货 JSON 有效载荷。"
},
"typeVersion": 1.1
},
{
"id": "8cbef24b-3288-4cc5-b12c-ebc9e4e9147f",
"name": "WEEX 现货市场 1小时记忆",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
-2432,
2208
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "e8d001a9-b64b-4a92-bb36-ee85800f280f",
"name": "WEEX 现货市场 1小时思考",
"type": "@n8n/n8n-nodes-langchain.toolThink",
"position": [
-2128,
2208
],
"parameters": {
"description": "WEEX 现货市场 1小时 AI Agent 的内部推理步骤。"
},
"typeVersion": 1.1
},
{
"id": "b2dad21c-4e41-4362-9f9a-939678887102",
"name": "WEEX 现货市场 4小时记忆",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
-1600,
2480
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "097e40d6-5eb2-4a11-8f1e-19bf5ceae6e0",
"name": "WEEX 现货市场 4小时思考",
"type": "@n8n/n8n-nodes-langchain.toolThink",
"position": [
-1296,
2480
],
"parameters": {
"description": "WEEX 现货市场 4小时 AI Agent 的内部推理步骤。"
},
"typeVersion": 1.1
},
{
"id": "2a0aaa2b-81c3-4f4e-87b7-595b372bb2d8",
"name": "WEEX 现货市场 1天记忆",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
-896,
2064
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "d020943f-592f-40dc-8ace-06b1842a827d",
"name": "WEEX 现货市场 1天思考",
"type": "@n8n/n8n-nodes-langchain.toolThink",
"position": [
-592,
2064
],
"parameters": {
"description": "WEEX 现货市场 1天 AI Agent 的内部推理步骤。"
},
"typeVersion": 1.1
},
{
"id": "bfdfae2a-f9d2-4554-88b9-8ac3da80caf3",
"name": "新闻与情绪记忆",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
-2384,
1376
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "d3ba635d-9d18-4464-be93-4a934996f36b",
"name": "便签 10",
"type": "n8n-nodes-base.stickyNote",
"position": [
-7104,
320
],
"parameters": {
"width": 1780,
"height": 3020,
"content": "# 🧠 WEEX 现货市场量化 AI Agent – 系统文档"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "6ed11db4-d635-4de5-99f3-0e4f0cf8a127",
"connections": {
"Think": {
"ai_tool": [
[
{
"node": "WEEX SM 15min AI Agent Tool",
"type": "ai_tool",
"index": 0
}
]
]
},
"Calculator": {
"ai_tool": [
[
{
"node": "WEEX SM 15min AI Agent Tool",
"type": "ai_tool",
"index": 0
}
]
]
},
"Calculator1": {
"ai_tool": [
[
{
"node": "WEEX SM 1hour AI Agent Tool",
"type": "ai_tool",
"index": 0
}
]
]
},
"Calculator2": {
"ai_tool": [
[
{
"node": "WEEX SM 1day AI Agent Tool",
"type": "ai_tool",
"index": 0
}
]
]
},
"Calculator3": {
"ai_tool": [
[
{
"node": "WEEX SM 4hour AI Agent Tool",
"type": "ai_tool",
"index": 0
}
]
]
},
"Fetch Trades": {
"ai_tool": [
[
{
"node": "WEEX SM REST Snapshot Subagent Tool",
"type": "ai_tool",
"index": 0
}
]
]
},
"News Search API": {
"ai_tool": [
[
{
"node": "News & Sentiment Tool",
"type": "ai_tool",
"index": 0
}
]
]
},
"Adds \"SessionId\"": {
"main": [
[
{
"node": "WEEX Quant AI Agent",
"type": "main",
"index": 0
}
]
]
},
"Fetch 1d Candles": {
"ai_tool": [
[
{
"node": "WEEX SM 1day AI Agent Tool",
"type": "ai_tool",
"index": 0
}
]
]
},
"Fetch 1h Candles": {
"ai_tool": [
[
{
"node": "WEEX SM 1hour AI Agent Tool",
"type": "ai_tool",
"index": 0
}
]
]
},
"Fetch 4h Candles": {
"ai_tool": [
[
{
"node": "WEEX SM 4hour AI Agent Tool",
"type": "ai_tool",
"index": 0
}
]
]
},
"Telegram Trigger": {
"main": [
[
{
"node": "Adds \"SessionId\"",
"type": "main",
"index": 0
}
]
]
},
"Fetch 15m Candles": {
"ai_tool": [
[
{
"node": "WEEX SM REST Snapshot Subagent Tool",
"type": "ai_tool",
"index": 0
}
]
]
},
"Fetch 1d Candles1": {
"ai_tool": [
[
{
"node": "WEEX SM REST Snapshot Subagent Tool",
"type": "ai_tool",
"index": 0
}
]
]
},
"Fetch 1h Candles1": {
"ai_tool": [
[
{
"node": "WEEX SM REST Snapshot Subagent Tool",
"type": "ai_tool",
"index": 0
}
]
]
},
"Fetch 4h Candles1": {
"ai_tool": [
[
{
"node": "WEEX SM REST Snapshot Subagent Tool",
"type": "ai_tool",
"index": 0
}
]
]
},
"OpenAI Chat Model": {
"ai_languageModel": [
[
{
"node": "WEEX Quant AI Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Fetch 15m Candles1": {
"ai_tool": [
[
{
"node": "WEEX SM 15min AI Agent Tool",
"type": "ai_tool",
"index": 0
}
]
]
},
"OpenAI Chat Model1": {
"ai_languageModel": [
[
{
"node": "WEEX Spot Market Quant AI Agent tool",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"OpenAI Chat Model2": {
"ai_languageModel": [
[
{
"node": "News & Sentiment Tool",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"OpenAI Chat Model4": {
"ai_languageModel": [
[
{
"node": "WEEX SM Raw Data AI Agent Tool",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"OpenAI Chat Model5": {
"ai_languageModel": [
[
{
"node": "WEEX SM 15min AI Agent Tool",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"OpenAI Chat Model6": {
"ai_languageModel": [
[
{
"node": "WEEX SM 1hour AI Agent Tool",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"OpenAI Chat Model7": {
"ai_languageModel": [
[
{
"node": "WEEX SM 4hour AI Agent Tool",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"OpenAI Chat Model8": {
"ai_languageModel": [
[
{
"node": "WEEX SM 1day AI Agent Tool",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"WEEX SM 1day Think": {
"ai_tool": [
[
{
"node": "WEEX SM 1day AI Agent Tool",
"type": "ai_tool",
"index": 0
}
]
]
},
"Fetch single ticker": {
"ai_tool": [
[
{
"node": "WEEX SM REST Snapshot Subagent Tool",
"type": "ai_tool",
"index": 0
}
]
]
},
"OpenAI Chat Model14": {
"ai_languageModel": [
[
{
"node": "WEEX SM REST Snapshot Subagent Tool",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"WEEX Quant AI Agent": {
"main": [
[
{
"node": "Splits message is more than 4000 characters",
"type": "main",
"index": 0
}
]
]
},
"WEEX SM 1day Memory": {
"ai_memory": [
[
{
"node": "WEEX SM 1day AI Agent Tool",
"type": "ai_memory",
"index": 0
}
]
]
},
"WEEX SM 1hour Think": {
"ai_tool": [
[
{
"node": "WEEX SM 1hour AI Agent Tool",
"type": "ai_tool",
"index": 0
}
]
]
},
"WEEX SM 4hour Think": {
"ai_tool": [
[
{
"node": "WEEX SM 4hour AI Agent Tool",
"type": "ai_tool",
"index": 0
}
]
]
},
"WEEX SM 15min Memory": {
"ai_memory": [
[
{
"node": "WEEX SM 15min AI Agent Tool",
"type": "ai_memory",
"index": 0
}
]
]
},
"WEEX SM 1hour Memory": {
"ai_memory": [
[
{
"node": "WEEX SM 1hour AI Agent Tool",
"type": "ai_memory",
"index": 0
}
]
]
},
"WEEX SM 4hour Memory": {
"ai_memory": [
[
{
"node": "WEEX SM 4hour AI Agent Tool",
"type": "ai_memory",
"index": 0
}
]
]
},
"Fetch OrderBook Depth": {
"ai_tool": [
[
{
"node": "WEEX SM REST Snapshot Subagent Tool",
"type": "ai_tool",
"index": 0
}
]
]
},
"News & Sentiment Tool": {
"ai_tool": [
[
{
"node": "WEEX Quant AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"RSS NewBTC News Feeds": {
"ai_tool": [
[
{
"node": "News & Sentiment Tool",
"type": "ai_tool",
"index": 0
}
]
]
},
"WEEX SM Raw Data Think": {
"ai_tool": [
[
{
"node": "WEEX SM Raw Data AI Agent Tool",
"type": "ai_tool",
"index": 0
}
]
]
},
"News & Sentiment Memory": {
"ai_memory": [
[
{
"node": "News & Sentiment Tool",
"type": "ai_memory",
"index": 0
}
]
]
},
"RSS Coindesk News Feeds": {
"ai_tool": [
[
{
"node": "News & Sentiment Tool",
"type": "ai_tool",
"index": 0
}
]
]
},
"WEEX SM Raw Data Memory": {
"ai_memory": [
[
{
"node": "WEEX SM Raw Data AI Agent Tool",
"type": "ai_memory",
"index": 0
}
]
]
},
"WEEX Quant AI Agent Memory": {
"ai_memory": [
[
{
"node": "WEEX Quant AI Agent",
"type": "ai_memory",
"index": 0
}
]
]
},
"WEEX SM 1day AI Agent Tool": {
"ai_tool": [
[
{
"node": "WEEX Spot Market Quant AI Agent tool",
"type": "ai_tool",
"index": 0
}
]
]
},
"WEEX SM 15min AI Agent Tool": {
"ai_tool": [
[
{
"node": "WEEX Spot Market Quant AI Agent tool",
"type": "ai_tool",
"index": 0
}
]
]
},
"WEEX SM 1hour AI Agent Tool": {
"ai_tool": [
[
{
"node": "WEEX Spot Market Quant AI Agent tool",
"type": "ai_tool",
"index": 0
}
]
]
},
"WEEX SM 4hour AI Agent Tool": {
"ai_tool": [
[
{
"node": "WEEX Spot Market Quant AI Agent tool",
"type": "ai_tool",
"index": 0
}
]
]
},
"WEEX SM REST Snapshot Think": {
"ai_tool": [
[
{
"node": "WEEX SM REST Snapshot Subagent Tool",
"type": "ai_tool",
"index": 0
}
]
]
},
"RSS CoinTelegraph News Feeds": {
"ai_tool": [
[
{
"node": "News & Sentiment Tool",
"type": "ai_tool",
"index": 0
}
]
]
},
"WEEX SM REST Snapshot Memory": {
"ai_memory": [
[
{
"node": "WEEX SM REST Snapshot Subagent Tool",
"type": "ai_memory",
"index": 0
}
]
]
},
"WEEX Spot Market Quant Memory": {
"ai_memory": [
[
{
"node": "WEEX Spot Market Quant AI Agent tool",
"type": "ai_memory",
"index": 0
}
]
]
},
"WEEX SM Raw Data AI Agent Tool": {
"ai_tool": [
[
{
"node": "WEEX Spot Market Quant AI Agent tool",
"type": "ai_tool",
"index": 0
}
]
]
},
"WEEX SM REST Snapshot Subagent Tool": {
"ai_tool": [
[
{
"node": "WEEX SM Raw Data AI Agent Tool",
"type": "ai_tool",
"index": 0
}
]
]
},
"WEEX Spot Market Quant AI Agent tool": {
"ai_tool": [
[
{
"node": "WEEX Quant AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Splits message is more than 4000 characters": {
"main": [
[
{
"node": "Send a text message",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
高级 - AI 聊天机器人, 多模态 AI
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
币安AI代理v1.02
在Telegram中访问实时币安市场数据,使用GPT-4o格式化
Set
Code
Telegram
+8
35 节点Don Jayamaha Jr
加密货币交易
Upbit AI代理v1.02
在Telegram中使用GPT-4o-mini访问Upbit加密货币市场数据
Set
Code
Telegram
+8
35 节点Don Jayamaha Jr
加密货币交易
HTX AI代理 v1.02
使用HTX API、GPT-4o和Telegram分析加密货币市场数据
Set
Code
Telegram
+8
35 节点Don Jayamaha Jr
杂项
Bitget AI代理 v1.02
使用GPT-4o + Telegram获取Bitget现货市场实时数据
Set
Code
Telegram
+8
31 节点Don Jayamaha Jr
加密货币交易
KuCoin AI代理 v1.02
使用 KuCoin AI 代理获取交易所数据 | GPT-4o + Telegram
Set
Code
Telegram
+8
35 节点Don Jayamaha Jr
加密货币交易
Bybit AI代理 v1.02
通过Telegram使用GPT-4.1-mini从Bybit获取实时加密货币市场数据
Set
Code
Telegram
+8
35 节点Don Jayamaha Jr
加密货币交易
工作流信息
难度等级
高级
节点数量57
分类2
节点类型13
作者
Don Jayamaha Jr
@don-the-gem-dealerWith 12 years of experience as a Blockchain Strategist and Web3 Architect, I specialize in bridging the gap between traditional industries and decentralized technologies. My expertise spans tokenized assets, crypto payment integrations, and blockchain-driven market solutions.
外部链接
在 n8n.io 查看 →
分享此工作流