{{Quickfixn}} Please help in handling QuoteCancel message
Nirjhar Jain
nirjhar.jain at commdel.net
Wed Dec 11 04:57:51 PST 2013
Hi,
Problem solved. Actually Symbol is inside the noQuoteEntries group. So I
have read the group for getting symbol out of it.
Thanks & Regards,
Nirjhar Jain
Software Engineer
COMMDEL
Commdel Consulting Services P Ltd,
H-134, Sector-63, Noida - U.P. (India)
<http://www.commdel.net/> www.commdel.net
A n I S O 9 0 0 1 : 2 0 0 8 C e r t i f i e d C o m p a n y
Payment Enterprise Mobility Internet
From: Nirjhar Jain [mailto:nirjhar.jain at commdel.net]
Sent: Wednesday, December 11, 2013 5:15 PM
To: 'Mailing list for QuickFIX/n'; 'Grant Birchmeier'
Subject: RE: Please help in handling QuoteCancel message
Hi All,
I am handling Quote Cancel with UNSUBSCRIBE message using below code and
trying to send the quote request message to subscribe again. But while
reading the symbol from message received, the symbol reading code(Bold code)
is generating error that field not found for tag 55.
public void OnMessage(QuickFix.FIX44.QuoteCancel m, SessionID s)
{
string sym, quoteID;
string msg = "Quote Request cancelled";
log.Info(msg);
if
(m.GetField(QuickFix.Fields.Tags.QuoteID).Contains("UNSUBSCRIBE"))
{
sym = m.GetField(QuickFix.Fields.Tags.Symbol).ToString();
quoteID = sym + "quoteID";
QueryQuoteRequest(sym, quoteID, 100000);
}
}
While the message I am receiving from the Citi Server is:
8=FIX.4.4|9=124|35=Z
|34=157|49=CITIFX-UAT|52=20131211-09:02:18.790|56=KRISCAP-QUOTE|117=UNSUBSCR
IBE|131=USDJPYquoteID|298=1|295=1|55=USDJPY|10=111
Am I using the wrong way to read the Symbol(tag 55) from the message? Please
help and correct me.
Thanks & Regards,
Nirjhar Jain
Software Engineer
COMMDEL
Commdel Consulting Services P Ltd,
H-134, Sector-63, Noida - U.P. (India)
<http://www.commdel.net/> www.commdel.net
A n I S O 9 0 0 1 : 2 0 0 8 C e r t i f i e d C o m p a n y
Payment Enterprise Mobility Internet
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20131211/dd3b64b9/attachment-0002.htm>
More information about the Quickfixn
mailing list