Skip to content

Instantly share code, notes, and snippets.

@ritvikmath
Created January 26, 2020 21:03
Show Gist options
  • Save ritvikmath/db506c19cf7d8cbf4c774b9728a74beb to your computer and use it in GitHub Desktop.
Save ritvikmath/db506c19cf7d8cbf4c774b9728a74beb to your computer and use it in GitHub Desktop.
#define the ticker symbol
tickerSymbol = 'MSFT'
#get data on this ticker
tickerData = yf.Ticker(tickerSymbol)
#info on the company
tickerData.info
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment