Imported from previous forum
I heard that while sending status messages tag 150/151 are mandatory… I like to know how status messages are generated if the client haven’t asked one… Also how are the tags 150/151 generated in the FIX log? I mean which level? application or server? and is it possible to add these tags into the FIX message by adding some conditions to the application?
Yes, ExecType (150) and LeavesQty (151) are required on Execution Report even if ExecTransType (20) is Status (value 3). I would suggest setting ExecType = "New" when using ExecTransType = "Status". LeavesQty should be the qty open on the order (OrderQty - CumQty).
It is possible to send the ExecTransType = "Status" in an unsolicited fashion. It would be initiated/requested out-of-band somehow.
These certainly seem to be application-level values, so I’m not sure I understand the rest of your question.
> I heard that while sending status messages tag 150/151 are mandatory… I like to know how status messages are generated if the client haven’t asked one… Also how are the tags 150/151 generated in the FIX log? I mean which level? application or server? and is it possible to add these tags into the FIX message by adding some conditions to the application?
>