This is a MVP of asset allocation web application, which can help users build their stock portfolio using model like Black-litterman.
There are two ways to run this project in your machine, only need to follow one instruction.
- Clone the repo
git clone https://github.com/henry32144/intelligent-asset-allocation.git
- Build docker image
cd intelligent-asset-allocation
docker build -t intelligent-asset-allocation .
- Run docker
docker run -p 5000:5000 intelligent-asset-allocation
- Open your browser and type
127.0.0.1:5000
in url
- Python 3.7
- Clone the repo
git clone https://github.com/henry32144/intelligent-asset-allocation.git
- Install the libraries
cd intelligent-asset-allocation
#For Windows user, you need to remove the gunicorn, gevent in the requirements.txt
pip install -r requirements.txt
- Run Flask server
python app.py
- Open your browser and type
127.0.0.1:5000
in url
All data are stored in your local database.
Steps to use this website.
- Login. You can use default account to login, email and password are 123.
- Go to dashboard page. Press
Start Now
orDashboard
button on the top right of the page. - Modify Portfolio. You can add companies on the search box, remove companies on the left panel.
- Calculate Portfolio Weight. Once you finished company selection, you can press calculate weight button. The result should be displayed in few seconds.
Distributed under the MIT License. See LICENSE
for more information.