On Wed, Aug 27, 2025 at 2:53 PM Tavis Ormandy <[email protected]> wrote:

> On 2025-08-16, Henry Mitchell wrote:
> > If I set the posting cost as above, it creates a pricedb entry that
> affects
> > the cash purchases. If I use a virtual posting cost using (@@), the
> pricedb
> > entry doesn't get created, but `--historical --exchange USD` seems to
> > ignore the explicit posting cost, so all 3 postings get valued at 10.00
> > USD. Is this intended behavior?
>
> I think it does makes sense, because you're effectively just ignoring it.
>
> > If so, how can I have it show the Cash
> > transactions as 10.00 USD and the Credit transaction as 11.00 USD?
> >
>
> I *think* you don't want the historical value (the fair market value of
> the commodity at the time you purchased it), you want what you *actually*
> paid (regardless of any discounts or fees to the fmv)... so you want the
> basis, no? So just --basis instead of --historical?
>
> Thanks Tavis. I think --basis does what I expected. I kinda sorta
understand why. Maybe it'll become clearer to me as I try to make use of
this flag for what I would like to do.



> Tavis.
>
> --
>  _o)            $ lynx lock.cmpxchg8b.com
>  /\\  _o)  _o)  $ finger [email protected]
> _\_V _( ) _( )  @taviso
>
> --
>
> ---
> 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 visit
> https://groups.google.com/d/msgid/ledger-cli/108nuoi%24tg9%241%40ciao.gmane.io
> .
>

-- 

--- 
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 visit 
https://groups.google.com/d/msgid/ledger-cli/CACTkciMVvddASKJYTMgi2oUNXpBNRvqRV5JBjnpZ5bbCsXoWuA%40mail.gmail.com.

Reply via email to