Algorithmic trading, also known as algo-trading, is the use of computer programs to execute trades based on pre-defined instructions. It…