I know that calculating capital gains to HMRC in the UK can be difficult so I've made a UK income and capital gains calculator that can process Bitcoin transactions. It is available on github and is completely free and open source.
Github Homepage: github.com/MatthewLM/PyCryptaxPyPI Project Page: pypi.org/project/PyCryptaxYou have to provide prices and transactional data in CSV files. Prices can be downloaded from various sources such as
cryptodatadownload.com. Details on how to use it are in the
README.
PyCryptax uses same-day; 30-day bed and breakfasting; and section 104 holdings rules to calculate capital gains which is a massive headache to do manually for more than a few transactions.
I've tested it on Linux but I see no reason why it should not work on Mac or Windows. You will need to use
Python 3 to install and run the software which must be done on the command line.
There is another project known as
BittyTax which is worth checking out too. I've not used it myself but it appears to have some more advanced functions. PyCryptax uses a different input data format which is designed to be simple and separates out income, price and capital gain data. Hopefully both of the projects can be helpful in their own way. BittyTax uses the
AGPLv3 licence, whereas PyCryptax uses the MIT licence.
Please let me know if you come across any issues. You may post an issue on github
here.
Do not rely on this software for accuracy. Anything provided by this software does not constitute advice in any form. The software is provided "as is", without warranty of any kind. Use at your own risk. See the LICENSE file for more details.Apologies if this belongs in another forum, please move it if necessary.