<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Helvetica;
panose-1:2 11 5 4 2 2 2 2 2 4;}
@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:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
color:windowtext;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";
color:black;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:"Courier New";
color:black;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
<div class="WordSection1">
<p class="MsoNormal">Thank Christoph, </p>
<p class="MsoNormal">Kindly note that the counterparty uses Cap-fix engine which requires password when logon, and after successful logon they request to reset the sequence number and change the TargetSubID to something different also they request sending tags
<D> , <G> , <F> with another ID for <span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:black">
SenderCompID to be 1 instead 0 also they needs the tags fields for </span><D> , <G> , <F> to be sorted in specific sort
<span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Sent from <a href="https://go.microsoft.com/fwlink/?LinkId=550986">
Mail</a> for Windows 10</p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Christoph John <christoph.john@macd.com><br>
<b>Sent:</b> Tuesday, September 18, 2018 5:32:56 PM<br>
<b>To:</b> Mailing list for QuickFIX/n; Mohammed Quwaider<br>
<b>Subject:</b> Re: {{Quickfixn}} Quickfixn Fix 4.2 How to Send & Receive messages to different TargetCompID in same session</font>
<div> </div>
</div>
<div><font size="-1"><font face="Helvetica, Arial, sans-serif">Are you sure that they require you to address different Ta<font face="Helvetica, Arial, sans-serif">rget*Co<font face="Helvetica, Arial, sans-serif">mp<font face="Helvetica,
Arial, sans-serif">*</font>IDs<font face="Helvetica,
Arial, sans-serif">
in one <font face="Helvetica, Arial,
sans-serif">session? That would be somewhat
<font face="Helvetica, Arial, sans-serif">illegal in a FIX <font face="Helvetica, Arial, sans-serif">
context </font>since a FIX session is uniquely described by FIX version + SenderCom<font face="Helvetica, Arial, sans-serif">pID + TargetCompID. So
<font face="Helvetica, Arial,
sans-serif">sending a message with a different TargetCompID to an already established session
<font face="Helvetica, Arial, sans-serif">will <font face="Helvetica, Arial, sans-serif">
not work<font face="Helvetica, Arial, sans-serif">.<br>
<br>
<font face="Helvetica, Arial, sans-serif">Maybe they require you to add<font face="Helvetica, Arial, sans-serif">ress a differ<font face="Helvetica, Arial,
sans-serif">ent T<font face="Helvetica, Arial, sans-serif">arget<font face="Helvetica, Arial,
sans-serif">*Sub*ID<font face="Helvetica, Arial,
sans-serif">?!<br>
<br>
<font face="Helvetica, Arial,
sans-serif">Otherwise it would make no sense<font face="Helvetica, Arial,
sans-serif">.<br>
<br>
<font face="Helvetica,
Arial, sans-serif">Chris.</font><br>
</font></font></font></font></font></font></font></font></font></font></font><font face="Helvetica, Arial, sans-serif"></font></font></font></font></font></font></font></font></font></font><br>
<div class="moz-cite-prefix">On 18/09/18 12:32, Mohammed Quwaider wrote:<br>
</div>
<blockquote type="cite" cite="mid:SN6PR04MB4878A479003A1C159F027A57F51D0@SN6PR04MB4878.namprd04.prod.outlook.com">
<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;}
@font-face
{font-family:"Segoe UI";
panose-1:2 11 5 2 4 2 4 2 2 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
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;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.WordSection1
{page:WordSection1;}
--></style>
<div class="WordSection1">
<p class="MsoNormal"><o:p> </o:p></p>
<p style="margin-bottom:12.0pt;background:white"><span style="font-size:10.5pt;font-family:"Segoe
UI",sans-serif;color:#24292E">How to send & receive Fix messages to different TargetCompID in same session, The Exchange I connect to give one session
only and wants send Fix orders in different TargetCompID also receiving execution report tag <8> in that same different TargetCompID other fixed messages uses the original in the configuration file (TargetCompID=0)<o:p></o:p></span></p>
<p style="margin-bottom:12.0pt;background:white"><span style="font-size:10.5pt;font-family:"Segoe
UI",sans-serif;color:#24292E">Can you give quick solution how to solve this issue.<o:p></o:p></span></p>
<p style="margin-bottom:12.0pt;background:white"><span style="font-size:10.5pt;font-family:"Segoe
UI",sans-serif;color:#24292E"><o:p> </o:p></span></p>
<p style="margin-bottom:12.0pt;background:white"><span style="font-size:10.5pt;font-family:"Segoe
UI",sans-serif;color:#24292E">Config file<o:p></o:p></span></p>
<p style="background:white"><span style="font-size:10.5pt;font-family:"Segoe
UI",sans-serif;color:#24292E">[SESSION]<br>
BeginString=FIX.4.2<br>
SenderCompID=555<br>
SenderSubID= BBBBBB<br>
TargetCompID=0<o:p></o:p></span></p>
<p style="margin-bottom:12.0pt;background:white"><span style="font-size:10.5pt;font-family:"Segoe
UI",sans-serif;color:#24292E">ToAdmin Code I use which doesn’t work<o:p></o:p></span></p>
<p style="margin-top:0in;background:white;box-sizing:
border-box;font-variant-ligatures: normal;font-variant-caps:
normal;orphans: 2;text-align:start;widows:
2;-webkit-text-stroke-width: 0px;text-decoration-style:
initial;text-decoration-color: initial;word-spacing:0px">
<span style="font-size:10.5pt;font-family:"Segoe
UI",sans-serif;color:#24292E">public void ToAdmin(Message message, SessionID sessionID)<br>
{<br>
if ( (message.ToString().IndexOf("35=D") > 0) || (message.ToString().IndexOf("35=G") > 0) || (message.ToString().IndexOf("35=F") > 0))<br>
{<br>
message.Header.SetField(new TargetCompID("1"));<br>
}<br>
}<br>
9:56:38 ToApp: 8=FIX.4.2�9=261�35=D�34=63�49=555�50=BBBBBB�52=20180918-06:56:38�56=0�128=1�129=AAAAAA�1=555-----126�11=1�21=1�22=4�38=2500�40=2�44=0.03�47=C�48=JO3109211016�54=2�55=JO3109211016�58=Testing Fix Connec�59=1�60=20180918-09:56:38.579�109=126�110=50�111=100�9596=2�9947=55500350�10=140�<br>
9:56:38 Exchange: 8=FIX.4.2�9=115�35=3�34=73�49=0�50=AAAAAA�52=20180918-09:56:38�56=555�45=63�58=cannot process order: TargetCompID is invalid�372=D�10=067�<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Sent from <a href="https://go.microsoft.com/fwlink/?LinkId=550986" moz-do-not-send="true">
Mail</a> for Windows 10</p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset> <br>
<pre wrap="">_______________________________________________
Quickfixn mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Quickfixn@lists.quickfixn.com">Quickfixn@lists.quickfixn.com</a>
<a class="moz-txt-link-freetext" href="http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com">http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="100">--
Christoph John
Software Engineering
T +49 241 557080-28
<a class="moz-txt-link-abbreviated" href="mailto:christoph.john@macd.com">christoph.john@macd.com</a>
MACD GmbH
Oppenhoffallee 103
52066 Aachen, Germany
<a class="moz-txt-link-abbreviated" href="http://www.macd.com">www.macd.com</a>
Amtsgericht Aachen: HRB 8151
Ust.-Id: DE 813021663
Geschäftsführer: George Macdonald</pre>
</div>
</body>
</html>