Stock trading - Invalid price

It would be incredibly helpful if instead of giving the message "Invalid price", the system told us which price range is valid. As it is, it leaves the user with sheer guesswork and frustration, and the hint "No buying or selling order may divert more than 10% from the current price of the stock." is obviously patently wrong. Whatever the system thinks is the current price seems to bear zero relation to what is displayed in the stock data.

Suggested code change before and after, can't be that difficult:

if (requested_price < low_price) or (requested_price > high_price) {
    print "Invalid Price";
}
if (requested_price < low_price) or (requested_price > high_price) {
    print "price must be between"+ low_price.toString()+ " and " + high_price.toString() ;
}