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?
Tavis.
--
_o) $ lynx
lock.cmpxchg8b.com
/\\ _o) _o) $ finger
tav...@sdf.org
_\_V _( ) _( ) @taviso