This is why I paid a firm to do my crypto reconciliation... which too costs an arm and a leg.
Yeah if you're in for a penny you're in for a pound as they say. Sometimes I think that most of the algorithms should just go away and we should just trade 10 times a year, from a spreadsheet. Then I remember that those algorithms all came from the primordial spreadsheet soup, and just laugh.
You have to tell the software about your cost basis, which is only a problem if you're mining. It's smart enough to figure out buying and selling on the same platform, but it is not smart enough to figure out that some income was related to later sales and track your cost basis unless you make those connections yourself.