11-02-2018, 02:48 AM
Yes - it always uses limit orders that do not cross but stay on top of the book (until desired size is traded)!
Internally live trading is done using the "Gekko Broker" library and the "sticky order", there is some (not great) documentation about that here: https://gekko.wizb.it/docs/gekko-broker/...order.html
The reasoning behind it (as well as how trade execution in general works) is explained in this video: https://www.youtube.com/watch?v=r0yc1sonYvo (jump to the 13 minute mark).
As for a config, not yet. But there is a discussion now to allow gekko to take some orders using a limit order that crosses the book, see here: https://forum.gekko.wizb.it/thread-57699.html - the big thing here is the slippage risks associated with illiquid alt markets (on binance for example).
Internally live trading is done using the "Gekko Broker" library and the "sticky order", there is some (not great) documentation about that here: https://gekko.wizb.it/docs/gekko-broker/...order.html
The reasoning behind it (as well as how trade execution in general works) is explained in this video: https://www.youtube.com/watch?v=r0yc1sonYvo (jump to the 13 minute mark).
As for a config, not yet. But there is a discussion now to allow gekko to take some orders using a limit order that crosses the book, see here: https://forum.gekko.wizb.it/thread-57699.html - the big thing here is the slippage risks associated with illiquid alt markets (on binance for example).