|
From: Rodolfo V. <rod...@lu...> - 2007-05-31 22:30:06
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> Tank you very much Toli Kuznets,<br> <br> I have changed my FIX44.xml and everything run OK!<br> <br> BR<br> /Rodolfo<br> <br> <br> Toli Kuznets escreveu: <blockquote cite="mid...@ma..." type="cite"> <pre wrap="">QuickFIX/J Documentation: <a class="moz-txt-link-freetext" href="http://www.quickfixj.org/documentation/">http://www.quickfixj.org/documentation/</a> QuickFIX/J Support: <a class="moz-txt-link-freetext" href="http://www.quickfixj.org/support/">http://www.quickfixj.org/support/</a> </pre> <br> <hr size="4" width="90%"><br> Rodolfo<br> <br> Is the error you are seeing on the "receiving" end, where you MarkedDataRequest goes to?<br> If the receiver is also using Quickfix/J and has validation enabled (<i>UseDataDictionary=Y)</i>, you'll be seeing this error unless you manually modify the appropriate DataDictionary file (such as FIX44.xml) to add the new field you've created.<br> <br> Just make sure to specify the DataDictionary to the modified file that contains your new field. That's what we do and it works for us. We did that in <a href="http://trac.marketcetera.org/trac.fcgi/browser/platform/trunk/core/src/main/resources/FIX44-marketcetera.xml#L6725"> http://trac.marketcetera.org/trac.fcgi/browser/platform/trunk/core/src/main/resources/FIX44-marketcetera.xml#L6725</a><br> to make it work with our exchange simulator at <a href="http://exchange.marketcetera.com">http://exchange.marketcetera.com </a><br> <br> <br> <br> <div><span class="gmail_quote">On 5/31/07, <b class="gmail_sendername">Rodolfo Vasconcelos</b> <<a href="mailto:rod...@lu...">rod...@lu...</a>> wrote:</span> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div style="direction: ltr;">QuickFIX/J Documentation: <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.quickfixj.org/documentation/QuickFIX/J" target="_blank"> http://www.quickfixj.org/documentation/<br> QuickFIX/J</a> Support: <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.quickfixj.org/support/" target="_blank">http://www.quickfixj.org/support/</a><br> </div> <br> <div bgcolor="#ffffff" text="#000000"><br> Hi everybody!<br> <br> I am trying to use an User Defined Tag, but it is failing.<br> <br> I want to set a string in a MarketDataRequest.<br> <br> <font face="Courier">quickfix.fix44.MarketDataRequest mdr = new quickfix.fix44.MarketDataRequest( <br> new MDReqID(subscriptionID), new SubscriptionRequestType( SubscriptionRequestType.SNAPSHOT ),<br> new MarketDepth(1));<br> <br> quickfix.fix44.MarketDataRequest.NoRelatedSym noRelatedSymGroup;<br> for (int i = 0; i<symbols.size();i++)<br> {<br> noRelatedSymGroup = new quickfix.fix44.MarketDataRequest.NoRelatedSym();<br> noRelatedSymGroup.set(new Instrument(new Symbol(symbols.get(i))));<br> mdr.addGroup(noRelatedSymGroup);<br> }<br> <br> <b>mdr.setField(new StringField(2345,pattern));</b><br> <br> mdr.set( new NoMDEntryTypes(0));<br> <br> this.send(mdr, sessionID);</font><br> <br> <br> I have tried tag numbers 9999, 1000, 6123, but always receive: Invalid Tag number!<br> <br> <font face="Courier"><20070531-12:03:03, FIX.4.4:BDC1->BEVERLY, outgoing> (8=FIX.4.49=11035=V34=5949=BDC152=20070531-12:03:03.85956=BEVERLY262=8263=0264=1267=02345=UDF146=255=CISCO55=IBM10=053)<br> <20070531-12:03:03, FIX.4.4:BDC1->BEVERLY, incoming> (8=FIX.4.49=10435=334=5449=BEVERLY52=20070531-12:03:03.87556=BDC145=59<b>58=Invalid tag</b> <b>number371=23453</b>72=V373=010=188)</font><br> <br> <br> I have tried type safe method too (<a href="http://www.quickfixj.org/quickfixj/usermanual/usage/user_defined_fields.html" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.quickfixj.org/quickfixj/usermanual/usage/user_defined_fields.html </a>) but still not working.<br> <br> Anybody can help me?<br> <br> Tanks!<br> <br> My best regards,<br> Rodolfo Vasconcelos</div> </blockquote> </div> <br> <br clear="all"> <br> -- <br> Toli Kuznets<br> <a href="http://www.marketcetera.com">http://www.marketcetera.com</a>: Open-Source Trading Platform<br> download.run.trade. <pre wrap=""> <hr size="4" width="90%"> ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. <a class="moz-txt-link-freetext" href="http://sourceforge.net/powerbar/db2/">http://sourceforge.net/powerbar/db2/</a></pre> <pre wrap=""> <hr size="4" width="90%"> _______________________________________________ Quickfixj-users mailing list <a class="moz-txt-link-abbreviated" href="mailto:Qui...@li...">Qui...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/quickfixj-users">https://lists.sourceforge.net/lists/listinfo/quickfixj-users</a> </pre> </blockquote> <br> <div class="moz-signature">-- <br> <style> BODY { font-family: Arial; font-size: 10pt; color: 000080; background-position: top left; background-repeat: no-repeat; } </style> <p><img src="cid:par...@lu..." border="0" height="62" width="147"></p> <p style="margin: 0pt; text-indent: 0pt; word-spacing: 0pt; line-height: 100%;"> </p> <p><font face="Arial" size="2">Rodolfo de Andrade Vasconcelos</font><span style="font-size: 9pt; color: rgb(102, 102, 153); font-family: 'Century Gothic';"><font color="#666699" face="Century Gothic" size="1"><o:p> </o:p></font></span><font color="#666699" face="Arial" size="1"><span style="color: rgb(102, 102, 153);"> </span></font></p> <div style="border-style: solid none; border-color: windowtext -moz-use-text-color; border-width: 1pt medium; padding: 1pt 0cm;"> <p style="margin: 0cm 0cm 0pt;"><font color="#666699" face="Arial" size="1"><span style="color: rgb(102, 102, 153);">Lumitec Brasil Lumitec Inc.<o:p> </o:p> </span></font></p> <p style="margin: 0cm 0cm 0pt;"><font color="#666699" face="Arial" size="1"><span style="color: rgb(102, 102, 153);">Rua Magda Perona Frossard 640 – Sala 10 59 Park Street, 2nd Floor<o:p> </o:p> </span></font></p> <p style="margin: 0cm 0cm 0pt;"><font color="#666699" face="Arial" size="1"><span style="color: rgb(102, 102, 153);">14026-596 Ribeirão Preto, SP, BRASIL Beverly, MA 01915, USA<o:p> </o:p> </span></font></p> <p style="margin: 0cm 0cm 0pt;"><font color="#666699" face="Arial" size="1"><span style="color: rgb(102, 102, 153);">Fone: 55 16 3913-4745 Phone: 1 978 232-0144<o:p> </o:p> </span></font></p> <p style="margin: 0cm 0cm 0pt;"><font color="#666699" face="Arial" size="1"><span style="color: rgb(102, 102, 153);">Fax: 55 16 3913-4746 Fax: 1 978 232-9775 <o:p> </o:p> </span></font></p> </div> </div> </body> </html> |