unable to send execution report

Imported from previous forum

Hi All,

I am trying to send an ExecutionReportMessage to accept a New Order. i have valid values in all the required fields. i am still unable to send the message

i have
ExecTransType = "0"
ExecType ="0"
OrdStatus = "2"

i will appreciate any examples/suggestions for sending execution messages

thanks
namrata

[ original email was from Himanshu Sharma - himanshu_sharma@rsco.com ]
If I m recollecting correctly, U r using Appia.
If your appication sends any msg to Appia, the first field should be "ClientMsgID" having some value (might not be unique). Also make sure of the order of the field (first header then msg fields then footer), or set the ordering flag off. Keep an eye on exception in appia log.
HTH

> Hi All,
>
> I am trying to send an ExecutionReportMessage to accept a New Order. i have valid values in all the required fields. i am still unable to send the message
>
> i have
> ExecTransType = "0"
> ExecType ="0"
> OrdStatus = "2"
>
> i will appreciate any examples/suggestions for sending execution messages
>
> thanks
> namrata
>

Hi Himanshu,

yes, i am using Appia 1.1 i have a value set for the clientMsgID field. this is the list of fields that i am filling for the ExecutionReport message

myExecution = new ExecutionReport();
myExecution.header.TargetCompID = "ABC";
myExecution.header.SenderCompID = "EFG";
myExecution.header.MsgType = "8";
myExecution.header.SenderSubID = "JOE";
myExecution.header.TargetSubID = "";
myExecution.clientMsgID = "KK144711";
myExecution.Symbol = "ABN.N";
myExecution.Side = "1";
myExecution.ExecType = "0";
myExecution.ExecID = "123";
myExecution.ExecTransType = "0";
myExecution.OrdStatus = "New";
myExecution.OrderQty = 22;
myExecution.LastShares = 0;
myExecution.LastPx = 0;
myExecution.LeavesQty = 22;
myExecution.CumQty = 0;
myExecution.AvgPx = 22;
myExecution.ClOrdID = clientOrderID;

should i be using the value "New" or "2" for the OrdStatus field.

i do not see the execution message reported in the log file either.
do u have any insights
thanks
Namrata
> If I m recollecting correctly, U r using Appia.
> If your appication sends any msg to Appia, the first field should be "ClientMsgID" having some value (might not be unique). Also make sure of the order of the field (first header then msg fields then footer), or set the ordering flag off. Keep an eye on exception in appia log.
> HTH
>
> > Hi All,
> >
> > I am trying to send an ExecutionReportMessage to accept a New Order. i have valid values in all the required fields. i am still unable to send the message
> >
> > i have
> > ExecTransType = "0"
> > ExecType ="0"
> > OrdStatus = "2"
> >
> > i will appreciate any examples/suggestions for sending execution messages
> >
> > thanks
> > namrata
> >
>

[ original email was from Ross Hutcheon - ross.hutcheon@ubsw.com ]
OrdStatus should be = 0 for a NEW order.

> Hi All,
>
> I am trying to send an ExecutionReportMessage to accept a New Order. i have valid values in all the required fields. i am still unable to send the message
>
> i have
> ExecTransType = "0"
> ExecType ="0"
> OrdStatus = "2"
>
> i will appreciate any examples/suggestions for sending execution messages
>
> thanks
> namrata
>