[Del] remove sma_ohlc
This commit is contained in:
parent
c75cf932c1
commit
f39859a546
@ -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"):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user