Optiver interview question

Coding problem: design a class to find the worst trade