
Advanced Portfolio Construction with Python Course
Master institutional-grade portfolio construction using Python, from Markowitz optimization and Black-Litterman models to machine learning signal integration and live execution. This course equips quantitative analysts, portfolio managers, and data-driven investors with the tools to build, backtest, and deploy sophisticated investment strategies. Move beyond theory and start building portfolios that perform under real-world constraints.
What you will learn:
Configure a professional Python quant environment for reproducible financial analysis.
Construct and map efficient frontiers using SciPy and CVXPY optimization frameworks.
Estimate robust covariance matrices and apply shrinkage methods to reduce portfolio instability.
Implement the Black-Litterman model to blend market equilibrium with investor views.
Integrate supervised machine learning return forecasts into portfolio optimization pipelines.
Generate institutional-quality tearsheets, performance attribution reports, and interactive dashboards.
How you study in a practical way Advanced Portfolio Construction with Python Course
How you practice Advanced Portfolio Construction with Python Course
For companies who want to train their team
With Dedika for businesses, the course includes exercises and examples tailored to your own business and the way your company needs.
Course content
8 Chapters • 40 LessonsDuration between 4 and 360 hours (you decide)
Chapter 1HideHide detailsSee detailsPython Foundations for Portfolio Work
Python Foundations for Portfolio Work
Lesson 1 • Computing Returns and Basic Statistics
Calculate simple and log returns and summarize their distributions. These metrics are the direct inputs to all risk and optimization models ahead.
Lesson 2 • Fetching and Cleaning Market Data
Retrieve historical price data via APIs and clean it for analysis. Ensures data quality before any return or risk calculation is performed.
Lesson 3 • Pandas for Time Series Data
Manipulate DataFrames and time-indexed Series to handle price and return data. Provides the data layer that feeds every subsequent analytical module.
Lesson 4 • Setting Up the Quant Environment
Configure Python, virtual environments, and essential libraries for portfolio analysis. Establishes the reproducible workspace used throughout the course.
Lesson 5 • NumPy for Financial Computation
Apply NumPy arrays and vectorized operations to financial calculations. Replaces slow loops with efficient array math used in later portfolio models.
Chapter 2HideHide detailsSee detailsRisk Measurement and Factor Analysis
Risk Measurement and Factor Analysis
Lesson 1 • Covariance Matrix Estimation
Estimate and shrink covariance matrices to reduce estimation error. Reliable covariance matrices are essential for stable portfolio optimization.
Lesson 2 • Volatility Estimation Techniques
Estimate historical and exponentially weighted volatility from return series. Accurate volatility estimates underpin every risk-adjusted performance measure.
Lesson 3 • Drawdown and Tail Risk Metrics
Measure peak-to-trough losses and extreme downside risk using Python. Connects volatility analysis to investor-relevant loss scenarios.
Lesson 4 • Risk Attribution and Reporting
Attribute portfolio variance to individual assets and factors. Translates raw risk numbers into actionable insights for portfolio managers.
Lesson 5 • Factor Model Fundamentals
Decompose asset returns into factor exposures using regression. Provides the analytical lens for understanding systematic risk drivers.
Chapter 3HideHide detailsSee detailsMean-Variance Optimization
Mean-Variance Optimization
Lesson 1 • Markowitz Framework Essentials
Formalize the mean-variance objective and constraint structure mathematically. Grounds all subsequent optimization code in rigorous theory.
Lesson 2 • Incorporating Practical Constraints
Add long-only, sector, and turnover constraints to the optimizer. Bridges the gap between textbook theory and real-world portfolio mandates.
Lesson 3 • Resampling and Robust Optimization
Apply Michaud resampling and robust methods to stabilize optimal weights. Addresses the instability of classical MVO under estimation error.
Lesson 4 • Mapping the Efficient Frontier
Sweep target return levels to trace the full efficient frontier curve. Visualizes the risk-return trade-off central to portfolio construction decisions.
Lesson 5 • Solving Optimization with SciPy
Translate the mean-variance problem into SciPy minimize calls with constraints. Builds practical coding skills for constrained numerical optimization.
Chapter 4HideHide detailsSee detailsAdvanced Optimization Frameworks
Advanced Optimization Frameworks
Lesson 1 • Backtesting Optimization Strategies
Run walk-forward backtests of optimization strategies on historical data. Validates whether theoretical gains survive realistic out-of-sample conditions.
Lesson 2 • Convex Optimization with CVXPY
Model portfolio problems as disciplined convex programs using CVXPY syntax. Unlocks a broader class of objectives and constraints than SciPy alone.
Lesson 3 • Risk-Parity Portfolio Construction
Build equal-risk-contribution portfolios by equalizing marginal risk shares. Provides a diversification alternative that avoids return estimation entirely.
Lesson 4 • Maximum Diversification and Other Objectives
Implement maximum diversification ratio and minimum CVaR objectives. Expands the toolkit for mandates that go beyond Sharpe ratio maximization.
Lesson 5 • Multi-Period and Transaction Cost Optimization
Incorporate rebalancing costs and multi-period objectives into the optimizer. Aligns theoretical portfolios with the economics of live trading.
Chapter 5HideHide detailsSee detailsThe Black-Litterman Model
The Black-Litterman Model
Lesson 1 • Optimizing on BL Posterior Outputs
Feed posterior returns and covariance into MVO and CVXPY optimizers. Demonstrates how BL integrates with the optimization frameworks built earlier.
Lesson 2 • BL Model Extensions and Critique
Explore factor-based views, entropy pooling, and known BL limitations. Prepares students to adapt the model to non-standard portfolio mandates.
Lesson 3 • Equilibrium Returns and Market Priors
Derive implied equilibrium returns from market capitalization weights. Establishes the neutral starting point that Black-Litterman adjusts with views.
Lesson 4 • Posterior Return Computation
Combine prior and views using Bayesian updating to get posterior returns. Produces the blended return vector fed into the final optimizer.
Lesson 5 • Encoding Investor Views
Translate qualitative views into the P and Q matrices of the BL model. Connects portfolio manager intuition to a mathematically rigorous framework.
Chapter 6HideHide detailsSee detailsMachine Learning for Return Prediction
Machine Learning for Return Prediction
Lesson 1 • Integrating ML Signals into Optimization
Convert ML return forecasts into expected return inputs for the optimizer. Closes the loop between prediction models and portfolio weight generation.
Lesson 2 • Dimensionality Reduction Techniques
Apply PCA and autoencoders to compress high-dimensional return data. Reduces noise and multicollinearity before feeding data into portfolio models.
Lesson 3 • Clustering for Asset Grouping
Use k-means and hierarchical clustering to group assets by return behavior. Supports diversification analysis and hierarchical portfolio construction.
Lesson 4 • Supervised Models for Return Forecasting
Train regularized regression and tree-based models to predict forward returns. Evaluates model skill using finance-specific metrics beyond standard R-squared.
Lesson 5 • Feature Engineering for Financial Data
Create predictive features from price, volume, and macro data using pandas. High-quality features are the primary driver of model predictive power.
Chapter 7HideHide detailsSee detailsDynamic Rebalancing and Execution
Dynamic Rebalancing and Execution
Lesson 1 • Order Execution and Slippage Simulation
Simulate order execution with slippage models inside the backtest engine. Produces realistic performance estimates that account for market microstructure.
Lesson 2 • Transaction Cost Modeling
Model bid-ask spreads, market impact, and commissions in Python. Accurate cost modeling prevents overfitting to gross-return backtests.
Lesson 3 • Tax-Aware Portfolio Management
Incorporate tax-loss harvesting and holding-period rules into rebalancing logic. Improves after-tax returns without altering the pre-tax investment thesis.
Lesson 4 • Rebalancing Rules and Triggers
Compare calendar, threshold, and volatility-triggered rebalancing strategies. Choosing the right trigger directly affects net-of-cost portfolio performance.
Lesson 5 • Liquidity Constraints and Position Sizing
Enforce liquidity-based position limits using average daily volume data. Prevents the optimizer from allocating to positions that cannot be executed.
Chapter 8HideHide detailsSee detailsPortfolio Analytics and Reporting
Portfolio Analytics and Reporting
Lesson 1 • Performance Measurement Framework
Compute return-based and risk-adjusted performance metrics systematically. Provides the quantitative vocabulary for evaluating any portfolio strategy.
Lesson 2 • Interactive Dashboards with Plotly and Dash
Build interactive portfolio dashboards using Plotly charts and Dash layouts. Enables stakeholders to explore portfolio data without writing code.
Lesson 3 • Regulatory and Client Reporting Standards
Align reporting outputs with performance presentation and disclosure standards. Ensures reports meet institutional and client-facing compliance requirements.
Lesson 4 • Automated Tearsheet Generation
Generate pyfolio-style tearsheets programmatically from a returns series. Standardizes reporting and reduces manual effort in performance review cycles.
Lesson 5 • Performance Attribution Analysis
Decompose portfolio returns into allocation, selection, and interaction effects. Identifies the true sources of outperformance or underperformance vs. a benchmark.
Your valid completion certificate
This course is for you:
Equity analyst: wants to automate portfolio decisions with Python code.
Data scientist: ready to apply machine learning skills to investment management.
Self-taught investor: building systematic strategies beyond spreadsheets and intuition.
Risk manager: seeking hands-on tools to quantify and decompose portfolio exposure.
Finance graduate: bridging the gap between academic theory and professional practice.
Software engineer: transitioning into quantitative finance from a technical background.
What our students say
Your classes are perfect. I purchased the one-year package and finally have the opportunity to follow various topics of my interest without needing to change platforms... I thank you for everything you do, I've already recommended you to other people...

I like how the lessons are straight to the point and how I can switch chapters and skip content I don't need.

I like the content and the way videos are presented and transcribed, which speeds up the process!

The platform is fast, simple to use. The diversity of content and complementary videos really help with learning.

Top trainings
FAQs
Who is Dedika?
Is the certificate valid in the Philippines?
Are the courses free?
What is the course workload?
What are the courses like?
How do the courses work?
What is the duration of the courses?
What is the cost or price of the courses?
What is an EAD or online course and how does it work?
PDF Course




















