Coverage for django_napse/core/models/bots/implementations/turbo_dca/config.py: 100%

7 statements  

« prev     ^ index     » next       coverage.py v7.4.3, created at 2024-03-12 13:49 +0000

1from django.db import models 

2 

3from django_napse.core.models.bots.config import BotConfig 

4 

5 

6class TurboDCABotConfig(BotConfig): 

7 setting_timeframe = models.DurationField() 

8 setting_percentage = models.FloatField() 

9 

10 def __str__(self) -> str: 

11 return f"TURBO DCA BOT CONFIG: {self.pk} - {self.immutable}"