Transaction data persistence for taxes

Is there any easy way to fetch all tx data through the tax year?

I am sure many folks here accrued massive capital loss that can be used as future credits, and will need a data source to provide to their respective tax authorities.

God speed, thank you.