Imported from previous forum
i’ve just started looking at the FIX protocol (4.2) and these ID:s get me all mixed up… 
could anyone explain to me these ID:s, preferably with an example.
is the OrderID really necessary in Execution Reports (for orders and trades)?
the ClOrdID is from the exchange, right?
Also, where could i find some examples of what the New Order, Change Order + Execution Reports messages could look like? i’m developing an API for FIX 4.2 and have gotten stuck. or maybe i shold read more… 
thanks for your help!
-ron
[ original email was from Himanshu Sharma - himanshu_sharma@rsco.com ]
> i’ve just started looking at the FIX protocol (4.2) and these ID:s get me all mixed up… 
> could anyone explain to me these ID:s, preferably with an example.
> is the OrderID really necessary in Execution Reports (for orders and trades)?
> the ClOrdID is from the exchange, right?
> Also, where could i find some examples of what the New Order, Change Order + Execution Reports messages could look like? i’m developing an API for FIX 4.2 and have gotten stuck. or maybe i shold read more… 
> thanks for your help!
> -ron
>
ClOrdID: Its sent by the creator of the Order (say Client or Buy-side). And its sent only for orders sent electronically (i.e. not for Orders requested by Buy-side via phone).
OrderID: Its a ID of the Order when Sell-side creates an Order for a request from a Client (buy-side).
ExecID: When sell-side sends ExecRpt for an Order, each ExecRpt has a uniqueue ExecID. Remember that all ExecRpt which belong to a single Order will have same OrderID (and ClOrdID if the buy-side sent it electronically).
Example messages: though things can be understood from Transition diagrams, but sometimes its difficult to understand them :). I think this site should display some real life messages corresponding to each transition diagram (to avoid ambiguity too).
Here’s a sample:
Jul 26, 2001 2:10:00 PM: Pump: Received data on id TIM [8=FIX.4.0^A9=0096^A35=D^A49=TIM^A56=TIN^A34=12^A52=20010726-21:20:00^A11=PPU1^A21=3^A55=AOL^A54=1^A38=5500^A40=1^A59=0^A 13=1^A 10=015^A]
Jul 26, 2001 2:10:00 PM: CommStuff: Sending data on TIM: [8=FIX.4.0^A9=0200^A35=8^A49=TIN^A56
=TIM^A34=8^A52=20010726-21:10:00^A 37=466313^A 11=PPU1^A17=77023^A20=0^A39=0^A55=AOL^A54=1^A38=5
500^A40=1^A15=USD^A18=1^A32=0^A31=0.0^A30=N^A 29=1^A14=0^A 6=0.0^A75=20010727^A60=20010727-16:34:38^A 12=0.06^A13=1^A10=008^A]
Jul 26, 2001 2:10:00 PM: CoppeliaTibcoRVSrv: publishing sent ack on Coppelia.FIXIN.ACK.TIM.
8
Jul 26, 2001 2:10:00 PM: CommStuff: Sending data on TIM: [8=FIX.4.0^A9=0208^A35=8^A49=TIN^A56
=TIM^A34=9^A52=20010726-21:10:00^A37=466313^A 11=PPU1^A17=77024^A 20=0^A39=1^A55=AOL^A54=1^A38=5
500^A 40=1^A15=USD^A18=1^A32=1000^A 31=30.5^A30=N^A29=1^A 14=1000^A6=30.5^A 75=20010727^A60=20010727-16:34:46^A 12=0.06^A13=1^A10=164^A]
More ExeRpts till the Order is filled…
ClOrdID: Order identifier specified by the "customer" (e.g. buyside firm such as Investment Manager)
OrderID: Order identifier supplied by the "supplier" (e.g. sellside firm such as Broker/Dealer)
ExecID: Unique identifier for an Execution Report message (e.g. you can have multiple Execution Reports all related to the same ClOrdID/OrderID.
SecondaryOrderID: Order identifier from the “supplier’s” secondary source (e.g. exchange’s order identifier) which can optionally be used.
Please refer to the Field Definitions section for the definition of each field. There is a 4 part set of presentations from Feb 2001 under "More Information", "Presentations" which you may find useful.
> i’ve just started looking at the FIX protocol (4.2) and these ID:s get me all mixed up… 
> could anyone explain to me these ID:s, preferably with an example.
> is the OrderID really necessary in Execution Reports (for orders and trades)?
> the ClOrdID is from the exchange, right?
> Also, where could i find some examples of what the New Order, Change Order + Execution Reports messages could look like? i’m developing an API for FIX 4.2 and have gotten stuck. or maybe i shold read more… 
> thanks for your help!
> -ron
>