lib/wash_trade.rb in SimBot-0.1.10 vs lib/wash_trade.rb in SimBot-0.1.11
- old
+ new
@@ -35,14 +35,14 @@
end
def move_price
range = 1.015
if @g_count > 100
- range = rand(1.005...1.010)
+ range = rand(1.003...1.010)
@g_count = 0
end
@g_count += 1
- Utils.quote(@market) * rand(1.003...range)
+ Utils.quote(@market) * rand(1.002...range)
end
# Attempts to write the pid of the forked process to the pid file.
def write_pid_file(pid, pidfile)
File.open pidfile, "w" do |f|
\ No newline at end of file