Created
August 30, 2023 01:08
-
-
Save xcollantes/96ce73c6b9fdc565bc5a6e358d16b85c to your computer and use it in GitHub Desktop.
test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## Goal | |
| Narrow down to one to three alternatives for a good investment | |
| At first a user would proactively run the tool to find a good stock opportunity but eventually a user would be alerted on a good opportunity via email or text. | |
| Create a public facing web application which can easily use Python Panda DataFrames. | |
| No magic formula exists that I know to find a good stock to invest in. I will aim then to give myself the best chances given available information. | |
| Features are based on philosophical heuristics and research found in [studies](!options_studies_record.md), [stock_investing_notes](stock_investing_notes.md), [stock_picking](stock_picking.md), [stock_picking_upward_market](stock_picking_upward_market.md). | |
| ## Streamlit | |
| Frontend dashboard as opposed to Python backend. Build with Streamlit given ability to cache API calls, no need to use JavaScript and we can transfer Python code including Streamlit's ability to use Altair charts. | |
| ## Hosting your Streamlit application | |
| ### Streamlit hosting | |
| This is the easiest option since all you need to do is provide the GitHub repository address, any secret variables you want, and a custom app name for the URL. | |
| Pros | |
| - No need for creating a container | |
| - No need for managing CPU / storage; capped at 1 GB "Resources per app" (Limits does not specify what these are) | |
| Cons | |
| - Cannot use custom domain; must use URL `<your-web-app-name>.streamlit.app` | |
| - No custom DNS settings | |
| - GCP APIs | |
| Since we need access to Google Cloud APIs, we'll need to use authentication: https://docs.streamlit.io/knowledge-base/tutorials/databases/gcs | |
| More simple solution to URL args passphrase: Use the `secrets` file to store the passphrase. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment