diff --git a/database_caller.py b/database_caller.py index 10f5aae..c9c1920 100755 --- a/database_caller.py +++ b/database_caller.py @@ -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