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
985 B
Python
34 lines
985 B
Python
# Generated by Django 4.1.3 on 2022-12-01 18:40
|
|
|
|
import django.db.models.deletion
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('core', '0037_callback_signal'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.RemoveField(
|
|
model_name='strategy',
|
|
name='hooks',
|
|
),
|
|
migrations.AddField(
|
|
model_name='strategy',
|
|
name='entry_signals',
|
|
field=models.ManyToManyField(related_name='entry_strategies', to='core.signal'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='strategy',
|
|
name='exit_signals',
|
|
field=models.ManyToManyField(related_name='exit_signals', to='core.signal'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='trade',
|
|
name='signal',
|
|
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='core.signal'),
|
|
),
|
|
]
|