The purpose of this project is to use the power of OpenBB SDK to help make investment decisions systematically and thoroughly. This project builds upon the due diligence jupiter notebook that comes with the SDK and adds to it integrations such as to Twitter, Tradingview real-time widgets, and Google Sheets so that there are additional insights that can help with investment decisions.
OpenBB Due Diligence Jupiter Notebook:
This notebook is the one that does the analysis and will generate the html code after it is run
- First install the OpenBB SDK following the SDK instructions.
- The due_diligence.ipynb notebook contains the code that gathers the financial data and generates the HTML file.
- Go into the notebook and specify the symbol and long name for the symbol
- Running the report will produce an html file .html in the public/templates directory
Backend:
The backend is very simple. It uses FastAPI and only has one main routine that handles the serving of the html page.
You can deploy this in one of many Clouds. Or you can deploy locally
Locally, in a terminal
- pip install fastapi[all]
- uvicorn app:app --host 127.0.0.1 --port 80
- Point your browser to 127.0.0.1:80/tweet/symbol-name
On the cloud, you can deploy on render.com
- Select a python 3.9 image
- Specify the build command to be build.sh
- Add in the Twitter API keys in the environment variables (TWITTER_KEY,TWITTER_SECRET,TWITTER_ACCESS_TOKEN, TWITTER_ACCESS_SECRET)
- Add in the deploy command uvicorn app:app --host 0.0.0.0 --port 10000
- Point browser to http://service-url/tweet/symbol-name
Distributed under MIT license