SyntaxFix
Write A Post
Hire A Developer
Questions
It's trivial when you know how:
import yfinance as yf df = yf.download('CVS', '2015-01-01') df.to_csv('cvs-health-corp.csv')
If you wish to plot it:
import finplot as fplt fplt.candlestick_ochl(df[['Open','Close','High','Low']]) fplt.show()