Skip to content

Commit

Permalink
Also loadmarket on cancel_all()
Browse files Browse the repository at this point in the history
  • Loading branch information
xeroc committed Jan 25, 2016
1 parent e9448cb commit cdf88dc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/exchange-bots/bot/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ def wait_block(self):

def cancel_all(self):
for name in self.bots:
self.bots[name].loadMarket()
self.bots[name].cancel_all()
self.bots[name].store()

Expand Down

0 comments on commit cdf88dc

Please sign in to comment.