When Shary Mudassir joined RBC Capital Markets eight years ago, seven out of 10 junior hires in the equity trading unit had a business background. Now, 70 percent of newbies are engineers.

Speaking on Wednesday at an event in Silicon Valley, Mudassir said his group is staffing up on programmers to help Canada's biggest bank move from the era of electronic trading to the age of machine learning. Mudassir said he has a team of five people focused on building machine learning models.