Is there an example of a simple/basic arbitrage strategy ?

Meaning, if an equity's price traded on exchange A is lower than it's price on exchange B - buy it on A, and sell it on B.

How do I compare equity's price on different exchanges ?

How do I buy in A's price and, respectively, sell it on exchange B ?

I've searched documentation as well as in algorithm files, with no success finding such an example.

Thank you very much!