<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">Raju,</div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">Please don't send giant message logs to the list. I have rejected it from being distributed to the list.</div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">I am repasting the top portion of your message, which is more than enough for followup:</div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)"><b>==== Begin message from Raju:</b></div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)"><br></div><div class="gmail_default"><div class="gmail_default"><font color="#000000">They are different in length.</font></div><div class="gmail_default"><font color="#000000"><br></font></div><div class="gmail_default"><font color="#000000">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.</font></div><div class="gmail_default"><font color="#000000">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).</font></div><div class="gmail_default"><font color="#000000"><br></font></div><div class="gmail_default"><font color="#000000">Below i am pasting the original message and the message after converting from string to SecDef object.</font></div><div class="gmail_default"><font color="#000000"><br></font></div><div class="gmail_default"><font color="#000000"><b>The below is the message after message.FromString() call :</b></font></div><div class="gmail_default"><font color="#000000">{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||307=Butane, ID, Percentage of WTI 1st Line Future (CMA) (USD/bbl) - Dow - Ft. Saskatchewan - Jan21||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||711=100||311=6249222||305=8||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||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||}</font></div><div class="gmail_default"><font color="#000000"><br></font></div><div class="gmail_default"><font color="#000000"><b>The below is the original message:</b></font></div><div class="gmail_default"><font color="#000000">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>...</b></font><span style="color:rgb(0,0,0)"><b>[about a million more tags here]...</b></span><span style="color:rgb(0,0,0)">||10=047||</span></div></div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)"><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Sep 30, 2020 at 4:31 PM Mike Gatny <<a href="mailto:mgatny@connamara.com" target="_blank">mgatny@connamara.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">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?<div><br clear="all"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><font face="arial, helvetica, sans-serif">--</font></div><font face="arial, helvetica, sans-serif">Mike Gatny</font></div><div dir="ltr"><span style="font-family:arial,helvetica,sans-serif">Connamara Systems</span><br></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Sep 30, 2020 at 5:16 PM Veduruparthi Raju <<a href="mailto:rveduruparthi@gmail.com" target="_blank">rveduruparthi@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello,</div><div><br></div><div>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)</div><div>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.</div><div>I am using the Quick version 4.4 and the latest dll of 1.9 version.</div><div> </div><div>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</div><div><br></div><div>var message = new SecurityDefinition();<br></div><div> message.FromString(requestMessage, true, dataDictionary, dataDictionary, _defaultMsgFactory);<br></div><div><br></div><div><b>Invalid message: Expected BodyLength=4012, Received BodyLength=53970, Message.SeqNum=6<br></b></div><div><br></div><div>The below is one of the original SefDef..</div><div>Please advise how to handle security definitions.</div><div><br></div><br><div dir="ltr">Thanks,<div>--Raju.v</div></div></div></blockquote></div></blockquote></div>
</div>
<br>
<span style="color:rgb(29,28,29);font-family:Slack-Lato,appleLogo,sans-serif;white-space:pre-wrap;background-color:white"><font size="2">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.</font></span>