# Generated by Django 3.2.5 on 2021-07-20 20:39 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('trading', '0010_auto_20210716_1344'), ] operations = [ migrations.CreateModel( name='LuxOptionsTrade', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('symbol', models.CharField(max_length=256)), ('date', models.DateTimeField(auto_now_add=True)), ('close_date', models.DateTimeField(blank=True, null=True)), ('open_date', models.DateTimeField(blank=True, null=True)), ('entry_price', models.FloatField()), ('stop_price', models.FloatField()), ('target_price', models.FloatField()), ('strike_price', models.FloatField()), ('call_put', models.CharField(choices=[(0, 'Call'), (1, 'Put')], default=0, max_length=4)), ('contract_price', models.FloatField()), ('number_contracts', models.FloatField()), ('delta', models.FloatField()), ('expiration_date', models.DateField()), ('fees', models.FloatField()), ('status', models.IntegerField(choices=[(0, 'Open'), (1, 'Closed'), (2, 'Watching')], default=2)), ('notes', models.TextField(blank=True, null=True)), ('pl', models.FloatField(null=True)), ], options={ 'ordering': ('-open_date',), 'get_latest_by': 'open_date', }, ), migrations.AlterModelOptions( name='luxtrade', options={'get_latest_by': 'open_date', 'ordering': ('-open_date',)}, ), migrations.AlterModelManagers( name='luxtrade', managers=[ ], ), ]