<jupyter_start><jupyter_text>Dow Jones Industrial Average  = INDEXDJX<jupyter_code>param = {
    #'q': ".DJI", # Stock symbol (ex: "AAPL")
    'q': "AAPL", # Stock symbol (ex: "AAPL")
    'i': "86400", # Interval size in seconds ("86400" = 1 day intervals)
    'x': "NASDAQ", # Stock exchange symbol on which stock is traded (ex: "NASD")
    'p': "1Y" # Period (Ex: "1Y" = 1 year)
}
print (type(param))
param = {
    'q': "BHP", # Stock symbol (ex: "AAPL")
    'i': "86400", # Interval size in seconds ("86400" = 1 day intervals)
    'x': "ASX", # Stock exchange symbol on which stock is traded (ex: "NASD")
    'p': "1Y" # Period (Ex: "1Y" = 1 year)
}
print (type(param))
param = {
    'q': "BHP", # Stock symbol (ex: "AAPL")
    'i': "30", # Interval size in seconds ("86400" = 1 day intervals)
    'x': "ASX", # Stock exchange symbol on which stock is traded (ex: "NASD")
    'p': "1d" # Period (Ex: "1Y" = 1 year)
}
print (type(param))
# get price data (return pandas dataframe)
df = get_price_data(param)
print(type(df), df.shape)
print (list(df))
df.head()
import pandas as pd
import matplotlib.pyplot as plt

%matplotlib inline
if df.shape[0]>0:
    df.Close.plot()
    plt.show()<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.18323746918652423, 'fraction_numerical': 0.03368940016433854, 'mean_word_length': 3.8333333333333335, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, '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': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '617303', 'license': 'MIT', 'n_tokens_mistral': 502, 'n_tokens_neox': 470, 'n_words': 151, 'path': 'googlefinance_demo.ipynb', 'repo_name': 'aspiringguru/python_sqlite_demo', 'size': '1217'}