Historical analysis suggests market reactions depend heavily on the broader economic backdrop and the length of a given conflict.