quickfix.field.Account.<init>()方法的使用及代码示例

x33g5p2x  于2022-01-16 转载在 其他  
字(5.5k)|赞(0)|评价(0)|浏览(170)

本文整理了Java中quickfix.field.Account.<init>()方法的一些代码示例,展示了Account.<init>()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Account.<init>()方法的具体详情如下:
包路径:quickfix.field.Account
类名称:Account
方法名:<init>

Account.<init>介绍

暂无

代码示例

代码示例来源:origin: org.knowm.xchange/xchange-btcchina

public Account getAccount() throws FieldNotFound {
 Account value = new Account();
 getField(value);
 return value;
}

代码示例来源:origin: org.knowm.xchange/xchange-btcchina

public Account getAccount() throws FieldNotFound {
 Account value = new Account();
 getField(value);
 return value;
}

代码示例来源:origin: sutra/okcoin-client

public Account getAccount() throws FieldNotFound {
  Account value = new Account();
  getField(value);
  return value;
}

代码示例来源:origin: sutra/okcoin-client

public Account getAccount() throws FieldNotFound {
  Account value = new Account();
  getField(value);
  return value;
}

代码示例来源:origin: sutra/huobi-client

public Account getAccount() throws FieldNotFound {
  Account value = new Account();
  getField(value);
  return value;
}

代码示例来源:origin: sutra/huobi-client

public Account getAccount() throws FieldNotFound {
  Account value = new Account();
  getField(value);
  return value;
}

代码示例来源:origin: org.quickfixj/quickfixj-messages-all

public quickfix.field.Account getAccount() throws FieldNotFound {
  return get(new quickfix.field.Account());
}

代码示例来源:origin: org.quickfixj/quickfixj-messages-all

public quickfix.field.Account getAccount() throws FieldNotFound {
  return get(new quickfix.field.Account());
}

代码示例来源:origin: org.quickfixj/quickfixj-messages-all

public quickfix.field.Account getAccount() throws FieldNotFound {
  return get(new quickfix.field.Account());
}

代码示例来源:origin: org.quickfixj/quickfixj-messages-all

public quickfix.field.Account getAccount() throws FieldNotFound {
  return get(new quickfix.field.Account());
}

代码示例来源:origin: org.quickfixj/quickfixj-messages-all

public quickfix.field.Account getAccount() throws FieldNotFound {
  return get(new quickfix.field.Account());
}

代码示例来源:origin: org.quickfixj/quickfixj-messages-all

public quickfix.field.Account getAccount() throws FieldNotFound {
  return get(new quickfix.field.Account());
}

代码示例来源:origin: sutra/okcoin-client

public AccountInfoRequest createAccountInfoRequest(String accReqId) {
  AccountInfoRequest message = new AccountInfoRequest();
  message.set(new AccReqID(accReqId));
  message.set(new Account(account));
  return message;
}

代码示例来源:origin: org.knowm.xchange/xchange-btcchina

public static AccountInfoRequest createAccountInfoRequest(long nonce, String accessKey, String secretKey, String accReqId) {
 String methodString = "method=getWallet&params=balance";
 String account = getAccountString(nonce, accessKey, secretKey, methodString);
 AccountInfoRequest message = new AccountInfoRequest();
 message.set(new Account(account));
 message.set(new AccReqID(accReqId));
 return message;
}

代码示例来源:origin: sutra/huobi-client

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;
}

代码示例来源:origin: org.knowm.xchange/xchange-btcchina

public static OrderMassStatusRequest createOrderMassStatusRequest(long nonce, String accessKey, String secretKey, String massStatusReqId,
  int massStatusReqType, String symbol) {
 String methodString = String.format("method=getOrders&params=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;
}

代码示例来源:origin: org.knowm.xchange/xchange-btcchina

public static OrderStatusRequest createOrderStatusRequest(long nonce, String accessKey, String secretKey, String clOrdId, String orderId,
  String symbol) {
 String methodString = String.format("method=getOrder&params=%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;
}

代码示例来源:origin: sutra/huobi-client

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;
}

代码示例来源:origin: sutra/huobi-client

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;
}

代码示例来源:origin: org.knowm.xchange/xchange-btcchina

public static OrderCancelRequest createOrderCancelRequest(long nonce, String accessKey, String secretKey, String clOrdId, String orderId,
  String symbol) {
 String methodString = String.format("method=cancelOrder3&params=%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;
}

相关文章

Account类方法