order status and exec type

Imported from previous forum

I have the following situation: there’s an order (suspended because of a market need), but that is already partially filled.
How shoud a fix engine answer to a order status request? Is it possible to send the order status field = 9 (suspended), and exec type = 1 (partially filled). Does the previous combination of values represent the situation?.
Thanks a lot!

[ original email was from John Prewett - jprewett@lavatrading.com ]
> I have the following situation: there’s an order (suspended because of a

market need), but that is already partially filled. How shoud a fix
engine answer to a order status request? Is it possible to send the
order status field = 9 (suspended), and exec type = 1 (partially
filled). Does the previous combination of values represent the
situation?. Thanks a lot!

Hi Dario,

The ExecType tag is used to indicate the reason for sending the ExecutionReport (in combination with ExecTransType (tag 20) if the FIX version is less than FIX.4.3).

Here are my answers for ExecType and ExecTransType, depending on the FIX version:

FIX.4.2: ExecTransType=status(20=3) and ExecType=New (150=0).

FIX.4.3: ExecType=Order Status (150=I).

FIX.4.4: ExecType=Order Status (150=I).

The OrdStatus tag is used to indicate the current status of the order.

The OrdStatus precedence matrix in the appropriate FIX version specification document should be your guide as to what you need to put into the OrdStatus field.

In this case, you want to indicate that the order is both suspended and partially filled. As luck would have it, this pair of states doesn’t appear to be covered by any of the matrices I have looked at (4.2, 4.3 & 4.4).

I would use the “stopped” and “partially filled” intersection as a suitable example and notice that “stopped” takes precedence over “partially filled” and thus I would put OrdStatus=Suspended (39=9).

The recipient can always determine that the order is partially filled by looking at the CumQty (tag 14).

I hope this helps (and is correct).

JohnP

I have the following situation: there’s an order (suspended because of
a market need), but that is already partially filled. How shoud a fix
engine answer to a order status request? Is it possible to send the
order status field = 9 (suspended), and exec type = 1 (partially
filled). Does the previous combination of values represent the
situation?. Thanks a lot!

Hi Dario,

The ExecType tag is used to indicate the reason for sending the
ExecutionReport (in combination with ExecTransType (tag 20) if the FIX
version is less than FIX.4.3).

Here are my answers for ExecType and ExecTransType, depending on the
FIX version:

FIX.4.2: ExecTransType=status(20=3) and ExecType=New (150=0).

FIX.4.3: ExecType=Order Status (150=I).

FIX.4.4: ExecType=Order Status (150=I).

The OrdStatus tag is used to indicate the current status of the order.

The OrdStatus precedence matrix in the appropriate FIX version
specification document should be your guide as to what you need to put
into the OrdStatus field.

In this case, you want to indicate that the order is both suspended
and partially filled. As luck would have it, this pair of states
doesn’t appear to be covered by any of the matrices I have looked at
(4.2, 4.3 & 4.4).

I would use the “stopped” and “partially filled” intersection as a
suitable example and notice that “stopped” takes precedence over
“partially filled” and thus I would put OrdStatus=Suspended (39=9).

Agreed.

The recipient can always determine that the order is partially filled by
looking at the CumQty (tag 14).

In addition, if the leaved the suspended state, an unsolicited ExecutionReport could be sent, e.g. with ExecType=Restated, OrdStatus=Partially Filled, ExecRestatementReason=Other(?)

What do you think?

Cheers, Jörg