Title: Optimal trade policy and compensation under endogenous uncertainty