That should be doable.? I don't have code for that, but if you already have the code to place the order, wrap that in a loop that until filled place order plus .01, wait whatever time you want between orders, cancel order and back to top of loop.
Now you will need to watch (and wait) for callbacks to assure that the order was placed and that the cancel order was placed.?
Another option might be to place modify orders in the loop.? I've never used them so not sure if there are issues with that, but others may chi.e i? with advice on that.
Cheers,
Mel
toggle quoted message
Show quoted text
-------- Original message --------
From: "28coins via groups.io" <28coins@...>
Date: 2025-02-10 8:26 a.m. (GMT-08:00)
Subject: Re: [ib-async] Automatic bid or ask price change until funded
. I found the IB algo etc, but this seems to peg the order to the midpoint and changes the price based on market price changes. Within the api I'd like to give my order a start price and have the algo add say 0.1$ per second until the buy is filled. So regardless of market price changes in that one second.