Before revision:  We prove duality results that link the problem of quantile hedging to a randomized composite hypothesis test .
After revision:  Based on duality results which link quantile hedging to a randomized composite hypothesis test .