Legging risk is the risk that the prices of the legs of a multi-instrument trade move between the execution of the first leg and the last, so that the trade completes at worse prices than those that justified it, or does not complete.
hf_basket.sweep.