public class TradeApplication extends HuobiApplication
Application
for trading interface.Constructor and Description |
---|
TradeApplication(String accessKey,
String secretKey) |
Modifier and Type | Method and Description |
---|---|
void |
cancelOrder(String clOrdId,
String origClOrdId,
char side,
String symbol,
quickfix.SessionID sessionId) |
void |
fromApp(quickfix.Message message,
quickfix.SessionID sessionId) |
void |
onMessage(AccountInfoResponse message,
quickfix.SessionID sessionId) |
void |
onMessage(quickfix.fix44.ExecutionReport message,
quickfix.SessionID sessionId) |
void |
onMessage(HuobiOrderInfoResponse message,
quickfix.SessionID sessionId) |
void |
onMessage(quickfix.fix44.OrderCancelReject message,
quickfix.SessionID sessionId) |
void |
placeOrder(String clOrdId,
char side,
char ordType,
BigDecimal minQty,
BigDecimal price,
String symbol,
quickfix.SessionID sessionId) |
void |
requestAccountInfo(String accReqId,
String symbol,
quickfix.SessionID sessionId) |
void |
requestOrderMassStatus(String massStatusReqId,
int massStatusReqType,
String symbol,
quickfix.SessionID sessionId) |
void |
requestOrderStatus(String clOrdId,
char side,
String symbol,
quickfix.SessionID sessionId) |
void |
toAdmin(quickfix.Message message,
quickfix.SessionID sessionId) |
fromAdmin, onCreate, onLogon, onLogout, sendMessage, toApp
crack, crack44, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage, onMessage
public void toAdmin(quickfix.Message message, quickfix.SessionID sessionId)
toAdmin
in interface quickfix.Application
toAdmin
in class HuobiApplication
public void fromApp(quickfix.Message message, quickfix.SessionID sessionId) throws quickfix.FieldNotFound, quickfix.IncorrectDataFormat, quickfix.IncorrectTagValue, quickfix.UnsupportedMessageType
fromApp
in interface quickfix.Application
fromApp
in class HuobiApplication
quickfix.FieldNotFound
quickfix.IncorrectDataFormat
quickfix.IncorrectTagValue
quickfix.UnsupportedMessageType
public void onMessage(AccountInfoResponse message, quickfix.SessionID sessionId) throws quickfix.FieldNotFound, quickfix.UnsupportedMessageType, quickfix.IncorrectTagValue
quickfix.FieldNotFound
quickfix.UnsupportedMessageType
quickfix.IncorrectTagValue
public void onMessage(HuobiOrderInfoResponse message, quickfix.SessionID sessionId) throws quickfix.FieldNotFound, quickfix.UnsupportedMessageType, quickfix.IncorrectTagValue
quickfix.FieldNotFound
quickfix.UnsupportedMessageType
quickfix.IncorrectTagValue
public void onMessage(quickfix.fix44.ExecutionReport message, quickfix.SessionID sessionId) throws quickfix.FieldNotFound, quickfix.UnsupportedMessageType, quickfix.IncorrectTagValue
onMessage
in class quickfix.fix44.MessageCracker
quickfix.FieldNotFound
quickfix.UnsupportedMessageType
quickfix.IncorrectTagValue
public void onMessage(quickfix.fix44.OrderCancelReject message, quickfix.SessionID sessionId) throws quickfix.FieldNotFound, quickfix.UnsupportedMessageType, quickfix.IncorrectTagValue
onMessage
in class quickfix.fix44.MessageCracker
quickfix.FieldNotFound
quickfix.UnsupportedMessageType
quickfix.IncorrectTagValue
public void requestAccountInfo(String accReqId, String symbol, quickfix.SessionID sessionId)
public void placeOrder(String clOrdId, char side, char ordType, BigDecimal minQty, BigDecimal price, String symbol, quickfix.SessionID sessionId)
public void cancelOrder(String clOrdId, String origClOrdId, char side, String symbol, quickfix.SessionID sessionId)
public void requestOrderMassStatus(String massStatusReqId, int massStatusReqType, String symbol, quickfix.SessionID sessionId)
Copyright © 2014–2015. All rights reserved.