import trades from bitcoin.de via API

fixes #15
This commit is contained in:
2021-02-14 00:09:21 +01:00
parent fb468b20bc
commit 5e27eae9ca
10 changed files with 178 additions and 1 deletions
+1
View File
@@ -3,6 +3,7 @@ from django.contrib.auth.models import User
# Create your models here.
class Transaction(models.Model):
trade_id = models.CharField(max_length=20, default='MANUAL')
crypto_currency = models.CharField(max_length=10)
owner = models.ForeignKey(User, on_delete=models.CASCADE)
amount_before_fee = models.DecimalField(max_digits=24, decimal_places=10)