money-path: nightly cage-count reconcile (broker vs event store) + schedule it
Plan 003 step 5 (completes plan 003). research/eod_reconcile.py diffs broker truth (open positions, today's live orders) against event-store truth (today's submits/fills/closes) and emits a loud eod_reconcile event + Telegram alert on any drift — the duplicate-resting-order-after-restart class (2026-07-06) caught automatically instead of by hand. Read-only (reports, never auto-fixes). Wired into both scheduler blocks after premarket_eval. Pure diff core is unit-tested. Suite: 373 passed (+22 plan-003 tests), 15 fail = WSL-loopback dashboard only. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
119e4c0ad1
commit
23b3d01a00
5 files changed
+235
-1
No files matched your search
@@ -190,6 +190,7 @@ services:
|
||||
while true; do
|
||||
if [ "$$(date +%H:%M)" = "20:00" ] && [ "$$(date +%u)" -le 5 ]; then
|
||||
python -m research.premarket_eval || echo "[scheduler] eval FAILED"
|
||||
python -m research.eod_reconcile || echo "[scheduler] reconcile FAILED"
|
||||
sleep 120
|
||||
fi
|
||||
sleep 20
|
||||
|
||||
Reference in new issue
Block a user