MarketDeck docs

portfolio

Portfolio rollups for balances, exposure, allocation, PnL, and risk.

marketdeck portfolio combines wallet balances, positions, and paper state into higher-level summaries. It is read-only.

Usage#

marketdeck portfolio <snapshot|pnl|exposure|allocation|risk|report>
SubcommandWhat it does
snapshotReal perp cash, real spot value, paper equity, positions, and errors.
pnl [--wallet W]Paper realised PnL summary.
`exposure [--by coinexchangewallet]`Gross notional grouped by coin, venue, or wallet.
allocationWallet/exchange allocation by USD value.
riskGross, net, long, and short notional, gross leverage, position count, and coarse concentration.
report [--from D] [--to D]Combined snapshot/risk/paper report for plugin dashboards and exports.

Examples#

marketdeck portfolio snapshot --format json
marketdeck portfolio exposure --by coin --format text
marketdeck portfolio allocation
marketdeck portfolio risk
marketdeck portfolio report --format json

Per-wallet exchange failures are surfaced inline so one locked keyring or unreachable API does not blank the whole portfolio view.