From: Joaquín G. <j.g...@ra...> - 2009-05-12 06:34:16
Hi All,
I want to re-send information received in QuickFix execution reports
to other applications.
Messages are sent using MSMQ. Thus, I need no write msmq message
(CString or std::string) using data taken from the FIX message.
So I have to convert, for example, a FIX::OrderQty variable to CString
or std::string.
How can I do that?
Thank you.
From: Grant B. <gbi...@co...> - 2009-05-12 14:56:37
You can use this function on your FIX message object:
std::string getField (int field) const throw ( FieldNotFound )
Get a field without a field class.
(see http://quickfixengine.org/quickfix/doc/html/class_f_i_x_1_1_field_map.html)
This should get the string representation of the field as it appears
in the raw fix message.
-Grant
On Tue, May 12, 2009 at 1:34 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,
>
> I want to re-send information received in QuickFix execution reports
> to other applications.
>
> Messages are sent using MSMQ. Thus, I need no write msmq message
> (CString or std::string) using data taken from the FIX message.
>
> So I have to convert, for example, a FIX::OrderQty variable to CString
> or std::string.
>
> How can I do that?
>
> Thank you.
>
> ------------------------------------------------------------------------------
> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
> production scanning environment may not be a perfect world - but thanks to
> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
> Series Scanner you'll get full speed at 300 dpi even with all image
> processing features enabled. http://p.sf.net/sfu/kodak-com
> _______________________________________________
> Quickfix-developers mailing list
> Qui...@li...
> https://lists.sourceforge.net/lists/listinfo/quickfix-developers
>
From: Malinka R. <ael...@gm...> - 2009-05-12 18:53:45
On Tue, May 12, 2009 at 02:34, 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,
>
> I want to re-send information received in QuickFix execution reports
> to other applications.
>
> Messages are sent using MSMQ. Thus, I need no write msmq message
> (CString or std::string) using data taken from the FIX message.
>
> So I have to convert, for example, a FIX::OrderQty variable to CString
> or std::string.
>
> How can I do that?
First get the Field in question from the message
FIX::Price price;
message.get(price);
Then you can get the string that represents that Field
price.toString()
the first half is documented here:
http://quickfixengine.org/quickfix/doc/html/receiving_messages.html
>
> Thank you.
>
> ------------------------------------------------------------------------------
> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
> production scanning environment may not be a perfect world - but thanks to
> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
> Series Scanner you'll get full speed at 300 dpi even with all image
> processing features enabled. http://p.sf.net/sfu/kodak-com
> _______________________________________________
> Quickfix-developers mailing list
> Qui...@li...
> https://lists.sourceforge.net/lists/listinfo/quickfix-developers
>