Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/mpquant/Ashare
/ HHV
Function
HHV
MyTT.py:33–34 ·
view source on GitHub ↗
(S,N)
Source
from the content-addressed store, hash-verified
31
return
pd.Series(S).rolling(N).sum().values
32
33
def
HHV(S,N):
# HHV(C, 5) # 最近5天收盘最高价
34
return
pd.Series(S).rolling(N).max().values
35
36
def
LLV(S,N):
# LLV(C, 5) # 最近5天收盘最低价
37
return
pd.Series(S).rolling(N).min().values
Callers
3
KDJ
Function · 0.85
WR
Function · 0.85
TAQ
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected