From e9542c3f64d547765ebe132a31d12633d963a8e3 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Tue, 27 Jul 2021 11:41:55 -0400 Subject: trad: added closing price to options trades --- app/trading/migrations/0015_auto_20210727_1141.py | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 app/trading/migrations/0015_auto_20210727_1141.py (limited to 'app/trading/migrations/0015_auto_20210727_1141.py') 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), + ), + ] -- cgit v1.2.3-70-g09d2