use of quickfix.field.OrdType in project camel by apache.
the class TradeExecutorExample method createNewOrderMessage.
private NewOrderSingle createNewOrderMessage() {
NewOrderSingle order = new NewOrderSingle(new ClOrdID("CLIENT_ORDER_ID"), new HandlInst('1'), new Symbol("GOOG"), new Side(Side.BUY), new TransactTime(new Date()), new OrdType(OrdType.LIMIT));
order.set(new OrderQty(10));
order.set(new Price(300.00));
return order;
}
Aggregations