Strongly encourage limit orders to close #418
Labels
blocked
This issue or pull request cannot proceed
enhancement
New feature or request
help wanted
Good candidate for contributions
Arbitrader can get into a mode where it's waiting for one or more limit orders to fill, either to open or close a pair of positions. If you have bad luck it can be a very long time before the orders fill, if they ever do. Currently there is no way to escape from this mode unless the orders fill. It would be nice to have a graceful way to exit this situation.
I propose a new condition like
force-close
orexit-when-idle
namedadjust-limit-orders
. When you create this file, Arbitrader will look at the order(s) it's waiting on. It will adjust the price on the open order(s) to match whatever the current ticker is inTickerService
so that the orders will probably close. The command would be repeatable in case it didn't work the first time.Of course all profit estimations are thrown off by this but you wouldn't have to exit the program, manually kill the orders in the exchanges, erase the state file, and restart like you do now.
The text was updated successfully, but these errors were encountered: