An arbitrage bot is a smart contract connected to an external automation script that controls its operation.