diff --git a/epl/trading_system_1.epl b/epl/trading_system_1.epl index 52162bd..148b044 100644 --- a/epl/trading_system_1.epl +++ b/epl/trading_system_1.epl @@ -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 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