Update
This commit is contained in:
parent
e05a531f10
commit
4cdf07f35f
|
|
@ -22,9 +22,9 @@ emailp = config.get("config","test")
|
|||
|
||||
|
||||
data2 = yf.download("CRSR VTI VOO DIS UI", period="1d")
|
||||
print(data2.tail(1))
|
||||
data2.head()
|
||||
|
||||
#print(data2.tail(1))
|
||||
#data2.head()
|
||||
Dayclose = data2["Close"].round(decimals=2)
|
||||
|
||||
recipients = ["sebastien.trudel@pirolian.com"]
|
||||
emaillist = [elem.strip().split(',') for elem in recipients]
|
||||
|
|
@ -40,7 +40,7 @@ html = """\
|
|||
{0}
|
||||
</body>
|
||||
</html>
|
||||
""".format(data2.to_html())
|
||||
""".format(Dayclose.to_html())
|
||||
|
||||
part1 = MIMEText(html, "html")
|
||||
msg.attach(part1)
|
||||
|
|
|
|||
Loading…
Reference in New Issue