@somnia-chain/markets-sdk / index / PerpPositionAnalytics
Type Alias: PerpPositionAnalytics
PerpPositionAnalytics =
object&PerpPositionMetrics| {priceable:false;asOfBlock:bigint;pool:Address; }
Defined in: packages/sdk/src/perp/margin.ts:937
One position's analytics as of a block, or the market reporting itself unpriceable.
Union Members
object & PerpPositionMetrics
Type Literal
{ priceable: false; asOfBlock: bigint; pool: Address; }
priceable
priceable:
false
The pool's mark feed is stale or zero, so nothing here can be marked. Skip the row — do NOT substitute zeros, which would render a live position as flat.
asOfBlock
asOfBlock:
bigint
The block the attempt was pinned to.
pool
pool:
Address
The pool that could not be priced.