def smaShort(self):
while True:
ohlcv_candles = bitmex2.bitmex.fetch_ohlcv(self, symbol= 'XBTUSD', timeframe= '5m')
mas = []
mas = ohlcv_candles.rolling(window=5).mean()
return mas#[-1]
尝试调用 smaShort 函数时
logger.info("sma short value:" (self.smaShort()))
我收到错误 smaShort is not callable,有人知道我做错了什么吗?