[This message was posted by Rolf Andersson of Pantor Engineering <[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/513a287a - PLEASE DO NOT REPLY BY MAIL.]
David, pmap slot allocation is local to a specific template. each message identifies which template to use in decoding. the following rules apply for a FAST encoded stream: - each message begins with a pmap. - the first field (following the pmap) is a tid (template id). - the tid uses copy coding. - the first slot in the message level pmap is used for the tid. otherwise the format is not FAST compliant. /Rolf > Rolf, this was a custom feed provided by one of our vendors. > > > David, which feed are you referring to? /Rolf > > > > > In Fast 1.0, it was possible to assign two different fields (say, > > > BID_PRICE and TRADE_PRICE) to the same PMAP slot, but different > > > templates, with the particular template chosen at encode/decode > > > time. So, a user could decode the first field > > > (QUOTE_TRADE_INDICATOR, for example), and use its value to determine > > > how a later field in the same message should be treated (continuing > > > this example, as a BID_PRICE or a TRADE_PRICE). > > > > > > How would you structure this in Fast 1.1 using the templates? It > > > seems that you would need a template to become active during > > > encoding or decoding, based on the VALUE of an already > > > encoded/decoded field. This is different from a dynamic template, > > > where the identifier of the template to be activated is explicitly > > > coded in the stream. > > > > > > The motivation behind this, by the way, is to try to decode an > > > existing Fast 1.0 stream using a Fast 1.1 decoder. I believe that > > > this could be done relatively easily if the non-existent Template > > > Identifier field is skipped when encoding/decoding messages; but I > > > have run into the issue described above. [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 -~----------~----~----~----~------~----~------~--~---
