reset list everytime...
This commit is contained in:
parent
b67295afa7
commit
91bb78c0da
@ -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']] = {
|
||||
|
Loading…
Reference in New Issue
Block a user