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.
711 B
711 B
交易复盘导入修复
动机
- 去重过滤时只提示跳过了多少条,未说明具体是哪些记录被过滤
- 批量导入功能失败
- 期权交易盈亏计算错误(close_pnl 硬编码为 0,应使用权利金计算盈亏)
目标
- 去重时记录被过滤记录的详细信息(品种、日期、时间、价格),并在前端展示
- 修复批量导入失败问题
- 修复期权盈亏计算:使用权利金(amount)作为期权盈亏来源
范围
app/services/trade_parser.py— 去重详情收集、期权盈亏修复app/api/trade_review.py— 返回去重详情、批量导入修复app/static/futures_analysis.js— 前端展示去重详情