本文整理了Java中quickfix.field.Account.<init>()
方法的一些代码示例,展示了Account.<init>()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Account.<init>()
方法的具体详情如下:
包路径:quickfix.field.Account
类名称: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¶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;
}
代码示例来源: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¶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;
}
代码示例来源: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¶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;
}
代码示例来源: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¶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;
}
内容来源于网络,如有侵权,请联系作者删除!