# -*- coding: utf-8 -*-
# Generated by Django 1.11.1 on 2017-06-02 11:14
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Trades',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('TradeDate', models.DateField()),
                ('TRSContractNo', models.CharField(max_length=64)),
                ('BBGCode', models.CharField(max_length=32)),
                ('UnderlyingInstru', models.CharField(max_length=32)),
                ('ExeCurrency', models.CharField(max_length=4)),
                ('BuySell', models.CharField(max_length=1)),
                ('ExeQty', models.FloatField()),
                ('AvgExePrice', models.FloatField()),
                ('TradingFee', models.FloatField()),
                ('Lev', models.FloatField()),
                ('Stamp', models.FloatField()),
                ('ExeNotional', models.FloatField()),
                ('Commission', models.FloatField()),
                ('CommissionCurrency', models.CharField(max_length=1)),
                ('TotalSettlement', models.FloatField()),
                ('SettlementCurrency', models.CharField(max_length=1)),
                ('FX', models.FloatField()),
                ('ClientCode', models.CharField(max_length=128)),
                ('ShortPortfolio', models.CharField(max_length=4)),
                ('BuyBack', models.CharField(max_length=4)),
                ('TrdLongPfrIA', models.FloatField()),
                ('TrdShortPfrIA', models.FloatField()),
                ('TradeNo', models.IntegerField()),
                ('ValueDay', models.DateField()),
                ('AcquireDay', models.DateField()),
            ],
            options={
                'ordering': ('TradeDate',),
            },
        ),
    ]
