From e8a2f9b0fa2322f56b92a2546628680c8a6b753d Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Sun, 6 Nov 2022 07:20:24 +0000 Subject: [PATCH] Update strategy defaults --- core/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/models.py b/core/models.py index dd58864..dfe918c 100644 --- a/core/models.py +++ b/core/models.py @@ -204,10 +204,10 @@ class Strategy(models.Model): account = models.ForeignKey(Account, on_delete=models.CASCADE) hooks = models.ManyToManyField(Hook) enabled = models.BooleanField(default=False) - take_profit_percent = models.FloatField(default=3.0) + take_profit_percent = models.FloatField(default=1.5) stop_loss_percent = models.FloatField(default=1.0) price_slippage_percent = models.FloatField(default=2.5) - trade_size_percent = models.FloatField(default=2.5) + trade_size_percent = models.FloatField(default=0.5) def __str__(self): return self.name