BittyTax / BittyTax

Crypto-currency tax calculator with support for all popular wallets, exchanges, explorers and migration from other crypto tax platforms
GNU Affero General Public License v3.0
415 stars 111 forks source link

Support loan borrowing, repayment, and interest #135

Closed curtailment closed 2 months ago

curtailment commented 3 years ago

I believe we should add transaction types for borrowing assets (i.e. taking out a loan) and associated events for repayment and interest accrued (payable) on the loan.

There are many scenarios that this would be useful:

I may suggest naming the events as:

nanonano commented 6 months ago

The margin-trading branch now includes the new transaction types below, see https://github.com/BittyTax/BittyTax/commit/a19e44d6812f2b18e7e8f60e63394fc1ce7ac6a5.

  1. Loan - amount you have borrowed as a loan
  2. Loan-Repayment - the repayment in part of full of the borrowed amount
  3. Loan-Interest - any interest payments on the amount you have borrowed

Both Loan-Repayment and Loan-Interest result in a disposal if payment is in crypto.

Looking for beta testers :)

nanonano commented 2 months ago

Closing this issue now that the margin trading branch has been merged into master.