|
FAST Protocol
< Previous Next >
Re: Modeling components and repeating groups in Template Definition
Matt Simpson / Chicago Mercantile Exchange 7 Jul 2006 9:09AM ET Assuming that you're using the xml syntax to define templates, the Group Field Instruction found in the FAST Template Definition Specification will allow you to specify FIX components in your template and indicate the whether that component is present or not. From the spec: "The main purpose of the group field instruction is to enable a single bit in the presence map to indicate the presence of a whole group of fields."
Note that this spec will soon be supplanted by a new FAST v1.1 spec which combines field and transfer encoding while providing the associated template definition syntax. The concept of grouping will continue to be supported.
http://www.fixprotocol.org/documents/2374/FAST%20Template%20Definition%20Specification%200.38.pdf
> Hi,
>
> What is the proper way to model a FIX Component in the FAST template?
> The problem I am currently facing is that the presence of some fields of
> the component inherits from the presence attribute of the component in a
> specific message in the FIX Spec. Ex: LegSymbol (Tag 600) in the
> InstrumentLeg Component. When modeling the components as templates, I
> find it difficult to express this relation.
>
> I have the same problem when I model a repeating group whose presence is
> mandatory in some messages and optional in other (i.e NoXXX shall always
> be set and always to >0 in some messages, while it is ok to omit the
> group in other.
>
> Thanks, Henrik
Re: Modeling components and repeating groups in Template Definition Matt Simpson / Chicago Mercantile Exchange 7 Jul 2006 9:09AM ET |