You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1.1 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

trade-reflection spec

ADDED Requirements

Requirement: 每笔交易可添加结构化反思

系统 SHALL 允许用户为每笔交易记录添加结构化反思,包括入场理由、入场时机评价、仓位管理反思、出场理由、出场时机评价、纪律评分。

Scenario: 用户为交易添加完整反思

  • WHEN 用户选择一笔交易并打开反思编辑面板
  • AND 用户填写所有模板字段和自由反思
  • AND 用户点击保存
  • THEN 系统保存反思记录
  • AND 更新该交易的 reflection_status 为 'pending'

Requirement: 反思可编辑和更新

系统 SHALL 允许用户编辑已保存的反思内容。

Scenario: 用户修改已有反思

  • WHEN 用户打开已有反思的交易
  • AND 用户修改任意字段
  • AND 用户点击保存
  • THEN 系统更新反思记录
  • AND 重置 ai_analysis_status 为 'none'(需重新 AI 分析)

Requirement: 反思状态追踪

系统 SHALL 追踪每笔交易的反思状态none未反思、pending待 AI 分析、done已完成 AI 分析)。