fixed volume issue with updatemarket
This commit is contained in:
parent
98dff26067
commit
56c7ba19ac
@ -878,7 +878,7 @@ def updateMarket(api_key, logf):
|
|||||||
"percent_change": str(item['changePercent']),
|
"percent_change": str(item['changePercent']),
|
||||||
"day_low": str(item['low']),
|
"day_low": str(item['low']),
|
||||||
"day_high": str(item['high']),
|
"day_high": str(item['high']),
|
||||||
"volume": human_format(item['volume'])
|
"volume": human_format(item['latestVolume'])
|
||||||
}
|
}
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
@ -890,7 +890,7 @@ def updateMarket(api_key, logf):
|
|||||||
"percent_change": str(item['changePercent']),
|
"percent_change": str(item['changePercent']),
|
||||||
"day_low": str(item['low']),
|
"day_low": str(item['low']),
|
||||||
"day_high": str(item['high']),
|
"day_high": str(item['high']),
|
||||||
"volume": human_format(item['volume'])
|
"volume": human_format(item['latestVolume'])
|
||||||
}
|
}
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
@ -902,7 +902,7 @@ def updateMarket(api_key, logf):
|
|||||||
"percent_change": str(item['changePercent']),
|
"percent_change": str(item['changePercent']),
|
||||||
"day_low": str(item['low']),
|
"day_low": str(item['low']),
|
||||||
"day_high": str(item['high']),
|
"day_high": str(item['high']),
|
||||||
"volume": human_format(item['volume'])
|
"volume": human_format(item['latestVolume'])
|
||||||
}
|
}
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user