Re: Cryptocurrencies transactions that are exchanges (cost basis)

2024-04-26 Thread Eric Altendorf
On Fri, Apr 26, 2024 at 4:49 PM Simon Michael wrote: > On 2024-03-19 08:37, Eric Altendorf wrote: > > Hmm, i guess my example doesn't include any account transfers. > > > > My understanding is cost bases are attached to lots which are tracked in > > accounts. So if you have 100 ETH in account A

Re: Cryptocurrencies transactions that are exchanges (cost basis)

2024-04-26 Thread Simon Michael
On 2024-03-19 08:37, Eric Altendorf wrote: Hmm, i guess my example doesn't include any account transfers. My understanding is cost bases are attached to lots which are tracked in accounts.  So if you have 100 ETH in account A and 100 ETH in account B, and you sell or transfer from Account A, i

Re: Cryptocurrencies transactions that are exchanges (cost basis)

2024-03-19 Thread Eric Altendorf
Hmm, i guess my example doesn't include any account transfers. My understanding is cost bases are attached to lots which are tracked in accounts. So if you have 100 ETH in account A and 100 ETH in account B, and you sell or transfer from Account A, it will FIFO the lots in Account A and ignore th

Re: Cryptocurrencies transactions that are exchanges (cost basis)

2024-03-17 Thread CD
Another question on your two examples... If it's set to FIFO... What if you have multiple Assets accounts for ETH? For example - if you had 100 ETH in Assets:Coinbase:ETH and another 100 ETH in Assets:BItstamp:ETH would the transactions below still pull FIFO from both of those accounts or do

Re: Cryptocurrencies transactions that are exchanges (cost basis)

2024-03-17 Thread Eric Altendorf
TLDR: it's a hack to try to get beancount to carry cost basis along if that position is ever transferred to another account. There have been a bunch of discussions about this and to be honest, I'm not 100% confident in the current state of affairs. In general, beancount is not very reliable about

Re: Cryptocurrencies transactions that are exchanges (cost basis)

2024-03-17 Thread CD
Thank you for this. I figured out the USD price importing (I downloaded price histories from Yahoo and put them all in a folder that my script references) but I am not clear on what the empty {} does I understand if I want to book the price I purchased at in the database I want to use somethi

Re: Cryptocurrencies transactions that are exchanges (cost basis)

2024-03-16 Thread Eric Altendorf
All of the following is not tax or accounting advice, but simply my understanding. Feedback from other beancounters would be welcome. I think you have to figure out the USD values yourself, based on your assessment of the FMV. Here's some examples of how I structure exchanges. (Reminder: this is

Cryptocurrencies transactions that are exchanges (cost basis)

2024-03-16 Thread CD
Two random transactions that I created based from an old Poloniex export a friend gave me... 2018-01-03 * "Crypto Buy" "Order number: x" Assets:DGB 5171.00018694 DGB @ 0.0447 BTC Assets:BTC -0.02317230 BTC Expenses:TradingFees12.95990021 DGB @ 0.0447 BTC 2018-01-08 *