This node app is designed to optimize a porfolio using the maximum sharpe ratio porfolio designed by Harry M. Markowitz. This will find the effecient frontier based on historical returns and correlation matrices. All Api's are open source, however, a free API key is required.
HOW TO RUN
- Get an API key from www.alphavantage.co
- create an .env file and add ALPAVANTAGE_KEY={API KEY}
- from the root directly, run npm i
- visit src/index.js and modify riskFreeRate and listTickers
- run npm start