JBHF commited on
Commit
bf0898e
1 Parent(s): 8fa19c5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -2
app.py CHANGED
@@ -1,4 +1,14 @@
 
 
 
 
 
 
 
1
  import streamlit as st
 
2
 
3
- x = st.slider('Select a value')
4
- st.write(x, 'squared is', x * x)
 
 
 
1
+ #import streamlit as st
2
+ #
3
+ #x = st.slider('Select a value')
4
+ #st.write(x, 'squared is', x * x)
5
+
6
+
7
+ # -------------------
8
  import streamlit as st
9
+ import yfinance as yf
10
 
11
+ st.title("Stocks App")
12
+ symbol = st.text_input("Enter a stock symbol", "AAPL")
13
+ if st.button("Get Quote"):
14
+ st.json(yf.Ticker(symbol).info)