Codaone / DEXBot

Trading Bot for the BitShares Decentralized Exchange

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[KOTH] - creates and cancels orders, unnecessary

fractalnode opened this issue · comments

Expected Behavior

KOTH should not cancel and then create a new order until such condition are met

[ upper/lower_bound] && [ buy/sell_order_size_threshold ]

Actual Behavior

KOTH worker now creates and deletes new orders over and over again.
In a situation where only _*order_size_threshold condition is met.

But since condition : lower_bound / upper_bound, is not met
worker cancels the order and creates exactly the same orders again and again

Steps to Reproduce the Problem

create a worker with a parameter upper/lower_bound several percent away from the last price and with high buy_order_size_threshold

Specifications

  • Version: 1.0.0
  • OS: