Skip to content

betting_combat.trading.reporting

The card run’s rows for the Grafana tables (monitoring.betting_combat).

Pure: reads the session’s state, returns rows. Every row carries sport, league and card so dashboards filter one league without mixing in another.

Classes

SessionReporter

decision_rows

decision_rows(records: Sequence[DecisionRecord]) -> list[dict[str, Any]]

fight_rows

fight_rows() -> list[dict[str, Any]]

ledger_rows

ledger_rows() -> list[dict[str, Any]]

session_row

session_row(ended: str | None) -> dict[str, Any]