Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@
"# If dependencies are already installed, you can comment out or skip this cell.\n",
"\n",
"# Install cuOpt (if not already installed)\n",
"#!pip install --upgrade --user --extra-index-url https://pypi.nvidia.com -q cuopt-cu12\n",
"#!pip install --upgrade --user --extra-index-url https://pypi.nvidia.com -q cuopt-cu12 \n",
"\n",
"# Install other dependencies (if not already installed)\n",
"#!pip install --user --extra-index-url https://pypi.nvidia.com -q \"numpy>=1.24.4\" \"pandas>=2.2.1\" \"cvxpy>=1.6.5\" \"scipy==1.15.2\" \"scikit-learn==1.6.1\" \"msgpack>=1.1.0\" \"cuml-cu12==25.4.*\" \"seaborn>=0.13.2\" bin/cufolio-25.8-py3-none-any.whl"
"!pip install --user --pre --extra-index-url https://pypi.nvidia.com -q \"numpy>=1.24.4\" \"pandas>=2.2.1\" \"cvxpy>=1.6.5\" \"scipy==1.15.2\" \"scikit-learn==1.6.1\" \"msgpack>=1.1.0\" \"cuml-cu12\" \"seaborn>=0.13.2\" bin/cufolio-25.8-py3-none-any.whl"
]
},
{
Expand Down
18 changes: 18 additions & 0 deletions cuFOLIO_portfolio_optimization/CVaR/02_backtesting.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,24 @@
"Before diving into portfolio optimization and backtesting, we need to import the necessary libraries."
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "758fb7e3",
"metadata": {},
"outputs": [],
"source": [
"# Install dependencies\n",
"# This cell only needs to be run once, typically after setting up the environment.\n",
"# If dependencies are already installed, you can comment out or skip this cell.\n",
"\n",
"# Install cuOpt (if not already installed)\n",
"#!pip install --upgrade --user --extra-index-url https://pypi.nvidia.com -q cuopt-cu12 \n",
"\n",
"# Install other dependencies (if not already installed)\n",
"!pip install --user --pre --extra-index-url https://pypi.nvidia.com -q \"numpy>=1.24.4\" \"pandas>=2.2.1\" \"cvxpy>=1.6.5\" \"scipy==1.15.2\" \"scikit-learn==1.6.1\" \"msgpack>=1.1.0\" \"cuml-cu12\" \"seaborn>=0.13.2\" bin/cufolio-25.8-py3-none-any.whl"
]
},
{
"cell_type": "code",
"execution_count": 1,
Expand Down
28 changes: 28 additions & 0 deletions cuFOLIO_portfolio_optimization/CVaR/03_advanced_topics.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,34 @@
" * Using **GPU-accelerated optimization** for high-efficiency computations."
]
},
{
"cell_type": "markdown",
"id": "bfd0e561",
"metadata": {},
"source": [
"#### **Importing Required Libraries & Initial Setup**\n",
"\n",
"Before diving into portfolio optimization, we need to import the necessary libraries and perform initial setup if required."
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "24d01808",
"metadata": {},
"outputs": [],
"source": [
"# Install dependencies\n",
"# This cell only needs to be run once, typically after setting up the environment.\n",
"# If dependencies are already installed, you can comment out or skip this cell.\n",
"\n",
"# Install cuOpt (if not already installed)\n",
"#!pip install --upgrade --user --extra-index-url https://pypi.nvidia.com -q cuopt-cu12 \n",
"\n",
"# Install other dependencies (if not already installed)\n",
"!pip install --pre --user --extra-index-url https://pypi.nvidia.com -q \"numpy>=1.24.4\" \"pandas>=2.2.1\" \"cvxpy>=1.6.5\" \"scipy==1.15.2\" \"scikit-learn==1.6.1\" \"msgpack>=1.1.0\" \"cuml-cu12\" \"seaborn>=0.13.2\" bin/cufolio-25.8-py3-none-any.whl\n"
]
},
{
"cell_type": "code",
"execution_count": 1,
Expand Down