Compute max profit with forced trades | Retool