On Monday, 22 February, 2021 at 2:26:12 pm UTC+5:30 [email protected] 
wrote:

> I never use @ or @@ to specify lot prices. 


Have you out the trading accounts 
method? 
https://github.com/ledger/ledger/wiki/Multiple-currencies-with-currency-trading-accounts

It still requires calculation of realized capital gains by hand, but it can 
at least help you automatically calculate _unrealized_ capital gains.
 

> Unfortunately that means I also have to manually build a price database.


 There is one downside to using the prices database for transaction prices 
(as opposed to market prices):

You can normally have multiple transactions in a single day with different 
prices for different transactions.  

But if you're using the prices database, then you can't (since you can't 
specify time in transactions nor in the prices database).

-- 

--- 
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/01e462cc-4349-498e-bc03-6842b1030e63n%40googlegroups.com.

Reply via email to