From 6a107840196fdc97d5bd0a5fd0e1c1615ac20cec Mon Sep 17 00:00:00 2001 From: baobao Date: Thu, 19 Nov 2026 16:54:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=9D=E7=95=99=E6=8A=B5=E9=94=80=E6=99=9A?= =?UTF-8?q?=E5=88=B0=E5=8D=96=E5=87=BA=E7=9A=84=E9=80=90=E7=AC=94=E5=BA=8F?= =?UTF-8?q?=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/reconcile_qmt_closed_sells.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/reconcile_qmt_closed_sells.py b/scripts/reconcile_qmt_closed_sells.py index 214dbf0..0cf25d1 100644 --- a/scripts/reconcile_qmt_closed_sells.py +++ b/scripts/reconcile_qmt_closed_sells.py @@ -104,7 +104,8 @@ def plan(): evidence.append({'code':code,'corrections':corrections,'raw':raw,'late':late,'late_order':late_order, 'late_raw':late_raw,'late_final':final,'position':position,'lots':lots,'parent':parent, 'recovery':{'cutover':cutover,'lot_parents':sorted({lot['instruction_id'] for lot in lots}), - 'closed_terminals':closed_terminals,'balancing_sell':quantity}}) + 'closed_terminals':closed_terminals,'balancing_trade_seq':late_seq, + 'balancing_sell':quantity}}) require(abs(expected_delta - amount) <= Decimal('.02'), '逐笔本金不能解释全部剩余资金差,不写入') return {'evidence': evidence, 'cash_before':capital['cash'], 'qmt_cash':expected_cash, 'cash_delta':amount}