@somnia-chain/markets-sdk / index / PnlBucket
Interface: PnlBucket
Defined in: packages/sdk/src/unified/portfolioAnalytics.ts:59
One PnL bucket: the PnL attributed to (prevSample, t].
Properties
t
t:
number
Defined in: packages/sdk/src/unified/portfolioAnalytics.ts:61
Bucket end time (ms).
pnlUsd
pnlUsd:
number
Defined in: packages/sdk/src/unified/portfolioAnalytics.ts:63
Signed PnL attributed to the bucket, USD.