/stockprices

Primary LanguagePythonMIT LicenseMIT

StockPrices

Description

This python tool aims to retrieve stock prices by using the Yahoo Finance API. The tool requires a single command line argument, your unique Yahoo Finance API key. The HTTP response is stored in an excel file located in the same directory the tool is located in.

Yahoo Finance API

If you don't have a unique Yahoo Finance API key then you can subscribe here for a basic plan and be able to make up to 100 requests per day for free.

Installation

pip install -r requirements.txt

Execution

streamlit run main.py <api_key>

Voluntary contribution

You are very welcome to contribute in this project in any way you like (suggestions, requests, improvements). Please contact the author for more details.

Disclaimer

The author of this tool is not sponsored and was never sponsored by Yahoo Finance to introduce their API. You can always modify this code by utilising the API you like most.