[This message was posted by Zoltan Vekony of <[email protected]> to the
"FAST Protocol" discussion forum at http://fixprotocol.org/discuss/46. You can
reply to it on-line at http://fixprotocol.org/discuss/read/2bacdd8d - PLEASE DO
NOT REPLY BY MAIL.]
Hello,
I'm currently studying the FAST 1.2 extension proposal, and have the following
questions:
1.) The type definition - according to the proposal document - "accepts the
normal type elements without the name attribute". Is it correct, that only the
name attribute is missing in the definition? For example, can I specify the
presence or the id attribute also in the definition section?
e.g. can I define the type for the decimal field
<decimal name="MDEntryPx" id="270" presence="optional" > <delta /> </decimal>
like this?
<define name="MDEntryPxType">
<decimal id="270" presence="optional" > <delta /> </decimal>
</define>
and if I use the type definition MDEntryPxType in the template, what happens
with the presence attribute?
<field name="MDEntryPx" id="270" presence="mandatory"> <type
name="MDEntryPxType"/> </field>
The last occurence of the presence attribute is located according to the
xml-hierarchy in the type definition of MDEntryPxType. Does it mean, that the
mandatory presence attribute assigned directly to the field MDEntryPx will be
ignored?
2.) Another question: Is the following usage of the field definition correct
(using the same type definition with different fast operator)?
<define name="milliseconds">
<timestamp unit="millisecond" epoch="today"/>
</define>
in template t1:
<field name="timestamp" presence="mandatory"> <type name="milliseconds">
<delta/> </type> </field>
in template t2:
<field name="timestamp" presence="mandatory"> <type name="milliseconds">
<copy/> </type> </field>
in template t3:
<field name="timestamp" presence="optional"> <type name="milliseconds"/>
</field>
Thanks,
Zoltan Vekony
[You can unsubscribe from this discussion group by sending a message to
mailto:[email protected]]
--
You received this message because you are subscribed to the Google Groups
"Financial Information eXchange" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/fix-protocol?hl=en.