Saccade Capital Interview Question

1st round: Programming exercies from code learing website. 2nd round: Programming problem from pratical trading.