mirror of
https://github.com/wassname/catalyst.git
synced 2026-06-30 05:39:30 +08:00
REF: Import interface.
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) ```
This commit is contained in:
committed by
Eddie Hebert
parent
ea11a43f68
commit
89ab65c413
+4
-1
@@ -12,10 +12,13 @@ import finance
|
||||
import gens
|
||||
import utils
|
||||
|
||||
from algorithm import TradingAlgorithm
|
||||
|
||||
__all__ = [
|
||||
'ndict',
|
||||
'data',
|
||||
'finance',
|
||||
'gens',
|
||||
'utils'
|
||||
'utils',
|
||||
'TradingAlgorithm'
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user