bourse.core.OrderBook.cancel_order(order_id: int)

Cancel order

Attempt to cancel the order with the given id

Notes

Cancelling an order that is already filled/cancelled/rejected will result in no change to the market.

Parameters:
order_id: int

Id of the order to cancel