https://github.com/marketcalls/yfinancecharts
Simple Yfinance Streamlit App
https://github.com/marketcalls/yfinancecharts
plotly streamlit yfinance
Last synced: 4 months 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 (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-08-28T14:56:23.000Z (almost 2 years ago)
- Last Synced: 2025-07-17T09:55:52.180Z (11 months ago)
- Topics: plotly, streamlit, yfinance
- Language: Python
- Homepage: https://yfinancecharts.streamlit.app/
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- 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
- Plotly
You 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/).