Fix trades API 500 by supporting sqlite Row in hold timing.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -5,6 +5,15 @@
|
||||
|
||||
---
|
||||
|
||||
## 2026-07-27 — 修复交易记录 500(记录未丢)
|
||||
|
||||
### 变更
|
||||
|
||||
1. `/api/trades/groups` 因 `sqlite3.Row` 无 `.get` 抛错导致「Internal Server Error / 暂无成交组」假象。
|
||||
2. 持仓周期计算改为兼容 Row;库内成交组仍在。
|
||||
|
||||
---
|
||||
|
||||
## 2026-07-27 — 交易记录:开仓/平仓时间与持仓周期
|
||||
|
||||
### 变更
|
||||
|
||||
Reference in New Issue
Block a user