请问对于逐笔委托order数据,有没有函数能够在每分钟滚动计算某一列过去五分钟的平均值呢?
时间滚动窗口有一系列函数的。建议看一下文档:
https://docs.dolphindb.cn/zh/help/200/FunctionsandCommands/SeriesOfFunctions/tmFunctions.html?highlight=tm
这个场景可以使用 tmavg(datetime, price, window=5m)计算