I am unable to solve a certain problem in Esper. I have to check if the current Tick value goes up from yesterday Max Value. Here is the code with returns me max and min of every 24 hr.
insert into
DayEnd
select
max(last) as high,
min(last) as low,
security
from
Tick.std:groupwin(security).win:time_batch(1440 minutes) group by security;
I have to running it on multiple securities so i have to check it for every security.