From 4c519221ff3f46e75eb707b6f5045482e824452a Mon Sep 17 00:00:00 2001 From: Onur Cinar Date: Wed, 11 Sep 2024 07:20:29 -0700 Subject: [PATCH] Fixing the spelling mistakes. (#212) # Describe Request Fixing the spelling mistakes. # Change Type Code maintenance. --- momentum/chaikin_oscillator_test.go | 2 +- momentum/ichimoku_cloud.go | 2 +- momentum/ichimoku_cloud_test.go | 2 +- momentum/ppo.go | 2 +- momentum/ppo_test.go | 2 +- momentum/pvo.go | 2 +- momentum/pvo_test.go | 2 +- momentum/rsi.go | 2 +- momentum/rsi_test.go | 2 +- momentum/stochastic_oscillator.go | 2 +- momentum/stochastic_oscillator_test.go | 2 +- momentum/stochastic_rsi.go | 2 +- momentum/stochastic_rsi_test.go | 2 +- momentum/williams_r.go | 2 +- momentum/williams_r_test.go | 2 +- strategy/trend/kama_strategy.go | 4 ++-- 16 files changed, 17 insertions(+), 17 deletions(-) diff --git a/momentum/chaikin_oscillator_test.go b/momentum/chaikin_oscillator_test.go index 98f9993..270d502 100644 --- a/momentum/chaikin_oscillator_test.go +++ b/momentum/chaikin_oscillator_test.go @@ -1,4 +1,4 @@ -// ChaikinOscillatorpyright (c) 2021-2024 Onur Cinar. +// Copyright (c) 2021-2024 Onur Cinar. // The source code is provided under GNU AGPLv3 License. // https://github.com/cinar/indicator diff --git a/momentum/ichimoku_cloud.go b/momentum/ichimoku_cloud.go index 8db0e71..5a98af1 100644 --- a/momentum/ichimoku_cloud.go +++ b/momentum/ichimoku_cloud.go @@ -1,4 +1,4 @@ -// IchimokuCloudpyright (c) 2021-2024 Onur Cinar. +// Copyright (c) 2021-2024 Onur Cinar. // The source code is provided under GNU AGPLv3 License. // https://github.com/cinar/indicator diff --git a/momentum/ichimoku_cloud_test.go b/momentum/ichimoku_cloud_test.go index a789a00..0223056 100644 --- a/momentum/ichimoku_cloud_test.go +++ b/momentum/ichimoku_cloud_test.go @@ -1,4 +1,4 @@ -// IchimokuCloudpyright (c) 2021-2024 Onur Cinar. +// Copyright (c) 2021-2024 Onur Cinar. // The source code is provided under GNU AGPLv3 License. // https://github.com/cinar/indicator diff --git a/momentum/ppo.go b/momentum/ppo.go index b903d45..2f68d48 100644 --- a/momentum/ppo.go +++ b/momentum/ppo.go @@ -1,4 +1,4 @@ -// Ppopyright (c) 2021-2024 Onur Cinar. +// Copyright (c) 2021-2024 Onur Cinar. // The source code is provided under GNU AGPLv3 License. // https://github.com/cinar/indicator diff --git a/momentum/ppo_test.go b/momentum/ppo_test.go index 97c1b6c..7103da7 100644 --- a/momentum/ppo_test.go +++ b/momentum/ppo_test.go @@ -1,4 +1,4 @@ -// Ppopyright (c) 2021-2024 Onur Cinar. +// Copyright (c) 2021-2024 Onur Cinar. // The source code is provided under GNU AGPLv3 License. // https://github.com/cinar/indicator diff --git a/momentum/pvo.go b/momentum/pvo.go index 385a8a2..2e55f1a 100644 --- a/momentum/pvo.go +++ b/momentum/pvo.go @@ -1,4 +1,4 @@ -// Pvopyright (c) 2021-2024 Onur Cinar. +// Copyright (c) 2021-2024 Onur Cinar. // The source code is provided under GNU AGPLv3 License. // https://github.com/cinar/indicator diff --git a/momentum/pvo_test.go b/momentum/pvo_test.go index 22ecd65..1a33160 100644 --- a/momentum/pvo_test.go +++ b/momentum/pvo_test.go @@ -1,4 +1,4 @@ -// Pvopyright (c) 2021-2024 Onur Cinar. +// Copyright (c) 2021-2024 Onur Cinar. // The source code is provided under GNU AGPLv3 License. // https://github.com/cinar/indicator diff --git a/momentum/rsi.go b/momentum/rsi.go index 3f9aec9..1bc9dee 100644 --- a/momentum/rsi.go +++ b/momentum/rsi.go @@ -1,4 +1,4 @@ -// Rsipyright (c) 2021-2024 Onur Cinar. +// Copyright (c) 2021-2024 Onur Cinar. // The source code is provided under GNU AGPLv3 License. // https://github.com/cinar/indicator diff --git a/momentum/rsi_test.go b/momentum/rsi_test.go index d1c93a9..4ea0c51 100644 --- a/momentum/rsi_test.go +++ b/momentum/rsi_test.go @@ -1,4 +1,4 @@ -// Rsipyright (c) 2021-2024 Onur Cinar. +// Copyright (c) 2021-2024 Onur Cinar. // The source code is provided under GNU AGPLv3 License. // https://github.com/cinar/indicator diff --git a/momentum/stochastic_oscillator.go b/momentum/stochastic_oscillator.go index 7e96aab..49fd868 100644 --- a/momentum/stochastic_oscillator.go +++ b/momentum/stochastic_oscillator.go @@ -1,4 +1,4 @@ -// StochasticOscillatorpyright (c) 2021-2024 Onur Cinar. +// Copyright (c) 2021-2024 Onur Cinar. // The source code is provided under GNU AGPLv3 License. // https://github.com/cinar/indicator diff --git a/momentum/stochastic_oscillator_test.go b/momentum/stochastic_oscillator_test.go index c051af1..3abd103 100644 --- a/momentum/stochastic_oscillator_test.go +++ b/momentum/stochastic_oscillator_test.go @@ -1,4 +1,4 @@ -// StochasticOscillatorpyright (c) 2021-2024 Onur Cinar. +// Copyright (c) 2021-2024 Onur Cinar. // The source code is provided under GNU AGPLv3 License. // https://github.com/cinar/indicator diff --git a/momentum/stochastic_rsi.go b/momentum/stochastic_rsi.go index 5f22e76..e831c23 100644 --- a/momentum/stochastic_rsi.go +++ b/momentum/stochastic_rsi.go @@ -1,4 +1,4 @@ -// StochasticRsipyright (c) 2021-2024 Onur Cinar. +// Copyright (c) 2021-2024 Onur Cinar. // The source code is provided under GNU AGPLv3 License. // https://github.com/cinar/indicator diff --git a/momentum/stochastic_rsi_test.go b/momentum/stochastic_rsi_test.go index 23825d1..186290a 100644 --- a/momentum/stochastic_rsi_test.go +++ b/momentum/stochastic_rsi_test.go @@ -1,4 +1,4 @@ -// StochasticRsipyright (c) 2021-2024 Onur Cinar. +// Copyright (c) 2021-2024 Onur Cinar. // The source code is provided under GNU AGPLv3 License. // https://github.com/cinar/indicator diff --git a/momentum/williams_r.go b/momentum/williams_r.go index 61caf9c..98e7378 100644 --- a/momentum/williams_r.go +++ b/momentum/williams_r.go @@ -1,4 +1,4 @@ -// WilliamsRpyright (c) 2021-2024 Onur Cinar. +// Copyright (c) 2021-2024 Onur Cinar. // The source code is provided under GNU AGPLv3 License. // https://github.com/cinar/indicator diff --git a/momentum/williams_r_test.go b/momentum/williams_r_test.go index 3c15539..182c74b 100644 --- a/momentum/williams_r_test.go +++ b/momentum/williams_r_test.go @@ -1,4 +1,4 @@ -// WilliamsRpyright (c) 2021-2024 Onur Cinar. +// Copyright (c) 2021-2024 Onur Cinar. // The source code is provided under GNU AGPLv3 License. // https://github.com/cinar/indicator diff --git a/strategy/trend/kama_strategy.go b/strategy/trend/kama_strategy.go index 86349d3..3fca167 100644 --- a/strategy/trend/kama_strategy.go +++ b/strategy/trend/kama_strategy.go @@ -12,7 +12,7 @@ import ( ) // KamaStrategy represents the configuration parameters for calculating the KAMA strategy. A closing price crossing -// above the KAMA suggests a bullish trend, while crossing below the KAMA indicats a bearish trend. +// above the KAMA suggests a bullish trend, while crossing below the KAMA indicates a bearish trend. type KamaStrategy struct { // Kama represents the configuration parameters for calculating the Kaufman's Adaptive Moving Average (KAMA). Kama *trend.Kama[float64] @@ -56,7 +56,7 @@ func (k *KamaStrategy) Compute(snapshots <-chan *asset.Snapshot) <-chan strategy return strategy.Buy } - // While crossing below the KAMA indicats a bearish trend. + // While crossing below the KAMA indicates a bearish trend. if closing < kama { return strategy.Sell }