summaryrefslogtreecommitdiff
path: root/app/trading/migrations/0015_auto_20210727_1141.py
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2021-07-27 11:41:55 -0400
committerluxagraf <sng@luxagraf.net>2021-07-27 11:41:55 -0400
commite9542c3f64d547765ebe132a31d12633d963a8e3 (patch)
treea9de82e8866819a32dc8f11dea9323f6c3d4e1ab /app/trading/migrations/0015_auto_20210727_1141.py
parentf94cd466d98eae940e2e9449aedc041ba9f6f431 (diff)
trad: added closing price to options trades
Diffstat (limited to 'app/trading/migrations/0015_auto_20210727_1141.py')
-rw-r--r--app/trading/migrations/0015_auto_20210727_1141.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/app/trading/migrations/0015_auto_20210727_1141.py b/app/trading/migrations/0015_auto_20210727_1141.py
new file mode 100644
index 0000000..893922d
--- /dev/null
+++ b/app/trading/migrations/0015_auto_20210727_1141.py
@@ -0,0 +1,22 @@
+# Generated by Django 3.2.5 on 2021-07-27 11:41
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('trading', '0014_luxtrade_notes_html'),
+ ]
+
+ operations = [
+ migrations.AlterModelOptions(
+ name='luxtrade',
+ options={'get_latest_by': 'open_date', 'ordering': ('status', '-open_date')},
+ ),
+ migrations.AddField(
+ model_name='luxoptionstrade',
+ name='contract_close_price',
+ field=models.FloatField(blank=True, null=True),
+ ),
+ ]