aboutsummaryrefslogtreecommitdiff
path: root/helper.py
diff options
context:
space:
mode:
Diffstat (limited to 'helper.py')
-rw-r--r--helper.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/helper.py b/helper.py
index 421e8cd..f1aeaf2 100644
--- a/helper.py
+++ b/helper.py
@@ -109,7 +109,7 @@ def follow_orders(verbose=True, sleep=None):
109 print("All orders finished") 109 print("All orders finished")
110 110
111def print_orders(market, base_currency="BTC"): 111def print_orders(market, base_currency="BTC"):
112 prepare_trades(market, base_currency=base_currency, compute_value="average") 112 prepare_trades(market, base_currency=base_currency, compute_value="average", debug=True)
113 TradeStore.prepare_orders(compute_value="average") 113 TradeStore.prepare_orders(compute_value="average")
114 for currency, balance in BalanceStore.all.items(): 114 for currency, balance in BalanceStore.all.items():
115 print(balance) 115 print(balance)
@@ -127,7 +127,7 @@ def process_sell_needed__1_sell(market, base_currency="BTC", debug=False):
127 TradeStore.run_orders() 127 TradeStore.run_orders()
128 follow_orders() 128 follow_orders()
129 129
130def process_sell_needed__2_sell(market, base_currency="BTC", debug=False): 130def process_sell_needed__2_buy(market, base_currency="BTC", debug=False):
131 update_trades(market, base_currency=base_currency, debug=debug, only="acquire") 131 update_trades(market, base_currency=base_currency, debug=debug, only="acquire")
132 TradeStore.prepare_orders(compute_value="average", only="acquire") 132 TradeStore.prepare_orders(compute_value="average", only="acquire")
133 print("------------------") 133 print("------------------")