You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -91,7 +91,7 @@ Otherwise, clone/download the project and in the project directory run:
91
91
python setup.py install
92
92
```
93
93
94
-
PyPortfolioOpt supports Docker. Build your first container with `docker build -f docker/Dockerfile . -t pypfopt`. You can use the image to run tests or even launch a Jupyter server.
94
+
PyPortfolioOpt supports Docker. Build your first container with `docker build -f docker/Dockerfile . -t pypfopt`. You can use the image to run tests or even launch a Jupyter server.
95
95
96
96
```bash
97
97
# iPython interpreter:
@@ -107,6 +107,7 @@ docker run -t pypfopt poetry run pytest
107
107
# Bash
108
108
docker run -it pypfopt bash
109
109
```
110
+
110
111
For more information, please read [this guide](https://docker-curriculum.com/#introduction).
111
112
112
113
### For development
@@ -187,7 +188,7 @@ from pypfopt.discrete_allocation import DiscreteAllocation, get_latest_prices
187
188
latest_prices = get_latest_prices(df)
188
189
189
190
da = DiscreteAllocation(weights, latest_prices, total_portfolio_value=10000)
0 commit comments