Created
January 13, 2020 03:21
-
-
Save kperry2215/7d575ea2a6d8fdc2254e6322a165033e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import quandl | |
import pandas as pd | |
import matplotlib.pyplot as plt | |
quandl_api_key = "YOUR API KEY HERE" | |
#Use the Quandl API to pull data | |
quandl.ApiConfig.api_key = quandl_api_key | |
data = quandl.get_table('WIKI/PRICES', ticker = ['MSFT']) | |
plot_data(df = data, | |
x_variable = "date", | |
y_variable = "open", | |
title ="Daily Microsoft Stock Prices, Open Price") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment