Mirror option expiry settlements from exchange bills; debit OO LIVE open premiums.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-08-08 16:02:16 +08:00
parent 8d67f3fc6c
commit 3491681c28
10 changed files with 739 additions and 54 deletions
+11 -1
View File
@@ -5,6 +5,16 @@
---
## 2026-08-08 — 交割账单 SoT + 期期开仓账本
### 变更
1. 到期/残仓空仓:OKX `bills` 行权子类型、币安 `exerciseRecord` 镜像结算价与现金。
2. 期期 LIVE 开仓:本地账本扣 Call/Put 权利金+手续费(与永期一致)。
3. 平仓对账:期权 close 为 0 价时用交割净现金覆盖期权腿。
---
## 2026-08-08 — 实盘 SoT 续修(closing / 期期 / 资金门)
### 变更
@@ -16,7 +26,7 @@
### 审计
`docs/审计修改方案-2026-08-08-交易所SoT续.md`;交割账单 API 未接,ITM 零价镜像 PnL 可能偏低(仓位 SoT 优先)
`docs/审计修改方案-2026-08-08-交易所SoT续.md`
---