I am getting this error:
Exception has occurred: IndexError
index -1 is out of bounds for axis 0 with size 0
in this function:
def is_overbought_or_oversold(self):
[symbol_a, symbol_b] = self.symbols
last_price_a = self.df_hist[symbol_a].dropna().values[-1]

Does anybody know of a way to solve it?
Thanks
I am getting this error:
Exception has occurred: IndexError
index -1 is out of bounds for axis 0 with size 0
in this function:
Does anybody know of a way to solve it?
Thanks