[This message was posted by Naresh Maharaj of Instinet Europe plc
<[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/e1cc2de1 - PLEASE DO NOT REPLY BY MAIL.]
I have the following template:
Part of template
[decimal name="MDEntrySize" id="271" presence="optional"]
[exponent][copy value="0"/][/exponent]
[mantissa][delta/][/mantissa]
[/decimal]
For the exponent I get the following hex value 0x83 which is 3 less (1) for
being optional & greater than zero gives me a exponent value of 2
I have for the mantissa 0x80 which is mandatory and signed integer null.
Therefore when I get the final decimal I get [0 x 10.pow(2)] = 0;
This seems correct except when I compare to the openfast library I get 100 (as
below line 7 271=100)
The lines below show 4 entries under a sequence.
The line beginning with '+' is my own app. The line with * is from openfast
both processing the exact same binary message.
You can see line 8 field value 271=0 and does match the openfast results.
13:16:26.345 DEBUG: SWX
SenderCompID:SWXGROUP-MDI.P01|MsgSeqNum:1290985|PossResend:N|SendingTime:20090929-12:31:06.631|MDBookType:2|NoMDEntries:4
* 279=2,269=0,48=CH0047533572,273=12:31:06.616,336=EBRk,1023=3,83=33358
+ 279=2,269=0,48=CH0047533572,273=12:31:06.616,336=EBRk,1023=3,83=33358
*
279=0,269=0,48=CH0047533572,270=1595.44,271=100,273=12:31:06.616,336=EBRk,346=0,6566=1,1023=3,83=33359
+
279=0,269=0,48=CH0047533572,270=1595.44,271=100,273=12:31:06.616,336=EBRk,346=0,6566=1,1023=3,83=33359
* 279=2,269=1,48=CH0047533572,273=12:31:06.616,336=EBRk,1023=2,83=33360
+ 279=2,269=1,48=CH0047533572,273=12:31:06.616,336=EBRk,1023=2,83=33360
*
279=0,269=1,48=CH0047533572,270=1610.44,271=100,273=12:31:06.616,336=EBRk,346=0,6566=1,1023=2,83=33361
+ 279=0,269=1,48=CH0047533572,270=1610.44,271=0,
273=12:31:06.616,336=EBRk,346=1,6566=1,1023=2,83=33361
For line 8 also 346=1
Part of template
[uInt32 name="NumberOfOrders" id="346" presence="optional"] [delta value="1"/]
[/uInt32]
The value of hex is 0x81 = 1 less (1) for optional and greater than zero which
equals 0;
But as per the instruction above the delta value is 1 and the Entry in
undefinded the initial Uint value = 1;
Is this correct or wongly interpreted.
[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
-~----------~----~----~----~------~----~------~--~---