add link to quote website

This commit is contained in:
2023-05-03 17:00:28 +02:00
parent b714c6138a
commit 7e73994acf
4 changed files with 14 additions and 9 deletions

View File

@@ -58,7 +58,7 @@ def portfolio(request):
ticker = yf.Ticker(symbole)
# ticker delisted ?
if symbole == 'SHLDQ':
cours = 0
cours = 0.1
else:
cours = round(ticker.fast_info.get('lastPrice'), 3)