The basic concept behind statistical arbitrage in trading is to identify and exploit pricing inefficiencies or temporary deviations from expected…