Re: [Quickfix-developers] QuoteRequestReject Message
Brought to you by:
orenmnero
|
From: Anshu N. <ans...@ya...> - 2005-12-28 21:19:42
|
Hi Oren,
When I try to send QuoteRequestReject ( 35=AG )
message to quickfix engine I get following response .
8=FIX.4.3☺9=134☺35=AG☺34=37☺49=SAXOQUOTE_TEST☺52=20051228-21:06:01.308☺56=INTEGRAL_TEST☺58=
Test Reject
☺131=EURUSD_1☺146=1☺38=10000☺55=EUR/USD☺658=1☺10=146☺
8=FIX.4.3☺9=155☺35=3☺34=38☺49=INTEGRAL_TEST☺50=FX☺52=20051228-21:06:01.276☺56=SAXOQUOTE_TEST☺45=36☺58=Incorrect
NumInGroup count for repeating
group☺371=146☺372=AG☺373=16☺10=074☺
Can anybody tell why is this happening .
Code snippet to send QuoteRequestReject is as follows
.
quickfix.fix43.QuoteRequestReject quoteRequestReject
= new quickfix.fix43.QuoteRequestReject();
quickfix.fix43.QuoteRequestReject.NoRelatedSym
symbolGroup = new
quickfix.fix43.QuoteRequestReject.NoRelatedSym();
symbolGroup.setField(new
Symbol("EUR/USD"));
symbolGroup.set(new OrderQty(10000));
quoteRequestReject.addGroup(symbolGroup);
quoteRequestReject.set(new Text(" Test
Reject "));
quoteRequestReject.set(new
QuoteReqID(quoteRequest.getQuoteReqID().getValue()));
quoteRequestReject.set(new
QuoteRequestRejectReason(QuoteRequestRejectReason.UNKNOWN_SYMBOL));
I had modified FIX4.3.xml to add Instrument component
to QuoteRequestReject message .
Regards,
Anshu Narang.
--- Oren Miller <or...@qu...> wrote:
> QuickFIX Documentation:
>
http://www.quickfixengine.org/quickfix/doc/html/index.html
> QuickFIX Support:
> http://www.quickfixengine.org/services.html
>
> You can always force a field into a message by using
> the setField method
> (as opposed to set). This method overrides the type
> safety, allowing you
> to add any field to any message. We will investigate
> why the symbol
> field is not present by default and fix it for the
> next release.
>
> --oren
>
> Anshu Narang wrote:
>
> >QuickFIX Documentation:
>
http://www.quickfixengine.org/quickfix/doc/html/index.html
> >QuickFIX Support:
> http://www.quickfixengine.org/services.html
> >
> >Hi ,
> >
> >As per FIX specification Instrument is part of
> >QuoteRequestReject
> >( message type AG ) .
> >
> >But in quickfix.fix43.QuoteRequestReject.java (
> >quickfix.fix43.QuoteRequestReject.NoRelatedSym )
> there
> >is no method to add Symbol ( which is part of
> >instrument ) to the message .
> >
> >Is this a bug in quickfix ? Is there any workaround
> >that I could use to populate Symbol field to
> message .
> >I tried modifying FIX4.3.xml but doesn't work looks
> >like NoRelatedSym in QuoteRequestReject does not
> >contain field 55 .
> >
> >Can anybody help . Thanks in advance .
> >
>
>================================================================
> >
> >QuoteRequestReject.NoRelatedSym constructor
> >
> >public NoRelatedSym() {
> >super(146, 140, new int[] {
> >140, 303, 537, 336, 625, 229, 54, 465, 38, 152,
> >63, 64, 40, 193, 192, 126, 60, 15, 218, 220,
> >221, 222, 423, 44, 640, 235, 236, 0
> >});
> >}
>
>================================================================
> >
> >
> >Regards,
> >Anshu Narang.
> >
> >
> >
> >__________________________________________
> >Yahoo! DSL Something to write home about.
> >Just $16.99/mo. or less.
> >dsl.yahoo.com
> >
> >
> >
>
>-------------------------------------------------------
> >This SF.net email is sponsored by: Splunk Inc. Do
> you grep through log files
> >for problems? Stop! Download the new AJAX search
> engine that makes
> >searching your log files as easy as surfing the
> web. DOWNLOAD SPLUNK!
>
>http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> >_______________________________________________
> >Quickfix-developers mailing list
> >Qui...@li...
>
>https://lists.sourceforge.net/lists/listinfo/quickfix-developers
> >
> >
> >
> >
>
>
>
-------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do
> you grep through log files
> for problems? Stop! Download the new AJAX search
> engine that makes
> searching your log files as easy as surfing the
> web. DOWNLOAD SPLUNK!
>
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> Quickfix-developers mailing list
> Qui...@li...
>
https://lists.sourceforge.net/lists/listinfo/quickfix-developers
>
__________________________________________
Yahoo! DSL Something to write home about.
Just $16.99/mo. or less.
dsl.yahoo.com
|