mirror of
https://github.com/wassname/catalyst.git
synced 2026-08-14 12:10:24 +08:00
Large refactoring and documentation of new algorithm base class and batch transform.
This commit is contained in:
@@ -5,13 +5,8 @@ from collections import defaultdict
|
||||
|
||||
import numpy as np
|
||||
|
||||
from zipline.core.devsimulator import AddressAllocator
|
||||
# TODO: refactor the factory to use generators
|
||||
from zipline.optimize.factory import create_predictable_zipline
|
||||
|
||||
DEFAULT_TIMEOUT = 15 # seconds
|
||||
EXTENDED_TIMEOUT = 90
|
||||
|
||||
from zipline.utils.test_utils import setup_logger, teardown_logger
|
||||
|
||||
class TestUpDown(TestCase):
|
||||
@@ -36,7 +31,6 @@ class TestUpDown(TestCase):
|
||||
teardown_logger(self)
|
||||
|
||||
@skip
|
||||
@timed(DEFAULT_TIMEOUT)
|
||||
def test_source_and_orders(self):
|
||||
"""verify that UpDownSource is having the correct
|
||||
behavior and that BuySellAlgorithm places the buy/sell
|
||||
|
||||
Reference in New Issue
Block a user