Cancelling algo order does not seem possible. cancel_algo_order() does not list any parameters and is also not documented for Python here: https://my.okx.com/docs-v5/en/#order-book-trading-algo-trading-post-cancel-algo-order