You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.1 KiB
Python
39 lines
1.1 KiB
Python
2 years ago
|
# Generated by Django 4.1.2 on 2022-10-17 18:18
|
||
|
|
||
|
from django.db import migrations, models
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
|
||
|
dependencies = [
|
||
|
('core', '0009_trade_exchange_id'),
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.AddField(
|
||
|
model_name='account',
|
||
|
name='sandbox',
|
||
|
field=models.BooleanField(default=False),
|
||
|
),
|
||
|
migrations.AddField(
|
||
|
model_name='trade',
|
||
|
name='direction',
|
||
|
field=models.CharField(blank=True, choices=[('buy', 'Buy'), ('sell', 'Sell')], max_length=255, null=True),
|
||
|
),
|
||
|
migrations.AddField(
|
||
|
model_name='trade',
|
||
|
name='status',
|
||
|
field=models.CharField(blank=True, max_length=255, null=True),
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='trade',
|
||
|
name='symbol',
|
||
|
field=models.CharField(choices=[('BTCUSD', 'Bitcoin/USD')], max_length=255),
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='trade',
|
||
|
name='type',
|
||
|
field=models.CharField(choices=[('market', 'Market'), ('limit', 'Limit')], max_length=255),
|
||
|
),
|
||
|
]
|