Share prices have been swinging mostly in tandem with oil prices, which have gyrated as the war has deepened