Re: [Quickfix-developers] Sequece of events
Brought to you by:
orenmnero
From: Oren M. <or...@qu...> - 2004-05-26 15:49:28
|
Clark, I would recommend posting this message to the general discussion forum=20= at www.fixprotocol.org. That is the best place for help with general=20 FIX questions like this. You will probably get a better response over=20= there: http://www.fixprotocol.org/cgi-bin/Menu.cgi?menu=3D700 --oren On May 22, 2004, at 3:59 PM, Clark Sims wrote: > I am a newbie to fix programming. I want to make sure > I understand the sequence of events for placeing a new > order, doing a cancel replace, and doing a straight > cancel. I also have some questions about various > fields within the fix messages. > > For a new single order I think this is the sequence of > events: > > 1) Fix client sends a NewOrderSingle message to the > the Fix server. > Question 1) How should I set HandlInst? > For orders to Arca, Isnd, and other ECN's I > guess it should be > 1, for > HandlInst_AUTOMATED_EXECUTION_ORDER_PRIVATE_NO_BROKER_INTERVENTION > For orders that go to Dot how should this be > specified? Reading the names > I would guess > 2, would correcspend to AutoEx, or > HandlInst_AUTOMATED_EXECUTION_ORDER_PUBLIC_BROKER_INTERVENTION_OK > and > 3, HandlInst_MANUAL_ORDER_BEST_EXECUTION would > be a normal dot order. > Are these values correct? > > > 2) One of two things happens: > a) The Fix server sends an ExecutionReport to the > client with > OrdStatus =3D 0 =3D OrdStatus_NEW > b) The Fix server sends an ExecutionReport to the > client with > OrdStatus =3D Rejected > Question 2) Where is the reason for the rejection? > > For a cancel replace order I think this sequence of > events happens: > 1) the Fix Client sends a OrderCancelReplaceRequest > to the Fix server. > Question 3) Do I need to set the quantity for a > cancel replace order? > If so what quantity should I use, the original > quantity, > or the remaining unfilled quantity? > > 2) The fix server sends an execution messages with > OrdStatus =3D 1 =3D Pending, > or the fix server sends a OrderCancelReject > message. > Question 3) If the fix server sends an > OrderCancelReject message, where > is the reason stated? > > 3) The fix server sends an execution message with > OrdStatus =3D 9 =3D Replaced > > For a cancel order, I think the following events > happen: > 1) the Fix Client sends a OrderCancelRequest to the > Fix server. > Question 4) Do I need to set the quantity for a > cancel order? > If so what quantity should I use, the original > quantity, > or the remaining unfilled quantity? > > > 2) The fix server sends an execution message with > OrdStatus =3D 1 =3D Pending, > or the fix server sends a OrderCancelReject > message. > Question 5) If the fix server sends an > OrderCancelReject message, where > is the reason stated? > > 3) The fix server sends an execution message with > OrdStatus =3D 7 =3D Canceled > > > Thanks in Advance, > > Clark Sims > > > =09 > =09 > __________________________________ > Do you Yahoo!? > Yahoo! Domains =96 Claim yours for only $14.70/year > http://smallbusiness.promotions.yahoo.com/offer > > > ------------------------------------------------------- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the market... Oracle=20 > 10g. > Take an Oracle 10g class now, and we'll give you the exam FREE. > http://ads.osdn.com/?ad_id=3D3149&alloc_id=3D8166&op=3Dclick > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > |