Today I released my first Streamlit app. It’s a stock tracker for value investing strategies. In short, you select the stocks that are relatively cheap (low price/earnings), but also generate earnings efficiently (high return on capital). In theory, these stock will outperform the market. You can find the app here: https://stock-tracker-magic-formula.streamlit.app/?mobile_view=False
Also, I wrote a blog on medium for those that would like to know more about this type of stock investment strategy: Top European Magic Formula Stocks | by Steven | Dec, 2023 | Medium
The frontend of the app is Streamlit, the backend is Google Sheets and a Google Cloud Function to scrape the necessary financial information.
The app should be accessible via the link in the OP. That means it’s released right? As I am new to the Streamlit community cloud, I might be missing something here.
I won’t make the data sourcing code open source yet. However, I mainly used this library: yfinance · PyPI with some changes of my own.
On Medium I am planning on expanding on the Magic Formula and the logic I applied. Here you can find the Magic Formula rationale in a nutshell: Magic formula investing - Wikipedia.
I made a few changes where I am focused on European markets instead of American. Also I am using normal distributions to score the stock metrics instead of ordinal ranking. All these things I am planning on describing on Medium as well. The app will be the basis of a stock trading strategy blog I am trying to set up. In any case, I can recommend you to buy the book of Joel Greenblatt as it really works and of course to follow me on Medium and Streamlit !
Though your app is publicly usable, the GitHub repo isn’t visible via the app (that’s what I meant by releasing it). This means you deployed it to Streamlit Cloud from a private GitHub repository.
Oh of course. I understand. Might be doing that. December is busy times and I always put sensitive data in the older commits so I would need to clone and stuff, so I will keep you updated when I do.
Thanks for stopping by! We use cookies to help us understand how you interact with our website.
By clicking “Accept all”, you consent to our use of cookies. For more information, please see our privacy policy.
Cookie settings
Strictly necessary cookies
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
Performance cookies
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
Functional cookies
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
Targeting cookies
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.