To make this as short as possible, I am attempting to calculate my cost basis on the remainder of an asset that I have purchased, sold, and repurchased multiple times. I can calculate my average purchase price and cost basis after selling once, but I’m not sure what to do once you introduce more buy and sell factors into the equation.

Surely there has to be an equation that wouldn’t take recalculating the cost basis after every sell and I could just plug in all of my buy/sell prices and quantity, so please help!! Thank you friends.

submitted by /u/xyzachh
[link] [comments]

By admin