dvaz commited on
Commit
e3d7d8a
1 Parent(s): 23f9dd1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -7
app.py CHANGED
@@ -1,10 +1,15 @@
1
- import requests
 
2
 
3
- # import json
 
 
4
 
 
 
 
5
 
6
- url = requests.get('https://www.cheapshark.com/api/1.0/stores')
7
- x = url.json()
8
-
9
- for i in x:
10
- print(i['storeName'] + ' ' + i['storeID'])
 
1
+ import streamlit as st
2
+ import yfinance as yf
3
 
4
+ st.title('Learning streamlit header')
5
+ st.header('Learning streamlit title')
6
+ st.write('Learning streamlit normal write')
7
 
8
+ agree = st.checkbox('I agree')
9
+ if agree:
10
+ st.write('ok')
11
 
12
+ data = yf.download("AAPL", start="2022-08-25", end="2022-08-28")
13
+ st.write(data)
14
+ st.table(data)
15
+ st.line_chart(data)