fixed volume issue with updatemarket

This commit is contained in:
Justin
2023-08-08 18:35:55 +08:00
committed by GitHub
parent 98dff26067
commit 56c7ba19ac

View File

@@ -878,7 +878,7 @@ def updateMarket(api_key, logf):
"percent_change": str(item['changePercent']),
"day_low": str(item['low']),
"day_high": str(item['high']),
"volume": human_format(item['volume'])
"volume": human_format(item['latestVolume'])
}
except:
pass
@@ -890,7 +890,7 @@ def updateMarket(api_key, logf):
"percent_change": str(item['changePercent']),
"day_low": str(item['low']),
"day_high": str(item['high']),
"volume": human_format(item['volume'])
"volume": human_format(item['latestVolume'])
}
except:
pass
@@ -902,7 +902,7 @@ def updateMarket(api_key, logf):
"percent_change": str(item['changePercent']),
"day_low": str(item['low']),
"day_high": str(item['high']),
"volume": human_format(item['volume'])
"volume": human_format(item['latestVolume'])
}
except:
pass