# Generated by Django 3.2.7 on 2022-01-03 13:11 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('trading', '0016_alter_luxoptionstrade_pl'), ] operations = [ migrations.CreateModel( name='LuxOptionContact', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('symbol', models.CharField(max_length=256)), ('strike_price', models.FloatField()), ('expiration_date', models.DateField()), ('contract_open_price', models.FloatField()), ('contract_close_price', models.FloatField(blank=True, null=True)), ('call_put', models.IntegerField(choices=[(0, 'Call'), (1, 'Put')], default=0)), ], ), migrations.CreateModel( name='LuxOptionPurchase', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('symbol', models.CharField(max_length=256)), ('open_date', models.DateTimeField(auto_now_add=True)), ('contracts', models.ManyToManyField(to='trading.LuxOptionContact')), ], ), ]