Hi there, I am not very sure what you are achieving here, but the correct usage of 'msum' function is that the 'window' parameter can only take either a positive integer or a type of 'duration': https://www.dolphindb.com/help/FunctionsandCommands/FunctionReferences/d/duration.html You can also reso...
回答于 2022-01-06 08:26
可以参考下‘实时计算高频因子’教程,里面包含不同场景下的因子计算方式。 https://gitee.com/dolphindb/Tutorials_CN/blob/master/hf_factor_streaming.md#2-%E6%97%A0%E7%8A%B6%E6%80%81%E5%9B%A0%E5%AD%90%E8%AE%A1%E7%AE%97
回答于 2021-12-22 11:29