-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdragon.sh
More file actions
37 lines (28 loc) · 1.23 KB
/
dragon.sh
File metadata and controls
37 lines (28 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/bin/bash
echo "🔥🐉 Setting up the QuantDragon 🐲 environment... 🔥🐉"
echo "🐉 Creating and activating virtual environment... 🔥"
# Create virtual environment
python3 -m venv ~/quantdragon-env
source ~/quantdragon-env/bin/activate
echo "🔥 Installing essential quant libraries... 🐉"
# Install required libraries
pip install --upgrade pip
pip install numpy pandas scipy matplotlib seaborn plotly
pip install yfinance pandas-datareader alpha_vantage
pip install statsmodels scikit-learn quantlib riskfolio-lib
pip install cvxpy scipy pyportfolioopt
pip install ipykernel jupyter_contrib_nbextensions
pip install lean
pip install --upgrade jupyterlab-git
pip install nbdime
pip install jupyterlab_pygments
pip install plotly
# Register kernel in Jupyter
python -m ipykernel install --user --name=quantdragon-env --display-name "🐉 Python (quantdragon-env) 🔥"
echo "🐉 Jupyter kernel registered! 🔥"
# Enable Jupyter extensions
jupyter contrib nbextension install --user
jupyter nbextension enable varInspector/main
echo "🔥 Jupyter extensions enabled! 🐉"
echo "🔥🐉 QuantDragon environment setup complete! 🐉🔥"
echo "🐲🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🐲"