{{Quickfixn}} FromApp not being called Onlogout
Grant Birchmeier
gbirchmeier at connamara.com
Mon Oct 21 10:37:34 PDT 2013
I believe Phillip's answer is the correct one.
Some kind of OnDisconnect callback feature has been suggested. I think
someone might even be looking into it. But we don't have it right now. I
think it would be a very good feature to have.
On Mon, Oct 21, 2013 at 12:16 PM, Phillip Wei
<pwei at bluemountaincapital.com>wrote:
> I don’t think QuickFix should call FromApp in this scenario. FromApp
> should only be called for incoming valid messages, and in this case, it’s
> not valid. ****
>
> ** **
>
> There’s definitely an argument to be made for giving clearer visibility
> into how the logout was triggered – but that would involve a change to the
> source code. I don’t see a way to capture the problem scenario you wish to
> capture with QuickFIX/n as it currently exists (i.e. if you just include it
> as a dll), but it wouldn’t be hard to extend the source code to do what you
> want. Download the source code, follow the instructions to build it, and
> include it in your project. Update DoTargetTooLow/High in Session.cs to do
> what additional handling you wish to do.****
>
> ** **
>
> Phil****
>
> ** **
>
> *From:* quickfixn-bounces at lists.quickfixn.com [mailto:
> quickfixn-bounces at lists.quickfixn.com] *On Behalf Of *Gaull, James
> *Sent:* Monday, October 21, 2013 12:48 PM
> *To:* quickfixn at lists.quickfixn.com
> *Subject:* {{Quickfixn}} FromApp not being called Onlogout****
>
> ** **
>
> Hello,****
>
>
> I’m pretty new to QuickFIX. I’m using version 1.4.0.0 of the QuickFIX.dll
> in a C# Winforms application. I want to test what my application will do
> if the message sequence number that I receive from the server doesn’t match
> the sequence number I’m expecting. After changing the NextTargetMsgSeqNum
> on my session, my application logs out and I see 2 messages related to this
> in the “.event.current.log”.****
>
> ** **
>
> 20131021-13:29:06.435 : Verify failed: MsgSeqNum too low, expecting 20
> but received 2****
>
> 20131021-13:29:06.437 : Session FIX.4.2:SenderId->TargetId disconnecting:
> Verify failed: MsgSeqNum too low, expecting 20 but received 2****
>
> ** **
>
> The problem that I’m having is that the FromApp function isn’t being
> called before OnLogout so I can’t capture the message about the sequence
> number mismatching. I want to send an e-mail to myself if this situation
> occurs.****
>
> ** **
>
> ** **
>
> Here’s my config:****
>
> ** **
>
> [DEFAULT]****
>
> ConnectionType=initiator****
>
> ReconnectInterval=2****
>
> FileStorePath=c:\FIX\store****
>
> FileLogPath= c:\FIX\log****
>
> StartTime=00:00:00****
>
> EndTime=00:00:00****
>
> UseDataDictionary=Y****
>
> DataDictionary= c:\FIX\dictionary\FIX42.xml****
>
> SocketConnectHost=127.0.0.1****
>
> SocketConnectPort=5000****
>
> ResetOnLogon=Y****
>
> SendResetSeqNum=Y****
>
> ** **
>
> # standard config elements****
>
> ** **
>
> [SESSION]****
>
> BeginString=FIX.4.2****
>
> SenderCompID=SenderId****
>
> TargetCompID=TargetId****
>
> HeartBtInt=30****
>
> ** **
>
> ** **
>
> Any help is appreciated. Thanks for your time!****
>
> ------------------------------
> This e-mail is intended only for the person or entity to which it is
> addressed and may contain confidential and/or privileged material. Any
> review, retransmission, dissemination or other use of, or taking of any
> action in reliance upon, the information in this e-mail by persons or
> entities other than the intended recipient is prohibited and may be
> unlawful. If you received this in error, please contact the sender and
> delete the material from any computer.
>
> This communication is for informational purposes only. It is not intended
> as and does not constitute an offer or solicitation for the purchase or
> sale of any financial instrument or as an official confirmation of any
> transaction. All market prices, data and other information are not
> warranted as to completeness or accuracy and are subject to change without
> notice. Any expected returns are provided for illustrative purposes only
> and are not intended to serve as, and must not be relied upon by any
> prospective investor as, a guaranty, an assurance, a prediction of a
> definitive statement of fact or a probability. Investment in funds managed
> by BlueMountain carries certain risks, including the risk of loss of
> principal. Unless indicated otherwise, performance results are presented
> net of fees and expenses. Certain market and economic events having an
> impact on performance may not repeat themselves. Any comments or statements
> made herein do not necessarily reflect those of BlueMountain Capital
> Management, LLC or its affiliates. PAST RESULTS ARE NOT NECESSARILY
> INDICATIVE OF FUTURE RESULTS AND NO REPRESENTATION IS MADE THAT RESULTS
> SIMILAR TO THOSE SHOWN CAN BE ACHIEVED.
>
> _______________________________________________
> 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/20131021/e43d4e04/attachment-0002.htm>
More information about the Quickfixn
mailing list