You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
912 B
Python
34 lines
912 B
Python
2 years ago
|
# Generated by Django 4.1.2 on 2022-10-27 16:33
|
||
|
|
||
|
from django.db import migrations, models
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
|
||
|
dependencies = [
|
||
|
('core', '0018_strategy_trade_size_percent_trade_amount_usd_and_more'),
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.AddField(
|
||
|
model_name='account',
|
||
|
name='supported_symbols',
|
||
|
field=models.JSONField(default=list),
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='strategy',
|
||
|
name='stop_loss_percent',
|
||
|
field=models.FloatField(default=1.0),
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='strategy',
|
||
|
name='take_profit_percent',
|
||
|
field=models.FloatField(default=3.0),
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='trade',
|
||
|
name='symbol',
|
||
|
field=models.CharField(max_length=255),
|
||
|
),
|
||
|
]
|