Files
brk/modules/brk-client/docs/interfaces/UrpdBucket.md
T
2026-06-23 18:54:14 +02:00

50 lines
1.6 KiB
Markdown

[**brk-client**](../README.md)
***
[brk-client](../globals.md) / UrpdBucket
# Interface: UrpdBucket
Defined in: [Developer/brk/modules/brk-client/index.js:1379](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L1379)
## Properties
### priceFloor
> **priceFloor**: `number`
Defined in: [Developer/brk/modules/brk-client/index.js:1380](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L1380)
Lower bound of the bucket, in USD. Equals the exact realized price for `Raw`.
***
### realizedCap
> **realizedCap**: `number`
Defined in: [Developer/brk/modules/brk-client/index.js:1382](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L1382)
Realized cap contribution in USD: sum of `realized_price * supply` over the coins in this bucket.
***
### supply
> **supply**: `number`
Defined in: [Developer/brk/modules/brk-client/index.js:1381](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L1381)
Supply held with a last-move price inside this bucket, in BTC.
***
### unrealizedPnl
> **unrealizedPnl**: `number`
Defined in: [Developer/brk/modules/brk-client/index.js:1383](https://github.com/bitcoinresearchkit/brk/blob/9879a986aa1b6609c39bacbd2ccae5519598e212/modules/brk-client/index.js#L1383)
Unrealized P&L in USD against the close on the snapshot date: `close * supply - realized_cap`. Can be negative.