ajout website dans table actifs

This commit is contained in:
2017-12-23 09:46:45 +01:00
parent 1909ee7245
commit 22f35dee86
3 changed files with 12 additions and 0 deletions

View File

@@ -53,6 +53,8 @@ def getYahooQuote(ticker):
if divs[1].span.text != 'Dividend': #Ignore this row in the table
#I'm only interested in 'Close' price;
data.append({'Date': divs[0].span.text, 'Close': float(divs[5].span.text.replace(',',''))})
break
# retourne la prière ligne
return data[0]