Re: [Quickfix-developers] (no subject)
Brought to you by:
orenmnero
From: Dale W. <wil...@oc...> - 2005-12-15 15:00:40
|
Hi Ambareen, There should be an "IN:" line after the "OUT:" line you are seeing. It=20 is displayed when the message arrives from the executor. The executor=20 should send a message when it accepts your order. Since you don't see this line, there is a problem. Probably your best bet to disagnose the problem is to look in the=20 quickfix/bin/logs directory. There you will see a record of all the FIX messages sent from=20 tradeclient to executor in the file FIX.4.2-CLIENT1-TW.outgoing, and the=20 messages received from executor in FIX.4.2-CLIENT1-TW.incoming. =20 Interpreting these messages should tell you what's going on. Dale Ambareen Shahzadi wrote: > Sir, > > =20 > > I studied the Quick Fix Engine in detail, downloaded its source code=20 > and implemented it as per my requirements. > > I designed a FIX server which acts as an acceptor and a FIX client=20 > which acts as an initiator. > > =20 > > When I m using examples directory that contains =E2=80=9C*executor=E2=80= =9D* i.e.=20 > acting as an acceptor and *=E2=80=9CtradeClient*=E2=80=9D i.e. acting a= s an initiator. > > I m facing a problem in getting confirmation from an initiator=20 > (tradeClient.dsw) whether it is communicating with the acceptor=20 > (executor.dsw) or not. > > When I m executing acceptor , it gives a meassge : > > =20 > > *<20051214-04:39:19, FIX.4.2:SVR->CLIENT, event>* > > * (Created session)* > > =20 > > And when I m executing initiator, *it just ask for some options* about=20 > order and then displays a message : > > =20 > > 1) Enter Order > > 2) Cancel Order > > 3) Replace Order > > 4) Market data test > > 5) Quit > > Action: *1* > > =20 > > 1) FIX.4.0 > > 2) FIX.4.1 > > 3) FIX.4.2 > > 4) FIX.4.3 > > 5) FIX.4.4 > > BeginString: *3* > > =20 > > NewOrderSingle > > =20 > > 1) Market > > 2) Limit > > 3) Stop > > 4) Stop Limit > > OrdType: *1* > > =20 > > 1) Buy > > 2) Sell > > 3) Sell Short > > 4) Sell Short Exempt > > 5) Cross > > 6) Cross Short > > 7) Cross Short Exempt > > Side: *1* > > =20 > > Symbol: *PTC* > > =20 > > ClOrdID: *123* > > =20 > > OrderQty: *500* > > =20 > > 1) Day > > 2) IOC > > 3) OPG > > 4) GTC > > 5) GTX > > TimeInForce: *1* > > =20 > > SenderCompID: *CLIENT* > > =20 > > TargetCompID: *SVR* > > =20 > > Use a TargetSubID?: *N* > > =20 > > Send order?: *Y* > > =20 > > OUT:=20 > *8=3DFIX.4.2=E2=98=BA9=3D114=E2=98=BA35=3DD=E2=98=BA34=3D1=E2=98=BA49=3D= CLIENT=E2=98=BA52=3D20051214-05:54:34.000=E2=98=BA56=3DSVR=E2=98=BA11=3D1= 23=E2=98=BA* > > *21=3D1=E2=98=BA38=3D500=E2=98=BA40=3D1=E2=98=BA54=3D1=E2=98=BA55=3DPTC= =E2=98=BA59=3D0=E2=98=BA60=3D20051214-05:54:08=E2=98=BA10=3D040=E2=98=BA* > > =20 > > =20 > > My question is =E2=80=A6=E2=80=A6.how can I get the confirmation that t= he *order* is=20 > sent to *executor* and communicated with it,, As I didn=E2=80=99t recei= ved any=20 > message according to code for Login etc > > =20 > > void Application::onLogon( const FIX::SessionID& sessionID ) > > { = =20 > > > std::cout << std::endl << "Logon - " << sessionID << std::endl; > > } > > =20 > > =20 > > *With Regards*. > > =20 > --=20 ----------------------------------------------------- Dale Wilson, Senior Software Engineer Object Computing, Inc. (OCI) http://www.ociweb.com/ http://www.theaceorb.com/ ---------------------------------------------------- |