# Generated by Django 3.2.4 on 2021-07-13 14:27 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='LuxTradeModel', 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)), ('entry_price', models.FloatField()), ('stop_price', models.FloatField()), ('target_price', models.FloatField()), ('shares', models.FloatField()), ('percent_portfolio', models.FloatField()), ], ), migrations.CreateModel( name='Ticker', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('symbol', models.CharField(max_length=9)), ('name', models.CharField(blank=True, max_length=243, null=True)), ], ), migrations.CreateModel( name='TradeJrnl', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('date', models.DateTimeField(auto_now_add=True)), ('body_markdown', models.TextField(blank=True)), ('body_html', models.TextField(blank=True, null=True)), ], ), migrations.CreateModel( name='OptionsTrade', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('date', models.DateTimeField()), ('transaction_code', models.CharField(choices=[('Trade', 'Trade')], max_length=25)), ('transaction_subcode', models.CharField(choices=[('Buy to Open', 'Buy to Open'), ('Sell to Open', 'Sell to Open'), ('Sell to Close', 'Sell to Close')], max_length=25)), ('buy_sell', models.CharField(choices=[('Buy', 'Buy'), ('Sell', 'Sell')], max_length=4)), ('open_close', models.CharField(choices=[('Open', 'Open'), ('Close', 'Close')], max_length=5)), ('quantity', models.FloatField()), ('expiration_date', models.DateTimeField()), ('strike', models.FloatField()), ('call_put', models.CharField(choices=[('C', 'Call'), ('P', 'Put')], max_length=4)), ('price', models.FloatField()), ('fees', models.FloatField()), ('amount', models.FloatField()), ('description', models.TextField(blank=True)), ('symbol', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='trading.ticker')), ], ), ]