DEXBot King Of The Hill Strategy

in #dexbot5 years ago

https://github.com/Codaone/DEXBot/wiki/The-King-Of-The-Hill-Strategy

24.0 The King Of The Hill Strategy, "KOTH"

King-of-The-Hill

24.1 This strategy tries to be "King of the Hill" and always have the highest bid and/or the lowest ask. KOTH can be used with buy orders only, sell orders only or with both buy+sell orders according to user configuration.

24.2 This strategy requires the DEXBot worker to be always running. The order book on the user-selected market will always be updating with the best bids and asks always changing. KOTH needs to be running in order to beat those other orders.

24.3 Worker Parameters

24.3.1 KOTH Modes: "Buy and Sell", "Buy Only", "Sell Only"

24.3.2 Lower bound: The lowest price that the worker should place sell orders. This DEXBot worker will not place sell orders below this price.

24.3.3 Upper bound: The highest price that the worker should place buy orders. DEXBot will not place buy orders above this price.

24.3.4 Amount (BASE): Fixed order size for buy orders, unless "Relative Order Size" option is ticked.

24.3.5 Amount (QUOTE): Fixed order size for sell orders, unless "Relative Order Size option is ticked.

24.3.6 Relative Order Size Tickbox: If ticked the user will be able to determine the order sizes for buy and sell as a % of the funds available in the worker account.

24.3.7 Ignore Smaller Buy Orders: Enter the maximum buy order size that the user wants the worker to ignore. If no threshold is set, the workers own buy order sizes will be used as threshold and any other buy orders smaller than the workers own buy orders will be ignored.

24.3.8 Ignore smaller sell orders: Enter the maximum sell order size that the user wants the worker to ignore. If no threshold is set, the workers own sell order sizes will be used as the threshold and any other sell orders smaller than the workers own sell orders will be ignored.

24.3.9 Minimum Order Lifetime: The minimum number of seconds before the worker can cancel and re-place orders.

24.4 When to use King Of The Hill

24.4.1 KOTH is for all markets, and simply places orders such that they are always the first in the orderbook queue. KOTH is for users who want to buy or sell an asset fairly quickly but don't want to pay the extra cost of the spread.

24.4.2 KOTH has 3 modes; buy only, sell only and buy&sell. Buy&Sell mode can be used to perform very similarly to a Relative Orders Strategy with a spread that is always slightly lower than the next-best competitor.