MCPcopy Index your code
hub / github.com/mpquant/Ashare / LLV

Function LLV

MyTT.py:36–37  ·  view source on GitHub ↗
(S,N)

Source from the content-addressed store, hash-verified

34 return pd.Series(S).rolling(N).max().values
35
36def LLV(S,N): # LLV(C, 5) # 最近5天收盘最低价
37 return pd.Series(S).rolling(N).min().values
38
39def EMA(S,N): #指数移动平均,为了精度 S>4*N EMA至少需要120周期
40 return pd.Series(S).ewm(span=N, adjust=False).mean().values

Callers 3

KDJFunction · 0.85
WRFunction · 0.85
TAQFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected