#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)