{"id":15700584,"url":"https://github.com/hvass-labs/investops-tutorials","last_synced_at":"2025-05-12T15:39:36.675Z","repository":{"id":129938021,"uuid":"419298076","full_name":"Hvass-Labs/InvestOps-Tutorials","owner":"Hvass-Labs","description":"Tutorials for the InvestOps Python package","archived":false,"fork":false,"pushed_at":"2022-03-19T10:13:40.000Z","size":1530,"stargazers_count":12,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-31T23:42:47.600Z","etag":null,"topics":["finance","investing","portfolio-optimization","python","stocks"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Hvass-Labs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-10-20T11:17:12.000Z","updated_at":"2024-10-18T11:34:49.000Z","dependencies_parsed_at":"2023-04-04T01:32:49.015Z","dependency_job_id":null,"html_url":"https://github.com/Hvass-Labs/InvestOps-Tutorials","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hvass-Labs%2FInvestOps-Tutorials","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hvass-Labs%2FInvestOps-Tutorials/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hvass-Labs%2FInvestOps-Tutorials/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hvass-Labs%2FInvestOps-Tutorials/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Hvass-Labs","download_url":"https://codeload.github.com/Hvass-Labs/InvestOps-Tutorials/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249909182,"owners_count":21343932,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["finance","investing","portfolio-optimization","python","stocks"],"created_at":"2024-10-03T19:50:33.367Z","updated_at":"2025-04-20T14:30:32.231Z","avatar_url":"https://github.com/Hvass-Labs.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# InvestOps Tutorials\n\n[Original repository on GitHub](https://github.com/Hvass-Labs/InvestOps-Tutorials)\n\nOriginal author is [Magnus Erik Hvass Pedersen](http://www.hvass-labs.org)\n\n\n## Introduction\n\n[InvestOps](https://github.com/Hvass-Labs/InvestOps) is a Python package with\ntools for investing and these are short tutorials on how to use them.\n\n\n## Tutorials\n\n- Long-Term Stock Forecasting ([Notebook](https://github.com/Hvass-Labs/InvestOps-Tutorials/blob/master/Long-Term_Stock_Forecasting.ipynb)) ([Google Colab](https://colab.research.google.com/github/Hvass-Labs/InvestOps-Tutorials/blob/master/Long-Term_Stock_Forecasting.ipynb))\n- Portfolio Diversification ([Notebook](https://github.com/Hvass-Labs/InvestOps-Tutorials/blob/master/Portfolio_Diversification.ipynb)) ([Google Colab](https://colab.research.google.com/github/Hvass-Labs/InvestOps-Tutorials/blob/master/Portfolio_Diversification.ipynb))\n- Portfolio Group Constraints ([Notebook](https://github.com/Hvass-Labs/InvestOps-Tutorials/blob/master/Portfolio_Group_Constraints.ipynb)) ([Google Colab](https://colab.research.google.com/github/Hvass-Labs/InvestOps-Tutorials/blob/master/Portfolio_Group_Constraints.ipynb))\n\n\n## Run in Google Colab\n\nIf you do not want to install anything on your own computer, then the\nNotebooks can be viewed, edited and run entirely on the internet by using\n[Google Colab](https://colab.research.google.com).\n\nYou click the \"Google Colab\"-link next to the tutorials listed above.\nYou can view the Notebook on Colab but in order to run it you need to login\nusing your Google account.\n\nMost of the required Python packages should already be installed on Google\nColab, and there is a `!pip install` command near the top of each Notebook,\nwhich can be un-commented and run so as to install the required Python\npackages for that particular Notebook, like this:\n\n    !pip install investops\n\n\n## Run on Your Own Computer\n\nIf you want to run these tutorials on your own computer, then it is\nrecommended that you download the whole repository from GitHub,\ninstead of just downloading the individual Python Notebooks.\n\n\n### Git Clone\n\nThe easiest way to download and install it is by using git from the command-line:\n\n    git clone https://github.com/Hvass-Labs/InvestOps-Tutorials.git\n\nThis creates the directory `InvestOps-Tutorials` and downloads all the files to it.\n\nThis also makes it easy to update the files, simply by executing this\ncommand inside that directory:\n\n    git pull\n\n\n### Zip-File\n\nYou can also [download](https://github.com/Hvass-Labs/InvestOps-Tutorials/archive/refs/heads/main.zip)\nthe contents of the GitHub repository as a Zip-file and extract it manually.\n\n\n### Installation\n\nIf you want to run these tutorials on your own computer, then it is best\nto use a virtual environment when installing the required packages,\nso you can easily delete the environment again. You write the following\nin a Linux terminal:\n\n    virtualenv investops-env\n\nOr you can use [Anaconda](https://www.anaconda.com/download) instead of a virtualenv:\n\n    conda create --name investops-env python=3\n\nThen you switch to the virtual environment and install the required packages.\n\n    source activate investops-env\n    pip install -r requirements.txt\n\nWhen you are done working on the project you can deactivate the virtualenv:\n\n    source deactivate\n\n\n### Run \n\nOnce you have installed the required Python packages in a virtual environment,\nyou run the following command from the `InvestOps-Tutorials` directory to view,\nedit and run the Notebooks:\n\n    source activate investops-env\n    jupyter notebook\n\n\n## License (MIT)\n\nThis is published under the\n[MIT License](https://github.com/Hvass-Labs/InvestOps-Tutorials/blob/master/LICENSE)\nwhich allows very broad use for both academic and commercial purposes.\n\nYou are very welcome to modify and use this source-code in your own project.\nPlease keep a link to the [original repository](https://github.com/Hvass-Labs/InvestOps-Tutorials).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhvass-labs%2Finvestops-tutorials","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhvass-labs%2Finvestops-tutorials","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhvass-labs%2Finvestops-tutorials/lists"}