add commandline args and very basic esper processing

This commit is contained in:
2018-05-15 00:08:05 -07:00
parent 894960ca53
commit 812fffd9bf
10 changed files with 292 additions and 26 deletions

6
test.epl Normal file
View 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)