Skip to content

Commit

Permalink
fix a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
msaltnet committed Jun 9, 2024
1 parent 70d0302 commit 1f83427
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions smtm/strategy/strategy_hey.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def update_trading_info(self, info):
self.data.append(copy.deepcopy(target))
self._checking_sma(target)
# 변동성 돌파 이벤트를 분봉을 기준으로 했을때, 너무 자주 발생됨
# self._checking_volitility_breakout(target)
# self._checking_volatility_breakout(target)

def _checking_sma(self, info):
current_price = info["closing_price"]
Expand Down Expand Up @@ -159,7 +159,7 @@ def _checking_sma(self, info):
f"[HEY] SMA #{current_idx} {self.current_process} : {current_price}",
)

def _checking_volitility_breakout(self, info):
def _checking_volatility_breakout(self, info):
self.update_atr_info(info)
breakout_buy_signal, breakout_sell_signal = self.detect_breakout_signals()
if breakout_buy_signal or breakout_sell_signal:
Expand Down

0 comments on commit 1f83427

Please sign in to comment.