aboutsummaryrefslogtreecommitdiff
path: root/market.py
diff options
context:
space:
mode:
Diffstat (limited to 'market.py')
-rw-r--r--market.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/market.py b/market.py
index 6c14ae2..388dea0 100644
--- a/market.py
+++ b/market.py
@@ -312,7 +312,7 @@ class Processor:
312 import inspect 312 import inspect
313 313
314 if action == "wait_for_recent": 314 if action == "wait_for_recent":
315 method = portfolio.Portfolio.wait_for_recent 315 method = Portfolio.wait_for_recent
316 elif action == "prepare_trades": 316 elif action == "prepare_trades":
317 method = self.market.prepare_trades 317 method = self.market.prepare_trades
318 elif action == "prepare_orders": 318 elif action == "prepare_orders":
@@ -345,8 +345,4 @@ class Processor:
345 def run_action(self, action, default_args, kwargs): 345 def run_action(self, action, default_args, kwargs):
346 method, args = self.parse_args(action, default_args, kwargs) 346 method, args = self.parse_args(action, default_args, kwargs)
347 347
348 if action == "wait_for_recent": 348 method(**args)
349 method(self.market, **args)
350 else:
351 method(**args)
352