@somnia-chain/markets-sdk / index / HoldingsPoint
Interface: HoldingsPoint
Defined in: packages/sdk/src/unified/portfolioAnalytics.ts:140
One sample of the holdings series: the traded book, marked.
Properties
t
t:
number
Defined in: packages/sdk/src/unified/portfolioAnalytics.ts:142
Sample time (ms).
valueUsd
valueUsd:
number
Defined in: packages/sdk/src/unified/portfolioAnalytics.ts:144
Marked value of the open positions this sample could price, USD.
unpricedMarkets
unpricedMarkets:
number
Defined in: packages/sdk/src/unified/portfolioAnalytics.ts:159
How many open markets this sample could NOT price, and so left out of HoldingsPoint.valueUsd.
A market with no candle sample and no last price has no mark. The fold values that position at zero, which is a real price standing in for a missing one — so the level silently loses a position the wallet still holds. This count is how a caller knows. Zero means the sample priced everything and the value is the whole book.
Present the shortfall rather than hiding it. A wallet holding one quiet market reads as poorer than it is, which is the fault SMK-45 reports at the account level.