{{Quickfixn}} Quickfixn Digest, Vol 112, Issue 5

Francis Gingras francis at collective2.com
Tue Feb 9 11:57:18 PST 2021


I second Grant's suggestion. AFAIK it's the only way it can work if your
counterparty uses different FIX protocols for each connection.

Francis Gingras



On Tue, Feb 9, 2021 at 2:47 PM <quickfixn-request at lists.quickfixn.com>
wrote:

> Send Quickfixn mailing list submissions to
>         quickfixn at lists.quickfixn.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com
> or, via email, send a message with subject or body 'help' to
>         quickfixn-request at lists.quickfixn.com
>
> You can reach the person managing the list at
>         quickfixn-owner at lists.quickfixn.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Quickfixn digest..."
> Today's Topics:
>
>    1. Re:  Logging settings (alancloughley at hotmail.com)
>    2. Re:  Logging settings (Grant Birchmeier)
>
>
>
> ---------- Forwarded message ----------
> From: <alancloughley at hotmail.com>
> To: "'Mailing list for QuickFIX/n'" <quickfixn at lists.quickfixn.com>
> Cc:
> Bcc:
> Date: Tue, 9 Feb 2021 19:36:41 -0000
> Subject: Re: {{Quickfixn}} Logging settings
>
> Ok thanks, I’ll do some more work on it tomorrow. I remember reading
> somewhere that you have to use the threaded initiator option and have each
> class on it’s own thread. I’ll see where I get with it tomorrow.
>
>
>
> *From:* Quickfixn <quickfixn-bounces at lists.quickfixn.com> *On Behalf Of *Grant
> Birchmeier
> *Sent:* 09 February 2021 17:53
> *To:* Mailing list for QuickFIX/n <quickfixn at lists.quickfixn.com>
> *Subject:* Re: {{Quickfixn}} Logging settings
>
>
>
> In my opinion, you should split this up into two separate
> QuickFix.IApplication classes (within a single app is still ok), each with
> its own config file.  Each will log (or not log) as separately configured,
> and each only implements the OnMessage callbacks that it uses.
>
>
>
> I'm just now realizing that it's been a *long* time since I've written a
> multiple-initiator app, and I don't think it was even with this particular
> QF port.  But I think I'm advising you correctly.
>
>
>
>
>
> On Tue, Feb 9, 2021 at 11:31 AM <alancloughley at hotmail.com> wrote:
>
> Hi Grant,
>
>
>
> No I was just running them both from one initiator. The cfg file has 2
> sessions on it so I guess the initiator runs two initiations?  At the
> OnCreate() stage I am initiating 2 separate sessionID’s based on the
> settings  SessionQualifier, so I would have a _sessionIDTrader and
> _sessionIDData. It works fine and I get two separate log files for each
> session type(trader and data). I just wanted to turn the data logs off
> completely and let the trader session keep on logging. Is there any way I
> can manage that without starting a separate initiator or is that the only
> way to do it?
>
>
>
> If I use a 2nd initiator would I also have to use 2 separate settings
> files, one for each initiator?
>
>
>
> Thanks
>
>
>
> A
>
>
>
> *From:* Quickfixn <quickfixn-bounces at lists.quickfixn.com> *On Behalf Of *Grant
> Birchmeier
> *Sent:* 09 February 2021 17:12
> *To:* Mailing list for QuickFIX/n <quickfixn at lists.quickfixn.com>
> *Subject:* Re: {{Quickfixn}} Logging settings
>
>
>
> You're creating one Initiator for each session, right?
>
>
>
> In the data-feed Initiator, change the FileLogFactory to a
> NullLogFactory.  (This factory will ignore the FileLogPath config setting.)
>
>
> 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.
>
> _______________________________________________
> 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
>
>
> 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.
>
>
>
> ---------- Forwarded message ----------
> From: Grant Birchmeier <gbirchmeier at connamara.com>
> To: "Mailing list for QuickFIX/n" <quickfixn at lists.quickfixn.com>
> Cc:
> Bcc:
> Date: Tue, 9 Feb 2021 13:47:05 -0600
> Subject: Re: {{Quickfixn}} Logging settings
> I'm not sure what you are referring to.  I'm unaware of a "threaded
> initiator option".
>
> On Tue, Feb 9, 2021 at 1:37 PM <alancloughley at hotmail.com> wrote:
>
>> Ok thanks, I’ll do some more work on it tomorrow. I remember reading
>> somewhere that you have to use the threaded initiator option and have each
>> class on it’s own thread. I’ll see where I get with it tomorrow.
>>
>>
>>
>> *From:* Quickfixn <quickfixn-bounces at lists.quickfixn.com> *On Behalf Of *Grant
>> Birchmeier
>> *Sent:* 09 February 2021 17:53
>> *To:* Mailing list for QuickFIX/n <quickfixn at lists.quickfixn.com>
>> *Subject:* Re: {{Quickfixn}} Logging settings
>>
>>
>>
>> In my opinion, you should split this up into two separate
>> QuickFix.IApplication classes (within a single app is still ok), each with
>> its own config file.  Each will log (or not log) as separately configured,
>> and each only implements the OnMessage callbacks that it uses.
>>
>>
>>
>> I'm just now realizing that it's been a *long* time since I've written a
>> multiple-initiator app, and I don't think it was even with this particular
>> QF port.  But I think I'm advising you correctly.
>>
>>
>>
>>
>>
>> On Tue, Feb 9, 2021 at 11:31 AM <alancloughley at hotmail.com> wrote:
>>
>> Hi Grant,
>>
>>
>>
>> No I was just running them both from one initiator. The cfg file has 2
>> sessions on it so I guess the initiator runs two initiations?  At the
>> OnCreate() stage I am initiating 2 separate sessionID’s based on the
>> settings  SessionQualifier, so I would have a _sessionIDTrader and
>> _sessionIDData. It works fine and I get two separate log files for each
>> session type(trader and data). I just wanted to turn the data logs off
>> completely and let the trader session keep on logging. Is there any way I
>> can manage that without starting a separate initiator or is that the only
>> way to do it?
>>
>>
>>
>> If I use a 2nd initiator would I also have to use 2 separate settings
>> files, one for each initiator?
>>
>>
>>
>> Thanks
>>
>>
>>
>> A
>>
>>
>>
>> *From:* Quickfixn <quickfixn-bounces at lists.quickfixn.com> *On Behalf Of *Grant
>> Birchmeier
>> *Sent:* 09 February 2021 17:12
>> *To:* Mailing list for QuickFIX/n <quickfixn at lists.quickfixn.com>
>> *Subject:* Re: {{Quickfixn}} Logging settings
>>
>>
>>
>> You're creating one Initiator for each session, right?
>>
>>
>>
>> In the data-feed Initiator, change the FileLogFactory to a
>> NullLogFactory.  (This factory will ignore the FileLogPath config setting.)
>>
>>
>> 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.
>>
>> _______________________________________________
>> 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
>>
>>
>> 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.
>> _______________________________________________
>> 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
>
> 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.
> _______________________________________________
> Quickfixn mailing list
> Quickfixn at lists.quickfixn.com
> http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20210209/2563586c/attachment-0001.html>


More information about the Quickfixn mailing list