ReportStore.print_log("total:")
ReportStore.print_log(sum(BalanceStore.in_currency(base_currency, market).values()))
+def reset_all():
+ # use them as regular classes, sub-object of market
+ ReportStore.logs = []
+ BalanceStore.all = {}
+ TradeStore.all = []
+
def process_sell_needed__1_sell(market, liquidity="medium", base_currency="BTC", debug=False):
ReportStore.log_stage("process_sell_needed__1_sell_begin")
BalanceStore.fetch_balances(market, tag="process_sell_needed__1_sell_begin")