This document presents a project on risk allocation in portfolio management developed at the Zurich University of Applied Sciences. The project involves creating an engine to construct optimized portfolios by importing assets and evaluating their risk and performance metrics, primarily focusing on improving the Sharpe ratio through diversification. The study utilizes various optimization methods and analyzes asset characteristics to enhance portfolio performance from 2008 to 2018.