public quickfix.fix44.component.CommissionData get(quickfix.fix44.component.CommissionData component) throws FieldNotFound { getComponent(component); return component; }
public quickfix.field.ClOrdLinkID get(quickfix.field.ClOrdLinkID value) throws FieldNotFound { getField(value); return value; }
public boolean isSetAccountType() { return isSetField(581); }
public static NewOrderSingle createNewOrderSingle(long nonce, String accessKey, String secretKey, String clOrdId, char side, char ordType, BigDecimal orderQty, BigDecimal price, String symbol) { String methodString = String.format("method=%s¶ms=%s,%s,%s", side == Side.BUY ? "buyOrder3" : "sellOrder3", price == null ? "" : price.stripTrailingZeros().toPlainString(), orderQty.stripTrailingZeros().toPlainString(), symbol); String account = getAccountString(nonce, accessKey, secretKey, methodString); NewOrderSingle message = new NewOrderSingle(new ClOrdID(clOrdId), new Side(side), new TransactTime(), new OrdType(ordType)); message.set(new Account(account)); message.set(new OrderQty(orderQty.doubleValue())); if (price != null) { message.set(new Price(price.doubleValue())); } message.set(new Symbol(symbol)); return message; }
public quickfix.field.ClearingFeeIndicator getClearingFeeIndicator() throws FieldNotFound { return get(new quickfix.field.ClearingFeeIndicator()); }
public void set(quickfix.fix44.component.DiscretionInstructions component) { setComponent(component); }
public NewOrderSingle() { super(); getHeader().setField(new quickfix.field.MsgType(MSGTYPE)); }
public void send44(Order order) { quickfix.fix44.NewOrderSingle newOrderSingle = new quickfix.fix44.NewOrderSingle( new ClOrdID(order.getID()), sideToFIXSide(order.getSide()), new TransactTime(), typeToFIXType(order.getType())); newOrderSingle.set(new OrderQty(order.getQuantity())); newOrderSingle.set(new Symbol(order.getSymbol())); newOrderSingle.set(new HandlInst('1')); send(populateOrder(order, newOrderSingle), order.getSessionID()); }
public quickfix.field.CouponPaymentDate getCouponPaymentDate() throws FieldNotFound { return get(new quickfix.field.CouponPaymentDate()); }
public void set(quickfix.fix44.component.Instrument component) { setComponent(component); }
public NewOrderSingle() { super(); getHeader().setField(new quickfix.field.MsgType(MSGTYPE)); }
public quickfix.fix44.component.Parties get(quickfix.fix44.component.Parties component) throws FieldNotFound { getComponent(component); return component; }
public quickfix.field.Symbol get(quickfix.field.Symbol value) throws FieldNotFound { getField(value); return value; }
public quickfix.field.StateOrProvinceOfIssue getStateOrProvinceOfIssue() throws FieldNotFound { return get(new quickfix.field.StateOrProvinceOfIssue()); }
public boolean isSet(quickfix.field.DayBookingInst field) { return isSetField(field); }
public void set(quickfix.fix44.component.PegInstructions component) { setComponent(component); }
public NewOrderSingle() { super(); getHeader().setField(new quickfix.field.MsgType(MSGTYPE)); }