Hi,

Given a sample input file, `t`:

2014/10/31 * ABC Dividend
    Assets:Brokerage:ESSP                 0.8751 ABC @ $57.1948
    ; Action: Dividend
    Income:Dividend:Taxable

2014/12/31 * ABC Buy
    Assets:Brokerage:ESSP                10.1197 ABC @ $59.8833
    ; Action: Purchase
    Income:Paycheck:ESSP

2015/01/31 * ABC Dividend
    Assets:Brokerage:ESSP                 1.0434 ABC @ $52.1859
    ; Action: Dividend
    Income:Dividend:Taxable

I am able to run yearly report as expected:

ledger -f x reg assets:brokerage:essp --limit "commodity=='ABC'" -Y 

14-Jan-01 - 14-Dec-31           Assets:Brokerage:ESSP   10.9948 ABC 
 10.9948 ABC
15-Jan-01 - 15-Dec-31           Assets:Brokerage:ESSP    1.0434 ABC 
 12.0382 ABC

However, when I add the --prices tag i get unexpected output (looks like 
only the current year is having its price applied):

ledger -f x reg assets:brokerage:essp --limit "commodity=='ABC'" -Y *-I* 

15-Jan-01 - 15-Dec-31           Assets:Brokerage:ESSP  $54.45076806 
$54.45076806
                                                                    
 10.9948 ABC

Any insights into what the problem may be with my setup/report?

Thanks,

-- 

--- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to