public interface MFStpBookingSession extends MFSession
| Modifier and Type | Method and Description |
|---|---|
void |
confirmation(long msgSeqNum,
byte[] confirmID,
byte[] execID) |
void |
confirmation(long msgSeqNum,
java.lang.String confirmID,
java.lang.String execID) |
NewOrderSingle |
createNewOrderSingle(long msgSeqNum,
boolean possDupFlag,
long securityID,
java.lang.String orderID,
mfstp_booking.Side side,
int settlDate)
Returns an instance of the
NewOrderSingle. |
OrderCancelReplaceRequest |
createOrderCancelReplaceRequest(long msgSeqNum,
boolean possDupFlag,
byte[] orderID,
long securityID,
byte[] clOrdID,
mfstp_booking.Side side) |
OrderCancelReplaceRequest |
createOrderCancelReplaceRequest(long msgSeqNum,
boolean possDupFlag,
java.lang.String orderID,
long securityID,
java.lang.String clOrdID,
mfstp_booking.Side side) |
OrderCancelRequest |
createOrderCancelRequest(long msgSeqNum,
boolean possDupFlag,
byte[] orderID,
long securityID,
byte[] clOrdID) |
OrderCancelRequest |
createOrderCancelRequest(long msgSeqNum,
boolean possDupFlag,
java.lang.String orderID,
long securityID,
java.lang.String clOrdID) |
TradeCaptureReportSpotForward |
createTradeCaptureReportSpotForward(long msgSeqNum,
boolean possDupFlag,
boolean isBaseSpecified,
long sendingTime,
long securityID,
byte[] execID,
mfstp_booking.Side side,
byte[] orderID)
Returns an instance of the
TradeCaptureReportSpotForward. |
TradeCaptureReportSpotForward |
createTradeCaptureReportSpotForward(long msgSeqNum,
boolean possDupFlag,
boolean isBaseSpecified,
long sendingTime,
long securityID,
java.lang.String execID,
mfstp_booking.Side side,
java.lang.String orderID) |
TradeCaptureReportSwap |
createTradeCaptureReportSwap(long msgSeqNum,
boolean possDupFlag,
boolean isBaseSpecified,
long sendingTime,
long securityID,
byte[] execID,
mfstp_booking.Side side,
byte[] orderID)
Returns an instance of the
TradeCaptureReportSwap. |
TradeCaptureReportSwap |
createTradeCaptureReportSwap(long msgSeqNum,
boolean possDupFlag,
boolean isBaseSpecified,
long sendingTime,
long securityID,
java.lang.String execID,
mfstp_booking.Side side,
java.lang.String orderID) |
void |
logon(long nextExpectedMsgSeqNum)
Sends a logon message with the username and password supplied during session creation.
|
void |
newOrderSingle(NewOrderSingle newOrderSingle)
Sends the NewOrderSingle instance obtained via the
createNewOrderSingle(long, boolean, long, java.lang.String, mfstp_booking.Side, int) method. |
void |
orderCancelReplaceRequest(OrderCancelReplaceRequest orderCancelReplaceRequest)
Sends the OrderCancelReplaceRequest instance obtained via the
createOrderCancelReplaceRequest(long, boolean, java.lang.String, long, java.lang.String, mfstp_booking.Side) methods
Consider using the OrderCancelReplaceRequest.send() method instead |
void |
orderCancelRequest(OrderCancelRequest orderCancelRequest)
Sends the OrderCancelRequest instance obtained via the
createOrderCancelRequest(long, boolean, java.lang.String, long, java.lang.String) methods
Consider using the OrderCancelRequest.send() method instead |
void |
securityDefinitionRequest()
Requests information about the securities supported on this venue.
|
void |
sendConfirmation(long msgSeqNum,
byte[] confirmID,
byte[] execID)
Deprecated.
Please use the
confirmation(long, byte[], byte[]) |
void |
sendConfirmation(long msgSeqNum,
java.lang.String confirmID,
java.lang.String execID)
Deprecated.
Please use the
confirmation(long, String, String) |
void |
tradeCaptureReportSpotForward(TradeCaptureReportSpotForward tradeCaptureReportSpotForward)
Submit a trade capture report for a spot or forward trade.
|
void |
tradeCaptureReportSwap(TradeCaptureReportSwap tradeCaptureReportSwap)
Submit a trade capture report for a swap trade.
|
getPort, getSendingTime, getUsername, isLoggedOn, logon, logout, logoutResponsevoid logon(long nextExpectedMsgSeqNum)
throws MFException
Provide the nextExpectedMsSeqNum so that the message synchronizing process can begin.
MFException - If there is an error when attempting to
send this message.void securityDefinitionRequest()
throws MFException
MFException - If there is an error when attempting to
send this message.void tradeCaptureReportSpotForward(TradeCaptureReportSpotForward tradeCaptureReportSpotForward) throws MFException
MFException - If there is an error when attempting to send this message.TradeCaptureReportSpotForward createTradeCaptureReportSpotForward(long msgSeqNum, boolean possDupFlag, boolean isBaseSpecified, long sendingTime, long securityID, byte[] execID, mfstp_booking.Side side, byte[] orderID)
TradeCaptureReportSpotForward.
Assume you cannot reuse this object. Use it once, submit
it using the tradeCaptureReportSpotForward(TradeCaptureReportSpotForward) method. If you have a new
TradeCaptureReportSpotForward to place, call this method again.TradeCaptureReportSpotForward createTradeCaptureReportSpotForward(long msgSeqNum, boolean possDupFlag, boolean isBaseSpecified, long sendingTime, long securityID, java.lang.String execID, mfstp_booking.Side side, java.lang.String orderID)
void tradeCaptureReportSwap(TradeCaptureReportSwap tradeCaptureReportSwap) throws MFException
MFException - If there is an error when attempting to send this message.TradeCaptureReportSwap createTradeCaptureReportSwap(long msgSeqNum, boolean possDupFlag, boolean isBaseSpecified, long sendingTime, long securityID, byte[] execID, mfstp_booking.Side side, byte[] orderID)
TradeCaptureReportSwap.
Assume you cannot reuse this object. Use it once, submit
it using the tradeCaptureReportSwap(TradeCaptureReportSwap) method. If you have a new
TradeCaptureReportSwap to place, call this method again.TradeCaptureReportSwap createTradeCaptureReportSwap(long msgSeqNum, boolean possDupFlag, boolean isBaseSpecified, long sendingTime, long securityID, java.lang.String execID, mfstp_booking.Side side, java.lang.String orderID)
void sendConfirmation(long msgSeqNum,
byte[] confirmID,
byte[] execID)
throws MFException
confirmation(long, byte[], byte[])MFException - If there is an error when attempting to send this message.void sendConfirmation(long msgSeqNum,
java.lang.String confirmID,
java.lang.String execID)
throws MFException
confirmation(long, String, String)MFException - If there is an error when attempting to send this message.void confirmation(long msgSeqNum,
byte[] confirmID,
byte[] execID)
throws MFException
MFExceptionvoid confirmation(long msgSeqNum,
java.lang.String confirmID,
java.lang.String execID)
throws MFException
MFExceptionOrderCancelRequest createOrderCancelRequest(long msgSeqNum, boolean possDupFlag, java.lang.String orderID, long securityID, java.lang.String clOrdID)
OrderCancelRequest createOrderCancelRequest(long msgSeqNum, boolean possDupFlag, byte[] orderID, long securityID, byte[] clOrdID)
void orderCancelRequest(OrderCancelRequest orderCancelRequest) throws MFException
createOrderCancelRequest(long, boolean, java.lang.String, long, java.lang.String) methods
Consider using the OrderCancelRequest.send() method insteadorderCancelRequest - data to send to the serverMFException - can thrown an exception is something prevents this data from being sentOrderCancelReplaceRequest createOrderCancelReplaceRequest(long msgSeqNum, boolean possDupFlag, java.lang.String orderID, long securityID, java.lang.String clOrdID, mfstp_booking.Side side)
OrderCancelReplaceRequest createOrderCancelReplaceRequest(long msgSeqNum, boolean possDupFlag, byte[] orderID, long securityID, byte[] clOrdID, mfstp_booking.Side side)
void orderCancelReplaceRequest(OrderCancelReplaceRequest orderCancelReplaceRequest) throws MFException
createOrderCancelReplaceRequest(long, boolean, java.lang.String, long, java.lang.String, mfstp_booking.Side) methods
Consider using the OrderCancelReplaceRequest.send() method insteadorderCancelReplaceRequest - data to send to the serverMFException - can thrown an exception is something prevents this data from being sentNewOrderSingle createNewOrderSingle(long msgSeqNum, boolean possDupFlag, long securityID, java.lang.String orderID, mfstp_booking.Side side, int settlDate)
NewOrderSingle.
Assume you cannot reuse this object. Use it once, submit
it using the newOrderSingle(NewOrderSingle) method. If you have a new
NewOrderSingle to place, call this method again.void newOrderSingle(NewOrderSingle newOrderSingle) throws MFException
createNewOrderSingle(long, boolean, long, java.lang.String, mfstp_booking.Side, int) method.
Consider using the NewOrderSingle.send() method insteadnewOrderSingle - data to send to the serverMFException - can thrown an exception is something prevents this data from being sent