Skip to content

Commit

Permalink
Ignoregile update, print executed bot
Browse files Browse the repository at this point in the history
  • Loading branch information
xeroc committed Jan 23, 2016
1 parent f438842 commit 7bc8541
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,6 @@ docs/_build/
target/

*config.py

*.swp

data_*.json
1 change: 1 addition & 0 deletions scripts/exchange-bots/bot/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def cancel_all(self):

def execute(self):
for name in self.bots:
print("Executing bot %s" % name)
self.bots[name].loadMarket()
self.bots[name].tick()
self.bots[name].store()
6 changes: 6 additions & 0 deletions scripts/exchange-bots/cancel_all.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from bot import Bot
import config

if __name__ == '__main__':
bot = Bot(config)
bot.cancel_all()
1 change: 0 additions & 1 deletion scripts/exchange-bots/data_MakerRamp.json

This file was deleted.

1 change: 0 additions & 1 deletion scripts/exchange-bots/data_MakerRamp2.json

This file was deleted.

0 comments on commit 7bc8541

Please sign in to comment.