8
n8n 中文网amn8n.com

Bitget AI交易代理

高级

这是一个自动化工作流,包含 156 个节点。主要使用 Set, Code, Crypto, Switch, Webhook 等节点。 通过Telegram使用GPT-4o-mini AI代理自动化Bitget现货交易

前置要求
  • HTTP Webhook 端点(n8n 会自动生成)
  • Telegram Bot Token
  • 可能需要目标 API 的认证凭证
  • OpenAI API Key

分类

-
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "5yVz1qJhRVRHyvDJ",
  "meta": {
    "instanceId": "a5283507e1917a33cc3ae615b2e7d5ad2c1e50955e6f831272ddd5ab816f3fb6",
    "templateCredsSetupCompleted": true
  },
  "name": "Bitget AI 交易代理(已完成)",
  "tags": [],
  "nodes": [
    {
      "id": "03d1f870-6472-472c-9e80-54d7164668e4",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -2736,
        -240
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "1630605c-f5ab-4bad-bded-1ef5634bf48c",
      "name": "Telegram 触发器",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        -3232,
        -768
      ],
      "webhookId": "e53e1943-6e56-4282-b52d-9df3b328bb24",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "f6d8b1c6-be8e-4e73-bf5f-118ef9de94b8",
      "name": "用户认证(替换 Telegram ID)",
      "type": "n8n-nodes-base.code",
      "position": [
        -2912,
        -768
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "3e8679a0-4e85-4a93-9330-2bb262c611c4",
      "name": "Telegram",
      "type": "n8n-nodes-base.telegram",
      "position": [
        432,
        -752
      ],
      "webhookId": "424e8ee4-7790-4f3b-a1f6-35d3a45fe4b8",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "63833e05-e42f-4e70-9d55-308432e5a457",
      "name": "分割超过4000字符的消息",
      "type": "n8n-nodes-base.code",
      "position": [
        0,
        -752
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "f26333b1-1822-4973-aa65-f046ddfc2f7f",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3296,
        -1040
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "db25e2f9-36f2-43e0-9b40-163b7f9338c1",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2976,
        -1040
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "ebbf7129-94a4-4ef6-b7ea-269a8ad3ecff",
      "name": "便签 4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -80,
        -1024
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "b9603977-5f93-4af2-9d2e-5592861569a2",
      "name": "便签 5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        368,
        -1024
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "5277ff69-b7f5-415f-9f68-3763f3458e2f",
      "name": "便签6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2816,
        -336
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "b604d5f9-c485-41fd-b2d0-3c105cb1b404",
      "name": "### 替换 Airtable 连接",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2544,
        -336
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "51f30d5d-adf6-4756-bd3c-243e33698136",
      "name": "计算器",
      "type": "@n8n/n8n-nodes-langchain.toolCalculator",
      "position": [
        608,
        -368
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "ff6f7ebe-6da2-4974-8670-3dedea643a1d",
      "name": "思考",
      "type": "@n8n/n8n-nodes-langchain.toolThink",
      "position": [
        1168,
        -336
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "740a1626-4789-4ab0-8d08-8c7ec44a6211",
      "name": "Bitget AI 交易代理",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -816,
        -752
      ],
      "parameters": {},
      "typeVersion": 1.8
    },
    {
      "id": "6d3e6a6e-541c-4215-b6ef-a0b5b6152440",
      "name": "账户和钱包代理工具",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        -2704,
        768
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "81a180a2-9aac-438c-8b42-0485ebcd4295",
      "name": "OpenAI 聊天模型1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -3392,
        1168
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "d192cbb5-179d-44c3-8ee4-30593570d84f",
      "name": "获取账户信息 HTTP 请求",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -2640,
        1136
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "4560b80a-31da-4149-8c53-10766f398e32",
      "name": "获取账户资产 HTTP 请求",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -2176,
        1136
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "6e19d19f-440e-47cd-813e-b05b0a1d3cb9",
      "name": "获取存款地址 HTTP 请求",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -1728,
        1152
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "f8307e3a-f3cc-4645-8e81-169f6249204a",
      "name": "简单记忆1",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        -3008,
        1152
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "06e05006-a7c1-4e81-8edf-975a3910105b",
      "name": "现货订单交易代理工具",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        -800,
        2176
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "09907500-6b6b-44ae-9aa8-d06ad3a12562",
      "name": "OpenAI 聊天模型2",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -1888,
        2544
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "089313fc-a25f-4a1d-ba21-c62870cc6161",
      "name": "下单 HTTP 请求",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -1232,
        2544
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "a98e904b-e640-4b8a-bb2d-b85cbcae5d4d",
      "name": "计算器1",
      "type": "@n8n/n8n-nodes-langchain.toolCalculator",
      "position": [
        528,
        2576
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "805ccacf-7c81-45bd-9df2-bd14d2b77bf9",
      "name": "获取行情信息",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -80,
        2544
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "7c22b5aa-b232-45db-9dbf-6cc6e56d116a",
      "name": "获取交易对信息",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        224,
        2560
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "1edd0f3d-8617-40e9-8259-98ba3f29f3d9",
      "name": "获取订单信息 HTTP 请求",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -880,
        2544
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "eb504815-71dc-4b5f-a5ba-a895ada4142d",
      "name": "简单记忆",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        -2464,
        -256
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "737d0efb-b1b2-4ec6-81eb-ed13d1945bdb",
      "name": "Simple Memory2",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        -1552,
        2544
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "d5bc2fca-e0b5-4520-be69-bc42fd08d16b",
      "name": "获取当前订单 HTTP 请求",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -608,
        2544
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "a03b896d-0559-4652-bf3c-e724e60ea44b",
      "name": "取消订单 HTTP 请求",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -352,
        2544
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "a9a0e41a-8137-4e45-87a3-015d16d56545",
      "name": "触发订单代理工具",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        464,
        720
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "8b228818-0237-497f-8e84-586220ca5c0f",
      "name": "OpenAI 聊天模型3",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -320,
        1088
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "8c051788-568d-42cb-85e2-012bb461e0fc",
      "name": "下计划订单 HTTP 请求",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        320,
        1104
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "b905596b-2baf-4b0e-8aba-5c0fcf63644e",
      "name": "简单记忆3",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        -32,
        1088
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "6e52b518-f914-4f73-8d69-b13d51950946",
      "name": "修改计划订单 HTTP 请求",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        672,
        1088
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "9090f30b-cb19-4d20-b382-54ebee490ae1",
      "name": "获取当前计划订单 HTTP 请求",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        976,
        1088
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "67094cde-0bd5-4cdb-94d4-e20253614104",
      "name": "取消计划订单 HTTP 请求",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        1328,
        1088
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "ffa7dc7f-9173-4b7c-8216-7863f73795d6",
      "name": "OpenAI2",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        -1760,
        -976
      ],
      "parameters": {},
      "typeVersion": 1.8
    },
    {
      "id": "727dc921-e31e-44ce-9512-41a09b6c40e6",
      "name": "设置消息",
      "type": "n8n-nodes-base.set",
      "position": [
        -1376,
        -752
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "f5c72ea4-7a2e-4112-8a97-86dbd38f1b1d",
      "name": "消息格式选择器",
      "type": "n8n-nodes-base.switch",
      "position": [
        -2480,
        -784
      ],
      "parameters": {},
      "typeVersion": 3.2
    },
    {
      "id": "4684c737-0f29-43a6-8334-227550d68f07",
      "name": "便签 3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2576,
        -960
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "d9caa75c-a49b-4d7b-ac92-0ff2159d3e1e",
      "name": "Telegram 音频下载",
      "type": "n8n-nodes-base.telegram",
      "position": [
        -2112,
        -976
      ],
      "webhookId": "887bf356-cae2-4b58-ace6-e8a392511815",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "865b228c-ed7e-4434-9b9f-14bf740737b4",
      "name": "便签7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2224,
        -1216
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "90928329-8469-4b7e-8e64-496447b3f96c",
      "name": "便签8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1472,
        -960
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "29dc72ff-4ab3-42df-bb3f-3b1047aaeb8c",
      "name": "OpenAI4",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        -1632,
        -1472
      ],
      "parameters": {},
      "typeVersion": 1.8
    },
    {
      "id": "df295937-1652-4d77-9e30-74efbecc2678",
      "name": "获取图片信息",
      "type": "n8n-nodes-base.editImage",
      "position": [
        -2000,
        -1472
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "bd5f770f-917b-474d-8ae1-bad97772d21c",
      "name": "Telegram 图片下载",
      "type": "n8n-nodes-base.telegram",
      "position": [
        -2336,
        -1472
      ],
      "webhookId": "96e3c8e5-1a72-489e-b6d0-018779ede034",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "96250287-aaad-4bd0-9052-b1d914fff8e3",
      "name": "便签10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2496,
        -1872
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "f5a0dfff-44ed-43f9-907f-a729e65bcfce",
      "name": "获取账户信息 Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        2096,
        -1024
      ],
      "webhookId": "b295710d-1c52-4fca-81be-8eb3632d935b",
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "b38d0b62-416e-40d5-9433-8a8e6523f73f",
      "name": "添加 API 密钥",
      "type": "n8n-nodes-base.set",
      "position": [
        2400,
        -1024
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "48cb1367-c37e-4959-b561-6020501a794c",
      "name": "创建签名字符串(GET)",
      "type": "n8n-nodes-base.code",
      "position": [
        2640,
        -1024
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "347ee7d2-40c4-4d3f-a5bb-969093af8463",
      "name": "加密(HMAC-SHA256 → base64)",
      "type": "n8n-nodes-base.crypto",
      "position": [
        2880,
        -1024
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "cea3ec8c-f6e5-4009-a129-7ce0587d172d",
      "name": "获取账户信息",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3120,
        -1024
      ],
      "parameters": {},
      "typeVersion": 4.2,
      "alwaysOutputData": true
    },
    {
      "id": "cccb026f-27fc-4232-9f96-d6df14b14d28",
      "name": "格式化响应",
      "type": "n8n-nodes-base.code",
      "position": [
        3360,
        -1024
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "96ebe5a8-9081-42c5-9c06-6581e4af56ac",
      "name": "获取账户资产 Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        2096,
        -752
      ],
      "webhookId": "95f3c73e-9935-438e-b662-bfecfef2562c",
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "5ae12e93-c00a-4acc-aac5-cd7d202682f9",
      "name": "响应获取账户信息 Webhook",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        3616,
        -1024
      ],
      "parameters": {},
      "typeVersion": 1.4
    },
    {
      "id": "d0a6f21f-c69d-4674-863b-ecfbcb54eccb",
      "name": "响应获取账户资产 Webhook",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        3616,
        -752
      ],
      "parameters": {},
      "typeVersion": 1.4
    },
    {
      "id": "392d8fa8-4897-4a75-9161-eca9d624ba40",
      "name": "添加 API 密钥和输入",
      "type": "n8n-nodes-base.set",
      "position": [
        2384,
        -752
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "fd9e71a3-9955-4a8e-9e7a-d6c9d00e80a7",
      "name": "创建签名字符串(GET + 查询)",
      "type": "n8n-nodes-base.code",
      "position": [
        2624,
        -752
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "4c9d5822-dd6e-4611-b074-0fef5d470c6b",
      "name": "获取账户资产",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3120,
        -752
      ],
      "parameters": {},
      "typeVersion": 4.2,
      "alwaysOutputData": true
    },
    {
      "id": "6e342de6-ad6e-44dd-911a-e3c251136c79",
      "name": "加密(HMAC-SHA256 → base64)1",
      "type": "n8n-nodes-base.crypto",
      "position": [
        2880,
        -752
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "a71cb59b-d27f-419e-a669-f17d14d0c2c3",
      "name": "格式化响应1",
      "type": "n8n-nodes-base.code",
      "position": [
        3344,
        -752
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "eca426fe-a929-4779-bb36-6ee13007c55d",
      "name": "获取存款地址 Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        2096,
        -480
      ],
      "webhookId": "a034868e-7efe-4938-8853-7ca267c73001",
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "a25cc41c-5a58-4e5b-aa4f-820450048128",
      "name": "响应获取存款地址 Webhook",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        3632,
        -480
      ],
      "parameters": {},
      "typeVersion": 1.4
    },
    {
      "id": "df23b20a-5c08-415b-8933-8a8ba9d5ce31",
      "name": "获取存款地址",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3120,
        -480
      ],
      "parameters": {},
      "typeVersion": 4.2,
      "alwaysOutputData": true
    },
    {
      "id": "06363697-0454-4b47-baa4-c00a6ad3b5cd",
      "name": "添加 API 密钥和输入1",
      "type": "n8n-nodes-base.set",
      "position": [
        2384,
        -480
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "6801300f-92e2-4166-899f-82812a4e9e76",
      "name": "创建签名字符串(GET + 查询)1",
      "type": "n8n-nodes-base.code",
      "position": [
        2640,
        -480
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "0a395c21-a5eb-4b6b-a393-5b79126ae969",
      "name": "加密(HMAC-SHA256 → base64)2",
      "type": "n8n-nodes-base.crypto",
      "position": [
        2880,
        -480
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "cd964ad6-f83a-4326-a2cb-24dc918663f2",
      "name": "格式化响应2",
      "type": "n8n-nodes-base.code",
      "position": [
        3360,
        -480
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "f434b9ea-9aef-4afb-ac9a-d638db4f5691",
      "name": "下单1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3184,
        208
      ],
      "parameters": {},
      "typeVersion": 4.2,
      "alwaysOutputData": true
    },
    {
      "id": "6d24b666-7d77-4c70-b217-be07e74f2c15",
      "name": "创建签名字符串(POST + 正文)1",
      "type": "n8n-nodes-base.code",
      "position": [
        2704,
        208
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "04135935-2ec0-4e85-b969-c20edd60cb84",
      "name": "获取订单信息",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3184,
        800
      ],
      "parameters": {},
      "typeVersion": 4.2,
      "alwaysOutputData": true
    },
    {
      "id": "04bfe312-f478-4d7a-9149-5ac39933c927",
      "name": "获取当前订单",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3216,
        1072
      ],
      "parameters": {},
      "typeVersion": 4.2,
      "alwaysOutputData": true
    },
    {
      "id": "70394e36-a19a-4901-b7ee-955d03151caf",
      "name": "添加 API 密钥和输入2",
      "type": "n8n-nodes-base.set",
      "position": [
        2480,
        1072
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "452be945-1dbb-4498-b5f0-98bb99f25ad4",
      "name": "获取订单信息 Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        2112,
        800
      ],
      "webhookId": "0dffa60b-21f4-40cb-9678-00ddf11231c5",
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "4eb61551-fee8-4b3a-84ff-c12f0405e35d",
      "name": "响应获取订单信息 Webhook",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        3728,
        800
      ],
      "parameters": {},
      "typeVersion": 1.4
    },
    {
      "id": "866785ad-9341-4a08-86e1-46237dcc43f6",
      "name": "下单 Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        2128,
        208
      ],
      "webhookId": "c07caffc-c8d3-4180-aca6-433913afe1e8",
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "64d92aab-700f-4969-8da7-083b7da94f56",
      "name": "响应下单 Webhook",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        3728,
        208
      ],
      "parameters": {},
      "typeVersion": 1.4
    },
    {
      "id": "4452168f-cfbc-4a30-91cc-9bd2888ea082",
      "name": "获取当前订单 Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        2128,
        1072
      ],
      "webhookId": "15ab967e-fd94-46a3-bca3-ed10af51f1a1",
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "de7a33ac-f246-4e3c-941a-a90d1f7a2bf9",
      "name": "响应获取当前订单 Webhook",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        3760,
        1072
      ],
      "parameters": {},
      "typeVersion": 1.4
    },
    {
      "id": "9d8a4082-9f3c-4394-bc37-fc750532af35",
      "name": "取消订单 Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        2128,
        512
      ],
      "webhookId": "7a3c38db-dbc1-4743-82b6-081819d133f8",
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "3a1c9510-d73a-448d-af1a-849535eafba5",
      "name": "响应取消订单 Webhook",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        3728,
        512
      ],
      "parameters": {},
      "typeVersion": 1.4
    },
    {
      "id": "9f828192-3d15-47e3-9c9e-b926b0ffa228",
      "name": "取消订单",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3184,
        512
      ],
      "parameters": {},
      "typeVersion": 4.2,
      "alwaysOutputData": true
    },
    {
      "id": "8f4a1e78-70fc-472d-b219-1813c6ba751a",
      "name": "创建签名字符串(POST + 正文)",
      "type": "n8n-nodes-base.code",
      "position": [
        2704,
        512
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "1e5ee44a-c8b5-477b-9654-2f31f20154dd",
      "name": "添加 API 密钥和输入3",
      "type": "n8n-nodes-base.set",
      "position": [
        2448,
        512
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "0b727c13-39b0-4273-a25f-ad83606f65c0",
      "name": "加密(HMAC-SHA256 → base64)3",
      "type": "n8n-nodes-base.crypto",
      "position": [
        2944,
        512
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "7924fe1c-303c-4550-9bcb-a871f4439d11",
      "name": "格式化响应3",
      "type": "n8n-nodes-base.code",
      "position": [
        3424,
        512
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "8f68260e-88d7-4a4b-972b-09ccd015f1f9",
      "name": "添加 API 密钥和输入4",
      "type": "n8n-nodes-base.set",
      "position": [
        2448,
        208
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "301c633c-4cb9-4f63-b06a-38c378deb65f",
      "name": "加密(HMAC-SHA256 → base64)4",
      "type": "n8n-nodes-base.crypto",
      "position": [
        2944,
        208
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "d9f48ad8-fbbf-4051-ad97-7c09b45a32c0",
      "name": "格式化响应4",
      "type": "n8n-nodes-base.code",
      "position": [
        3424,
        208
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "93bbe215-b648-45a1-be11-cd3c81a88439",
      "name": "添加 API 密钥和输入5",
      "type": "n8n-nodes-base.set",
      "position": [
        2448,
        800
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "1530fe6e-5226-40f7-8ced-bded569be346",
      "name": "创建签名字符串(GET + 查询)2",
      "type": "n8n-nodes-base.code",
      "position": [
        2704,
        800
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "be0af4ed-1c15-4279-94c9-03f4ea01b1e9",
      "name": "加密(HMAC-SHA256 → base64)5",
      "type": "n8n-nodes-base.crypto",
      "position": [
        2944,
        800
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "ddd15f84-79ca-4af8-b452-aa2d9fcf0be7",
      "name": "格式化响应5",
      "type": "n8n-nodes-base.code",
      "position": [
        3424,
        800
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "58af0726-63ef-46a8-bf41-9ede219b7215",
      "name": "创建签名字符串(GET + 查询)3",
      "type": "n8n-nodes-base.code",
      "position": [
        2736,
        1072
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "2bed3827-b96a-4fb1-876f-300942bcb2ee",
      "name": "加密(HMAC-SHA256 → base64)6",
      "type": "n8n-nodes-base.crypto",
      "position": [
        2976,
        1072
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "548ba596-b504-4794-a251-b054eb9b2677",
      "name": "格式化响应6",
      "type": "n8n-nodes-base.code",
      "position": [
        3456,
        1072
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "0a9058f9-3c49-4973-84eb-2d61f423dbbf",
      "name": "下计划订单 Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        2080,
        1696
      ],
      "webhookId": "b40b81ce-ba7c-48ad-a5ea-5f3513c475fd",
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "47768925-ac97-433e-9fff-c56f03bd65b1",
      "name": "响应下计划订单 Webhook",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        3680,
        1696
      ],
      "parameters": {},
      "typeVersion": 1.4
    },
    {
      "id": "e3f3996f-7a42-41ae-93ab-6d499e34fa05",
      "name": "下计划订单",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3136,
        1696
      ],
      "parameters": {},
      "typeVersion": 4.2,
      "alwaysOutputData": true
    },
    {
      "id": "70d9263f-5126-4505-9957-150d3a97d609",
      "name": "修改计划订单 Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        2080,
        1952
      ],
      "webhookId": "c8c45949-6d51-46bc-a214-74fc96caba26",
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "eb80f3c0-9d43-4c23-b28a-4cd1e02935b6",
      "name": "响应修改计划订单 Webhook",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        3680,
        1952
      ],
      "parameters": {},
      "typeVersion": 1.4
    },
    {
      "id": "e6271f77-fdb3-47c9-a405-b1cf14bff5a4",
      "name": "修改计划订单",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3136,
        1952
      ],
      "parameters": {},
      "typeVersion": 4.2,
      "alwaysOutputData": true
    },
    {
      "id": "f992b2b7-9e24-4e2e-8723-6ef94c83111f",
      "name": "获取当前计划订单 Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        2096,
        2528
      ],
      "webhookId": "f5830629-3cce-4420-8c73-2c69854613db",
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "171e7511-b576-4463-af58-bff1b7b1a6b8",
      "name": "响应获取当前计划订单 Webhook",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        3696,
        2528
      ],
      "parameters": {},
      "typeVersion": 1.4
    },
    {
      "id": "ab69d9b4-e2b6-4e9b-af0a-7ab997b38aef",
      "name": "获取当前计划订单",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3152,
        2528
      ],
      "parameters": {},
      "typeVersion": 4.2,
      "alwaysOutputData": true
    },
    {
      "id": "7fc3912f-0868-4de4-80c9-9abe80c95d22",
      "name": "取消计划订单 Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        2096,
        2240
      ],
      "webhookId": "661a8511-45e6-464d-9d64-8e7f5813750c",
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "816225af-d78c-471d-87a6-ff2e2762f528",
      "name": "响应取消计划订单 Webhook",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        3696,
        2240
      ],
      "parameters": {},
      "typeVersion": 1.4
    },
    {
      "id": "8d1690f8-fa0f-4ae1-8827-6fec39379d4a",
      "name": "取消计划订单 API 请求",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3152,
        2240
      ],
      "parameters": {},
      "typeVersion": 4.2,
      "alwaysOutputData": true
    },
    {
      "id": "d25ac993-6fa3-40bd-a6d7-b07ea97bb84e",
      "name": "创建签名字符串(POST)",
      "type": "n8n-nodes-base.code",
      "position": [
        2672,
        2240
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "a9c297f2-01d3-4da1-9ef4-ab736cd80915",
      "name": "添加 API 密钥和输入6",
      "type": "n8n-nodes-base.set",
      "position": [
        2400,
        1696
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "6be633b8-d8b2-4500-a49f-7b09097a395f",
      "name": "创建签名字符串(POST + 正文)2",
      "type": "n8n-nodes-base.code",
      "position": [
        2656,
        1696
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "39e40630-5337-44ec-8377-7fda24f9f98a",
      "name": "加密(HMAC-SHA256 → base64)7",
      "type": "n8n-nodes-base.crypto",
      "position": [
        2896,
        1696
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "63e445cb-d5a4-42a0-b13d-7a85967b0d04",
      "name": "格式化响应7",
      "type": "n8n-nodes-base.code",
      "position": [
        3376,
        1696
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "3e249f52-08b7-4756-aefa-81bfe242140f",
      "name": "添加 API 密钥和输入7",
      "type": "n8n-nodes-base.set",
      "position": [
        2400,
        1952
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "dd67b5e4-6baf-4f90-8115-b35313c6ab6b",
      "name": "创建签名字符串(POST + 正文)3",
      "type": "n8n-nodes-base.code",
      "position": [
        2656,
        1952
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "fb8bb8c8-51c3-4c82-ac12-d25127d63277",
      "name": "加密(HMAC-SHA256 → base64)8",
      "type": "n8n-nodes-base.crypto",
      "position": [
        2896,
        1952
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "d38e8957-2df3-4f6d-9cfa-f369ffdacf06",
      "name": "格式化响应8",
      "type": "n8n-nodes-base.code",
      "position": [
        3376,
        1952
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "8004fe31-b733-4ab5-be13-f0354b810ade",
      "name": "创建签名字符串(GET + 查询)4",
      "type": "n8n-nodes-base.code",
      "position": [
        2672,
        2528
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "6a729ef0-3b17-438c-92bc-15d7eb10b823",
      "name": "添加 API 密钥和输入8",
      "type": "n8n-nodes-base.set",
      "position": [
        2416,
        2528
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "5a4be3ad-2095-4d92-bfe7-cec6afcc51ca",
      "name": "加密(HMAC-SHA256 → base64)9",
      "type": "n8n-nodes-base.crypto",
      "position": [
        2912,
        2528
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "d3445f32-cadf-452a-9730-9016bab59045",
      "name": "格式化响应9",
      "type": "n8n-nodes-base.code",
      "position": [
        3392,
        2528
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "b2ebc5bc-402b-4fee-84a4-dceedbd070a0",
      "name": "添加 API 密钥和输入9",
      "type": "n8n-nodes-base.set",
      "position": [
        2416,
        2240
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "214a90d6-41d4-4917-90ea-22d268037c8f",
      "name": "加密(HMAC-SHA256 → base64)10",
      "type": "n8n-nodes-base.crypto",
      "position": [
        2912,
        2240
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "8ab23314-e66e-43ab-b0a8-7f32b22a5281",
      "name": "格式化响应10",
      "type": "n8n-nodes-base.code",
      "position": [
        3392,
        2240
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "b3675643-376c-4378-9126-a1f12219e0cb",
      "name": "便签 2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1824,
        1472
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "5146af89-4910-4b76-9ba4-46685626671e",
      "name": "便签11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1840,
        -1216
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "71b29196-904d-4628-bc78-9a4605daef11",
      "name": "便签12",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1840,
        -32
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "13397621-17df-4d5c-a498-c1b45dbafcc8",
      "name": "便签 - 账户和钱包代理工具",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2880,
        400
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "48e5af40-fd70-4c5b-b7c4-2d4bfe4bde37",
      "name": "便签 - 现货订单交易代理工具",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -944,
        1808
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "a1dd954f-3130-4b7c-9d4c-0c5b0aae94e9",
      "name": "便签 - 触发订单代理工具",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        304,
        384
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "f4487615-0180-4632-aaf8-baf0e13210d8",
      "name": "便签13",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -400,
        1040
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "ef785e1f-cf75-4d71-bf8f-8c4e6b948763",
      "name": "便签14",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1952,
        2464
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "b123d939-2a2b-484e-a83b-950dfcc31de7",
      "name": "便签15",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3472,
        1104
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "301da9ea-47c2-40ef-8740-73840f9b4db4",
      "name": "便签16",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -112,
        1024
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "9badb079-1e0b-4845-be60-1827872bf98f",
      "name": "便签17",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3088,
        1104
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "ed9bbb52-8aa9-4196-9931-446eae99673b",
      "name": "便签18",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1616,
        2464
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "6b4939a6-56eb-4f7f-979a-61be2e61e6f5",
      "name": "便签 - Bitget AI 交易代理",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1008,
        -1344
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "00746aa6-435a-4de0-99b0-47b5ac00788d",
      "name": "便签 - 获取账户信息",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2720,
        1104
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "a1354e33-87cf-49ce-b8a3-ed6d54f1427e",
      "name": "便签 - 获取账户资产",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2256,
        1104
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "39367833-94e2-4c4a-8fd6-211279793137",
      "name": "便签 - 获取存款地址",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1808,
        1104
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "7141313d-b71d-48fe-ac80-bebdd8454d4d",
      "name": "便签 - 下计划订单 HTTP 请求",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        240,
        1040
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "b90bf408-6264-4a79-93d4-a19afc77c8c7",
      "name": "便签 - 修改计划订单 HTTP 请求",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        592,
        1040
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "69e632c4-4d78-4810-bb77-6b0bbdb85a95",
      "name": "便签 - 获取当前计划订单 HTTP 请求",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        912,
        1040
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "d5065a88-fade-4d89-91db-f9cb2f37f24c",
      "name": "便签 - 取消计划订单 HTTP 请求",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1248,
        1040
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "f06e8813-2593-4e9e-b851-d87f6f50c380",
      "name": "便签 - 下单 HTTP 请求",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1296,
        2480
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "eddf04c1-3276-4d6b-ae98-0af1950fcf36",
      "name": "便签 - 获取行情信息",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -160,
        2512
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "8c9f478e-0578-4159-9ac6-3517c2e622a1",
      "name": "便签 - 获取交易对信息",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        144,
        2512
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "9a21c1fc-a7e8-454c-a090-8672f1aabe1f",
      "name": "便签 - 获取订单信息 HTTP 请求",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -960,
        2496
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "6cf1bef7-cc4d-4a38-b954-44f3919dc85f",
      "name": "便签 - 获取当前订单 HTTP 请求",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -688,
        2496
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "6c750e13-f710-42cc-8074-cfe05ea38227",
      "name": "便签 - 取消订单 HTTP 请求",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -432,
        2496
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "7c06d8cd-d293-4a0e-887c-1c503488c2a7",
      "name": "便签 - 计算器工具",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        464,
        2512
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "2bbf3aeb-1ad8-4efa-868f-e85a9bc2defe",
      "name": "便签 - 计算器",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        544,
        -432
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "dc30cd89-409f-4c29-a2f4-b0709cab7135",
      "name": "便签 - 思考",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1088,
        -416
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "0a7de66d-e9da-4dc4-8fab-f103d08735d7",
      "name": "便签 - Bitget 系统文档",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -5104,
        -640
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "a64de585-26d7-49a3-84b3-929627e241b5",
  "connections": {
    "Think": {
      "ai_tool": [
        [
          {
            "node": "Bitget AI Trader Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI2": {
      "main": [
        [
          {
            "node": "Set Message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI4": {
      "main": [
        [
          {
            "node": "Set Message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Calculator": {
      "ai_tool": [
        [
          {
            "node": "Bitget AI Trader Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Calculator1": {
      "ai_tool": [
        [
          {
            "node": "Spot Order Trading Agent tool",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Set Message": {
      "main": [
        [
          {
            "node": "Bitget AI Trader Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Add API Keys": {
      "main": [
        [
          {
            "node": "Create Signed String (GET)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Cancel Order": {
      "main": [
        [
          {
            "node": "Format Response3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Place Order1": {
      "main": [
        [
          {
            "node": "Format Response4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory": {
      "ai_memory": [
        [
          {
            "node": "Bitget AI Trader Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Get Image Info": {
      "main": [
        [
          {
            "node": "OpenAI4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Order Info": {
      "main": [
        [
          {
            "node": "Format Response5",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory1": {
      "ai_memory": [
        [
          {
            "node": "Account and Wallet Agent tool",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory2": {
      "ai_memory": [
        [
          {
            "node": "Spot Order Trading Agent tool",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory3": {
      "ai_memory": [
        [
          {
            "node": "Trigger Order Agent tool",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Format Response": {
      "main": [
        [
          {
            "node": "Respond to Get Account Information Webhook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Symbol Info": {
      "ai_tool": [
        [
          {
            "node": "Spot Order Trading Agent tool",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Format Response1": {
      "main": [
        [
          {
            "node": "Respond to Get Account Assets Webhook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format Response2": {
      "main": [
        [
          {
            "node": "Respond to Get Deposit Address Webhook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format Response3": {
      "main": [
        [
          {
            "node": "Respond to Cancel Order Webhook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format Response4": {
      "main": [
        [
          {
            "node": "Respond to Place Order Webhook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format Response5": {
      "main": [
        [
          {
            "node": "Respond to Get Order Info Webhook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format Response6": {
      "main": [
        [
          {
            "node": "Respond to Get Current Orders Webhook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format Response7": {
      "main": [
        [
          {
            "node": "Respond to Place Plan Order Webhook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format Response8": {
      "main": [
        [
          {
            "node": "Respond to Modify Plan Order Webhook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format Response9": {
      "main": [
        [
          {
            "node": "Respond to Get Current Plan Orders Webhook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Place Plan Order": {
      "main": [
        [
          {
            "node": "Format Response7",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Telegram Trigger": {
      "main": [
        [
          {
            "node": "User Authentication (Replace Telegram ID)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format Response10": {
      "main": [
        [
          {
            "node": "Respond to Cancel Plan Order Webhook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Modify Plan Order": {
      "main": [
        [
          {
            "node": "Format Response8",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Bitget AI Trader Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Get Account Assets": {
      "main": [
        [
          {
            "node": "Format Response1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Current Orders": {
      "main": [
        [
          {
            "node": "Format Response6",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "Account and Wallet Agent tool",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model2": {
      "ai_languageModel": [
        [
          {
            "node": "Spot Order Trading Agent tool",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model3": {
      "ai_languageModel": [
        [
          {
            "node": "Trigger Order Agent tool",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Get Deposit Address": {
      "main": [
        [
          {
            "node": "Format Response2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Place Order Webhook": {
      "main": [
        [
          {
            "node": "Add API Keys & Inputs4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Cancel Order Webhook": {
      "main": [
        [
          {
            "node": "Add API Keys & Inputs3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Add API Keys & Inputs": {
      "main": [
        [
          {
            "node": "Create Signed String (GET + query)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Add API Keys & Inputs1": {
      "main": [
        [
          {
            "node": "Create Signed String (GET + query)1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Add API Keys & Inputs2": {
      "main": [
        [
          {
            "node": "Create Signed String (GET + query)3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Add API Keys & Inputs3": {
      "main": [
        [
          {
            "node": "Create Signed String (POST + body)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Add API Keys & Inputs4": {
      "main": [
        [
          {
            "node": "Create Signed String (POST + body)1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Add API Keys & Inputs5": {
      "main": [
        [
          {
            "node": "Create Signed String (GET + query)2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Add API Keys & Inputs6": {
      "main": [
        [
          {
            "node": "Create Signed String (POST + body)2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Add API Keys & Inputs7": {
      "main": [
        [
          {
            "node": "Create Signed String (POST + body)3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Add API Keys & Inputs8": {
      "main": [
        [
          {
            "node": "Create Signed String (GET + query)4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Add API Keys & Inputs9": {
      "main": [
        [
          {
            "node": "Create Signed String (POST)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Bitget AI Trader Agent": {
      "main": [
        [
          {
            "node": "Splits message is more than 4000 characters",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Order Info Webhook": {
      "main": [
        [
          {
            "node": "Add API Keys & Inputs5",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Ticker Information": {
      "ai_tool": [
        [
          {
            "node": "Spot Order Trading Agent tool",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get Account Information": {
      "main": [
        [
          {
            "node": "Format Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Current Plan Orders": {
      "main": [
        [
          {
            "node": "Format Response9",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Message Format Selector": {
      "main": [
        [
          {
            "node": "Telegram Image Download",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Telegram Sound Download",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Set Message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Telegram Image Download": {
      "main": [
        [
          {
            "node": "Get Image Info",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Telegram Sound Download": {
      "main": [
        [
          {
            "node": "OpenAI2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Place Order HTTP Request": {
      "ai_tool": [
        [
          {
            "node": "Spot Order Trading Agent tool",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Place Plan Order Webhook": {
      "main": [
        [
          {
            "node": "Add API Keys & Inputs6",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Trigger Order Agent tool": {
      "ai_tool": [
        [
          {
            "node": "Bitget AI Trader Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Cancel Order HTTP Request": {
      "ai_tool": [
        [
          {
            "node": "Spot Order Trading Agent tool",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Cancel Plan Order Webhook": {
      "main": [
        [
          {
            "node": "Add API Keys & Inputs9",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Modify Plan Order Webhook": {
      "main": [
        [
          {
            "node": "Add API Keys & Inputs7",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Signed String (GET)": {
      "main": [
        [
          {
            "node": "Crypto (HMAC-SHA256 → base64)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Account Assets Webhook": {
      "main": [
        [
          {
            "node": "Add API Keys & Inputs",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Current Orders Webhook": {
      "main": [
        [
          {
            "node": "Add API Keys & Inputs2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Signed String (POST)": {
      "main": [
        [
          {
            "node": "Crypto (HMAC-SHA256 → base64)10",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Deposit Address Webhook": {
      "main": [
        [
          {
            "node": "Add API Keys & Inputs1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Order Info HTTP Request": {
      "ai_tool": [
        [
          {
            "node": "Spot Order Trading Agent tool",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Account and Wallet Agent tool": {
      "ai_tool": [
        [
          {
            "node": "Bitget AI Trader Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Cancel Plan Order API Request": {
      "main": [
        [
          {
            "node": "Format Response10",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Place Plan Order HTTP Request": {
      "ai_tool": [
        [
          {
            "node": "Trigger Order Agent tool",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Spot Order Trading Agent tool": {
      "ai_tool": [
        [
          {
            "node": "Bitget AI Trader Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Cancel Plan Order HTTP Request": {
      "ai_tool": [
        [
          {
            "node": "Trigger Order Agent tool",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Modify Plan Order HTTP Request": {
      "ai_tool": [
        [
          {
            "node": "Trigger Order Agent tool",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Crypto (HMAC-SHA256 → base64)": {
      "main": [
        [
          {
            "node": "Get Account Information",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Account Assets HTTP Request": {
      "ai_tool": [
        [
          {
            "node": "Account and Wallet Agent tool",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get Account Information Webhook": {
      "main": [
        [
          {
            "node": "Add API Keys",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Current Orders HTTP Request": {
      "ai_tool": [
        [
          {
            "node": "Spot Order Trading Agent tool",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get Current Plan Orders Webhook": {
      "main": [
        [
          {
            "node": "Add API Keys & Inputs8",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Crypto (HMAC-SHA256 → base64)1": {
      "main": [
        [
          {
            "node": "Get Account Assets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Crypto (HMAC-SHA256 → base64)2": {
      "main": [
        [
          {
            "node": "Get Deposit Address",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Crypto (HMAC-SHA256 → base64)3": {
      "main": [
        [
          {
            "node": "Cancel Order",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Crypto (HMAC-SHA256 → base64)4": {
      "main": [
        [
          {
            "node": "Place Order1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Crypto (HMAC-SHA256 → base64)5": {
      "main": [
        [
          {
            "node": "Get Order Info",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Crypto (HMAC-SHA256 → base64)6": {
      "main": [
        [
          {
            "node": "Get Current Orders",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Crypto (HMAC-SHA256 → base64)7": {
      "main": [
        [
          {
            "node": "Place Plan Order",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Crypto (HMAC-SHA256 → base64)8": {
      "main": [
        [
          {
            "node": "Modify Plan Order",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Crypto (HMAC-SHA256 → base64)9": {
      "main": [
        [
          {
            "node": "Get Current Plan Orders",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Deposit Address HTTP Request": {
      "ai_tool": [
        [
          {
            "node": "Account and Wallet Agent tool",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Crypto (HMAC-SHA256 → base64)10": {
      "main": [
        [
          {
            "node": "Cancel Plan Order API Request",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Signed String (GET + query)": {
      "main": [
        [
          {
            "node": "Crypto (HMAC-SHA256 → base64)1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Signed String (POST + body)": {
      "main": [
        [
          {
            "node": "Crypto (HMAC-SHA256 → base64)3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Signed String (GET + query)1": {
      "main": [
        [
          {
            "node": "Crypto (HMAC-SHA256 → base64)2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Signed String (GET + query)2": {
      "main": [
        [
          {
            "node": "Crypto (HMAC-SHA256 → base64)5",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Signed String (GET + query)3": {
      "main": [
        [
          {
            "node": "Crypto (HMAC-SHA256 → base64)6",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Signed String (GET + query)4": {
      "main": [
        [
          {
            "node": "Crypto (HMAC-SHA256 → base64)9",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Signed String (POST + body)1": {
      "main": [
        [
          {
            "node": "Crypto (HMAC-SHA256 → base64)4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Signed String (POST + body)2": {
      "main": [
        [
          {
            "node": "Crypto (HMAC-SHA256 → base64)7",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Signed String (POST + body)3": {
      "main": [
        [
          {
            "node": "Crypto (HMAC-SHA256 → base64)8",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Account Information HTTP Request": {
      "ai_tool": [
        [
          {
            "node": "Account and Wallet Agent tool",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get Current Plan Orders HTTP Request": {
      "ai_tool": [
        [
          {
            "node": "Trigger Order Agent tool",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "User Authentication (Replace Telegram ID)": {
      "main": [
        [
          {
            "node": "Message Format Selector",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Splits message is more than 4000 characters": {
      "main": [
        [
          {
            "node": "Telegram",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

高级

需要付费吗?

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

工作流信息
难度等级
高级
节点数量156
分类-
节点类型19
难度说明

适合高级用户,包含 16+ 个节点的复杂工作流

作者
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 查看

分享此工作流