0

What do I need to coplete this code?

https://code.sololearn.com/cm77z197Rid6/?ref=app I am working in Python for Finance, Code Repo 19.2. I can't figure out how to do the math to calculate 1000.00 by each date in bitcoin. Please help. I tried to refer to examples,but could not come up with ananswer

21st Mar 2022, 4:05 AM
Stacey Prahl
Stacey Prahl - avatar
3 Réponses
+ 2
Replace line 15 with this: bitcoin = 1000 * data.history(period='1y')
21st Mar 2022, 4:21 AM
Simon Sauter
Simon Sauter - avatar
+ 1
It worked!
21st Mar 2022, 5:01 AM
Stacey Prahl
Stacey Prahl - avatar
0
TY I will try that
21st Mar 2022, 4:23 AM
Stacey Prahl
Stacey Prahl - avatar