[Quickfix-developers] QuickFix Multiple Sessions with same TargetCompID
Brought to you by:
orenmnero
From: William G. <gr...@gm...> - 2016-03-09 02:12:49
|
Hi, My broker requires two separate connections to their FIX server: one for orders and one for market depth. Unfortunately, both of these connections require the same TargetCompID, and the way the server tells the difference between the two is the TargetSubID in the header. However, quickfix doesn't have a way to distinguish the two, and if I try to define both sessions in the fix.conf file I have, quickfix will fail with "Configuration failed: Duplication Session FIX.4.4....". Is there a way to get both the connections up when using the same TargetCompID? They supposedly support FIX 4.2 as well, but I've found that their system doesn't allow my app to logon when using that protocol, which I guess would've solved my issue, other than making for some really annoying code around both protocols when cracking messages. I suppose I could try to send another logon request manually or something, but I haven't done that yet. I will try it, but I'm hoping for some help. Thanks, Will -- Please forgive typos. Sent from my phone. |