portfolio · wire operation
Value a portfolio at an instant
Value every cash balance and position of a portfolio at one instant from a Gate B market snapshot: net asset value in the base currency, per-account cash rows (settled and unsettled), per-position marks, cost basis and unrealized P&L. Supply the portfolio as its serialized ledger envelope (re-hydrated through readPortfolioLedgerSnapshot) or as a derived PortfolioState. The result is portfolioSnapshot(...) verbatim.
totalfinance.portfolio.snapshot- MCP tool name
- totalfinance_portfolio_snapshot
- Pack / profiles
- portfolio / full, portfolio
- Default discovery
- Opt-in (select its pack or profile)
- Required capabilities
- None
- Effects / authorization
- none / none
- Cost / cancellation
- small / Do not assume inline interruption
- Handle-eligible inputs
- portfolio, market
- Idempotency
- not-applicable
Input schema
| Field | Type | Meaning |
|---|---|---|
portfolioRequired | object | object | A serialized ledger envelope (re-hydrated through readPortfolioLedgerSnapshot) or a PortfolioState |
asOfRequired | number | string | The valuation instant |
marketRequired | object | A Gate B market snapshot (totalfinance.market-snapshot); its interior is re-validated by the read door |
currencyConversionsOptional | object[] | Quotes to the base currency — required exactly when the portfolio holds non-base currency |
Complete JSON Schema
Loading…
Output schema
| Field | Type | Meaning |
|---|---|---|
asOfRequired | number | — |
baseCurrencyRequired | string | — |
netAssetValueRequired | number | — |
cashRequired | object[] | — |
totalCashBaseCurrencyValueRequired | number | — |
positionsRequired | object[] | — |
totalPositionsBaseCurrencyValueRequired | number | — |
assumptionsRequired | object | Applied conventions |
diagnosticsRequired | object | Engine, method, warnings |
Complete JSON Schema
Loading…