Skip to content

Financial Dividend Investing Dashboard Build in Python with Solara

Notifications You must be signed in to change notification settings

FerusAndBeyond/python-dividend-dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Financial Dashboard for Dividend Stocks

This is a Python web app built with Solara where you can analyze dividend stocks.

Setup

First clone the repository:

git clone git@github.com:FerusAndBeyond/python-dividend-dashboard.git

and then cd into it

cd python-dividend-dashboard

Environment variables

Run init.sh:

sh init.sh

This will create a .env file for configuration variables such as the needed API keys. The following APIs are used:

Financial Modeling Prep

Financial Modeling Prep (FMP) is a financial data API containing various data for fundamental analysis. You can sign up for free to obtain 250 API requests per day. Alternatively, for a premium version with more requests and additional features, you can sign up for a paid version. You can support me by using my affiliate link while also getting 15% off here.

More info about FMP here.

OpenAI API

OpenAI, the company that created ChatGPT, has an API that you can use to analyze and generate text using AI. More info here.


Add the two API keys to the .env file for variables FMP_API_KEY and OPENAI_API_KEY.

Run

There are two options, run in docker or outside of docker. To run in docker, you need to first have docker installed. Then, simply call:

Docker
sh run_docker.sh

Then open http://localhost:5000/.

To shut it down, use sh down.sh.

Outside of Docker

To run outside of Docker, first install the dependencies:

pip install -r build/requirements.txt

Then run the app:

sh run.sh

and open http://localhost:8765/.

Releases

No releases published

Packages

No packages published

Languages