Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
m5l14i11 committed Sep 6, 2024
1 parent ef9a9d3 commit 0292753
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions strategy/generator/bootstrap/_trend_follow.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@
from strategy.generator.signal.ma.ma_testing_ground import MaTestingGroundSignal
from strategy.generator.signal.ma.vwap_cross import VwapCrossSignal
from strategy.generator.signal.neutrality.dso_cross import DsoNeutralityCrossSignal
from strategy.generator.signal.neutrality.rsi_cross import RsiNautralityCrossSignal
from strategy.generator.signal.neutrality.rsi_cross import RsiNeutralityCrossSignal
from strategy.generator.signal.neutrality.rsi_pullback import (
RsiNautralityPullbackSignal,
)
from strategy.generator.signal.neutrality.rsi_rejection import (
RsiNautralityRejectionSignal,
RsiNeutralityRejectionSignal,
)
from strategy.generator.signal.neutrality.tii_cross import TiiNeutralityCrossSignal
from strategy.generator.signal.pattern.ao_saucer import AoSaucerSignal
Expand Down Expand Up @@ -472,14 +472,14 @@ def _generate_signal(self, signal: TrendSignalType):
return np.random.choice(
[
DsoNeutralityCrossSignal(),
RsiNautralityCrossSignal(),
RsiNeutralityCrossSignal(),
RsiNautralityPullbackSignal(),
RsiNautralityRejectionSignal(),
RsiNeutralityRejectionSignal(),
TiiNeutralityCrossSignal(),
]
)
return np.random.choice(
[
RsiNautralityRejectionSignal(),
RsiNeutralityRejectionSignal(),
]
)
2 changes: 1 addition & 1 deletion strategy/generator/signal/neutrality/rsi_cross.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@


@dataclass(frozen=True)
class RsiNautralityCrossSignal(Signal):
class RsiNeutralityCrossSignal(Signal):
type: SignalType = SignalType.RsiNeutralityCross
source_type: Parameter = StaticParameter(SourceType.CLOSE)
smooth_type: Parameter = StaticParameter(Smooth.SMMA)
Expand Down
2 changes: 1 addition & 1 deletion strategy/generator/signal/neutrality/rsi_rejection.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@


@dataclass(frozen=True)
class RsiNautralityRejectionSignal(Signal):
class RsiNeutralityRejectionSignal(Signal):
type: SignalType = SignalType.RsiNeutralityRejection
source_type: Parameter = StaticParameter(SourceType.CLOSE)
smooth_type: Parameter = StaticParameter(Smooth.SMMA)
Expand Down

0 comments on commit 0292753

Please sign in to comment.