When i buy from straddle chart or deploy a strategy, only one leg is executed and other leg fails

Is there a seting, where a straddle or strategic will be executed only if both or all legs are executed and avoid partial execution