Skip to content

Commit

Permalink
Fixing the spelling mistakes. (#212)
Browse files Browse the repository at this point in the history
# Describe Request

Fixing the spelling mistakes.

# Change Type

Code maintenance.
  • Loading branch information
cinar authored Sep 11, 2024
1 parent 87f1acd commit 4c51922
Show file tree
Hide file tree
Showing 16 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion momentum/chaikin_oscillator_test.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion momentum/ichimoku_cloud.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion momentum/ichimoku_cloud_test.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion momentum/ppo.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion momentum/ppo_test.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion momentum/pvo.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion momentum/pvo_test.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion momentum/rsi.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion momentum/rsi_test.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion momentum/stochastic_oscillator.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion momentum/stochastic_oscillator_test.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion momentum/stochastic_rsi.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion momentum/stochastic_rsi_test.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion momentum/williams_r.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion momentum/williams_r_test.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
4 changes: 2 additions & 2 deletions strategy/trend/kama_strategy.go
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -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
}
Expand Down

0 comments on commit 4c51922

Please sign in to comment.