On 2024-03-16, lipp f wrote:
> not what was expected.
Right, but you said you paid for them in USD or CAD or whatever, and
that was how you were defining which exchange they were on. If you paid
for them in USD, then they were on the US exchange, and so on.. that
makes perfect sense!
However you're not *recording* that - you didn't record the lot price (i.e. the
cost basis), so ledger doesn't know what currency you paid with.
For example, which exchange did this transaction occur on?
assets:broker 1000 "AAPL"
I think you just "know" that AAPL trades on the NASDAQ, but ledger
doesn't know that. You could tell ledger that with tags, like this:
assets:broker 1000 "AAPL" ; exchange: US
Or record them with cost basis, like this:
assets:broker 1000 "AAPL" @ $10
Then it will work... shrug.
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/ut53tv%24vao%241%40ciao.gmane.io.