6 Commits
Author SHA1 Message Date
TIANHE 6ae972fb31 fix: reconcile exchange fills and one-way strategies 2026-09-17 01:05:57 +08:00
TIANHE 8be1177d48 fix: require exchange execution evidence for live trade records 2026-09-16 22:02:40 +08:00
TIANHE 6f82a5f5b0 fix: reconcile exchange fills atomically across REST and private streams
Normalize venue contract quantities before posting and derive incremental
prices and fees from cumulative order snapshots. Serialize ledger, position
and grid state updates; reconcile delayed fees and preserve rebates,
fractional quantities and native fee currencies across supported venues.

Fix product/account routing, REST adapter contracts, initial grid recovery,
and migration bootstrap registration. Add PostgreSQL concurrency and
rollback regression coverage to CI and document venue contracts/deployment.

Validation: 2716 passed, 7 environment skips, 23 integration/stress deselected;
critical lint, compile, structure, lockfile and documentation checks passed.
Real exchange order placement was not exercised. Refs #248.
2026-09-16 21:25:41 +08:00
TIANHE d8508a85a4 feat: support exchange-routed equity trading 2026-09-14 12:49:49 +08:00
TIANHE ca9198c153 feat: protect manual Alpaca inventory during strategy execution 2026-09-11 18:52:25 +08:00
TIANHE 9e2fbca4fb fix: bill agent backtests atomically and correct plugin gateway contracts 2026-09-11 18:03:44 +08:00