Re: [Quickfix-developers] NoMDEntryTypes
Brought to you by:
orenmnero
|
From: Oren M. <or...@qu...> - 2007-08-09 17:15:27
|
Your code should look like this.
FIX44::MarketDataRequest::NoMDEntryTypes nmtypes;
nmtypes.set(FIX::MDEntryType('0'));
quote.addGroup(nmtypes);
nmtypes.set(FIX::MDEntryType('1'));
quote.addGroup(nmtypes);
On Aug 9, 2007, at 8:09 AM, open hash wrote:
> QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/
> html/index.html
> QuickFIX Support: http://www.quickfixengine.org/services.html
>
> Hi,
>
> I have this issue with "NoMDEntryTypes" field. All I want is to set
> it to 2 and then add two "MDEntryType" values one set to 0 and
> other set to 1. Here is my code,
>
> FIX44::MarketDataRequest::NoMDEntryTypes nmtypes;
> nmtypes.set(FIX::MDEntryType('0'));
> nmtypes.set(FIX::MDEntryType('1'));
> quote.addGroup(nmtypes);
>
> But when I send a MarketDataRequest message, it shows that nmtypes
> is set to 1 (containing only one MDEntryType) and the value of
> MDEntryType is set to 1 ( the value of last MDEntryType). Any
> suggestion on what am I doing wrong?
>
> Thanks!
>
> Take the Internet to Go: Yahoo!Go puts the Internet in your pocket:
> mail, news, photos & more.
> ----------------------------------------------------------------------
> ---
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a
> browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Quickfix-developers mailing list
> Qui...@li...
> https://lists.sourceforge.net/lists/listinfo/quickfix-developers
|