On 2024-03-16, lipp f wrote: > sure. let's assume the I have the following in the broker account: > - 1000 AAPL @ 172.62USD > - 1000 CNR.TO @ 174.28CAD > - 1000 BAYN.DE @ 26.24EUR > - 100 USD cash > - 100 CAD cash > - 100 EUR cash > the value of all assets priced in EUR is 1000 BAYN.DE @ 26.24EUR plus 100 > EUR cash, which means 26340EUR. i want to limit bal / reg to those two > assets. > *-* >
I see, I think maybe --limit 'commodity(lot_price(amount)) == "EUR"', but try --group-by too. (You might need to tweak it, depends on how you record things) 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 on the web visit https://groups.google.com/d/msgid/ledger-cli/ut4jkq%24hnv%241%40ciao.gmane.io.
