lib/wash_trade.rb in SimBot-0.1.7 vs lib/wash_trade.rb in SimBot-0.1.8

- old
+ new

@@ -18,11 +18,11 @@ end def start count = 0 loop do - vol = rand(0.2...2) - price = Utils.get_bchbtc_price + vol = rand(0.2...3) + price = Utils.quote(@market) @api.post_order(@market, price, vol, 'sell') delay = (1.00 / @freq) sleep(delay) @api.post_order(@market, price, vol, 'buy') puts "order ##{count} placed" \ No newline at end of file