def __init__(self) -> None:
    super().__init__()
    self.rsi = StochRSI(self.data, period=30)
    self.crossover = bt.indicators.CrossOver(self.rsi, bt.LineNum(0.7))
    self.crossdown = bt.indicators.CrossDown(self.rsi, bt.LineNum(0.3))
def __init__(self) -> None:
    super().__init__()
    self.rsi = StochRSI(self.data, period=30)
    self.crossover = bt.indicators.CrossOver(self.rsi, bt.LineNum(0.7))
    self.crossdown = bt.indicators.CrossDown(self.rsi, bt.LineNum(0.3))