mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-08-10 17:43:04 -07:00
50 lines
1.6 KiB
Markdown
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:1396](https://github.com/bitcoinresearchkit/brk/blob/76e08a33afe7d878b09f4359c21ffd6183727e32/modules/brk-client/index.js#L1396)
|
|
|
|
## Properties
|
|
|
|
### priceFloor
|
|
|
|
> **priceFloor**: `number`
|
|
|
|
Defined in: [Developer/brk/modules/brk-client/index.js:1397](https://github.com/bitcoinresearchkit/brk/blob/76e08a33afe7d878b09f4359c21ffd6183727e32/modules/brk-client/index.js#L1397)
|
|
|
|
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:1399](https://github.com/bitcoinresearchkit/brk/blob/76e08a33afe7d878b09f4359c21ffd6183727e32/modules/brk-client/index.js#L1399)
|
|
|
|
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:1398](https://github.com/bitcoinresearchkit/brk/blob/76e08a33afe7d878b09f4359c21ffd6183727e32/modules/brk-client/index.js#L1398)
|
|
|
|
Supply held with a last-move price inside this bucket, in BTC.
|
|
|
|
***
|
|
|
|
### unrealizedPnl
|
|
|
|
> **unrealizedPnl**: `number`
|
|
|
|
Defined in: [Developer/brk/modules/brk-client/index.js:1400](https://github.com/bitcoinresearchkit/brk/blob/76e08a33afe7d878b09f4359c21ffd6183727e32/modules/brk-client/index.js#L1400)
|
|
|
|
Unrealized P&L in USD against the close on the snapshot date: `close * supply - realized_cap`. Can be negative.
|