Skip to content

Commit

Permalink
doc: Updating Output struct docstring
Browse files Browse the repository at this point in the history
reverts change to indicator/result size
  • Loading branch information
dandxy89 committed Jan 9, 2024
1 parent 436ec5e commit 2d55a53
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/indicator/result.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pub struct IndicatorResult {
impl IndicatorResult {
/// Size of pre-allocated result array
/// For the most of cases it should not be used anywhere outside this crate
pub const SIZE: usize = 11;
pub const SIZE: usize = 4;

/// Returns a slice of signals of current indicator result
#[must_use]
Expand Down
2 changes: 1 addition & 1 deletion src/methods/pivot_point_standard.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ impl Method for PivotPointStandard {

#[derive(Debug, Clone, Copy)]
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
/// The PivotPointTraditional method generates pivot points using the Traditional
/// The Pivot Point Traditional method generates pivot points using the Traditional
/// Pivot Point method as described [TradingView](https://www.tradingview.com/support/solutions/43000521824-pivot-points-standard/).
pub struct PivotPointTraditionalOutput {
/// PP = (HIGHprev + LOWprev + CLOSEprev) / 3
Expand Down

0 comments on commit 2d55a53

Please sign in to comment.