# -*- coding: utf-8 -*-
"""
Created on Mon Oct 11 13:28:39 2021

@author: irem
"""
import yfinance as yf
import streamlit as st
import pandas as pd

st.write("""
         # Simple Stock Price App
         
         Shown are the stock **closing price** and **volume** of Google
         
         """)
         
tickerSymbol='GOOGL'
tickerData=yf.Ticker(tickerSymbol)
tickerDf=tickerData.history(period='1d',start='2010-5-31',end='2020-5-31')

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

st.write("""
         ## Volume Price
         """)

st.line_chart(tickerDf.Volume)         
