Imported from previous forum
Hi All,
I am a newbie for FAST. I want to decode FAST message. There is a field SendingTime (tag 52).In the template the type of this field is given as uInt64 and I have data bytes for SendingTime is ‘23 55 69 59 54 0d 5e aa’ which after stripping stop bit comes out to be ‘23 55 69 59 54 0d 5e 2a’. When I decode this value assuming 7bit encoding, this comes out to be a very large value. So, can someone please tell me how to get the value of SendingTime from the above bytes.
Thanks.
-deepak
Hi Deepak,
‘23 55 69 59 54 0d 5e aa’ [decode SBIT encoded field to u64] =>
20080714162859818 => 2008-07-14 16:28:59.818
/Rolf
Hi All, I am a newbie for FAST. I want to decode FAST message. There is
a field SendingTime (tag 52).In the template the type of this field is
given as uInt64 and I have data bytes for SendingTime is ‘23 55 69 59 54
0d 5e aa’ which after stripping stop bit comes out to be ‘23 55 69 59 54
0d 5e 2a’. When I decode this value assuming 7bit encoding, this comes
out to be a very large value. So, can someone please tell me how to get
the value of SendingTime from the above bytes. Thanks. -deepak
Thanks Rolf,
can you please tell me how did you get this value. Also, I have ‘09 49 50 ca’ for TradeDate, which is uInt32. I decoded this to ‘20080714’ and guess it’s 14-07-2008, right? Please correct me if I am wrong.
Hi Deepak,
‘23 55 69 59 54 0d 5e aa’ [decode SBIT encoded field to u64] =>
20080714162859818 => 2008-07-14 16:28:59.818/Rolf
Hi All, I am a newbie for FAST. I want to decode FAST message. There
is a field SendingTime (tag 52).In the template the type of this
field is given as uInt64 and I have data bytes for SendingTime is ‘23
55 69 59 54 0d 5e aa’ which after stripping stop bit comes out to be
‘23 55 69 59 54 0d 5e 2a’. When I decode this value assuming 7bit
encoding, this comes out to be a very large value. So, can someone
please tell me how to get the value of SendingTime from the above
bytes. Thanks. -deepak
Thanks Rolf,
I got it now.
Thanks Rolf,
can you please tell me how did you get this value. Also,
I have ‘09 49 50 ca’ for TradeDate, which is uInt32. I decoded this
to ‘20080714’ and guess it’s 14-07-2008, right? Please correct me if
I am wrong.Hi Deepak,
‘23 55 69 59 54 0d 5e aa’ [decode SBIT encoded field to u64] =>
20080714162859818 => 2008-07-14 16:28:59.818/Rolf
Hi All, I am a newbie for FAST. I want to decode FAST message. There
is a field SendingTime (tag 52).In the template the type of this
field is given as uInt64 and I have data bytes for SendingTime is
‘23 55 69 59 54 0d 5e aa’ which after stripping stop bit comes out
to be ‘23 55 69 59 54 0d 5e 2a’. When I decode this value assuming
7bit encoding, this comes out to be a very large value. So, can
someone please tell me how to get the value of SendingTime from the
above bytes. Thanks. -deepak
I’m not sure what additional info you need?
The data feed specification should state that the sending time is encoded as a u64 integer in the format CCYYMMDDhhmmssMMM
CC century
YY year
MM month
DD day
hh hour
mm minute
ss second
MMM millisecond
/Rolf
Thanks Rolf, can you please tell me how did you get this value. Also,
I have ‘09 49 50 ca’ for TradeDate, which is uInt32. I decoded this
to ‘20080714’ and guess it’s 14-07-2008, right? Please correct me if
I am wrong.Hi Deepak,
‘23 55 69 59 54 0d 5e aa’ [decode SBIT encoded field to u64] =>
20080714162859818 => 2008-07-14 16:28:59.818/Rolf
Hi All, I am a newbie for FAST. I want to decode FAST message. There
is a field SendingTime (tag 52).In the template the type of this
field is given as uInt64 and I have data bytes for SendingTime is
‘23 55 69 59 54 0d 5e aa’ which after stripping stop bit comes out
to be ‘23 55 69 59 54 0d 5e 2a’. When I decode this value assuming
7bit encoding, this comes out to be a very large value. So, can
someone please tell me how to get the value of SendingTime from the
above bytes. Thanks. -deepak
Hi All, I am a newbie for FAST. I want to decode FAST message. There is
a field SendingTime (tag 52).In the template the type of this field is
given as uInt64 and I have data bytes for SendingTime is ‘23 55 69 59 54
0d 5e aa’ which after stripping stop bit comes out to be ‘23 55 69 59 54
0d 5e 2a’. When I decode this value assuming 7bit encoding, this comes
out to be a very large value. So, can someone please tell me how to get
the value of SendingTime from the above bytes. Thanks. -deepak
Deepak,
this depends on what flow you are decoding and the interpretation of the uInt64 should be documented by the producer of that flow/feed. From which feed is your sample value?
Kind Regards,
Anders