qis.return_log_shock¶ qis.return_log_shock(market_return, effective_weight=1.0)[source]¶ Convert a simple market return with fixed exposure to a factor log return. Parameters: market_return (float) – Decimal simple return strictly greater than -1. effective_weight (float) – Fixed exposure; the uninvested portion has zero instantaneous carry. Return type: float