Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import streamlit as st
|
|
|
2 |
|
3 |
-
|
4 |
-
st.
|
|
|
|
|
|
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)
|