This feature keeps orders "hanging" (or not cancelled and remaining on the order book) if a matching order has been filled on the other side of the order book.
How It Works¶
Typically, orders are placed as pairs in single order mode (1 buy and 1 sell order). The parameter
enable_order_filled_stop_cancellation allows Hummingbot to leave the order on the other side hanging (not cancelled) whenever one side is filled.
The hanging order will be cancelled in the following conditions:
- The spread goes above the specified
Let's see how this configuration works in the scenario below:
1 2 3
When the buy order
...1497 was completely filled, it will not cancel the sell order
...1840. After 60 seconds, Hummingbot will create a new set of buy and sell orders. The
status output will show all active orders while indicating which orders are hanging.
The hanging order will stay outstanding and will be cancelled if its spread goes above 2% as specified in our
||When value is set to
||Cancels the hanging orders when their spread goes above this value.||