This page documents two dividend-focused optimizers available in the backend:
Forward-Yield Allocator (share-based): builds a discrete-share portfolio to maximize expected cash yield subject to risk and allocation caps. It uses raw Close prices (no auto-adjust) and TTM dividends to estimate forward yield per security.
Entropy-regularized Optimizer (continuous weights): maximizes a weighted combination of portfolio dividend yield and portfolio entropy to promote diversification, with an optional volatility cap.
Forward yields are computed from TTM (trailing-twelve-month) dividends over a rolling window and the most recent raw Close prices.
ticker
and exchange
(NSE/BSE) to identify the security.For each ticker , compute trailing-twelve-month dividends over a rolling window and last close price to estimate forward yield:
Portfolio yield with weights is:
Here denotes the individual forward yield of asset , and denotes the portfolio forward yield.
With a risk cap (optional):
Objective (maximize expected dividend yield plus diversification):
Subject to:
Here and is the covariance of daily returns scaled by 252.