when updating transaction amount, assure positive numbers

Negative (payout) prices set the direction of the transaction, but
only absolute values are stored.