MarketDeck docs
stream
NDJSON stream facade over daemon feed channels.
marketdeck stream is a shell-friendly wrapper around daemon feed subscriptions. It emits one NDJSON object per event and does not add business RPC methods to the daemon.
Usage#
marketdeck stream <mids|favorites|paper-tick|trades|book|funding|real-trailing|http-log|webdata2|mids-bybit|mids-aster|status|record> [flags]
| Flag | What it does |
|---|---|
--channel C | Override the daemon channel name. |
--duration N | Stop after N seconds. |
--limit N | Stop after N events. |
--out PATH | record only: append events as NDJSON. |
Examples#
marketdeck stream mids --limit 5
marketdeck stream trades --limit 10
marketdeck stream book --duration 15
marketdeck stream funding --limit 3
marketdeck stream real-trailing --duration 30
marketdeck stream http-log --limit 20
marketdeck stream record --channel mids --limit 100 --out ./mids.ndjson
marketdeck stream favorites --duration 30
marketdeck stream status
For one-shot daemon admin calls, use marketdeck daemon. For business data, use concrete CLI commands such as positions, wallets, orders, or portfolio.