sunle shen
sunle shen

性别: 注册于 2024-01-15

向TA求助
20金币数
40 经验值
0个粉丝
主页被访问 49 次

最近动态

2024-01-15 10:44 回答问题

t = table(1..10000 as rows ,take(2021.09.29, 10000)as date, rand(100, 10000) as v) mid = select max(v) from t group by segment(v>=minV) mid = select * from mid where max_v >= minV ret = table(t.rows[mid.segment] as row, t.date[mid.segment] as date, m

2024-01-15 10:13 回答问题

t = table(take(`IBM, 10000) as code, 2020.01.01 + rand(100,10000) as date, rand(100,10000) + 20 as volume, rand(10,10000) + 100.0 as close) t = select * from t order by date select code, date, moving(defg(vol, close) {return sort(vol, false)[0:min(5,clos