<div><font color="#000000"><font>It's dependent on your counterparty's behavior, but I'm guessing that this rejection means that your order was never accepted.  Thus there's nothing to cancel as far as your counterparty's concerned.<br>

</font></font></div><div><font color="#000000"><font><br></font></font></div><div><font color="#000000"><font>If you have a UI, then you'll want to mark the order accordingly for your user to see.<br></font></font></div>

<div><font color="#000000"><font><br></font></font></div><div><font color="#000000"><font><br></font></font></div><div><font color="#000000"><font><br></font></font></div><div><font color="#000000"><font><br></font></font></div>

<br><div class="gmail_quote">On Wed, Aug 29, 2012 at 1:13 PM, Stan Chien <span dir="ltr"><<a href="mailto:stanchien@gmail.com" target="_blank">stanchien@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

I am trying to resolve when I receive an execution message with insufficient margin in the message with a reject ordstatus and exectype.  Would the best way to handle these be to cancel the corresponding order? <div><br>
</div>


<div>Thanks,</div><div>Stan</div>
<br>_______________________________________________<br>
Quickfixn mailing list<br>
<a href="mailto:Quickfixn@lists.quickfixn.com">Quickfixn@lists.quickfixn.com</a><br>
<a href="http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com" target="_blank">http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div><font><span style="background-color:#000000"><span style="background-color:#ffffff">Grant Birchmeier</span></span></font><font><font color="#3333ff"><br></font></font></div>

<div><font><b><font color="#3333ff"><span style="background-color:#ffcc33"><span style="background-color:#ffcc66"><span style="background-color:#ffcc99"><span style="background-color:#ffffff"><span style="background-color:#ffcc00">Connamara Systems, LLC</span></span></span></span></span></font></b></font><br>

</div><div><font><b>Made-To-Measure Trading Solutions.</b></font></div><div><font>Exactly what you need. No more. No less.</font><font><b><font color="#3333ff"><br></font></b></font></div><div><font><a href="http://connamara.com" target="_blank">http://connamara.com</a><br>

</font></div><br>