Python을 활용한 정량적 리스크 관리
Jamsheed Shorish
Computational Economist
PyPortfolioOpt 라이브러리: MPT 최적화 도구
EfficientFrontier 클래스: 한 번에 하나의 최적 포트폴리오 생성
Constrained Line Algorithm(CLA) 클래스: 전체 효율적 프론티어 생성
PyPortfolioOpt 라이브러리: MPT 최적화 도구EfficientFrontier 클래스: 최적 포트폴리오를 한 번에 하나씩 생성CLA) 클래스: 전체 효율적 프론티어 생성Covariance Shrinkage로 추정 효율 개선CLAcla.min_volatility()cla.efficient_frontier()
expected_returns = mean_historical_return(prices)efficient_cov = CovarianceShrinkage(prices).ledoit_wolf()cla = CLA(expected_returns, efficient_cov)minimum_variance = cla.min_volatility()(ret, vol, weights) = cla.efficient_frontier()



Python을 활용한 정량적 리스크 관리