<div dir="auto"><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr"><br></div><div dir="ltr">Hi everybody,<div>I sent a email last week about send order with legs with fix 4.2. I was investigating about it, there is a property MultiLegReportingType at documentation fix 4.2, the code is 442 and it indicates the type of instrument the Execution Report
refers to. Used with multi-leg securities such as, Options
Strategies, Spreads, etc.</div><div><br></div><div>Using this property at quickfix 4.2 I can' t set to the NewOrderSingle because the attribute MultiLegReportingTye isn't at NewOrderSingle class but it's present at QuickFix.Fields.</div><div><br></div><div>For example:</div><div>QuickFix.FIX42.NewOrderSingle orden = new QuickFix.FIX42.NewOrderSingle(<br> new QuickFix.Fields.ClOrdID("1"),<br> new QuickFix.Fields.HandlInst(1),<br> new QuickFix.Fields.Symbol("AAL"),<br> new QuickFix.Fields.Side(QuickFix.Fields.Side.BUY),<br> new QuickFix.Fields.TransactTime(DateTime.Now),<br> new QuickFix.Fields.OrdType(QuickFix.Fields.OrdType.MARKET)<br> );<br> <font color="#f44336">orden.Set(new QuickFix.Fields.MultiLegReportingType('3'));</font></div><div dir="auto"><br></div><div dir="auto">The error is <font color="#f44336">here</font>: </div><div dir="auto">CS1503: argument 1 can't convert from QuickFix.Fields.MultiLegReportingType to QuickFix.Fields.ClOrdID</div><div><div><br></div><div>I don't know how solve it, if anyone have any idea about the solution please answer me. I will continue investigating about it.</div><div><br></div><div>Thanks for all.</div><div>Best regards.</div><div><br></div><div><br></div>-- <br><div dir="ltr" data-smartmail="gmail_signature"><div dir="ltr">::Miguel Angel Torres Pado::</div></div></div></div>
</div></div>