Fix OO trade records: include Put PnL and show dual-leg detail clearly.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-08-11 09:34:35 +08:00
parent 26e6d98338
commit 4a5d19e30f
6 changed files with 481 additions and 141 deletions
+14
View File
@@ -5,6 +5,20 @@
---
## 2026-08-11 — 期期交易记录展示与盈亏汇总
### 变更
1. `summarize_fills_pnl` 计入 `option2`(Put)盈亏与手续费,期期净盈亏不再漏腿。
2. 交易记录列表/详情:期期显示「期期·看涨+看跌」、Call/Put 合约与权利金、双腿结算与 Call/Put 盈亏;成交文案不再出现 `option2平仓sell`
3. 到期结算信息补充 Put 行权价/内在价值。
### 审计
截图 G-20260807-01:详情按永期模板只显 Call,初始权利金漏 Put,成交腿标签乱码,净盈亏汇总缺 Put。
---
## 2026-08-08 — 策略格式三页文档
### 变更