I watched a CPAacademy webinar a few weeks ago about crypto taxes. There are two companies that put on the webinar in the attached pdf. I believe they have an API that integrates with the exchanges such as Coinbase and Coindesk so it keeps track of the transactions using FIFO. You may want to contact one or both of these companies.
------------------------------
Doug Higgs
Midwest Commerce Solutions, Inc
(312) 315-0960
Assistant to the Traveling Secretary
------------------------------