diff --git a/crates/wickra-core/src/indicators/mama.rs b/crates/wickra-core/src/indicators/mama.rs index e870d3c2..61046e26 100644 --- a/crates/wickra-core/src/indicators/mama.rs +++ b/crates/wickra-core/src/indicators/mama.rs @@ -32,7 +32,7 @@ pub struct MamaOutput { /// + fama_prev * (1 - 0.5 * fast_limit)`, lagging MAMA so crossovers signal /// trend reversals. /// -/// The indicator emits both lines as a [`MamaOutput`]. Use the [`Fama`] wrapper +/// The indicator emits both lines as a [`MamaOutput`]. Use the [`crate::Fama`] wrapper /// in this module to expose just the slow line if needed (e.g. for chaining). /// /// # Example diff --git a/crates/wickra-core/src/indicators/standard_error.rs b/crates/wickra-core/src/indicators/standard_error.rs index 6754d963..b0dbacd2 100644 --- a/crates/wickra-core/src/indicators/standard_error.rs +++ b/crates/wickra-core/src/indicators/standard_error.rs @@ -23,7 +23,7 @@ use crate::traits::Indicator; /// This is the textbook **standard error of estimate** of OLS: it measures /// the typical distance between the observed prices and the fitted line, /// using the residual degrees of freedom `n − 2`. It is the spread that -/// drives [`crate::Bollinger`]-style bands around a regression instead of +/// drives [`crate::BollingerBands`]-style bands around a regression instead of /// around an SMA — when the price hugs its trend, `StdErr` is small. /// /// Each `update` is O(1): the `Σx` and `Σxx` terms depend only on `period` diff --git a/crates/wickra-data/src/aggregator.rs b/crates/wickra-data/src/aggregator.rs index dde3705d..217fde20 100644 --- a/crates/wickra-data/src/aggregator.rs +++ b/crates/wickra-data/src/aggregator.rs @@ -346,7 +346,7 @@ impl TickAggregator { /// /// # Errors /// Returns an error if the open bar's accumulated volume is non-finite - /// (see [`OpenBar::into_candle`]). + /// (see the internal `OpenBar::into_candle`). pub fn flush(&mut self) -> Result> { self.open_bar.take().map(OpenBar::into_candle).transpose() } diff --git a/crates/wickra-data/src/csv.rs b/crates/wickra-data/src/csv.rs index 3b1e46ea..fced311a 100644 --- a/crates/wickra-data/src/csv.rs +++ b/crates/wickra-data/src/csv.rs @@ -24,8 +24,9 @@ const REQUIRED_COLUMNS: [&str; 6] = ["timestamp", "open", "high", "low", "close" /// Default OHLCV CSV row layout. /// -/// The timestamp is parsed as an `i64`; if your file ships an RFC3339 / ISO8601 -/// string instead, use [`CandleReader::with_timestamp_parser`]. +/// The timestamp is parsed as an `i64` (for example a Unix epoch). RFC3339 / +/// ISO8601 string timestamps are not handled by this layout; convert them to +/// integers before reading. #[derive(Debug, Clone, Deserialize)] pub struct DefaultRow { pub timestamp: i64, diff --git a/crates/wickra-data/src/resample.rs b/crates/wickra-data/src/resample.rs index 16007bd9..9472ba1e 100644 --- a/crates/wickra-data/src/resample.rs +++ b/crates/wickra-data/src/resample.rs @@ -114,7 +114,7 @@ impl Resampler { /// /// # Errors /// Returns an error if the open bar's accumulated volume is non-finite - /// (see [`RolledBar::into_candle`]). + /// (see the internal `RolledBar::into_candle`). pub fn flush(&mut self) -> Result> { self.open.take().map(RolledBar::into_candle).transpose() }