Add limit-buying behavior

This patch enables you to set an optional limit to the price you would like to buy at, and postpones orders until the price is below that level.