Skip to content

Instantly share code, notes, and snippets.

@quantra-go-algo
Created July 21, 2021 02:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save quantra-go-algo/a18216a710644965fc1f6594086cd74c to your computer and use it in GitHub Desktop.
Save quantra-go-algo/a18216a710644965fc1f6594086cd74c to your computer and use it in GitHub Desktop.
import pandas as pd
import numpy as np
import yfinance as yf
import seaborn as sns
import matplotlib.pyplot as plt
data = yf.download('MSFT', '2015-01-01')
data['Close'].plot(figsize=(10,7))
plt.title('Microsoft Stock Close Price')
plt.ylabel('Price')
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment