FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

BenAhlander/nodePorfolioOptimizer: Input tickers, output maximum Sharpe ratio portfolio · GitHub

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node Porfolio Optimizer

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

  1. Get an API key from www.alphavantage.co
  2. create an .env file and add ALPAVANTAGE_KEY={API KEY}
  3. from the root directly, run npm i
  4. visit src/index.js and modify riskFreeRate and listTickers
  5. run npm start

About

Input tickers, output maximum Sharpe ratio portfolio

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages


Back | FazBrowse Home | New Git URL