Hopefully you have a limit order in place. You can also do more complicated hedges with options which might cost a little bit more depending on the spread but you can guarantee your hedges.