For example, suppose that you purchased $50,000 worth of bitcoin on Coinbase. After 40 days, the price fell, and you sold the position for $40,000, incurring a $10,000 loss. Then, in a Ledger wallet transaction, you repurchased Bitcoin for $42,000 five days later.
Credit: Source link