Shares of major railroad companies were moving higher with the overall market Friday afternoon.

Norfolk Southern ( NSC), which is scheduled to report first-quarter earnings Tuesday, was up 2.6% to $38.19.

Kansas City Southern ( KSU) shares were up 4.4% to $17.27.

Canadian Pacific ( CP) shares were trading at $34.66, up 6.6%.

Burlington Northern Santa Fe ( BNI), which will report quarterly earnings Thursday, was higher by 3.1% to $68.65.

Union Pacific ( UNP), which also reports earnings Thursday, was up 3.6% to $48.87.

CSX ( CSX) shares were up 2.5% to $31.72.

More from Investing

Adobe-Magento Deal Highlights Escalating Cloud Wars

Adobe-Magento Deal Highlights Escalating Cloud Wars

Did Trump Just Torpedo the Stock Market Again?

Did Trump Just Torpedo the Stock Market Again?

10 Questions for PayPal Ahead of Its Big Investor Day

10 Questions for PayPal Ahead of Its Big Investor Day

Lowe's Q1 Miss Emerges as Home Depot Veteran Arrives

Lowe's Q1 Miss Emerges as Home Depot Veteran Arrives

Stocks Move Lower on Trade Fears and 4 Other Stories You Must Know Wednesday

Stocks Move Lower on Trade Fears and 4 Other Stories You Must Know Wednesday