IMC Trading Interview Question

They asked SQL query, regex and a python question.