What does "shunting" mean?

Shunting: (a) (Railroads) Switching; as, shunting engine, yard, etc. [British] (b) (Finance) Arbitrage conducted between certain local markets without the necessity of the exchange involved in foreign arbitrage. [Great Britain]

Sources