mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-05 08:12:07 +08:00
ENH: Add index to root_symbol column of futures_contracts
This commit is contained in:
@@ -346,6 +346,7 @@ class AssetDBWriter(with_metaclass(ABCMeta)):
|
||||
'root_symbol',
|
||||
sa.Text,
|
||||
sa.ForeignKey(self.futures_root_symbols.c.root_symbol),
|
||||
index=True
|
||||
),
|
||||
sa.Column('asset_name', sa.Text),
|
||||
sa.Column('start_date', sa.Integer, default=0, nullable=False),
|
||||
|
||||
Reference in New Issue
Block a user