mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-19 11:22:06 +08:00
Changes the overlap behavior so that it is an error to write data which would have two companies holding the same ticker. Other than one test around which company would win in that case, all the other tests are passing. That single test has been changed to check the write-time error.
41 lines
1.0 KiB
Python
41 lines
1.0 KiB
Python
#
|
|
# Copyright 2015 Quantopian, Inc.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
from ._assets import (
|
|
Asset,
|
|
Equity,
|
|
Future,
|
|
make_asset_array,
|
|
CACHE_FILE_TEMPLATE
|
|
)
|
|
from .assets import (
|
|
AssetFinder,
|
|
AssetConvertible,
|
|
)
|
|
from .asset_db_schema import ASSET_DB_VERSION
|
|
from .asset_writer import AssetDBWriter
|
|
|
|
__all__ = [
|
|
'ASSET_DB_VERSION',
|
|
'Asset',
|
|
'AssetDBWriter',
|
|
'Equity',
|
|
'Future',
|
|
'AssetFinder',
|
|
'AssetConvertible',
|
|
'make_asset_array',
|
|
'CACHE_FILE_TEMPLATE'
|
|
]
|