AITeky Learn
Mini-project Banking & Fintech

Portfolio risk and return optimiser

Build a portfolio of Indian stocks that gets the best return for a given risk, and test it on later data.

The brief

Putting money in one stock is risky and putting it in ten random stocks is not much better. Using five years of daily prices, calculate returns, risk and correlations, build the efficient frontier, choose a portfolio, and test how it would have done in the following year. Good looks like: correct risk and return maths, an efficient frontier chart, and honest out-of-sample results compared with an index.

What you will build

  1. Choose 15 stocks across sectors
  2. Download daily prices and compute returns
  3. Estimate risk and correlation
  4. Build the efficient frontier
  5. Pick minimum-risk and maximum-Sharpe portfolios
  6. Test on the next year against the Nifty 50

Free, open data to build it with

Sign up free to get the data and links

It takes a minute with your email. AiTeky Pass (₹999/month or ₹9,999/year) is free for your first 30 days.

We use essential cookies to run the site. With your permission we also set one anonymous ID to count unique visitors, and analytics cookies to see which pages help learners. Cookie notice

Join AiTeky Learn. It's free.

Create a free account to track your progress, save items for later and get study suggestions.

Sign up free Log in