GTS Interview Question

Write an order execution algo (i.e. buy low sell high)