234235236237238239240241242243244245246
setSymbol(msgSymbol.getValue()); } catch (FieldNotFound ex) {} // Type try { OrdType msgType = new OrdType(); message.get(msgType); setType(msgType.getValue()); } catch (FieldNotFound ex) {} // OrderQty try { OrderQty msgQty = new OrderQty();
128129130131132133134135136137138
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;