Most recent cancelled sell order

Posted By: hanw

Most recent cancelled sell order - 07/27/21 08:56

Hi,

Suppose I have an open buy order, and then issued a sell order, and then issued a cancel order on the sell order. At a later time, is there a way to find out when the most recent cancel order was issued?

For example, can I loop through all cancelled order in reverse and retrieve the timestamp of the first cancelled order?

Thanks
Posted By: jcl

Re: Most recent cancelled sell order - 07/28/21 10:58

If you have an open buy order and then send a sell order, both normally cancel each other and your subsequent cancelation has no effect. But that depends also on the asset and brokerage. There is no loop for orders, only for trades.
© 2024 lite-C Forums