[This message was posted by Dale Wilson of Object Computing, Inc 
<[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/846d3dbc - PLEASE DO NOT REPLY BY MAIL.]

Hi Naresh,

> 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
> 

OK So far.

> I have for the mantissa 0x80 which is mandatory and signed integer null.
> 

No. In this case the mantissa field is not nullable.  That means what you have 
is a delta value of zero.   The previous value of the mantissa is unchanged.

> 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.
> 
{SNIP}
> * 279=0,269=0,48=CH0047533572,270=1595.44,271=100,273=12:31:06.61-
>        6,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.61-
>        6,336=EBRk,346=0,6566=1,1023=3,83=33359

NOTE THAT 100 will be stored in the dictionary for field 271.

{SNIP: 271 does not appear in the snipped lines}


> * 279=0,269=1,48=CH0047533572,270=1610.44,271=100,273=12:31:06.61-
>         6,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

Here the delta of zero should be applied to the saved 100 from the dictionary 
to produce a value of 100 for field 271.

Dale
--
Dale Wilson
Principal Software Engineer 
Object Computing, Inc. (www.ociweb.com)
Lead developer for QuickFAST (http:www.quickfast.org)


[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
-~----------~----~----~----~------~----~------~--~---

Reply via email to