add commandline args and very basic esper processing
This commit is contained in:
6
test.epl
Normal file
6
test.epl
Normal file
@ -0,0 +1,6 @@
|
||||
-- in_trading_hours is set to true if the current time
|
||||
-- is inside the normal
|
||||
create variable bool in_trading_hours
|
||||
|
||||
-- update in_trading_hours variable on each tick
|
||||
on Tick as t set in_trading_hours = (EPLHelpers.getHour(t.time) >= 9 and EPLHelpers.getHour(t.time) < 17)
|
||||
Reference in New Issue
Block a user