Implement trend signals
This commit is contained in:
18
core/migrations/0043_strategy_trend_signals.py
Normal file
18
core/migrations/0043_strategy_trend_signals.py
Normal file
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 4.1.3 on 2022-12-06 19:24
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('core', '0042_trade_information'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='strategy',
|
||||
name='trend_signals',
|
||||
field=models.ManyToManyField(blank=True, related_name='trend_strategies', to='core.signal'),
|
||||
),
|
||||
]
|
||||
18
core/migrations/0044_strategy_trends.py
Normal file
18
core/migrations/0044_strategy_trends.py
Normal file
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 4.1.3 on 2022-12-06 19:33
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('core', '0043_strategy_trend_signals'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='strategy',
|
||||
name='trends',
|
||||
field=models.JSONField(blank=True, null=True),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user