Files
brk/modules/brk-client/docs/interfaces/UrpdBucket.md
2026-04-27 12:56:52 +02:00

50 lines
1.5 KiB
Markdown

[**brk-client**](../README.md)
***
[brk-client](../globals.md) / UrpdBucket
# Interface: UrpdBucket
Defined in: [Developer/brk/modules/brk-client/index.js:1213](https://github.com/bitcoinresearchkit/brk/blob/76869ed2b6aad1e1c3da7aff4c90e9b5788fb606/modules/brk-client/index.js#L1213)
## Properties
### priceFloor
> **priceFloor**: `number`
Defined in: [Developer/brk/modules/brk-client/index.js:1214](https://github.com/bitcoinresearchkit/brk/blob/76869ed2b6aad1e1c3da7aff4c90e9b5788fb606/modules/brk-client/index.js#L1214)
Inclusive lower bound of the bucket, in USD.
***
### realizedCap
> **realizedCap**: `number`
Defined in: [Developer/brk/modules/brk-client/index.js:1216](https://github.com/bitcoinresearchkit/brk/blob/76869ed2b6aad1e1c3da7aff4c90e9b5788fb606/modules/brk-client/index.js#L1216)
Realized cap contribution in USD: `price_floor * supply`.
***
### supply
> **supply**: `number`
Defined in: [Developer/brk/modules/brk-client/index.js:1215](https://github.com/bitcoinresearchkit/brk/blob/76869ed2b6aad1e1c3da7aff4c90e9b5788fb606/modules/brk-client/index.js#L1215)
Supply held with a last-move price inside this bucket, in BTC.
***
### unrealizedPnl
> **unrealizedPnl**: `number`
Defined in: [Developer/brk/modules/brk-client/index.js:1217](https://github.com/bitcoinresearchkit/brk/blob/76869ed2b6aad1e1c3da7aff4c90e9b5788fb606/modules/brk-client/index.js#L1217)
Unrealized P&L in USD against the close on the snapshot date: `(close - price_floor) * supply`. Can be negative.