Skip to content

Commit

Permalink
Apply CondenseMixin to SMMA
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeDongGeon1996 committed Apr 28, 2024
1 parent 63fcd98 commit b6f1745
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stock_indicators/indicators/smma.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from stock_indicators._cslib import CsIndicator
from stock_indicators._cstypes import List as CsList
from stock_indicators.indicators.common.helpers import RemoveWarmupMixin
from stock_indicators.indicators.common.helpers import CondenseMixin, RemoveWarmupMixin
from stock_indicators.indicators.common.results import IndicatorResults, ResultBase
from stock_indicators.indicators.common.quote import Quote

Expand Down Expand Up @@ -47,7 +47,7 @@ def smma(self, value):


_T = TypeVar("_T", bound=SMMAResult)
class SMMAResults(RemoveWarmupMixin, IndicatorResults[_T]):
class SMMAResults(CondenseMixin, RemoveWarmupMixin, IndicatorResults[_T]):
"""
A wrapper class for the list of Smoothed Moving Average (SMMA) results.
It is exactly same with built-in `list` except for that it provides
Expand Down

0 comments on commit b6f1745

Please sign in to comment.