Thread: Re: [Quickfix-developers] QuickFix Session not found for incoming message
Brought to you by:
orenmnero
From: Shane T. <str...@co...> - 2008-07-30 17:34:35
|
Greg, Can you paste the code where the error is occurring? On Wed, Jul 30, 2008 at 12:32 PM, Greg Czechowicz < gre...@da...> wrote: > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > > I am just trying to learn fix and just build a simple app that connect > and I keep getting this session not found for incoming message. I see an > accepted connection, but I get this session not found message. Does anyone > have any idea what I am doing wrong? I am stuck now L > > > > Greg > > > > Greg Czechowicz > Data Symmetry LLC > 908.264.5250 (Ph) > 973.953.5944 (Cell) > 908.264.5221 (Fx) > > gre...@da... <dav...@da...> > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > -- Shane Trotter Connamara Systems, LLC |
From: Greg C. <gre...@da...> - 2008-07-30 19:48:58
|
I fixed my problem. I had the target and sending computers reversed in the settings file. From: Greg Czechowicz [mailto:gre...@da...] Sent: Wednesday, July 30, 2008 1:39 PM To: 'Shane Trotter' Cc: 'qui...@li...' Subject: RE: [Quickfix-developers] QuickFix Session not found for incoming message This is the code that gets spit out to my console in the sample executor app that comes with quickfix.. <20080730-17:36:37, GLOBAL, event> (Accepted connection from 192.168.3.76 on port 6523) <20080730-17:36:38, GLOBAL, event> (Session not found for incoming message: 8=FIX.4.2☺9=73☺35=A☺34=1☺49=INIT☺52=2 0080730-17:37:46.171☺56=EXECUTOR☺98=0☺108=30☺141=Y☺10=215☺) <20080730-17:36:38, GLOBAL, incoming> (8=FIX.4.2☺9=73☺35=A☺34=1☺49=INIT☺52=20080730-17:37:46.171☺56=EXECUTOR☺98=0☺10 8=30☺141=Y☺10=215☺) From: Shane Trotter [mailto:str...@co...] Sent: Wednesday, July 30, 2008 1:35 PM To: Greg Czechowicz Cc: qui...@li... Subject: Re: [Quickfix-developers] QuickFix Session not found for incoming message Greg, Can you paste the code where the error is occurring? On Wed, Jul 30, 2008 at 12:32 PM, Greg Czechowicz <gre...@da...> wrote: QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html QuickFIX Support: http://www.quickfixengine.org/services.html I am just trying to learn fix and just build a simple app that connect and I keep getting this session not found for incoming message. I see an accepted connection, but I get this session not found message. Does anyone have any idea what I am doing wrong? I am stuck now L Greg Greg Czechowicz Data Symmetry LLC 908.264.5250 (Ph) 973.953.5944 (Cell) 908.264.5221 (Fx) gre...@da... <mailto:dav...@da...> ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100 <http://moblin-contest.org/redirect.php?banner_id=100&url=/> &url=/ _______________________________________________ Quickfix-developers mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfix-developers -- Shane Trotter Connamara Systems, LLC |
From: Greg C. <gre...@da...> - 2008-07-31 14:19:42
|
So I have my executor and initiator communicating, that is working fine. Now I would like to send a trade through. Does anyone have an example in c# where I can send a neworder request, and the executor processes it and passes back a msg to the initiator. This is where I am lost, there are no examples like this that I can find on the web. If anyone could help me out that would be great. |
From: Greg C. <gre...@da...> - 2008-07-31 15:01:10
|
I found the example for the executor in c#, I see the area where a new trade gets put and it sends back the execution report back to the initiator, now my question is how do I setup the initiator to receive this msg. An example of the function that would accept this execution report would be great J Thanks From: Greg Czechowicz [mailto:gre...@da...] Sent: Thursday, July 31, 2008 10:18 AM To: 'Greg Czechowicz' Cc: 'qui...@li...' Subject: Question on Quickfix new trade So I have my executor and initiator communicating, that is working fine. Now I would like to send a trade through. Does anyone have an example in c# where I can send a neworder request, and the executor processes it and passes back a msg to the initiator. This is where I am lost, there are no examples like this that I can find on the web. If anyone could help me out that would be great. |
From: Greg C. <gre...@da...> - 2008-07-30 17:40:31
|
This is the code that gets spit out to my console in the sample executor app that comes with quickfix.. <20080730-17:36:37, GLOBAL, event> (Accepted connection from 192.168.3.76 on port 6523) <20080730-17:36:38, GLOBAL, event> (Session not found for incoming message: 8=FIX.4.2☺9=73☺35=A☺34=1☺49=INIT☺52=2 0080730-17:37:46.171☺56=EXECUTOR☺98=0☺108=30☺141=Y☺10=215☺) <20080730-17:36:38, GLOBAL, incoming> (8=FIX.4.2☺9=73☺35=A☺34=1☺49=INIT☺52=20080730-17:37:46.171☺56=EXECUTOR☺98=0☺10 8=30☺141=Y☺10=215☺) From: Shane Trotter [mailto:str...@co...] Sent: Wednesday, July 30, 2008 1:35 PM To: Greg Czechowicz Cc: qui...@li... Subject: Re: [Quickfix-developers] QuickFix Session not found for incoming message Greg, Can you paste the code where the error is occurring? On Wed, Jul 30, 2008 at 12:32 PM, Greg Czechowicz <gre...@da...> wrote: QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html QuickFIX Support: http://www.quickfixengine.org/services.html I am just trying to learn fix and just build a simple app that connect and I keep getting this session not found for incoming message. I see an accepted connection, but I get this session not found message. Does anyone have any idea what I am doing wrong? I am stuck now L Greg Greg Czechowicz Data Symmetry LLC 908.264.5250 (Ph) 973.953.5944 (Cell) 908.264.5221 (Fx) gre...@da... <mailto:dav...@da...> ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100 <http://moblin-contest.org/redirect.php?banner_id=100&url=/> &url=/ _______________________________________________ Quickfix-developers mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfix-developers -- Shane Trotter Connamara Systems, LLC |
From: Mike G. <mg...@co...> - 2008-07-31 15:04:15
|
Please see: http://www.quickfixengine.org/quickfix/doc/html/sending_messages.html and: http://www.quickfixengine.org/quickfix/doc/html/receiving_messages.html It goes something like this: // send a new order single msg QuickFix42.NewOrderSingle msg = new QuickFix42.NewOrderSingle( new ClOrdID("ORDER1234"), new HandlInst(QuickFix.HandlInst.AUTOMATED_EXECUTION_ORDER_PRIVATE ), new Symbol(args.Symbol), new Side(QuickFix.Side.BUY), new TransactTime(), new OrdType(QuickFix.OrdType.LIMIT)); msg.set(new OrderQty(100)); msg.set(new Account("ACCT1")); msg.set(new Price(1234.56)); Session.sentToTarget(msg, "YourSenderCompID", "EXECUTOR"); // The executor will send you an ExecutionReport message back. // Handle it here. public override void onMessage(QuickFix42.ExecutionReport msg, QuickFix.SessionID sessionID) { } -- Mike Gatny Connamara Systems, LLC http://www.connamara.com/ |