diff --git a/database_caller.py b/database_caller.py index dd49004..b82ca6a 100755 --- a/database_caller.py +++ b/database_caller.py @@ -869,7 +869,10 @@ def updateMarket(api_key, logf): mostactive = data['mostactive'] gainers = data['gainers'] losers = data['losers'] - + all_market_settings['losers'] = {} + all_market_settings['gainers'] = {} + all_market_settings['mostactive'] = {} + try: for item in losers: all_market_settings['losers'][item['symbol']] = {