Let's consider this posting for a company's stock grant:

*2024/04/01 * Acme*

*  Assets                                                                   
    7 ACM @ $10*

*  Tax                                                                     
        3 ACM @ = $10*

*  Income                                                                   
 -$100*

 

*P 2024/04/04 ACM $15*


Here, the intention is to fix the price of stock used to pay tax, so 
balance reports in future report the same tax amount in dollar values even 
after stock price changes.

Hence the command after price changes to $15:

*ledger bal Tax -V*

gives:

*$30 Tax *


Which follows the expectation. Now lets look at balance report for Assets 
asked after the price changed on 4th April 2024:

*ledger bal Assets -V*

this produces 

*$70 Assets*


This in my opinion is unexpected behavior.  I used fixed lot price syntax 
to fix the price for Tax but not for Assets, but it also fixed the price 
for assets. I'm not sure if I'm doing something wrong here or if it is a 
bug.

Pranshu Goyal

-- 

--- 
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/6b011b67-290e-49f9-93ae-e1868984374an%40googlegroups.com.

Reply via email to