{{Quickfixn}} Quickfixn Fix 4.2 How to Send & Receive messages to different TargetCompID in same session

Grant Birchmeier gbirchmeier at connamara.com
Tue Sep 18 07:16:16 PDT 2018


Mike Gatny already answered this on GitHub.

I don't know who your counterparty is, but if your questions are accurately
conveying what they want, then they are doing really unorthodox things and
creating unnecessary problems for themselves and their clients.

On Tue, Sep 18, 2018 at 5:32 AM, Mohammed Quwaider <momo505 at msn.com> wrote:

>
>
> 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)
>
> Can you give quick solution how to solve this issue.
>
>
>
> Config file
>
> [SESSION]
> BeginString=FIX.4.2
> SenderCompID=555
> SenderSubID= BBBBBB
> TargetCompID=0
>
> ToAdmin Code I use which doesn’t work
>
> public void ToAdmin(Message message, SessionID sessionID)
> {
> if ( (message.ToString().IndexOf("35=D") > 0) ||
> (message.ToString().IndexOf("35=G") > 0) || (message.ToString().IndexOf("35=F")
> > 0))
> {
>                message.Header.SetField(new TargetCompID("1"));
> }
> }
> 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�
> 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�
>
>
>
> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
> Windows 10
>
>
>
> _______________________________________________
> Quickfixn mailing list
> Quickfixn at lists.quickfixn.com
> http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com
>
>


-- 
Grant Birchmeier
*Connamara Systems, LLC*
*Made-To-Measure Trading Solutions.*
Exactly what you need. No more. No less.
http://connamara.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20180918/3d004874/attachment.htm>


More information about the Quickfixn mailing list