trading_system_1.epl: add order table

This commit is contained in:
2019-02-12 10:18:59 -08:00
parent 0fa5bc4693
commit 8197617da7

View File

@ -189,6 +189,21 @@ create schema P2 (low double, time DateTime)
insert into P2 select prev(1, low) as low, prev(1, time) as time insert into P2 select prev(1, low) as low, prev(1, time) as time
from PStream#length(RefSize) from PStream#length(RefSize)
--
-- Order table
--
create table OrderTable (
id string primary key,
time DateTime,
instrument String,
price BigDecimal,
units BigDecimal,
open boolean,
stopBarCount int)
-- --
-- Long entry -- Long entry