8
n8n 中文网amn8n.com

特斯拉15分钟指标工具 n8n

中级

这是一个Finance, AI领域的自动化工作流,包含 11 个节点。主要使用 Agent, HttpRequestTool, LmChatOpenAi, ExecuteWorkflowTrigger, MemoryBufferWindow 等节点,结合人工智能技术实现智能自动化。 特斯拉15分钟指标工具(短期AI技术分析)

前置要求
  • 可能需要目标 API 的认证凭证
  • OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "WNeFPeTpGr4F6knx",
  "meta": {
    "instanceId": "a5283507e1917a33cc3ae615b2e7d5ad2c1e50955e6f831272ddd5ab816f3fb6",
    "templateCredsSetupCompleted": true
  },
  "name": "特斯拉 15 分钟指标工具 n8n",
  "tags": [],
  "nodes": [
    {
      "id": "0ce5c7ad-3c00-4df1-8acd-afb36edad51b",
      "name": "当由另一个工作流执行时",
      "type": "n8n-nodes-base.executeWorkflowTrigger",
      "position": [
        100,
        520
      ],
      "parameters": {
        "workflowInputs": {
          "values": [
            {
              "name": "message"
            },
            {
              "name": "sessionId"
            }
          ]
        }
      },
      "typeVersion": 1.1
    },
    {
      "id": "8b3a63a1-7396-44e4-aa76-7219c9a23475",
      "name": "简单记忆",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        660,
        840
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "7e7e41c0-6252-4b5c-b19e-b987ed062a58",
      "name": "特斯拉 15 分钟指标代理",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        540,
        520
      ],
      "parameters": {
        "text": "={{ $json.message }}",
        "options": {
          "systemMessage": "You are the **Tesla 15-Minute Technical Indicators Analyst AI**.\n\nYour role is to analyze short-term market momentum and structure for **Tesla (TSLA)** using technical indicators at the **15-minute interval**. You operate as part of a modular system using **webhook-triggered HTTP calls** that retrieve and preprocess indicator data before reaching you.\n\n---\n\n### 🔌 Data Flow Overview:\n\n* You receive your input via a **webhook**.\n* That webhook calls upstream **n8n HTTP Request Nodes** connected to **Alpha Vantage API**.\n* Each indicator is fetched independently, then passed through **Tool Code Nodes** that extract and limit the output to the **latest 20 data points**.\n* You are the final consumer of the fully formatted and clean technical data.\n\n---\n\n### 📊 Connected Indicators (6 total):\n\nYou receive and interpret the following indicators:\n\n1. **RSI (Relative Strength Index)** – Detects overbought/oversold pressure.\n2. **MACD (Moving Average Convergence Divergence)** – Measures trend reversals and momentum shifts.\n3. **BBANDS (Bollinger Bands)** – Volatility and potential breakout conditions.\n4. **SMA (Simple Moving Average)** – Baseline trend confirmation.\n5. **EMA (Exponential Moving Average)** – Captures short-term trend sensitivity.\n6. **ADX (Average Directional Index)** – Evaluates trend strength.\n\n---\n\n### 🧠 Responsibilities:\n\n1. Parse the final formatted JSON payload for each indicator.\n2. Use these indicators to assess:\n\n   * Short-term trend strength\n   * Momentum exhaustion or continuation\n   * Volatility conditions\n3. Output a compact analysis with:\n\n   * Summary of market state\n   * Most recent values for each indicator\n\n---\n\n### 🧾 Output Format:\n\n```json\n{\n  \"summary\": \"TSLA shows fading momentum. RSI dropped below 60, MACD is flattening, and BBANDS are tightening. Expect short-term consolidation.\",\n  \"timeframe\": \"15m\",\n  \"indicators\": {\n    \"RSI\": 58.3,\n    \"MACD\": {\n      \"macd\": -0.020,\n      \"signal\": -0.018,\n      \"histogram\": -0.002\n    },\n    \"BBANDS\": {\n      \"upper\": 183.10,\n      \"lower\": 176.70,\n      \"middle\": 179.90,\n      \"close\": 177.60\n    },\n    \"SMA\": 178.20,\n    \"EMA\": 177.70,\n    \"ADX\": 19.6\n  }\n}\n```\n\n---\n\nKeep your tone professional and your insights concise. Only base conclusions on clear indicator signals. This output will be passed directly to the **Tesla Financial Market Data Analyst Tool** for final trading signal generation.\n"
        },
        "promptType": "define"
      },
      "typeVersion": 1.8
    },
    {
      "id": "f27bb85f-f3c4-402a-bfe2-4d83c580df1f",
      "name": "15 分钟数据",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        1040,
        840
      ],
      "parameters": {
        "url": "https://treasurium.app.n8n.cloud/webhook/15minData",
        "options": {}
      },
      "typeVersion": 4.2
    },
    {
      "id": "ded3177e-e7be-452f-87ff-6673ed49e009",
      "name": "OpenAI 聊天模型",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        300,
        860
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4.1",
          "cachedResultName": "gpt-4.1"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "yUizd8t0sD5wMYVG",
          "name": "OpenAi account"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "1bd29e02-014a-47e1-b76f-46534c1b471c",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        320
      ],
      "parameters": {
        "color": 4,
        "width": 280,
        "height": 380,
        "content": "## 来自父工作流的触发器"
      },
      "typeVersion": 1
    },
    {
      "id": "a03a615f-39e6-4997-8ea2-93995051a648",
      "name": "便签5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        220,
        800
      ],
      "parameters": {
        "color": 2,
        "height": 380,
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "4dc5fcc9-e991-48dd-b0e7-23e1d4bc4afb",
      "name": "便签2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        560,
        800
      ],
      "parameters": {
        "color": 3,
        "height": 380,
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "19f04c94-2c21-44fd-8fe5-54472b2849a5",
      "name": "便签3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        960,
        800
      ],
      "parameters": {
        "color": 6,
        "height": 500,
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "6f9e64bf-e1ae-4d12-81da-cc1c0f2e8596",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        440,
        280
      ],
      "parameters": {
        "color": 5,
        "width": 480,
        "height": 440,
        "content": "## 特斯拉 15 分钟技术指标 AI"
      },
      "typeVersion": 1
    },
    {
      "id": "e05e507d-8d73-4bbd-b147-9d1c4d8e0a81",
      "name": "便签4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1360,
        -900
      ],
      "parameters": {
        "width": 1560,
        "height": 2200,
        "content": "## 📘 特斯拉 15 分钟指标工具"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "16ea335b-279d-4b2a-8713-10fb1c28ff58",
  "connections": {
    "15min Data": {
      "ai_tool": [
        [
          {
            "node": "Tesla 15min Indicators Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory": {
      "ai_memory": [
        [
          {
            "node": "Tesla 15min Indicators Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Tesla 15min Indicators Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "When Executed by Another Workflow": {
      "main": [
        [
          {
            "node": "Tesla 15min Indicators Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。

这个工作流适合什么场景?

中级 - 财务, 人工智能

需要付费吗?

本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。

工作流信息
难度等级
中级
节点数量11
分类2
节点类型6
难度说明

适合有一定经验的用户,包含 6-15 个节点的中等复杂度工作流

作者
Don Jayamaha Jr

Don Jayamaha Jr

@don-the-gem-dealer

With 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 查看

分享此工作流