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
« prev ^ index » next coverage.py v7.4.3, created at 2024-03-12 13:49 +0000
1from django.db import models
3from django_napse.core.models.bots.config import BotConfig
6class TurboDCABotConfig(BotConfig):
7 setting_timeframe = models.DurationField()
8 setting_percentage = models.FloatField()
10 def __str__(self) -> str:
11 return f"TURBO DCA BOT CONFIG: {self.pk} - {self.immutable}"