This is a simple GUI application that allows users to download OHLC (Open, High, Low, Close) data from Yahoo Finance using the yfinance Python library. The application provides a quick and intuitive way to download the data and save it in a selected destination folder. It detects whether a date already exists in a given location and, if so, combines it, so you can collect data from a long periods of time.
- User-friendly interface for downloading OHLC data from Yahoo Finance.
- Supports multiple tickers, periods, and intervals.
- Merging already existed data with new one
- Ability to select a destination folder for saving the downloaded data.
- Option to create an Excel file for the downloaded data.
- Load and save sets of tickers for easy reuse.
- Clone the repository:
git clone https://github.com/Ravdar/YFinance-downloader
- Install the required libraries:
pip install -r requirements.txt
- Run the application.
- Enter the ticker symbol(s) of the stocks you want to download OHLC data for.
- Select the desired period and interval for the data.
- Click the "+" button to add more tickers if needed.
- Click the "-" button to remove the last added ticker.
- Click the "Select destination" button to choose a folder for saving the downloaded data.
- Check the "Create Excel file" checkbox if you want to generate an Excel file for the data.
- Click the "Start" button to initiate the download process.
- Wait for the download to complete. The status label will show the progress.
- Once the download is finished, a message box will display the number of files downloaded and the data will be ready for use.
- pandas
- yfinance
- customtkinter
- threading
- json
If you see some bugs or possible improvements, pelase contact me. If you want to add a new feature or fix a bug by yourself, follow these steps:
- Create a new branch for your changes.
- Make your changes in the new branch.
- Run tests and make sure that all tests pass.
- Submit a pull request.
Plus and minus icons used in the app are from flaticon.com.