trading-coach🏆 AI交易复盘教练 — 把你的券商CSV变成可执行的改进洞察! 自动FIFO配对持仓,8维度质量评分(入场/出场/趋势/风险...),10维度AI洞察。 支持富途(中/英)、老虎、中信、华泰等主流券商。 触发条件: 用户提供交易CSV、要求分析交易表现、评估交易质量、生成复盘报告、 计算盈亏统计、识别交易模式问题、"帮我复盘"、"分析我的交易"。
Install via ClawdBot CLI:
clawdbot install BENZEMA216/trading-coach别再凭感觉交易了。让数据告诉你哪里做对了,哪里需要改进。
将券商导出的CSV交易记录,转化为专业级复盘报告和可执行的改进建议。
# 首次安装
git clone https://github.com/BENZEMA216/tradingcoach.git ~/tradingcoach
cd ~/tradingcoach
python3 -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt && cp config_template.py config.py
# 一键复盘
python scripts/import_trades.py /path/to/trades.csv # 导入
python scripts/run_matching.py # 配对
python scripts/score_positions.py --all # 评分
python scripts/analyze_scores.py # 报告
| 券商 | 编码 | 自动检测 |
|------|------|----------|
| 富途(中文) | UTF-8-BOM | ✅ 方向、代码、成交时间 |
| 富途(英文) | UTF-8 | ✅ Side、Symbol、Fill Time |
| 老虎证券 | UTF-8 | ✅ 交易方向、股票代码 |
| 中信证券 | GBK | ✅ 买卖标志、证券代码 |
| 华泰证券 | GBK | ✅ 操作、证券代码 |
8个维度,每个都有权重:
| 维度 | 权重 | 评估内容 |
|------|------|----------|
| 入场质量 | 18% | RSI/MACD/布林带配合度 |
| 出场质量 | 17% | 止盈止损执行 |
| 趋势把握 | 14% | 顺势/逆势、ADX强度 |
| 风险管理 | 12% | R:R比率、MAE/MFE |
| 市场环境 | 11% | 市场状态适配 |
| 交易行为 | 11% | 纪律性、冲动检测 |
| 新闻契合 | 7% | 新闻背景一致性 |
| 执行质量 | 5% | 滑点、成交效率 |
等级: A(90+) / B(80-89) / C(70-79) / D(60-69) / F(<60)
详见 references/scoring_system.md
10个维度深度分析你的交易模式:入场质量、出场时机、风险控制、持仓周期、费用侵蚀、历史对比、模式识别、根因分析、事件关联、改进建议
详见 references/insight_dimensions.md
总持仓: 150笔 | 胜率: 62.5% | 总盈亏: $12,500 | 平均评分: 72.3 (C)
⚠️ 在超买区域做多 — 入场时RSI=75.2,建议避免RSI>70时追涨
✅ 止损执行良好 — 平均亏损控制在2.3%,纪律性强
💡 持仓时间偏短 — 平均持仓2.3天,考虑延长持有优质标的
如果这个工具帮到了你,请考虑请我喝杯咖啡!
0x... (联系获取地址)你的支持是我持续改进的动力 🚀
Generated Mar 1, 2026
Individual traders use the skill to analyze their personal brokerage CSV exports, identifying weaknesses in entry/exit timing and risk management to improve future trades. It automates the tedious process of matching trades and scoring performance across multiple dimensions.
Online trading courses or coaching services integrate this skill to provide automated, data-driven feedback to students, enhancing learning outcomes with objective metrics on trade quality and AI insights.
Small investment firms utilize the skill to quickly review junior traders' performance, generating standardized reports that highlight patterns like poor trend adherence or execution issues for targeted training.
Bloggers or influencers in trading niches use the skill to analyze their own or anonymized trade data, creating engaging content such as case studies or improvement guides based on the AI insights and scoring.
Brokerages integrate the skill into their platforms to offer clients automated trade analysis reports, helping users understand their performance and fostering loyalty through value-added services.
Offer a free basic version with limited analysis or report features, and charge for premium tiers that include advanced AI insights, historical comparisons, and priority support. Revenue comes from monthly subscriptions.
License the skill to financial institutions, educational platforms, or brokerages for integration into their existing systems. Revenue is generated through upfront licensing fees or annual contracts based on usage scale.
Partner with trading tools, educational content providers, or brokerages to offer referrals or bundled services. Revenue comes from affiliate commissions or data-sharing agreements that enhance partner offerings.
💬 Integration Tip
Ensure CSV files are properly formatted for supported brokerages; use the provided scripts in sequence for best results, and customize config.py for specific analysis needs.
Analyze stocks and cryptocurrencies using Yahoo Finance data. Supports portfolio management, watchlists with alerts, dividend analysis, 8-dimension stock scoring, viral trend detection (Hot Scanner), and rumor/early signal detection. Use for stock analysis, portfolio tracking, earnings reactions, crypto monitoring, trending stocks, or finding rumors before they hit mainstream.
Get stock prices, quotes, fundamentals, earnings, options, dividends, and analyst ratings using Yahoo Finance. Uses yfinance library - no API key required.
Yahoo Finance (yfinance) powered stock analysis skill: quotes, fundamentals, ASCII trends, high-resolution charts (RSI/MACD/BB/VWAP/ATR), plus optional web a...
Become an autonomous prediction market trader on Polymarket with AI-powered analysis and a performance-backed token on Base. Trade real markets, build a track record, and let the buyback flywheel run.
Get cryptocurrency token price and generate candlestick charts via CoinGecko API or Hyperliquid API. Use when user asks for token price, crypto price, price chart, or cryptocurrency market data.
Trade and monitor Hyperliquid perpetual futures. Check balances, view positions with P&L, place/cancel orders, execute market trades. Use when the user asks about Hyperliquid trading, portfolio status, crypto positions, or wants to execute trades on Hyperliquid.