aboutsummaryrefslogtreecommitdiff
path: root/helper.py
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2018-03-01 19:08:56 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2018-03-01 19:08:56 +0100
commit7bd830a83b662874c145ea9548edfde79eadc68f (patch)
treeeb68f245ae4d6e66f6e55beffbd4b65def3d4c63 /helper.py
parent065ee3422a6ee9d40136cfa6b272e951e15c2e50 (diff)
downloadTrader-7bd830a83b662874c145ea9548edfde79eadc68f.tar.gz
Trader-7bd830a83b662874c145ea9548edfde79eadc68f.tar.zst
Trader-7bd830a83b662874c145ea9548edfde79eadc68f.zip
Remove useless update_trades method
Add arguments to log_stage
Diffstat (limited to 'helper.py')
-rw-r--r--helper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/helper.py b/helper.py
index 83e981b..be480e2 100644
--- a/helper.py
+++ b/helper.py
@@ -173,7 +173,7 @@ def process_sell_needed__1_sell(market, liquidity="medium", base_currency="BTC")
173def process_sell_needed__2_buy(market, liquidity="medium", base_currency="BTC"): 173def process_sell_needed__2_buy(market, liquidity="medium", base_currency="BTC"):
174 market.report.log_stage("process_sell_needed__2_buy_begin") 174 market.report.log_stage("process_sell_needed__2_buy_begin")
175 market.balances.fetch_balances(tag="process_sell_needed__2_buy_begin") 175 market.balances.fetch_balances(tag="process_sell_needed__2_buy_begin")
176 market.update_trades(base_currency=base_currency, liquidity=liquidity, only="acquire") 176 market.prepare_trades(base_currency=base_currency, liquidity=liquidity, only="acquire")
177 market.trades.prepare_orders(compute_value="average", only="acquire") 177 market.trades.prepare_orders(compute_value="average", only="acquire")
178 market.move_balances() 178 market.move_balances()
179 market.trades.run_orders() 179 market.trades.run_orders()