Agent Skillswinstonkoh87/Athena-Public › trade-journal-analyzer

trade-journal-analyzer

GitHub

分析交易日志,提取胜率、盈亏比等统计模式,并基于三类标准(噪声、结构缺陷、逻辑失效)对回撤进行分类,提供具体应对建议。

examples/skills/workflow/trade-journal-analyzer/SKILL.md winstonkoh87/Athena-Public

Trigger Scenarios

analyze my trades journal patterns what's my actual WR edge audit losing streak drawdown is my system broken should I stop trading 3 losses in a row

Install

npx skills add winstonkoh87/Athena-Public --skill trade-journal-analyzer -g -y
More Options

Non-standard path

npx skills add https://github.com/winstonkoh87/Athena-Public/tree/main/examples/skills/workflow/trade-journal-analyzer -g -y

Use without installing

npx skills use winstonkoh87/Athena-Public@trade-journal-analyzer

指定 Agent (Claude Code)

npx skills add winstonkoh87/Athena-Public --skill trade-journal-analyzer -a claude-code -g -y

安装 repo 全部 skill

npx skills add winstonkoh87/Athena-Public --all -g -y

预览 repo 内 skill

npx skills add winstonkoh87/Athena-Public --list

SKILL.md

Frontmatter
{
    "name": "trade-journal-analyzer",
    "model": "default",
    "auto-invoke": true,
    "description": "Unified post-trade analytics: journal pattern extraction + drawdown classification. Absorbs: drawdown-classifier.",
    "allowed-tools": [
        "Read",
        "Bash"
    ],
    "argument-hint": "analyze journal | patterns | edge audit | classify drawdown | is this noise or real",
    "context_trigger": "analyze trades, journal patterns, win rate, edge audit, losing streak, drawdown, is my system broken, trade review"
}

Trade Journal Analyzer (Expanded)

Absorbs: drawdown-classifier

Reads historical trade entries, extracts actionable statistical patterns, AND classifies drawdowns. Converts a "diary" into a "data warehouse."

Triggers

"analyze my trades", "journal patterns", "what's my actual WR", "edge audit", "losing streak", "drawdown", "is my system broken", "should I stop trading", "3 losses in a row"

Core Analytics

  1. Ingest: Read entries from .context/trading_journal/.
  2. Parse: Extract setup type, instrument, direction, entry, SL, TP, result, notes.
  3. Analyze:
    • Win Rate by Setup Type: Which setups are actually profitable?
    • Win Rate by Instrument: Where is the edge strongest?
    • Win Rate by Time of Day: Asian vs London vs NY session performance.
    • Average R:R Achieved: Planned RR vs actual RR (execution gap).
    • Drawdown Sequences: Longest losing streaks, recovery time.
    • Edge Decay: Is WR trending up or down over last 20 trades?
  4. Flag:
    • Setups with WR < breakeven threshold → flag for review or removal.
    • Instruments with consistent negative EV → stop trading them.
    • Emotional notes correlation → do emotional trades have lower WR?

Drawdown Classification

Not all drawdowns are equal. The wrong response is more dangerous than the drawdown itself.

Class 1: Noise (Random Variance)

  • Losing streak within expected statistical bounds for the system's WR.
  • Test: At 60% WR, a 5-loss streak has P = 0.4^5 = 1.02%. Over 200 trades, ~2 expected.
  • Response: Do nothing. Continue executing. Do NOT adjust.

Class 2: Structural (Setup Flaw)

  • Losses concentrated in a specific setup, instrument, or time period.
  • Test: Is the WR decline isolated to one setup type?
  • Response: Quarantine the specific setup. Continue trading others.

Class 3: Thesis-Breaker (Edge Invalidation)

  • Systematic WR decline across ALL setups.
  • Test: Is the WR decline persistent (>30 trades)? Has market microstructure changed?
  • Response: Full stop. Trigger circuit-breaker. Paper trade. Re-validate edge.

Output Format

## Trade Journal Analysis (Last N Trades)

### Win Rate by Setup
| Setup | Trades | Wins | WR | Avg RR | EV/Trade |
|-------|--------|------|----|--------|----------|

### Win Rate Trend (Rolling 20)
[Trending UP / DOWN / FLAT] — current WR: XX%

### Drawdown Classification
Observed: X losses in last Y trades
P(this streak | WR=Z%): XX.X%
Classification: [NOISE / STRUCTURAL / THESIS-BREAKER]
Prescribed Action: [Continue / Quarantine setup X / Full stop]

### Edge Health
Verdict: [HEALTHY / DECAYING / CRITICAL]

Integration

  • Feeds into zenith-execution for forward simulation (Monte Carlo)
  • Validates Kelly assumptions (is the stated WR real?)
  • Triggers circuit-breaker if edge decay is CRITICAL

Version History

  • e624e2d Current 2026-07-19 08:48

Same Skill Collection

examples/protocols/diagnostics/DIA-SKILL.md
examples/skills/business/brand-foundations/SKILL.md
examples/skills/business/client-pricing/SKILL.md
examples/skills/business/distribution-physics/SKILL.md
examples/skills/business/marketing-swarm/SKILL.md
examples/skills/business/seo-auditor/SKILL.md
examples/skills/business/sovereign-economics-engine/SKILL.md
examples/skills/coding/agentic-code-orchestrator/SKILL.md
examples/skills/coding/atomic-execution/SKILL.md
examples/skills/coding/dashboard-builder/SKILL.md
examples/skills/coding/diagnostic-refactor/SKILL.md
examples/skills/coding/git-worktree-swarm/SKILL.md
examples/skills/coding/micro-commit/SKILL.md
examples/skills/coding/spec-driven-dev/SKILL.md
examples/skills/coding/visual-verify-ui/SKILL.md
examples/skills/decision/bionic-decision-engine/SKILL.md
examples/skills/decision/decision-journal/SKILL.md
examples/skills/decision/mcda-solver/SKILL.md
examples/skills/decision/trading-risk-gate/SKILL.md
examples/skills/decision/zenith-execution/SKILL.md
examples/skills/quality/bionic-safety-net/SKILL.md
examples/skills/quality/circuit-breaker/SKILL.md
examples/skills/quality/consiglieri-protocol/SKILL.md
examples/skills/quality/power-inversion/SKILL.md
examples/skills/quality/red-team-review/SKILL.md
examples/skills/quality/web-launch-gate/SKILL.md
examples/skills/research/data-analysis/SKILL.md
examples/skills/research/deep-research-loop/SKILL.md
examples/skills/research/semantic-search/SKILL.md
examples/skills/research/statistical-analysis/SKILL.md
examples/skills/research/synthetic-parallel-reasoning/SKILL.md
examples/skills/social-physics-filter/SKILL.md
examples/skills/structural-trading-gate/SKILL.md
examples/skills/therapeutic-ifs/SKILL.md
examples/skills/workflow/academic-delivery/SKILL.md
examples/skills/workflow/context-compactor/SKILL.md
examples/skills/workflow/daemon-loop/SKILL.md
examples/skills/workflow/skill-compiler/SKILL.md

Metadata

Files
0
Version
e624e2d
Hash
033f4814
Indexed
2026-07-19 08:48

Accueil - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-20 13:42
浙ICP备14020137号-1 $Carte des visiteurs$