bayesline.api.equity.DoNotTradeConstraint#
- model DoNotTradeConstraint#
Freeze listed assets or whole sides of the book at their current holdings.
Frozen positions keep their current holding exactly; the rest of the book is optimized around them. Assets the problem cannot see (unmapped holdings, holdings outside the risk model universe) are always held fixed and need not be listed.