refactor: remove verbose comments from vecs.rs files

This commit is contained in:
Brandon Collins
2026-01-21 14:08:27 -05:00
parent 49794c5e04
commit fd4cf5d414
2 changed files with 0 additions and 16 deletions
@@ -4,23 +4,9 @@ use vecdb::{EagerVec, PcoVec};
use crate::internal::ComputedFromDateLast;
/// Reserve Risk metric components.
///
/// Reserve Risk = Price / HODL Bank
/// Where HODL Bank = Σ(Price - avg_VOCDD) over time
///
/// Low Reserve Risk = high long-term holder confidence = good buying opportunity.
#[derive(Clone, Traversable)]
pub struct Vecs {
/// Moving average of VOCDD (Value-weighted CDD) over 365 days
/// Used to smooth the VOCDD signal for HODL Bank calculation
pub vocdd_365d_sma: EagerVec<PcoVec<DateIndex, StoredF64>>,
/// HODL Bank = cumulative sum of (price - vocdd_365d_sma)
/// Represents the opportunity cost of holding Bitcoin vs trading
pub hodl_bank: EagerVec<PcoVec<DateIndex, StoredF64>>,
/// Reserve Risk = price / hodl_bank
/// A timing indicator for long-term Bitcoin accumulation
pub reserve_risk: Option<ComputedFromDateLast<StoredF64>>,
}
@@ -8,7 +8,5 @@ pub struct Vecs {
pub cointime_value_destroyed: ComputedFromHeightSumCum<StoredF64>,
pub cointime_value_created: ComputedFromHeightSumCum<StoredF64>,
pub cointime_value_stored: ComputedFromHeightSumCum<StoredF64>,
/// Value-weighted Coin Days Destroyed (CDD × price)
/// Used for Reserve Risk calculation: VOCDD = coindays_destroyed × price
pub vocdd: ComputedFromHeightSumCum<StoredF64>,
}