quickfast icon indicating copy to clipboard operation
quickfast copied to clipboard

[ERR D9] Unknown template ID:4294967295

Open GoogleCodeExporter opened this issue 10 years ago • 5 comments

I am trying to parse data using TutorialApplication and InterpretApplication 
(no other applications available). The template is attached in this e-mail 
(this template works fine with the java parser). The error that I obtain is:

Record #1  Type: versioninformation  versNo[]=75631360 srcId[]=1 seqNum[]=154878

Record #2 

Record #3  Type: singlelegreferencemessage  timestamp[]=0 srcId[]=55 
seqNum[]=85716 actionType[]=1 cntrId[]=64553175 prodId[]=NDA cntrType[]=OP 
cntrExpMthYr[]=201106 cntrExpDate[]=20110617 cntrExerPrc[]=34 
cntrOrigExerPrc[]=34 cntrVersNo[]=0 cntrGenNo[]=1 cntrSize[]=100 mktDpth[]=3

Decoding error: [ERR D9] Unknown template ID:4294967295

Maybe I am using the wrong template for the TutorialApplication.

When I use the InterpretApplication -t template.xml -file filename.us I get the 
following error.
 Record #9  Type: singlelegreferencemessage  timestamp[]=227 srcId[]=55 seqNum[]=128 actionType[]=1 cntrId[]=64556719 prodId[]=~ cntrType[]= cntrExpMthYr[]="v cntrExpDate[]=20110617 cntrExerPrc[]=6.859e-120 cntrOrigExerPrc[]=2.00676e-27 cntrVersNo[]=0 mktDpth[]=3

Decoding error: [ERR D9] Unknown template ID:1000000

or nothing happens. 

Original issue reported on code.google.com by [email protected] on 15 Dec 2011 at 1:29

Attachments:

GoogleCodeExporter avatar Apr 21 '15 11:04 GoogleCodeExporter

TemplateApplication is intended to be a simplified, not particularly 
configurable example of code that uses QuickFAST as a guide to a programmer.  
Because it is not configurable it may not be able to read data from every 
exchange.  Use InterpretApplication instead.

I see this is data from Eurex.  There are QuickFAST users successfully 
receiving Eurex data.  You might ask on the quickfast users list or search the 
message archives there (http://groups.google.com/group/quickfast_users ) to see 
what parameters to InterpretApplication they are using. 

One thing they may mention is that the Eurex data normally includes a non-FAST 
header.  Does this data have a header?  If so you should use the -h* options to 
InterpretApplication to describe the header (running with -? will list the 
available options.)  

As I mentioned previously the -e* and -v options to InterpretApplication will 
produce a more detailed report that may help diagnose the problem.

You say the "template works fine with the Java parser"  Does "Java parser" mean 
OpenFAST? You might compare whatever configuration information you need to give 
OpenFAST in order to parse this message with the configuration information you 
are giving InterpretApplication.

If you want me to do a detailed analysis of what's going wrong in this 
particular set of data, that would require a service contact with OCI.  You can 
contact Malcolm Spence ([email protected]) for details about such a contract.

Original comment by [email protected] on 15 Dec 2011 at 4:38

  • Changed state: Acknowledged

GoogleCodeExporter avatar Apr 21 '15 11:04 GoogleCodeExporter

This error is baffling me as well. I am parsing Eurex market data, using the 
template for version 13 (the one in the original posting here is version 12), 
which is correct for October 31, the date of my data.

When I try to parse the data using TutorialApplication, I get the same 
"Decoding error: [ERR D9] Unknown template ID:4294967295" which sounds like a 
bad template.

However, it works fine when I parse the same data using the same template with 
InterpretApplication. I do not set any header options; if I do set any then it 
fails, generally with the same error as above.

So my question is:  What is the difference in default options between 
InterpretApplication and TutorialApplication?

Many thanks.

Original comment by [email protected] on 23 Dec 2011 at 8:16

GoogleCodeExporter avatar Apr 21 '15 11:04 GoogleCodeExporter

Please do not use Tutorial Application out-of-the-box with "real" data.
 TutorialApplication is intended just as an easy example of what a decoder
program would look like.  In the "real" world you would have to have code
to set the various options that match the exchange.  If I added that code
to the TutorialApplication it would end up looking like
InterpretApplication which is fairly complex.

If this is confusing to people maybe I should retire TutorialApplication
and tell people to just look at InterpretApplication as an example.   Would
that be more clear?

It IS possible, and possibly instructive, to add code to
TutorialApplication to set the options needed to decode any particular data
stream.   Take a look at the settings you give to InterpretApplication and
for each of them, figure out what option is set in the
DecoderConfiguration.  Then you can add the code to your program which
started as the Tutorial Application to set that option.

Dale

Original comment by [email protected] on 24 Dec 2011 at 2:13

GoogleCodeExporter avatar Apr 21 '15 11:04 GoogleCodeExporter

Thank you for the replies. I am making some progress with the command for a 
given situation, thank you for the hint Dale. 
However, when changing parameters and templates at hand (the 12 and 13 version) 
the errors of course keep changing. Have tried multiple combination of -reset, 
-hfix, -ofix, at the end of the statement adjusting from the 14 template 
discussion, but nothing seems to be working in this case. 
If somebody can provide a syntax of the working Eurex version 13 template for 
InterpreterApplication that would be great because I am sure something really 
simple is missing in this case.
Thanks.

Original comment by [email protected] on 28 Dec 2011 at 2:30

GoogleCodeExporter avatar Apr 21 '15 11:04 GoogleCodeExporter

Decoding error: [ERR D9] Unknown template ID:4294967295 
I get above error decoding current Eurex NTA using ver 1.5 and no error with 
1.4. I build 64 bit library on Fedora 17 with all default system packages 
(boost, xml,...) 
Eurex NTA templates I use are EMDIFastTemplates-1.1.xml and 
EMDSFastTemplates-1.1.xml

Version 1.4 is rock solid: Eurex, CME, Nasdaq, NyseLiffe

Original comment by [email protected] on 20 Aug 2013 at 4:24

GoogleCodeExporter avatar Apr 21 '15 11:04 GoogleCodeExporter