CANCELLABLE_ORDER_STATUSES

Constant CANCELLABLE_ORDER_STATUSES 

Source
pub const CANCELLABLE_ORDER_STATUSES: &[OrderStatus];
Expand description

Order statuses that are safe for cancellation queries.

These are statuses where an order is working on the venue but not already in the process of being cancelled. Including PENDING_CANCEL in cancellation filters can cause duplicate cancel attempts or incorrect open order counts.

Note: PENDING_UPDATE is included as orders being updated can typically still be cancelled (update and cancel are independent operations on most venues).