Update strategy defaults
This commit is contained in:
parent
6dd2997a74
commit
e8a2f9b0fa
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue