当前我正在使用以下一段代码。它会查找ValueTrigger的第一个事件并将其保存并忽略所有下一个ValueTriggered事件。然后它将currentData.last 值与第一个ValueTriggered事件进行比较。 select
*
from
Tick as currentData unidirectional,
ValueTriggered.std:firstevent()
我有库存值的数据库中的表,例如: id - unique id for this entry
stockId - ticker symbol of the stock
value - price of the stock
timestamp - timestamp of that price
我想24小时的时间范围内创建单独的阵列,7天和1个月从我的数据库条目,每个数组包含数据点的股票图