MarketDeck docs
monitor
Terminal operator monitor for mids, positions, orders, Risk v2, alerts, reports, ops, and daemon health.
marketdeck monitor is the terminal operator view. It renders compact watch frames for live mids, positions, orders, Risk v2, alerts, reports, ops, and daemon health without moving business logic into a UI layer.
Continuous mids mode subscribes to the daemon mids feed and seeds from the daemon's cached mids first, then merges delta updates. Other sections are collected from existing CLI commands with --format json.
Usage#
marketdeck monitor [overview|mids|positions|orders|risk|daemon|ops] [flags]
| Mode | What it shows |
|---|---|
overview | Mids, positions, orders, Risk v2, alert status, jobs, latest reports, and daemon health in one frame. |
mids | Live mids from the daemon feed in continuous text mode. |
positions | Aggregated paper and real positions. |
orders | Open and resting orders. |
risk | Unified risk summary plus liquidation distance, margin usage, scenario stress, and kill-switch status. |
daemon | Daemon process, socket, channels, and event counters. |
ops | Daemon, plugin doctor, jobs, alerts, latest report files, Data Ops health, and Reconcile v2 consistency status. |
| Flag | What it does |
|---|---|
--once | Render one frame and exit. Implied for JSON output. |
--interval N | Refresh every N seconds in watch mode. |
--limit N | Stop after N frames or live mids events. |
--coins A,B,C | Coins used for mids snapshots and live mids display. |
--no-clear | Do not clear the terminal between frames. |
Examples#
marketdeck monitor overview
marketdeck monitor overview --once --format json
marketdeck monitor mids --coins BTC,ETH,SOL --limit 20 --format text
marketdeck monitor risk --interval 5
marketdeck monitor ops --once --format json
marketdeck monitor daemon --once
Operator Signals#
overview and risk surface the same signals exposed by Risk v2: kill-switch status, minimum liquidation distance, maximum margin usage, scenario PnL, and kill-switch findings.
overview and ops also include Alert v2 and Reports v2 status: triggered alerts, enabled rules/routes, recent alert history, recent jobs, and the latest scheduled report files under the local MarketDeck data directory.
ops additionally shows Data Ops health from marketdeck data and Reconcile v2 signals from marketdeck reconcile summary: doctor warning/failure counts, missing/orphaned blobs, kill-switch status, open orders versus positions, and repair action counts split into executable and blocked actions.
For raw NDJSON feed output, use marketdeck stream. For machine-readable command discovery, use marketdeck commands.