We study a dynamic-contracting problem involving risk sharing between two parties -- the Proposer and the Responder -- who invest in a risky asset until an exogenous but random termination time. In any time period they must invest all their wealth in the risky asset, but they can share the...