minimizes the cost of hedging a path dependent contingent claim with given expected success ratio, in a discrete-time, semi …-static market of stocks and options. Based on duality results which link quantile hedging to a randomized composite hypothesis test … measure, which guarantees the existence of the optimal hedging strategy and enables numerical calculation of the quantile …