l>
<li>a cancel order exists without counterpart,</li>
<li>a order for which there exists at least one counterpart with exactly the same quantity.
NOTE: time complexity is O(n).</li>
</ol>

</div>

</div>

</div>
</div>

</div>
    

    
    
<div class="cell border-box-sizing code_cell rendered">

</div>
    

    
    
<div class="cell border-box-sizing code_cell rendered">

<div class="output_wrapper">
<div class="output">

<div class="output_area">


<div class="output_markdown rendered_html output_sub