mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-03 10:00:17 +08:00
89ab65c413
Makes TradingAlgorithm available at the top-level. So that algorithms can do: ``` import zipline class MyAlgo(zipline.TradingAlgorithm) ``` OR ``` from zipline import TradingAlgorithm class MyAlgo(TradingAlgorithm) ```
25 lines
385 B
Python
25 lines
385 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 zipline.utils.protocol_utils import ndict
|
|
|
|
import data
|
|
import finance
|
|
import gens
|
|
import utils
|
|
|
|
from algorithm import TradingAlgorithm
|
|
|
|
__all__ = [
|
|
'ndict',
|
|
'data',
|
|
'finance',
|
|
'gens',
|
|
'utils',
|
|
'TradingAlgorithm'
|
|
]
|