交易日志与表现分析:专业交易追踪 - Openclaw Skills

时间:2026-07-24 20:12:01 来源:互联网

什么是 交易日志与表现分析?

交易日志与表现分析技能在 Openclaw Skills 中提供了一个系统的交易改进综合框架。它超越了简单的电子表格,将表现分析、夏普比率等风险调整指标以及心理状态记录整合到一个统一的工作流中。通过将交易数据与情绪背景相结合,该技能帮助交易者识别市场及其自身行为中的模式,从而建立更具盈利能力和纪律性的实践。

该扩展旨在支持多资产,让您可以无缝追踪、加密货币、、期权和。它作为一个记录交易理由、管理风险回报比并生成详细月度表现报告的核心枢纽,突出显示哪些策略和时间框架实际上产生了结果。

下载入口:https://github.com/openclaw/skills/tree/main/skills/ahmed181283/trading-journal-analytics

安装与下载

1. ClawHub CLI

从源直接安装技能的最快方式。

npx clawhub@latest install trading-journal-analytics

2. 手动安装

将技能文件夹复制到以下位置之一

全局模式 ~/.openclaw/skills/ 工作区 <project>/skills/

优先级:工作区 > 本地 > 内置

3. 提示词安装

将此提示词复制到 OpenClaw 即可自动安装。

请帮我使用 Clawhub 安装 trading-journal-analytics。如果尚未安装 Clawhub,请先安装(npm i -g clawhub)。

交易日志与表现分析 应用场景

  • 维护跨多个资产类别(包括、加密货币和)的专业交易记录。
  • 分析诸如 FOMO 或报复性交易等情绪诱因,以改善心理纪律。
  • 评估特定策略在不同市场条件(如趋势 vs 震荡)下的有效性。
  • 生成详细的表现报告,以追踪回撤、胜率和风险调整指标。
交易日志与表现分析 工作原理
  1. 通过配置账户大小、基本风险参数和首选策略来初始化环境。
  2. 实时记录交易,包括详细的入场/出场数据、设置理由和交易前的心理状态。
  3. 记录交易后的反思和纪律评分,以捕捉每次执行的心理背景。
  4. 查询分析引擎以生成胜率计算、夏普比率和策略对比。
  5. 查看自动报告以识别获利模式,并根据数据驱动的洞察调整交易行为。

交易日志与表现分析 配置指南

要开始在 Openclaw Skills 上使用此技能,您需要配置您的交易个人资料和风险参数:

# 初始化您的交易账户资料
set-account-size --amount 10000 --currency USD

# 配置您的每笔交易基本风险(例如 1%)
set-risk-parameter --percent 0.01

# 定义您的主要交易策略以进行追踪
add-strategy --name "Daily Breakout" --type "Trend"

交易日志与表现分析 数据架构与分类体系

该技能将数据整理为结构化的交易记录和分析报告,如下表所示:

数据类别 包含字段
交易核心 资产, 类型 (做多/做空), 入场/出场价格, 时间戳, 仓位大小
风险指标 止损, 止盈, 风险回报比, 已实现盈亏
背景数据 策略名称, 时间框架, 市场条件标签, 截图
心理学 交易前情绪, 交易后反思, 违反纪律标签
分析 胜率, 夏普比率, 利润因子, 最大回撤
name: trading-journal-analytics
description: Professional trading journal with performance analytics, win rate tracking, emotion logging, strategy analysis, and P&L tracking. Use when user needs to improve trading performance, maintain detailed trading records, analyze strategy effectiveness, track emotions and discipline, or build a systematic trading practice.

Trading Journal & Performance Analytics

Quick Start

Professional-grade trading journal system for systematic trading improvement with performance analytics, emotion tracking, strategy analysis, and comprehensive P&L monitoring.

When to Use This Skill

Use this skill when you need to:

  • Maintain professional trading journal with detailed records
  • Track win rate, P&L, and performance metrics
  • Analyze emotional states and trading discipline
  • Evaluate strategy effectiveness and optimize approaches
  • Generate performance reports and improvement insights
  • Track trading sessions with context and lessons learned

Core Features

Trade Recording

  • Detailed trade logging with entry, exit, size, and reasoning
  • Multi-timeframe support for scalping, day trading, swing, position trading
  • Multi-asset tracking across stocks, crypto, forex, options, futures
  • Screenshot/image support for trade setups and chart patterns
  • Tagging system for strategy, timeframe, and market condition classification

Performance Analytics

  • Win rate calculation by strategy, timeframe, and market condition
  • P&L tracking with realized and unrealized profits/losses
  • Risk-reward analysis to evaluate trade quality
  • Drawdown monitoring and recovery analysis
  • Sharpe ratio and other risk-adjusted metrics
  • Monthly/quarterly/yearly performance summaries

Emotion & Discipline Tracking

  • Pre-trade emotional state logging (fear, greed, confidence, overconfidence)
  • Post-trade reflection - what went right/wrong
  • Discipline violation tracking (overtrading, revenge trading, FOMO)
  • Emotional pattern analysis over time
  • Streak tracking (winning/losing) and psychological impact

Strategy Analysis

  • Strategy comparison - which approaches work best
  • Market condition filtering - performance in trending vs ranging markets
  • Timeframe analysis - best performing timeframes
  • Setup effectiveness - which chart patterns work
  • Strategy optimization suggestions based on historical data

Usage

Basic Trade Entry

Log my trade: Entered EURUSD long at 1.0850, stop 1.0820, target 1.0950
Reason: Breakout of daily resistance, strong momentum

Performance Query

Show my win rate for EURUSD trades in March
Analyze my breakout strategy performance

Emotion Tracking

Log emotional state before trade: feeling confident after 3-win streak
Record trading discipline violation: revenge trade after loss

Strategy Analysis

Compare performance of breakout vs mean reversion strategies
Which timeframe performs best for my trading style?

Trade Structure

Standard Trade Entry

Asset: EUR/USD
Type: Long / Short
Entry Price: 1.0850
Stop Loss: 1.0820
Take Profit: 1.0950
Position Size: 1.0 lot
Risk-Reward: 1:3
Strategy: Daily Breakout
Timeframe: 4H
Entry Date/Time: 2026-04-26 14:30 UTC
Exit Date/Time: 2026-04-26 16:45 UTC
Exit Price: 1.0948
P&L: +$680
Pre-Trade Emotion: Confident
Post-Trade Reflection: Good entry, could have held longer
Market Condition: Strong uptrend, volume spike
Screenshots: [attached chart images]
Tags: #breakout #4H #trending #winning-trade

Analytics & Reports

Performance Metrics

Metric Calculation Benchmark
Win Rate Winning trades / Total trades >50% breakeven
Average R:R Avg profit / Avg risk >1.5 good
Sharpe Ratio (Return - RiskFree) / StdDev >1.0 good
Max Drawdown Peak to trough % <20% good
Win/Loss Ratio Avg win / Avg loss >2.0 good
Profit Factor Gross profit / Gross loss >1.5 good

Performance Reports

Monthly Performance Report - April 2026

Total Trades: 47
Winning Trades: 28 (59.6%)
Losing Trades: 19 (40.4%)
Total P&L: +$4,230
Average Win: +$234
Average Loss: -$89
Win/Loss Ratio: 2.63
Best Strategy: 4H Breakout (68% win rate)
Best Timeframe: 4H
Biggest Win: +$680
Biggest Loss: -$340
Max Drawdown: -8.2%
Emotional Pattern: Overconfident after 3+ win streaks
Discipline Score: 7.2/10 (improvement needed)

Top Improvements:
1. Reduce position size after 3+ win streaks (overconfidence)
2. Better stop placement on mean reversion trades
3. Avoid revenge trading after losses

Emotion & Psychology

Emotional States to Track

  • Confidence - normal trading state
  • Overconfidence - after winning streaks, dangerous
  • Fear - missing opportunities, hesitation
  • Greed - overleveraging, chasing trades
  • Revenge - trying to recover losses
  • FOMO - fear of missing out
  • Anxiety - after losses, poor decisions

Discipline Violations

  • Overtrading - too many trades, no edge
  • Revenge Trading - trying to recover losses
  • FOMO Entries - chasing moves without setup
  • No Stop Loss - or moved stop for hope
  • Overleveraging - risk too high for account
  • Trading When Distracted - not focused

Psychology Insights

Emotional Pattern Analysis:

Overconfidence Pattern:
- Occurs after: 3+ consecutive wins
- Next trade win rate: 34% (down from 59%)
- Recommendation: Reduce position size by 30%

Revenge Trading Pattern:
- Occurs after: Losses >$200
- Next trade P&L: -$120 average
- Recommendation: Take 1-hour break after loss

FOMO Entries:
- Trigger: Strong moves without setup
- Win rate: 27%
- Recommendation: Stick to your setups, ignore noise

Strategy Analysis

Strategy Comparison

Strategy Performance Comparison:

Breakout Strategy:
- Trades: 18 | Win Rate: 68% | Avg R:R: 2.1
- Best in: Trending markets | Worst in: Ranging
- Improvement: Add volume confirmation

Mean Reversion Strategy:
- Trades: 14 | Win Rate: 52% | Avg R:R: 1.3
- Best in: Ranging markets | Worst in: Breakouts
- Improvement: Better stop placement

Momentum Strategy:
- Trades: 11 | Win Rate: 45% | Avg R:R: 0.9
- Best in: Strong trends | Worst in: Chop
- Improvement: Avoid overtrading, increase R:R

Export & Integration

Export Formats

  • CSV export for spreadsheet analysis
  • JSON export for custom dashboards
  • PDF reports for professional documentation
  • Calendar integration for trade reminders
  • TradingView sync for chart annotations

Cloud Storage

  • Automatic backup to cloud storage
  • Cross-device sync for mobile access
  • Version history and trade record integrity
  • Collaborative features for trading teams

Advanced Features

Pattern Recognition

  • Winning streak analysis - what leads to wins
  • Losing streak patterns - what causes drawdowns
  • Market condition correlation - performance by environment
  • Time-of-day analysis - best trading hours
  • Day-of-week patterns - which days perform best

Risk Management

  • Position sizing calculator - based on account and risk
  • Portfolio correlation - if trading multiple assets
  • Risk-of-ruin calculation - position sizing safety
  • Monte Carlo simulation - expected outcomes

Goal Setting & Tracking

  • Monthly P&L targets with progress tracking
  • Win rate goals with achievement tracking
  • Drawdown limits and violation alerts
  • Discipline score improvement over time

Setup & Configuration

Initial Configuration

Set trading account size and base risk per trade (1-2%)
Configure preferred timeframes and strategies
Set up emotion tracking preferences
Configure performance goal thresholds

Journal Templates

  • Pre-trade checklist - confirm setup before entry
  • Post-trade reflection - what did I learn
  • Weekly review - strategy and discipline assessment
  • Monthly goals - target setting and progress

Quality Improvements

Journal Quality Checklist

  • Every trade has clear reason and setup
  • Entry, exit, stop, target all recorded
  • P&L calculated accurately
  • Emotional state logged for each trade
  • Strategy and timeframe tagged
  • Post-trade reflection completed
  • Screenshots/notes for complex setups

Journal Maintenance

  • Daily journal review - what did I learn today?
  • Weekly strategy assessment - what's working/not working?
  • Monthly performance review - am I improving on key metrics?
  • Quarterly plan - what to focus on next quarter?

Getting Started

1. Initial Setup

Configure my trading journal with account size and risk parameters
Set up preferred strategies and timeframes

2. First Trade Entry

Log my first trade with all required fields
Document reasoning and emotional state

3. Performance Tracking

Generate my first performance report
Identify areas for improvement

4. Continuous Improvement

Review journal weekly for patterns
Adjust strategies based on analytics
Work on discipline based on insights

Getting Help

For advanced features and trading psychology:

  • Trading Psychology Guide
  • Strategy Development Framework
  • Risk Management Best Practices
  • Performance Optimization