bugfixing
This commit is contained in:
parent
b9b69f0391
commit
472462d276
@ -336,6 +336,7 @@ async def get_index_list():
|
|||||||
if quote_data:
|
if quote_data:
|
||||||
item = {
|
item = {
|
||||||
'symbol': symbol,
|
'symbol': symbol,
|
||||||
|
'name': quote_data('name',None),
|
||||||
'price': round(quote_data.get('price', 0), 2),
|
'price': round(quote_data.get('price', 0), 2),
|
||||||
'changesPercentage': round(quote_data.get('changesPercentage', 0), 2),
|
'changesPercentage': round(quote_data.get('changesPercentage', 0), 2),
|
||||||
'marketCap': quote_data.get('marketCap', 0),
|
'marketCap': quote_data.get('marketCap', 0),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user