Buckets:
| import yfinance as yf | |
| import pandas as pd | |
| import streamlit as st | |
| st.write(""" | |
| # Simple Stock Price App | |
| Shown are the stock **closing price** and **volume** of Apple! | |
| """) | |
| # https://towardsdatascience.com/build-a-simple-stock-price-app-using-streamlit-and-python-2c4d3f1f0b14 | |
| # Define the ticker symbol | |
| tickerSymbol = 'AAPL' | |
| # Get data on this ticker | |
| tickerData = yf.Ticker(tickerSymbol) | |
| # Get the historical prices for this ticker | |
| tickerDf = tickerData.history(period=None, start='2010-6-1', end='2024-6-1') | |
| # Open High Low Close Volume | |
| st.line_chart(tickerDf.Close) | |
| st.line_chart(tickerDf.Volume) | |
Xet Storage Details
- Size:
- 644 Bytes
- Xet hash:
- 416b875dceb8bd2a49184554295d72e6d01f2bcb2d4562a3f5f343ae960c5f04
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.