{{Quickfixn}} Help related to QuickFix Implementation
Grant Birchmeier
gbirchmeier at connamara.com
Tue Nov 12 11:43:01 PST 2013
Did you define a OnMessage(QuoteRequest) call in your MessageCracker
subclass?
All crack() does is figure out what kind of message it is and call the
appropriate OnMessage(). If an OnMessage() isn't defined for a particular
message type, the engine treats it as unsupported.
You should define an OnMessage() for every message type you intend to
receive.
-Grant
On Mon, Nov 11, 2013 at 8:22 AM, Nirjhar Jain <nirjhar.jain at commdel.net>wrote:
> Hi All,
>
>
>
> I am implementing QuickFix dll for Currency Trading using Citi Bank server.
>
> I am facing 1 issue related to QuoteRequest.
>
> I sent the quote request to the citi server and received the response from
> their side. According to their configurations the response is absolutely
> fine. But the quickfix code is generating the error of Un-Supported message
> type.
>
>
>
> Message sent was:
>
> 8=FIX.4.49=11435=R34=349=KRISCAP-QUOTE52=20131111-12
> :24:49.84956=CITIFX-UAT57=FXSpot131=QUOTEID146=155=EURUSD38=10000010=001
>
>
>
> Response received was:
>
> 8=FIX.4.49=26835=S34=649=CITIFX-UAT50=FXSpot52=20131111-12
> :24:32.95056=KRISCAP-QUOTE15=EUR55=EURUSD60=20131111-12:24:3264=20131113
>
>
> 117=EURUSD_stream1_1_0058E360_175##863EURUSD1S--657ada2d--P0
>
>
> 131=QUOTEID132=1.33596133=1.33617134=100000135=100000167=FOR537=2762=SPOT10=117
>
>
>
> The crack function is giving error. i.e. It is not going inside if loop,
> Please help me
>
>
>
> if (_callCache.TryGetValue(messageType, out onMessage))
>
> {
>
> onMessage(message, sessionID);
>
> }
>
> else
>
> {
>
> throw new UnsupportedMessageType();
>
> }
>
>
>
>
>
>
>
> Thanks & Regards,
>
> *Nirjhar Jain*
>
> Software Engineer
>
>
> *COMMDEL*
>
> Commdel Consulting Services P Ltd,
>
> H-134, Sector-63, Noida - U.P. (India)
>
>
>
> 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*
>
>
>
> _______________________________________________
> Quickfixn mailing list
> Quickfixn at lists.quickfixn.com
> http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com
>
>
--
Grant Birchmeier
*Connamara Systems, LLC*
*Made-To-Measure Trading Solutions.*
Exactly what you need. No more. No less.
http://connamara.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20131112/99f4fe01/attachment-0002.htm>
More information about the Quickfixn
mailing list