Modify existing orders with Callback Function when Requesting Market Data using ib_insync and Interactive Brokers
I am trying to place a limit order for each of three stocks at their current best bid and update order prices if their corresponding best bid changes and the order is not fully filled yet. 10 min before market closes if the order is still not fully filled, I will cancel them and place a market at close order with ib_insync. I got stuck in the first part.