Hey - quick note on the math in the video to calculate the max buy:
btc = quantity * bid * 1.0025
to solve for quantity, divide both sides by bid*1.0025:
quantity = btc/(bid * 1.0025)
This works out with the numbers in the video around 7:00:
quantity = .00590745 / (.000732 * 1.0025) = 8.050161481542047