<jupyter_start><jupyter_text>Get daily stock data between dates<jupyter_code>start_date = dt(year=2015, month=1, day=1)
end_date = dt(year=2015, month=12, day=31)

data = gd.get_stock_data('GOOG', start_date, end_date)
display(data.head(10))<jupyter_output><empty_output><jupyter_text>Get multiple stock data<jupyter_code>start_date = dt(year=2015, month=1, day=1)
end_date = dt(year=2015, month=12, day=31)

data = gd.get_stock_data_multiple(["GOOG", "AAPL"], start_date, end_date)
display(data["GOOG"].head(10))
display(data["AAPL"].head(10))<jupyter_output><empty_output><jupyter_text>Get percentage returns<jupyter_code>start_date = dt(year=2015, month=1, day=1)
end_date = dt(year=2015, month=12, day=31)

data = gd.get_pct_returns("GE", start_date, end_date)
display(data.head(10))<jupyter_output><empty_output><jupyter_text>Use a different Quandl database<jupyter_code>start_date = dt(year=2015, month=1, day=1)
end_date = dt(year=2015, month=12, day=31)

# use Yahoo's stock database
# default is Quandl's WIKI
data = gd.get_stock_data("GOOG", start_date, end_date, "YAHOO")
display(data.head(10))<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.15418502202643172, 'fraction_numerical': 0.05814977973568282, 'mean_word_length': 10.247524752475247, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '4', 'dir': 'jupyter-structured-clean-dedup', 'id': '609826', 'license': 'Apache-2.0', 'n_tokens_mistral': 506, 'n_tokens_neox': 467, 'n_words': 74, 'path': 'data/notebooks/nb_500522.ipynb', 'repo_name': 'DavidRV00/notebook-analysis', 'size': '1135'}