[Del] remove sma_ohlc

This commit is contained in:
vn.py 2019-11-08 22:50:59 +08:00
parent c75cf932c1
commit f39859a546

View File

@ -508,15 +508,6 @@ class ArrayManager(object):
return result return result
return result[-1] return result[-1]
def sma_ohlc(self, n, array=False):
"""
Simple moving average for open, high, low, close.
"""
medio = (self.open + self.high + self.low + self.close) / 4
result = talib.SMA(medio, n)
if array:
return result
return result[-1]
def virtual(func: "callable"): def virtual(func: "callable"):
""" """