Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marketcalls/yfinancecharts
Simple Yfinance Streamlit App
https://github.com/marketcalls/yfinancecharts
plotly streamlit yfinance
Last synced: 4 days ago
JSON representation
Simple Yfinance Streamlit App
- Host: GitHub
- URL: https://github.com/marketcalls/yfinancecharts
- Owner: marketcalls
- License: mit
- Created: 2024-08-28T13:26:00.000Z (2 months ago)
- Default Branch: master
- Last Pushed: 2024-08-28T14:56:23.000Z (2 months ago)
- Last Synced: 2024-10-31T14:25:36.051Z (6 days ago)
- Topics: plotly, streamlit, yfinance
- Language: Python
- Homepage: https://yfinancecharts.streamlit.app/
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Stock Candlestick Chart Application
This is a simple Streamlit application that allows users to input a stock symbol, start date, end date, and timeframe to generate a candlestick chart using Plotly. The application fetches stock data from Yahoo Finance and displays it in an interactive candlestick chart.
## Features
- **Input Fields:**
- **Symbol:** Text input for the stock symbol (e.g., AAPL).
- **Start Date & End Date:** Date pickers to select the range.
- **Timeframe:** Dropdown to select the timeframe (Daily, Weekly, Monthly).
- **Output:** A candlestick chart generated using Plotly, showing the stock data for the given symbol and date range.## Installation
To run this application locally, follow these steps:
1. Clone the repository:
```bash
git clone https://github.com/maketcalls/yfinancecharts
cd yfinancecharts
```2. Install the required dependencies:
```bash
pip install -r requirements.txt
```3. Run the Streamlit application:
```bash
streamlit run app.py
```## Dependencies
- Python 3.x
- Streamlit
- yfinance
- PlotlyYou can install the dependencies using the `requirements.txt` file:
```txt
streamlit
yfinance
plotly
```## Usage
- Launch the application using the `streamlit run app.py` command.
- Enter a valid stock symbol (e.g., `AAPL` for Apple Inc.).
- Select the desired start and end dates using the date pickers.
- Choose the timeframe (Daily, Weekly, Monthly) from the dropdown menu.
- Click the "Generate Chart" button to view the candlestick chart.## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
## Acknowledgments
- This application uses data from [Yahoo Finance](https://finance.yahoo.com/).
- Built using [Streamlit](https://streamlit.io/) and [Plotly](https://plotly.com/).