Skip to content

Interactive dashboard fetches financial data via API, offering comprehensive analysis for single company by stock symbol. Features revenue & earnings history, operating margin trends, stock price charts, technical analysis, key financial indicators, and filters. Built with Python and Panel library.

Notifications You must be signed in to change notification settings

fabiothon/Smart-Investment-Screener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smart Investment Screener

This Python code creates an interactive dashboard for smart investment screening, leveraging data fetched from a financial data API. The goal is to provide a comprehensive analysis of a single company based on its stock symbol. The dashboard includes various charts such as revenue history, earnings history, operating margin trends, historical stock prices, Monte Carlo simulation of stock prices, and MACD chart for technical analysis. Additionally, key financial indicators and scores like total investment score, debt-to-equity ratio, return on invested capital (ROIC), enterprise value over EBIT, and minimum growth rate are displayed. Users can also apply structured and unstructured filters using check buttons for further analysis. Company information including ticker symbol, exchange, currency, current price, industry, CEO, description, location, and contact details are displayed in a sidebar. The dashboard layout is organized using the BootstrapTemplate from Panel library, providing an intuitive and interactive interface for investment decision-making.

Screenshot 2024-04-03 at 13 47 22

Picture 2

Screenshot 2024-04-03 at 13 48 28

Installation

Use the package manager pip and the provided requirments.txt file to install this script.

pip install -r /path/to/requirements.txt

API's

The API's used in the script are Yahoo Finance, which is accessed via the yfinance library, and the Financial Modeling Prep, which is accessed directly. This script is using the free version of the Financial Modeling Prep API, leading to a limited amount of API calls per day, only end-of-day data, a 5 year limit of histrocial data and limited amount of geographical regions. You may notice some commented-out code within the script, which remains unused at present. However, it could become relevant of a paid plan is opted for in the future. Find more information on: Financial Modeling Prep Pricing.

Usage

  1. Download of all necessary files (main.py, logo.png, requirements.txt)
  2. Install necessary libraries on your local environment or virtual environment via the requirement.txt
  3. Get your own API key for FMP-API and either hardcode it into the script or use keyring (only for MacOS users)
  4. Run application

Contributing

Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

Licenses

This script uses the MIT License.

About

Interactive dashboard fetches financial data via API, offering comprehensive analysis for single company by stock symbol. Features revenue & earnings history, operating margin trends, stock price charts, technical analysis, key financial indicators, and filters. Built with Python and Panel library.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages