beancount-parser
beancount-parser copied to clipboard
reject negative amount in price and cost
from https://beancount.github.io/docs/beancount_language_syntax.html#costs-and-prices:
Amounts specified as either per-share or total prices or costs are always unsigned. It is an error to use a negative sign or a negative cost and Beancount will raise an error if you attempt to do so.
Was closed by mistake.