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]
ModeWhat it shows
overviewMids, positions, orders, Risk v2, alert status, jobs, latest reports, and daemon health in one frame.
midsLive mids from the daemon feed in continuous text mode.
positionsAggregated paper and real positions.
ordersOpen and resting orders.
riskUnified risk summary plus liquidation distance, margin usage, scenario stress, and kill-switch status.
daemonDaemon process, socket, channels, and event counters.
opsDaemon, plugin doctor, jobs, alerts, latest report files, Data Ops health, and Reconcile v2 consistency status.
FlagWhat it does
--onceRender one frame and exit. Implied for JSON output.
--interval NRefresh every N seconds in watch mode.
--limit NStop after N frames or live mids events.
--coins A,B,CCoins used for mids snapshots and live mids display.
--no-clearDo 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.