<div dir="ltr"><div class="gmail_default" style="font-size:small;color:#000000">Unless you regen the source with your DD as input and recompile QF, you will not see conveniently-named accessors for custom attributes, e.g. mdsfr.NoLegs.  However, QF/n provides generic methods for accessing fields, and you can use mdsfr.GetInt(555).<br></div><div class="gmail_default" style="font-size:small;color:#000000"><br></div><div class="gmail_default" style="font-size:small;color:#000000">To get the group, you can use mdsfr.GetGroup(n, 555), where 'n' is a 1-based index.  (I don't know why we start from 1 instead of 0, but that's how all QF ports do it.)  That will get you a generic Group object, where you can call GetInt(), GetString(), GetChar(), etc to get the fields.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 28, 2018 at 9:17 AM, Matthias Güntert <span dir="ltr"><<a href="mailto:matthias.guentert@raiffeisen.ch" target="_blank">matthias.guentert@raiffeisen.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello <br>
<br>
I am trying to request market data (MsgType=W) by sending a market data request message to our counterparty. <br>
<br>
As our counterparty is using a dialect of FIX version 4.3 I had to heavily modify the data dictionary, so my client does not reject the inflowing messages (see example of an inflowing message structure below [0]). <br>
<br>
This works so far and messages are getting passed from the FromApp() method to my OnMessage(<wbr>MarketDataSnapShotFullRefresh message, ...) method. <br>
<br>
However I am not able to read the NoLegs group from the MarketDataSnapshotFullRefresh object, as there is no such attribute. The model seems not automatically "adjust" to the data-dictionary defined in the xml. <br>
<br>
I therefor tried to inherit from MarketDataSnapshotFullRefresh and add the NoLegs attribute to my custom class. Unfortunately it won't let me read the NoLegs attribute. <br>
<br>
What is the correct/intended way to read a dialect/custom message? <br>
<br>
Thanks in advance!<br>
<br>
Best, Matthias <br>
<br>
[0] Example structure of inflowing message <br>
<br>
Tag     Name    <br>
--------------------<br>
8       BeginString<br>
9       BodyLength<br>
35      MsgType (=W)<br>
34      MsgSeqNum       <br>
49      SenderCompID    <br>
52      SendingTime      <br>
56      TargetCompID<br>
22      IDSource<br>
48      SecurityID <br>
55      Symbol   <br>
262     MDReqId  <br>
461     CFICode  <br>
<br>
268     NoMDEntries     <br>
=> 269  MDEntryType      <br>
=> 270  MDEntryPx        <br>
=> 272  MDEntryDate      <br>
=> 273  MDEntryTime      <br>
=> 276  QuoteCondition  <br>
=> 423  PriceType       <br>
=> 1026 MdEntrySpotRate  <br>
=> 1027 MDEntryForwardPoints<br>
<br>
=> 269  MDEntryType      <br>
=> 270  MDEntryPx <br>
=> 272  MDEntryDate <br>
=> 273  MDEntryTime      <br>
=> 276  QuoteCondition  <br>
=> 423  PriceType        <br>
=> 1026 MdEntrySpotRate  <br>
=> 1027 MDEntryForwardPoints<br>
<br>
555     NoLegs  <br>
=> 600  LegSymbol       <br>
[...] <br>
=> 687  LegQty   <br>
[...]<br>
<br>
******************************<wbr>***********************<br>
<br>
This e-mail may contain confidential material. It is intended only for the person or entity which it is addressed to. In case you should not be supposed to get this e-mail we ask you to delete it without taking notice of its content. Any views or opinions expressed in this e-mail are those of the sender and do not necessarily coincide with those of The Swiss Raiffeisen Group. Therefore this e-mail does not represent a binding agreement nor an offer to deal. E-Mail transmission can be insecure and can contain errors. Information could be intercepted, corrupted, lost, destroyed, incomplete or may contain viruses. Neither The Swiss Raiffeisen Group nor the sender can accept any liability for any kind of damage as the result of viruses or transmission errors.<br>
<br>
******************************<wbr>***********************<br>
<br>______________________________<wbr>_________________<br>
Quickfixn mailing list<br>
<a href="mailto:Quickfixn@lists.quickfixn.com">Quickfixn@lists.quickfixn.com</a><br>
<a href="http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com" rel="noreferrer" target="_blank">http://lists.quickfixn.com/<wbr>listinfo.cgi/quickfixn-<wbr>quickfixn.com</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div><font size="2"><span style="background-color:#000000"><span style="background-color:#ffffff">Grant Birchmeier</span></span></font><font size="2"><font color="#3333ff"><br></font></font></div><div><font size="2"><b><font color="#3333ff"><span style="background-color:#ffcc33"><span style="background-color:#ffcc66"><span style="background-color:#ffcc99"><span style="background-color:#ffffff"><span style="background-color:#ffcc00">Connamara Systems, LLC</span></span></span></span></span></font></b></font><br></div><div><font size="2"><b>Made-To-Measure Trading Solutions.</b></font></div><div><font size="2">Exactly what you need. No more. No less.</font><font size="2"><b><font color="#3333ff"><br></font></b></font></div><div><font size="2"><a href="http://connamara.com" target="_blank">http://connamara.com</a><br></font></div></div>
</div>