I'm trying to understand how to construct legs for a transaction where no legs are in the operating currency. For example, one might exchange USDT (Tether) for BTC. USDT is sorta like USD but actually not, and its exchange rate does fluctuate. Such a transaction isn't technically just a purchase from the standpoint of US taxation; it rather is considered:
1) a virtual sale of the USDT for USD, for which capital gains may be owed 2) a virtual purchase of BTC with those USD proceeds, which establishes the cost basis for the BTC I don't yet have a deep enough intuition on Beancount "cost" and "price" to understand whether this can be accomplished simply with two legs (a USDT leg and a BTC leg) with some "price" magic, or whether I need four legs (two additional USD legs). How would one record such a transaction? (For bonus points, some exchanges charge transaction fees in other assets, e.g. USDT. In that case, the transaction fees are then also an implicit sale for USD, so I need to figure out how to enter that as well.) thanks, eric -- You received this message because you are subscribed to the Google Groups "Beancount" group. To unsubscribe from this group and stop receiving emails from it, send an email to beancount+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/CAFXPr0tqjUwuu6FPkN5wc9M0v5PrYnXoMDyzao%3DNY2zyiL69pg%40mail.gmail.com.