Re: [Quickfix-developers] unable to re-establish session after deleting the store files
Brought to you by:
orenmnero
From: VP M. IT A. E. T. <ass...@gm...> - 2009-10-10 19:22:45
|
The counterparty rejected the subsequent login requests with sequence number too low. Is there a way to specify the starting sequence number rather than 1. regards On Fri, Oct 9, 2009 at 10:07 AM, Grant Birchmeier <gbi...@co... > wrote: > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > Your approach is quite off track. Have you looked at the example programs? > http://quickfixengine.org/quickfix/doc/html/examples.html > > Also, there are instructions for how to create messages here. You can > see how this is quite different than your approach. > http://quickfixengine.org/quickfix/doc/html/sending_messages.html > > Note that you should NOT be creating a Logon message this way, as > QuickFIX does a lot of this automatically. At most, you might insert > username and password fields, but not much else. > > Please see the example programs that are included in the QF download. > They will help you greatly. > > -Grant > > > On Fri, Oct 9, 2009 at 1:48 AM, ch...@gm... <ch...@gm...> > wrote: > > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > > QuickFIX Support: http://www.quickfixengine.org/services.html > > > > > > Hi i want to send LOGON message to FIX. > > here is my logon method. > > > > > > void Application::fxlogin() > > { > > FIX::Message message; > > > > message.getHeader().setField(35, "A"); > > message.getHeader().setField(96, "12345678"); > > message.getHeader().setField(108,"10"); > > FIX::Session::sendToTarget(message); > > > > > > } > > Config file setting are as follows.. > > > > [DEFAULT] > > ConnectionType=initiator > > ReconnectInterval=20 > > StartTime=12:00:00 > > EndTime=23:00:00 > > SenderCompID=TW > > SenderSubID=user1 > > HeartBtInt=10 > > SocketConnectPort=443 > > SocketConnectHost=ssl://84.219.221.89 > > FileLogPath=c:\qfixlogs\ > > FileStorePath=c:\qfixstore\ > > > > # session definition > > [SESSION] > > # inherit ConnectionType, ReconnectInterval and SenderCompID from default > > BeginString=FIX.4.4 > > TargetCompID=ISLD > > TargetSubID=qftrade > > HeartBtInt=10 > > FileLogPath=c:\qfixlogs\ > > FileStorePath=c:\qfixstore\ > > DataDictionary=C:\quickfix-1.12.4\quickfix\spec\FIX44.xml > > > > Can any one help me how we can send it? > > or If you can send your code with me for logon message so that i can > figure > > it out. > > thanks. > > Asad. > > -- > > View this message in context: > http://www.nabble.com/unable-to-send-LOGON-message-to-FIX-tp25816265p25816265.html > > Sent from the QuickFIX - Dev mailing list archive at Nabble.com. > > > > > > > ------------------------------------------------------------------------------ > > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > > is the only developer event you need to attend this year. Jumpstart your > > developing skills, take BlackBerry mobile applications to market and stay > > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > > http://p.sf.net/sfu/devconference > > _______________________________________________ > > Quickfix-developers mailing list > > Qui...@li... > > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > > > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > |