aboutsummaryrefslogtreecommitdiff
path: root/market.py
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2018-05-01 17:35:55 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2018-05-01 17:35:55 +0200
commit9eb0de20f243bb78de0bf9118289f01f1ea1f77c (patch)
tree762d3a59d666bf6e1d4d1ea5901c31ab06f7e88e /market.py
parent6cffa4af8b5a04b17ffd95738b8e843c4605d4e7 (diff)
parent2b1ee8f4d54fa1672510141a71a5817120ac031c (diff)
downloadTrader-9eb0de20f243bb78de0bf9118289f01f1ea1f77c.tar.gz
Trader-9eb0de20f243bb78de0bf9118289f01f1ea1f77c.tar.zst
Trader-9eb0de20f243bb78de0bf9118289f01f1ea1f77c.zip
Merge branch 'dev'v1.5
Diffstat (limited to 'market.py')
-rw-r--r--market.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/market.py b/market.py
index eff670c..fc6f9f6 100644
--- a/market.py
+++ b/market.py
@@ -391,14 +391,14 @@ class Processor:
391 process_name = "process_{}__{}_{}".format(scenario_name, step["number"], step["name"]) 391 process_name = "process_{}__{}_{}".format(scenario_name, step["number"], step["name"])
392 self.market.report.log_stage("{}_begin".format(process_name)) 392 self.market.report.log_stage("{}_begin".format(process_name))
393 if "begin" in step.get("fetch_balances", []): 393 if "begin" in step.get("fetch_balances", []):
394 self.market.balances.fetch_balances(tag="{}_begin".format(process_name)) 394 self.market.balances.fetch_balances(tag="{}_begin".format(process_name), log_tickers=True)
395 395
396 for action in self.ordered_actions: 396 for action in self.ordered_actions:
397 if action in step: 397 if action in step:
398 self.run_action(action, step[action], kwargs) 398 self.run_action(action, step[action], kwargs)
399 399
400 if "end" in step.get("fetch_balances", []): 400 if "end" in step.get("fetch_balances", []):
401 self.market.balances.fetch_balances(tag="{}_end".format(process_name)) 401 self.market.balances.fetch_balances(tag="{}_end".format(process_name), log_tickers=True)
402 self.market.report.log_stage("{}_end".format(process_name)) 402 self.market.report.log_stage("{}_end".format(process_name))
403 403
404 def method_arguments(self, action): 404 def method_arguments(self, action):