trading_system_1.epl: add order table
This commit is contained in:
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user