trading_system_1.epl: rename Interval to OHLCInterval
This commit is contained in:
@ -11,9 +11,9 @@ create constant variable int StartTimeHour = 9
|
||||
-- Exiting trades is 24/7.
|
||||
create constant variable int EndTimeHour = 17
|
||||
|
||||
-- The time frame or tickbar count of the data to be analyzed or
|
||||
-- traded. Examples: 5s, 1m, 1h 30m, 2h, 12h, 1d.
|
||||
create constant variable string Interval = '2s'
|
||||
-- The time frame for OHLC calculation.
|
||||
-- Example values: '5s', '1m', '1h 30m', '2h', '12h', '1d'.
|
||||
create constant variable string OHLCInterval = '10s'
|
||||
|
||||
-- Amount to be traded, measured in units.
|
||||
create constant variable int TradeSize = 100000
|
||||
@ -56,7 +56,7 @@ on TickEvent as t set InTradingHours =
|
||||
create variant schema OHLCStream as OHLCEvent
|
||||
|
||||
insert into OHLCStream
|
||||
select * from TickEvent#OHLC(Interval, time, midDouble)
|
||||
select * from TickEvent#OHLC(OHLCInterval, time, midDouble)
|
||||
|
||||
|
||||
--
|
||||
|
||||
Reference in New Issue
Block a user