Open xkikeg opened 4 months ago
Currently my program accepts the one below
2023/4/20 stock Assets:Brokers -10 FOOBAR {(1000.00/10 USD)} @ 110 USD Income:Capital Gain -100 USD Assets:Banks 1,100 USD
But Ledger doesn't accept this.
While parsing posting: Assets:Brokers -10 FOOBAR {(1000.00/10 USD)} @ 110 USD ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: No quantity specified for amount
OTOH, if you remove the parens, Ledger still ignores the expression silently.
> 2023/4/20 stock > Assets:Brokers -10 FOOBAR {1000.00/10 USD} @ 110 USD > Income:Capital Gain -100 USD > Assets:Banks 1,100 USD Unbalanced remainder is: -100.00 USD Amount to balance against: 1,100.00 USD
So probably we should
Currently my program accepts the one below
But Ledger doesn't accept this.
OTOH, if you remove the parens, Ledger still ignores the expression silently.
So probably we should