using hourly rate to determine notification, instead of daily rate

default loss threshold is 3% instead of 5%
calculate the loss threshold correctly