percetange fixed
This commit is contained in:
parent
56c7ba19ac
commit
b67295afa7
@ -875,7 +875,7 @@ def updateMarket(api_key, logf):
|
||||
all_market_settings['losers'][item['symbol']] = {
|
||||
"current": str(item['latestPrice']),
|
||||
"change": str(item['change']),
|
||||
"percent_change": str(item['changePercent']),
|
||||
"percent_change": str(item['changePercent'] * 100),
|
||||
"day_low": str(item['low']),
|
||||
"day_high": str(item['high']),
|
||||
"volume": human_format(item['latestVolume'])
|
||||
@ -887,7 +887,7 @@ def updateMarket(api_key, logf):
|
||||
all_market_settings['gainers'][item['symbol']] = {
|
||||
"current": str(item['latestPrice']),
|
||||
"change": str(item['change']),
|
||||
"percent_change": str(item['changePercent']),
|
||||
"percent_change": str(item['changePercent'] * 100),
|
||||
"day_low": str(item['low']),
|
||||
"day_high": str(item['high']),
|
||||
"volume": human_format(item['latestVolume'])
|
||||
@ -899,7 +899,7 @@ def updateMarket(api_key, logf):
|
||||
all_market_settings['mostactive'][item['symbol']] = {
|
||||
"current": str(item['latestPrice']),
|
||||
"change": str(item['change']),
|
||||
"percent_change": str(item['changePercent']),
|
||||
"percent_change": str(item['changePercent'] * 100),
|
||||
"day_low": str(item['low']),
|
||||
"day_high": str(item['high']),
|
||||
"volume": human_format(item['latestVolume'])
|
||||
|
Loading…
Reference in New Issue
Block a user