* Muke Tever <[email protected]> [2022-01-02 21:45]:
> = %/inventory/
>     Equity:$account                         (-amount)
>     Equity:USD                              (market(amount))

I initially thought it's a bug but after looking at it some more I
think it's not a bug.

amount and market(amount) are not the same.  The amount is $5.00.
market(amount) is 1 OBJ {$5.00} [2022-01-02].

So I think you need to use either:

= %/inventory/
    Equity:$account                         (-amount)
    Equity:USD                              (amount)

or:

= %/inventory/
    Equity:$account                         (market(-amount))
    Equity:USD                              (market(amount))

You can run this command to see the difference:
    ledger -f d bal --lots equity

-- 
Martin Michlmayr
https://www.cyrius.com/

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ledger-cli/YdOC4Dd28KN731X%2B%40jirafa.cyrius.com.

Reply via email to