long time = stop;
Instrument instrument = Instrument.Forex;
String symbol = "GG";
SignalAction action = SignalAction.BTO;
Integer quantity = 10;
QuantityComputable quantityComputable = new QuantityComputableFixed(quantity);
long cancelAtMs = Long.MAX_VALUE;
Duration timeInForce = Duration.GoodTilCancel;
OrderProcessorMarket processor = new OrderProcessorMarket(time, symbol);
Order buyOrder = new Order(null, id,instrument,symbol,action,quantityComputable,cancelAtMs,timeInForce,processor, null);