public Account getAccount() throws FieldNotFound { Account value = new Account(); getField(value); return value; }
public Account getAccount() throws FieldNotFound { Account value = new Account(); getField(value); return value; }
public Account getAccount() throws FieldNotFound { Account value = new Account(); getField(value); return value; }
public Account getAccount() throws FieldNotFound { Account value = new Account(); getField(value); return value; }
public Account getAccount() throws FieldNotFound { Account value = new Account(); getField(value); return value; }
public Account getAccount() throws FieldNotFound { Account value = new Account(); getField(value); return value; }
public quickfix.field.Account getAccount() throws FieldNotFound { return get(new quickfix.field.Account()); }
public quickfix.field.Account getAccount() throws FieldNotFound { return get(new quickfix.field.Account()); }
public quickfix.field.Account getAccount() throws FieldNotFound { return get(new quickfix.field.Account()); }
public quickfix.field.Account getAccount() throws FieldNotFound { return get(new quickfix.field.Account()); }
public quickfix.field.Account getAccount() throws FieldNotFound { return get(new quickfix.field.Account()); }
public quickfix.field.Account getAccount() throws FieldNotFound { return get(new quickfix.field.Account()); }
public AccountInfoRequest createAccountInfoRequest(String accReqId) { AccountInfoRequest message = new AccountInfoRequest(); message.set(new AccReqID(accReqId)); message.set(new Account(account)); return message; }
public static AccountInfoRequest createAccountInfoRequest(long nonce, String accessKey, String secretKey, String accReqId) { String methodString = "method=getWallet¶ms=balance"; String account = getAccountString(nonce, accessKey, secretKey, methodString); AccountInfoRequest message = new AccountInfoRequest(); message.set(new Account(account)); message.set(new AccReqID(accReqId)); return message; }
public static AccountInfoRequest buildAccountInfoRequest( String accReqId, String accessKey, String symbol) { AccountInfoRequest message = new AccountInfoRequest(); message.set(new Account(accessKey)); message.set(new AccReqID(accReqId)); message.set(new Symbol(symbol)); return message; }
public static OrderMassStatusRequest createOrderMassStatusRequest(long nonce, String accessKey, String secretKey, String massStatusReqId, int massStatusReqType, String symbol) { String methodString = String.format("method=getOrders¶ms=1,%s,1000,0,0,1", symbol); String account = getAccountString(nonce, accessKey, secretKey, methodString); OrderMassStatusRequest message = new OrderMassStatusRequest(new MassStatusReqID(massStatusReqId), new MassStatusReqType(massStatusReqType)); message.set(new Side(Side.BUY)); // required, but insignificant message.set(new Account(account)); message.set(new Symbol(symbol)); return message; }
public static OrderStatusRequest createOrderStatusRequest(long nonce, String accessKey, String secretKey, String clOrdId, String orderId, String symbol) { String methodString = String.format("method=getOrder¶ms=%s,%s,1", orderId, symbol); String account = getAccountString(nonce, accessKey, secretKey, methodString); // Side is required, but insignificant. OrderStatusRequest message = new OrderStatusRequest(new ClOrdID(clOrdId), new Side(Side.BUY)); message.set(new Account(account)); message.set(new Symbol(symbol)); message.set(new OrderID(orderId)); return message; }
public static OrderStatusRequest buildOrderStatusRequest( String clOrdId, String accessKey, char side, String symbol) { OrderStatusRequest message = new OrderStatusRequest( new ClOrdID(clOrdId), new Side(side)); message.set(new Account(accessKey)); message.set(new Symbol(symbol)); return message; }
public static OrderMassStatusRequest buildOrderMassStatusRequest( String massStatusReqId, String accessKey, int massStatusReqType, String symbol) { OrderMassStatusRequest message = new OrderMassStatusRequest( new MassStatusReqID(massStatusReqId), new MassStatusReqType(massStatusReqType)); message.set(new Account(accessKey)); message.set(new Symbol(symbol)); return message; }
public static OrderCancelRequest createOrderCancelRequest(long nonce, String accessKey, String secretKey, String clOrdId, String orderId, String symbol) { String methodString = String.format("method=cancelOrder3¶ms=%s,%s", orderId, symbol); String account = getAccountString(nonce, accessKey, secretKey, methodString); // OrigClOrdID and Side are required, but insignificant. OrderCancelRequest message = new OrderCancelRequest(new OrigClOrdID("DUMMY"), new ClOrdID(clOrdId), new Side(Side.SELL), new TransactTime()); message.set(new Account(account)); message.set(new Symbol(symbol)); message.set(new OrderID(orderId)); return message; }