File size: 303 Bytes
bf0898e
 
 
 
 
 
 
8fa19c5
bf0898e
8fa19c5
bf0898e
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#import streamlit as st
#
#x = st.slider('Select a value')
#st.write(x, 'squared is', x * x)


# -------------------
import streamlit as st
import yfinance as yf

st.title("Stocks App")
symbol = st.text_input("Enter a stock symbol", "AAPL")
if st.button("Get Quote"):
    st.json(yf.Ticker(symbol).info)