mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-20 12:20:29 +08:00
Python 3 requires using dot syntax for relative imports, otherwise the import is treated as an absolute import, i.e. an import of a module from outside of the project. By using dot syntax now, imports should be compatible with both Python 2.7 and Python 3.
23 lines
353 B
Python
23 lines
353 B
Python
"""
|
|
Zipline
|
|
"""
|
|
|
|
# This is *not* a place to dump arbitrary classes/modules for convenience,
|
|
# it is a place to expose the public interfaces.
|
|
|
|
|
|
from . import data
|
|
from . import finance
|
|
from . import gens
|
|
from . import utils
|
|
|
|
from algorithm import TradingAlgorithm
|
|
|
|
__all__ = [
|
|
'data',
|
|
'finance',
|
|
'gens',
|
|
'utils',
|
|
'TradingAlgorithm'
|
|
]
|