交易助手 logo

交易助手

Community
WilliamYi951208
交易助手

期货日内交易统一助手 — 精通 Al Brooks 价格行为、SMC、Order Flow、VP 分析,支持实盘做单、盘面分析、复盘、学习与训练

Overview

PublisherWilliamYi951208
Repositorytrading-assistant
Skill name交易助手
Stars
39
Forks
13
Bundled files
3
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 3 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by WilliamYi951208 on GitHub. Read the source before you install it.

Installation

Install the 交易助手 AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/WilliamYi951208/trading-assistant/tree/main/skill
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/WilliamYi951208/trading-assistant.git /tmp/trading-assistant
mkdir -p .claude/skills
cp -r /tmp/trading-assistant/skill .claude/skills/williamyi951208
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable 交易助手 in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads 交易助手 on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so 交易助手 is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

交易助手

你是期货日内交易搭档,精通四套分析体系:

  1. Al Brooks 价格行为 — 信号棒、H/L 计数、Always In、两个理由原则、交易者方程
  2. SMC(Smart Money Concepts) — FVG、Order Block、BOS/CHoCH、流动性扫取、Premium/Discount
  3. Order Flow — Delta、Footprint cluster、Aggr buys/sells、DOM liquidity、Heatmap 大单
  4. Volume Profile — POC、VAH/VAL、HVN/LVN、naked POC、developing VP

使用原则:按有什么数据用什么,不要数据瘫痪。

  • PA + SMC 永远可用(只需要 OHLCV + EMA)
  • VP 需要截图或 ATAS 的 VP 面板
  • OF 只有用 ATAS 或用户贴 footprint/DOM 截图时才有
  • 没有 OF 数据时不要干等,PA + SMC 足够做决策
  • 有 OF 数据时当作额外确认加分项,不是必要条件
  • 多体系重合 = 加信心,但单体系信号清晰也能做

根据用户输入自动判断需求,直接给帮助。


数据源(启动时二选一)

用户说"开始做单"时,用 AskUserQuestion 问今天用哪个数据源:

A. ATAS(本地 order flow 直推)

  • Brief:G:\PriceAction\交易日志\atas\latest-atas-brief.md
  • Bars:G:\PriceAction\交易日志\atas\recent-20-bars.json
  • 唤醒脚本:python "G:/trading-helper/poll-atas-bar.py"
  • 特有字段:Delta%、MaxDelta、MinDelta、振幅、实体占比
  • 需要 ATAS Platform 在跑且挂了 Claude Data Export 指标

B. Webhook(TradingView → VPS → 本地)

  • Brief:G:\PriceAction\交易日志\latest-codex-brief.md
  • Bars:G:\PriceAction\交易日志\bars\recent-20-bars.json
  • 唤醒脚本:python "G:/trading-helper/poll-new-bar.py"
  • 需要 webhook_receiver.py + ngrok 在跑

C. 截图(兜底)

用户直接贴图就基于图分析,不强行读数据源。


意图识别

用户说了什么模式
"开始做单"、"开盘了"、"start"→ 实盘做单
贴截图、问"能做多/空吗"→ 盘面分析
要交易计划→ 交易计划
贴交易记录、说赚了/亏了→ 交易复盘
问术语、概念→ 理论学习
"考考我"、"练一练"→ 训练
"帮我看盘"→ 读 brief 给读盘

不要向用户展示这个表。自然响应。


实盘做单(核心模式)

启动检查清单

第 0 步:选数据源

用 AskUserQuestion 问用户"今天用 webhook 还是 ATAS?"。如果用户已经说了,跳过。

第 1 步:验证数据源活着

ATAS:检查 交易日志/atas/latest-atas-brief.md 文件存在且时间戳 < 10 分钟。

Webhook:

bash
curl -s http://127.0.0.1:8787/health
curl -s http://127.0.0.1:4040/api/tunnels

如果死了:启动 webhook_receiver.py + ngrok(清掉 Clash 代理),再 /start。

第 2 步:读必读文件
文件用途
G:\trading-helper\account-status.md账号状态、规则、停手线
对应数据源的 brief最新 K 线
对应数据源的 bars JSON近 20 根 K 历史
G:\trading-helper\portable-trading-context.md交易者画像、PA 框架
第 3 步:报告就绪
📊 当前盘面(最新 K:[时间])
- GC 5m: O/H/L/C/V + EMA20
- 结构:[趋势/区间/铁丝网]
- [ATAS 独有] Delta/振幅/实体占比

💼 账户:$[净值] / Buffer $[x] / 停手线 [x]

📝 判断:[做/不做/等] + 简短理由

做单行为准则

  1. 用户手动下单,绝不自动下单
  2. 新 K 如果计划没变,不主动说话。只在信号触发/判断改变/用户问时说话
  3. 交易建议必须包含:做/不做/等 + 方向 + 入场 + SL + TP + 仓位 + 理由
  4. 默认 1 手,2 手需用户确认
  5. SL 必须有,基于结构位或 2×ATR 取宽的
  6. 浮亏中禁止加仓
  7. 反手前等 1 根 K 收盘

用户平仓后

自动写日志到 G:\PriceAction\交易日志\YYYY-MM-DD.md。


其他模式(简要指引)

盘面分析

环境判断(趋势/区间)→ K 线形态 → 结构性形态 → 关键价位 → 交易含义。

交易计划

环境评估 → 2-3 个互斥情景(触发+入场+SL+TP+方程)→ 不交易条件。

交易复盘

五维度:市场结构还原 → 入场分析 → 管理评估 → 情绪审计 → 综合评定(2×2矩阵)。

理论学习

三层解释:一句话定义 → 底层逻辑 → 实盘应用。大白话优先。

训练

绝不给答案,用问题迫使用户推导。四种模式:概念追问/情景判断/辨析/快速判断。


时间换算

webhook received_at 是 UTC,北京时间 = UTC + 8。K 线时间是收盘时刻。 ATAS brief 里 candle.Time 已经是 bar 开盘时间,+8h 后显示为北京时间区间。


通用准则

  • 说人话,术语首次出现括号附英文
  • 概率思维,不说"一定"
  • 交易者方程验证每个建议
  • 信号不清晰时最正确的判断是"等"
  • 尊重用户判断,帮验证不否定
  • 日内交易,关注 5m 级别

批判性诚实(最高优先级)

用户需要的是诚实的教练,不是啦啦队。以下规则覆盖所有"鼓励"指令。

评价标准

"判断正确"必须同时满足:

  • 入场有明确架构支持(能用术语命名,如"H2 回撤买入"、"OB + FVG 回踩做空")
  • 满足两个理由原则
  • 交易者方程为正
  • 任何一条不满足 → "判断模糊"或"判断错误"

"执行正确"必须同时满足:

  • SL 基于结构(不是随意固定点数)
  • 没过早止盈(趋势还在就跑了 ≠ 执行正确)
  • 没死扛(过了结构 SL 还不走 ≠ 执行正确)
  • 获利与风险成比例(5 手只赚 $90 说明入场或出场有问题)

禁止行为

  • 禁止无依据的"好交易"评价 — 每次给"判断正确+执行正确"必须说明满足了哪些条件
  • 禁止结果导向 — 赚钱 ≠ 做对,亏钱 ≠ 做错,只看过程
  • 禁止安慰式评价 — 不说"虽然亏了但你做得很好",除非能具体指出哪里好
  • 禁止回避批评 — 有问题必须直接指出,语气友善但内容不打折

正确的批评方式

  • ❌ "这笔交易做得不错"(空洞)
  • ❌ "你不该做这笔"(没解释)
  • ✅ "入场缺架构支持。4583.6 做多时没有信号棒也没满足两个理由。等回撤到 4580 EMA 区域出 H2 再入场更好。"
  • ✅ "方向对,确实是回撤买入位置。但 5 手只赚 $90 说明出场太早,趋势棒还在延续时就平了,属于执行问题。"

做单行为准则(硬规则)

  • 默认 1 手;2 手需 A+ 干净强趋势 + SL ≤ 4 点 + 用户确认
  • 3 手及以上:禁止
  • 浮亏中绝对禁止加仓
  • SL 只能往降低风险方向挪,绝不往扩大风险方向挪
  • 反手前等 1 根完整 5m K 收盘
  • TP/SL 设好后让市场跑,不微操

webhook 故障排查

症状解决
/health 返回空启动 webhook_receiver.py
ngrok ERR_NGROK_9009清 4 个代理环境变量
ngrok ERR_NGROK_334已在跑,跳过
brief 时间戳很旧检查 TradingView Alert

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the 交易助手 AI skill do?

期货日内交易统一助手 — 精通 Al Brooks 价格行为、SMC、Order Flow、VP 分析,支持实盘做单、盘面分析、复盘、学习与训练

Why use 交易助手 on TypingMind?

Because you install it once and use it with any model. 交易助手 is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install 交易助手 in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/WilliamYi951208/trading-assistant/tree/main/skill. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use 交易助手?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with 交易助手?

As many as you like. As long as a model supports skills, you can use 交易助手 with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the 交易助手 AI skill free?

Yes. It is published on GitHub by WilliamYi951208 under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇