Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 587 Bytes

AGENTS.md

File metadata and controls

19 lines (14 loc) · 587 Bytes

quant-execution

Deterministic execution and ledger layer for research, backtesting, and paper trading.

Invariants

  • Never add live broker order transmission or credentials.
  • Preserve deterministic replay and idempotency.
  • Use FixedPoint for price, quantity, cash, fees, funding, and ledger postings.
  • Every ledger transaction balances exactly per currency.
  • Reject illegal order transitions and timezone-naive timestamps.
  • Keep JSON and Arrow schemas synchronized with committed golden records.

Commands

python -m ruff check src tests
python -m pytest -q