DeliverToCompID problem: Invalid Field Added

39 views
Skip to first unread message

Volkan Atlı

unread,
Jan 22, 2020, 2:52:55 PM1/22/20
to fix8-s...@googlegroups.com, ava...@itu.edu.tr
Hi

I'm trying to subscribe to market data with the below code but an exception raised with "Invalid Field Added". I also set DeliverToCompID to "Y" in the FIX43.xml file. I can't understand why? What should I do?

    BULL::MarketDataRequest *mdreq(new BULL::MarketDataRequest);

    *mdreq += new BULL::MDReqID(mdReqIDstr);
    *mdreq += new BULL::SubscriptionRequestType('1');
    *mdreq += new BULL::MarketDepth(1);
    *mdreq += new BULL::MDUpdateType(0);
    *mdreq += new BULL::NoMDEntryTypes(2);
    *mdreq += new BULL::DeliverToCompID("BRKF");   // --> Invalid Field Added

Thanks in advance...

- Volkan

Ian McKane

unread,
Jan 22, 2020, 3:08:58 PM1/22/20
to fix8 support
You're trying to add a header field to the body.
/Ian
Reply all
Reply to author
Forward
0 new messages