<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 2.0cm 2.0cm 2.0cm;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:290481377;
mso-list-type:hybrid;
mso-list-template-ids:-1680177434 68157455 68157465 68157467 68157455 68157465 68157467 68157455 68157465 68157467;}
@list l0:level1
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level2
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level3
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l0:level4
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level5
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level6
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l0:level7
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level8
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level9
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="IT" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">Hi Raju,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">what immediately jumps to the eye is the strange composition of the .FromString() result message, in fact part of the NoUnderlyings group (711) is outside from the group itself (you
can find a tag 307 before tag 711=100 (see yellow highlighting in your message)) while another one is “inside” group…<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">Can I suggest to give a look at your dictionary?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">Best,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">Lanfranco<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> Quickfixn <quickfixn-bounces@lists.quickfixn.com>
<b>On Behalf Of </b>Grant Birchmeier<br>
<b>Sent:</b> giovedì 1 ottobre 2020 15:45<br>
<b>To:</b> Mailing list for QuickFIX/n <quickfixn@lists.quickfixn.com><br>
<b>Subject:</b> Re: {{Quickfixn}} Handling Security Definitions<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">Raju,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">Please don't send giant message logs to the list. I have rejected it from being distributed to the list.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">I am repasting the top portion of your message, which is more than enough for followup:<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><b><span style="font-size:12.0pt;color:black">==== Begin message from Raju:</span></b><span style="font-size:12.0pt;color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="color:black">They are different in length.</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black">The message logs and the sec def message in the onMessage call back and the message pushing into the queue as a string are all identical.</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black">However when the message is converted back to SecDef object using the message.FromString() method it comes with weird message with only one underlying and with two tag 311 (see the bold below).</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black">Below i am pasting the original message and the message after converting from string to SecDef object.</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><b><span style="color:black">The below is the message after message.FromString() call :</span></b><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black">{8=FIX.4.4||9=4012||35=d||34=6||49=ICE||52=20200930-04:09:45.018||56=50320||57=2||67=1||82=52||305=8||<span style="background:yellow;mso-highlight:yellow">307=Butane, ID, Percentage of WTI 1st Line Future (CMA)
(USD/bbl) - Dow - Ft. Saskatchewan - Jan21</span>||308=IEPA||311=6249223||318=USD||320=319||322=2234250||323=4||326=17||393=5164||436=1.0||463=FXXXXX||542=20201231||763=0||916=20210101||917=20210131||998=cbm||1039=P||9013=0.00250||9014=500.0||9017=500.0||9022=1||9024=1.0||9025=N||9032=1.25000||9040=0.00250||9041=500||9061=21704||9062=Butane,
ID, Percentage of WTI 1st Line Future (CMA) (USD/bbl)||9063=Butane, ID, Percentage of WTI 1st Line Future (CMA) (USD/bbl)||9064=0||9083=5||9084=0||9085=monthly||9100=USD||9101=%||9133=0.00250||9134=0.00250||9200=12||9201=1860||9202=Jan21||9205=0||9215=0||9216=0||9217=0||9300=24503||9301=Dow
- Ft. Saskatchewan||9302=Dow - Ft. Saskatchewan||<span style="background:yellow;mso-highlight:yellow">711=100</span>||311=6249222||305=8||463=FXXXXX||763=0||542=20201231||436=1.0||308=IEPA||<span style="background:yellow;mso-highlight:yellow">307=Butane, ID,
Percentage of WTI 1st Line Future (CMA) (USD/bbl) - Plains - Ft. Saskatchewan - Jan21</span>||318=USD||326=17||916=20210101||917=20210131||998=cbm||1039=P||9013=0.00250||9014=500.0||9017=500.0||9022=1||9024=1.0||9025=N||9032=1.25000||9040=0.00250||9041=500||9061=21704||9062=Butane,
ID, Percentage of WTI 1st Line Future (CMA) (USD/bbl)||9063=Butane, ID, Percentage of WTI 1st Line Future (CMA) (USD/bbl)||9083=5||9084=0||9085=monthly||9100=USD||9101=%||9200=12||9201=1860||9202=Jan21||9205=0||9215=0||9216=0||9300=24500||9301=Plains - Ft.
Saskatchewan||9302=Plains - Ft. Saskatchewan||10=050||}</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><b><span style="color:black">The below is the original message:</span></b><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black">8=FIX.4.4||9=53970||35=d||34=6||49=ICE||52=20200930-04:09:45.018||56=50320||57=2||67=1||82=52||320=319||322=2234250||323=4||393=5164||711=100||311=6249222||305=8||326=17||463=FXXXXX||763=0||542=20201231||436=1.0||308=IEPA||307=Butane,
ID, Percentage of WTI 1st Line Future (CMA) (USD/bbl) - Plains - Ft. Saskatchewan - Jan21||318=USD||9040=0.00250||9041=500||1039=P||916=20210101||917=20210131||9032=1.25000||9061=21704||9062=Butane, ID, Percentage of WTI 1st Line Future (CMA) (USD/bbl)||9063=Butane,
ID, Percentage of WTI 1st Line Future (CMA) (USD/bbl)||9215=0||9216=0||9205=0||9083=5||9084=0||9085=monthly||9100=USD||9101=%||9300=24500||9301=Plains - Ft. Saskatchewan||9302=Plains - Ft. Saskatchewan||9200=12||9201=1860||9202=Jan21||9013=0.00250||9014=500.0||9017=500.0||998=cbm||9022=1||9024=1.0||9025=N||9133=0.00250||9134=0.00250||9217=0||311=6249223||305=8||326=17||463=FXXXXX||763=0||542=20201231||436=1.0||308=IEPA||307=Butane,
ID, Percentage of WTI 1st Line Future (CMA) (USD/bbl) - Dow - Ft. Saskatchewan - Jan21||318=USD||9040=0.00250||9041=500||1039=P||916=20210101||917=20210131||9032=1.25000||9061=21704||9062=Butane, ID, Percentage of WTI 1st Line Future (CMA) (USD/bbl)||9063=Butane,
ID, Percentage of WTI 1st Line Future (CMA) (USD/bbl)||9215=0||9216=0||9205=0||9083=5||9084=0||9085=monthly||9100=USD||9101=%||9300=24503||9301=Dow - Ft. Saskatchewan||9302=Dow - Ft. Saskatchewan||9200=12||9201=1860||9202=Jan21||9013=0.00250||9014=500.0||9017=500.0||998=cbm||9022=1||9024=1.0||9025=N||9133=0.00250||9134=0.00250||9217=0||311=6249351||305=8||326=17||463=FXXXXX||763=0||542=20211231||436=1000.0||308=IEPA||307=IsoButane,
ID, OPIS (50) - MT.B-ENT - Cal 22||318=USD||9040=0.00125||9041=50||1039=P||916=20220101||917=20221231||9032=62.50000||9061=20011||9062=IsoButane, ID, OPIS (50)||9063=IsoButane, OPIS Average (50)||9215=0||9216=0||9205=0||9083=5||9084=0||9085=monthly||9100=USD||9101=USD
/ gal||9300=786||9301=Mt. Belv-Enterprise||9302=MT.B-ENT||9200=16||9201=4343||9202=Cal 22||9013=0.00125||9014=50.0||9017=50000.0||998=bbl||9022=12||9024=1.0||9025=N||9133=52.50000||9134=52.50000||9217=0||311=6249352||305=8||326=17||463=FXXXXX||763=0||542=20211029||436=1000.0||308=IEPA||307=IsoButane,
ID, OPIS (50) - MT.B-ENT - Q4 21||318=USD||9040=0.00125||9041=50||1039=P||916=20211001||917=20211231||9032=62.50000||9061=20011||9062=IsoButane, ID, OPIS (50)||9063=IsoButane, OPIS Average (50)||9215=0||9216=0||9205=0||9083=5||9084=0||9085=monthly||9100=USD||9101=USD
/ gal||9300=786||9301=Mt. Belv-Enterprise||9302=MT.B-ENT||9200=15||9201=1915||9202=Q4 21||9013=0.00125||9014=50.0||<b>...[about a million more tags here]...</b>||10=047||</span><o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Wed, Sep 30, 2020 at 4:31 PM Mike Gatny <<a href="mailto:mgatny@connamara.com" target="_blank">mgatny@connamara.com</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<p class="MsoNormal">If you compare the entry in quickfixn's messages log to the string you are parsing off your message queue, are they identical? If not, how do they differ?<o:p></o:p></p>
<div>
<p class="MsoNormal"><br clear="all">
<o:p></o:p></p>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif">--</span><o:p></o:p></p>
</div>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif">Mike Gatny</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif">Connamara Systems</span><o:p></o:p></p>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Wed, Sep 30, 2020 at 5:16 PM Veduruparthi Raju <<a href="mailto:rveduruparthi@gmail.com" target="_blank">rveduruparthi@gmail.com</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal">Hello,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I am trying to implement the SecurityDefinitions and as part of it I am making a SecurityDefinitionRequest (35=c) subscription and I am receiving the SecurityDefinitions (35=d)<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Each security definition is huge and is a batch of 100 underlyings. I am trying to parse these security definitions and unfortunately running into the below exception, which obviously tells me that the message length is too long.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">I am using the Quick version 4.4 and the latest dll of 1.9 version.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">The onMessage callback of the SecDef receives the original message as pasted below and we are pushing that to a message queue as a string and there is a handler class where we process that message converting back from string to the SecurityDefinition Object
using the below syntax, where requestMessage is the original sec def message from the OnMessage<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">var message = new SecurityDefinition();<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> message.FromString(requestMessage, true, dataDictionary, dataDictionary, _defaultMsgFactory);<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><b>Invalid message: Expected BodyLength=4012, Received BodyLength=53970, Message.SeqNum=6</b><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">The below is one of the original SefDef..<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Please advise how to handle security definitions.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<div>
<p class="MsoNormal">--Raju.v<o:p></o:p></p>
</div>
</div>
</div>
</blockquote>
</div>
</blockquote>
</div>
</div>
<p class="MsoNormal"><br>
<span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#1D1C1D;background:white">This email, along with any attachments, is confidential. If you believe you received this message in error, please contact the sender immediately and delete all copies
of the message. Thank you from Connamara Systems, LLC.</span><o:p></o:p></p>
</div>
</body>
</html>