Added check on price value when adding transaction