Skip to main content

InstrumentInfoRequest

InstrumentInfo

Sent in response to InstrumentInfoRequest message, and later when the status of an instrument changes.

SetAccount

Send SetAccount message to set the account to be used for subsequent NewOrder messages.

SetTrader

Send SetTrader message to set the trader to be used for subsequent NewOrder messages.

SetAck

Sent in response to SetAccount and SetTrader messages.

NewOrder

Used to enter an order in the system.

NewIocOrder

Used to enter an IOC Order.

OrderEntered

OrderEntered messages are sent in response to a NewOrder message if successful.

ReplaceOrder

The ReplaceOrder message allows you to alter the price and quantity of an order in a single message. This is more efficient than canceling an existing order and immediately succeeding it with a new orderRequest to modify an order. The order is canceled if newQuantity is less than or equal the current total filled quantity.

OrderReject

OrderReject messages are sent in response to NewOrder and ReplaceOrder if the request is rejected.

OrderReplaced

This message acknowledges the receipt and acceptance of a valID ReplaceOrder.

CancelOrder

The CancelOrder message is used to request that an order be canceled.

OrderCanceled

An OrderCanceled message informs you that an order has been canceled. This could be acknowledging a CancelOrder message, or it could be the result of the order timing out or being canceled automatically.

CancelOrderReject

A CancelOrderReject message may be sent in response to a CancelOrder if the cancel cannot be accepted at this time.

MassCancelOrder

The MassCancelOrder message is used to cancel multiple orders matching various optional criteria. Use it to cancels buys with limit prices at or above the specified limit, or sells with limit prices at or below the specified limit.
  • If limitPrice is defined, instrumentId and side are required, otherwise, they are optional.
  • The currentSessionOnly flag is used to specify that only orders submitted via the current session should be considered versus all sessions of the client’s firm.
  • The requestTradingLock flag can be used to thereafter reject subsequent orders until a TradingUnlock request is sent.
OrderCanceled messages are sent for each order canceled, followed by a MassCancelOrderAck message.

MassCancelOrderAck

The MassCancelOrderAck message is sent in response to a MassCancelOrder message following OrderCanceled messages for each canceled order. If a tradingLock was requested, the scope of sessions affected are reported as well.

MassCancelOrderReject

A MassCancelOrderReject message may be sent in response to a MassCancelOrder if the mass cancel cannot be accepted at this time.

UnlockTrading

Sent to unlock trading after a MassCancelOrder has been sent when the flag requestTradingLock. This message disengages all client requested trading locks on all sessions under the firm unless currentSessionOnly is set, in which case, it only disengages trading locks on the current session. Trading locks reject all incoming orders until disengaged by either client through this message or exchange administrator.

UnlockTradingAck

An UnlockTradingAck message reports the result of an unlock trading request, including the number of users affected.

UnlockTradingReject

Reports a reject of a requested trading unlock.

OrderFilled

An OrderFilled message informs you that all or part of an outright order has been executed.

SpreadOrderFilled

A SpreadOrderFilled message informs you that all or part of a spread order has been executed.

LastExecIdRequest

Send this message to request the execId of the last (most recent) event sent by the trading system to this user/session. Can be used to determine if the client missed any events while disconnected. Also serves as a means of validating that the trading system is available and accepting requests.

LastExecId

Sent in response to LastExecIdRequest.

EventResendRequest

Send this message to request order events, in the specified range, be resent. As this is an application-level request, resent messages will have new sequence numbers and the resend flag in the message will not be set. Rejects (and any other message that does not contain an execId) are not resent.

EventResentComplete

Sent in response to a successful EventResendRequest following all resent events.

EventResendReject

Sent in response to an EventResendRequest if the request cannot be fulfilled.

Default Session Values

During session creation, the following values are hard-coded for the Liquidity Provider.