reset list everytime...
This commit is contained in:
parent
b67295afa7
commit
91bb78c0da
@ -869,7 +869,10 @@ def updateMarket(api_key, logf):
|
|||||||
mostactive = data['mostactive']
|
mostactive = data['mostactive']
|
||||||
gainers = data['gainers']
|
gainers = data['gainers']
|
||||||
losers = data['losers']
|
losers = data['losers']
|
||||||
|
all_market_settings['losers'] = {}
|
||||||
|
all_market_settings['gainers'] = {}
|
||||||
|
all_market_settings['mostactive'] = {}
|
||||||
|
|
||||||
try:
|
try:
|
||||||
for item in losers:
|
for item in losers:
|
||||||
all_market_settings['losers'][item['symbol']] = {
|
all_market_settings['losers'][item['symbol']] = {
|
||||||
|
Loading…
Reference in New Issue
Block a user