* Martin Blais <[email protected]> [2014-11-02 16:58]:
> 1. Can somebody explain how the treatment of "@ price" vs. "{price}"
> differs? Other members of this list have previously pointed out to the docs
> that say that they are entirely equivalent. Based on the previous change,
> they appear not to be. This needs clarification IMO.

{price} is the lot price, i.e. the original cost.  @ price is what
it's worth now.  e.g. you could have 1 AAA {5.00 GBP} @ 6.00 GBP - you
bought it for 5 and now you're selling it for 6.

Why are {price} and @ price handled differenly?  I think this is a
bug.  See http://bugs.ledger-cli.org/show_bug.cgi?id=630

> 2. What is the correct way to convert my original transaction to Ledger
> syntax?

I think for now:

  Assets:CA:Investment:GOOG          5 GOOG {520.0 USD} @ 520.0 USD
  Expenses:Commissions            9.95 USD
  Assets:CA:Investment:Cash   -2939.46 CAD @ 0.8879 USD

-- 
Martin Michlmayr
http://www.cyrius.com/

-- 

--- 
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