order数据滚动计算

请问对于逐笔委托order数据,有没有函数能够在每分钟滚动计算某一列过去五分钟的平均值呢?

请先 登录 后评论

1 个回答

peter

时间滚动窗口有一系列函数的。建议看一下文档:

https://docs.dolphindb.cn/zh/help/200/FunctionsandCommands/SeriesOfFunctions/tmFunctions.html?highlight=tm


这个场景可以使用 tmavg(datetime, price, window=5m)计算

请先 登录 后评论
  • 1 关注
  • 0 收藏,432 浏览
  • wfHuang 提出于 2023-10-13 10:31

相似问题