[This message was posted by Shashank Bhatt of Faculties India
<[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/3c8bbf00 - PLEASE DO NOT REPLY BY MAIL.]
Hi all,
I am developing FIX-FAST message receiver.
I want some clarification regarding Decimal Field Instruction having single
field operator.
In template, we have decimal instruction with single field operator:
[Please read “(“ as “<” and “)” as “>”]
(decimal id="1" presence="optional" name="Price")
(copy/)
(/decimal)
As an example, Sender want to send Price in a sequence as 9427.55 and NULL
Because Decimal is having single field operator, it needs only one PMAP bit.
Sequence 1: (Sender want to send 9427.55)
PMAP Bit will be '1'
Encoded value will be in form of exponent and mantissa:
Exponent as "-2" and Mantissa as "942755".
Wire representation for complete decimal field will be:
0xFE 0x39 0x45 0xA3
0xFE will represent exponent (as "-2")
and 0x39 0x45 0xA3 will represent mantissa (as "942755")
Sequence 2: (Sender want to send NULL)
PMAP Bit will be '1'
Encoded value will have only one field as NULL.
Wire representation will be 0x80.
or two separate fields as 0x80 0x80.
First one for exponent and second one for mantissa???
I am not clear. I think only one 0x80 will be correct.
Whether my understanding about "Decimal having single field operator" is
correct?
Please feedback.
Thanks & regards
Shashank
[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
-~----------~----~----~----~------~----~------~--~---