Thread: [Quickfix-developers] ClOrdLinkID (tag 583) in Fix4.2
Brought to you by:
orenmnero
From: Joaquín G. <j.g...@ra...> - 2009-05-18 07:21:41
|
Hi all, Anyone knows how can I send tag 583 while running FIX 4.2? I just do: FIX::ClOrdLinkID ordLink; ordLink = FIX::ClOrdLinkID( "String_OidLink" ); newOrderSingle.set( ordLink ); which works with all other fields, but with this one i get the following output from compiler: error C2664: 'void __thiscall FIX42::NewOrderSingle::set(const class FIX::ClOrdID &)' : cannot convert parameter 1 from 'class FIX::ClOrdLinkID' to ' const class FIX::ClOrdID &' Reason: cannot convert from 'class FIX::ClOrdLinkID' to 'const class FIX::ClOrdID' No constructor could take the source type, or constructor overload resolution was ambiguous The error is marked on the third line. Can anyone help? Thanks. |
From: Grant B. <gbi...@co...> - 2009-05-18 14:58:34
|
According to FIXimate, Message type D "Order - Single" does not contain field 583. http://fixprotocol.org/FIXimate3.0/en/FIX.4.2/body_495268.html The compiler's trying to convert your invalid ClOrdLinkID into something else, and failing. On Mon, May 18, 2009 at 2:21 AM, Joaquín Gracia <j.g...@ra...> wrote: > QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > Hi all, > > Anyone knows how can I send tag 583 while running FIX 4.2? > > I just do: > > FIX::ClOrdLinkID ordLink; > > ordLink = FIX::ClOrdLinkID( "String_OidLink" ); > > newOrderSingle.set( ordLink ); > > which works with all other fields, but with this one i get the > following output from compiler: > > error C2664: 'void __thiscall FIX42::NewOrderSingle::set(const class > FIX::ClOrdID &)' : cannot convert parameter 1 from 'class > FIX::ClOrdLinkID' to ' > const class FIX::ClOrdID &' > Reason: cannot convert from 'class FIX::ClOrdLinkID' to > 'const class FIX::ClOrdID' > No constructor could take the source type, or constructor > overload resolution was ambiguous > > The error is marked on the third line. > > Can anyone help? > > Thanks. > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables > unlimited royalty-free distribution of the report engine > for externally facing server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > |
From: Malinka R. <ael...@gm...> - 2009-05-18 16:20:52
|
On Mon, May 18, 2009 at 10:29, Grant Birchmeier <gbi...@co...> wrote: > QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > According to FIXimate, Message type D "Order - Single" does not > contain field 583. > http://fixprotocol.org/FIXimate3.0/en/FIX.4.2/body_495268.html > > The compiler's trying to convert your invalid ClOrdLinkID into > something else, and failing. > > > On Mon, May 18, 2009 at 2:21 AM, Joaquín Gracia <j.g...@ra...> wrote: >> QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html >> QuickFIX Support: http://www.quickfixengine.org/services.html >> >> Hi all, >> >> Anyone knows how can I send tag 583 while running FIX 4.2? >> >> I just do: >> >> FIX::ClOrdLinkID ordLink; >> >> ordLink = FIX::ClOrdLinkID( "String_OidLink" ); >> >> newOrderSingle.set( ordLink ); >> >> which works with all other fields, but with this one i get the >> following output from compiler: >> >> error C2664: 'void __thiscall FIX42::NewOrderSingle::set(const class >> FIX::ClOrdID &)' : cannot convert parameter 1 from 'class >> FIX::ClOrdLinkID' to ' >> const class FIX::ClOrdID &' >> Reason: cannot convert from 'class FIX::ClOrdLinkID' to >> 'const class FIX::ClOrdID' >> No constructor could take the source type, or constructor >> overload resolution was ambiguous >> >> The error is marked on the third line. >> >> Can anyone help? You can avoid the compiler trying to convert it to one of the fields that are valid in FIX.4.2 by using .setField instead of .set. >> >> Thanks. >> >> ------------------------------------------------------------------------------ >> Crystal Reports - New Free Runtime and 30 Day Trial >> Check out the new simplified licensing option that enables >> unlimited royalty-free distribution of the report engine >> for externally facing server and web deployment. >> http://p.sf.net/sfu/businessobjects >> _______________________________________________ >> Quickfix-developers mailing list >> Qui...@li... >> https://lists.sourceforge.net/lists/listinfo/quickfix-developers >> > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables > unlimited royalty-free distribution of the report engine > for externally facing server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > |