Skip to content

Commit

Permalink
chore: Correction to numerous spellings (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
dandxy89 authored Nov 11, 2023
1 parent 9ebd101 commit 5b53293
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/core/moving_average.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ pub trait MovingAverageConstructor: Clone + FromStr {
/// Returns moving average type
fn ma_type(&self) -> Self::Type;

/// Checks two moving average constructors for the same moving averagee type
/// Checks two moving average constructors for the same moving average type
fn is_similar_to(&self, other: &Self) -> bool {
self.ma_type() == other.ma_type()
}
Expand Down
4 changes: 2 additions & 2 deletions src/indicators/ichimoku_cloud.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ use crate::methods::{Cross, Highest, Lowest};
///
/// # 2 signals
///
/// * When `Tenkan Sen` crosses `Kijun Sen` upwards and `source` value is greter than both `Senkou Span A and B` and when `Senkou Span A` is greter than `Senkou Span B`,
/// * When `Tenkan Sen` crosses `Kijun Sen` upwards and `source` value is greater than both `Senkou Span A and B` and when `Senkou Span A` is greater than `Senkou Span B`,
/// returns full buy signal.
/// When `Tenkan Sen` crosses `Kijun Sen` downwards and `source` value is lower than both `Senkou Span A and B` and when `Senkou Span A` is lower than `Senkou Span B`,
/// returns full sell signal.
///
/// * When `source` value crosses `Kijun Sen` upwards and `source` value is greter than both `Senkou Span A and B` and when `Senkou Span A` is greter than `Senkou Span B`,
/// * When `source` value crosses `Kijun Sen` upwards and `source` value is greater than both `Senkou Span A and B` and when `Senkou Span A` is greater than `Senkou Span B`,
/// returns full buy signal.
/// When `source` value crosses `Kijun Sen` downwards and `source` value is lower than both `Senkou Span A and B` and when `Senkou Span A` is lower than `Senkou Span B`,
/// returns full sell signal.
Expand Down
2 changes: 1 addition & 1 deletion src/indicators/know_sure_thing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ use crate::methods::{Cross, RateOfChange};
///
/// Range in \(`-inf`; `+inf`\)
///
/// * `Sinal line` value
/// * `Signal line` value
///
/// Range in \(`-inf`; `+inf`\)
///
Expand Down
2 changes: 1 addition & 1 deletion src/indicators/pivot_reversal_strategy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use super::HLC;

/// Pivot Reversal Strategy
///
/// Simply seaches for pivot points and returns signal.
/// Simply searches for pivot points and returns signal.
///
/// ## Links
///
Expand Down
2 changes: 1 addition & 1 deletion src/indicators/price_channel_strategy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use crate::methods::{Highest, Lowest};

/// Price Channel Strategy
///
/// Calculates price channel by highes high and lowest low for last `period` candles.
/// Calculates price channel by highest high and lowest low for last `period` candles.
///
/// ## Links
///
Expand Down
2 changes: 1 addition & 1 deletion src/methods/integral.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ use serde::{Deserialize, Serialize};
/// assert_eq!(integral.next(&5.0), 15.0); // 1 + 2 + 3 + 4 + 5
/// ```
///
/// ### Intergal is opposite method for Derivative
/// ### Integral is opposite method for Derivative
/// ```
/// use yata::prelude::*;
/// use yata::methods::{Integral, Derivative};
Expand Down

0 comments on commit 5b53293

Please sign in to comment.