This photo, taken Friday, shows the trading room of Hana Bank in Seoul as South Korean stocks spiked more than 4 percent amid hopes the war between the United States and Iran could end soon. Photo by Yonhap

Seoul stocks rose by more than 4 percent Friday, as investors snapped up tech heavyweights amid hopes the war between the United States and Iran could end soon.

The benchmark Korea Composite Stock Price Index (KOSPI) closed up 359.67 points, or 4.63 percent, at 8,123.62 after rising as high as 8,434.40.

After opening sharply higher on renewed hopes that the war between the U.S. and Iran is near its end, the index trimmed earlier gains on profit taking ahead of the closing bell.

Trade volume was heavy at 490.3 million shares worth 51.1 trillion won (US$33.6 billion). Winners outnumbered losers 753 to 144.