import streamlit as st
import yfinance as yf

tickerSymbol = st.text_input('Symbol','GOOGL')
tickerData = yf.Ticker(tickerSymbol)
tickerDf = tickerData.history(period='1d', start='2010-5-31', end='2020-5-31')

st.write("""
# Simple Stock Price App
Shown are the stock **closing price** and ***volume*** of """, tickerSymbol, """!
""")

st.write("""
## Closing Price
""")
st.line_chart(tickerDf.Close)
st.write("""
## Volume Price
""")
st.line_chart(tickerDf.Volume)
