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