Esempio n. 1
0
File: core.py Progetto: yu68/zipline
    def __init__(self,
                 dsmap=None,
                 data_query_time=None,
                 data_query_tz=None,
                 pool=SequentialPool()):
        self.update(dsmap or {})
        check_data_query_args(data_query_time, data_query_tz)
        self._data_query_time = data_query_time
        self._data_query_tz = data_query_tz

        # explicitly public
        self.pool = pool
Esempio n. 2
0
    def __init__(self,
                 dsmap=None,
                 data_query_time=None,
                 data_query_tz=None,
                 pool=SequentialPool()):
        check_data_query_args(data_query_time, data_query_tz)
        self._data_query_time = data_query_time
        self._data_query_tz = data_query_tz

        # explicitly public
        self.pool = pool

        self._table_expressions = (dsmap or {}).copy()
Esempio n. 3
0
    def __init__(self, dsmap=None, pool=SequentialPool()):
        # explicitly public
        self.pool = pool

        self._table_expressions = (dsmap or {}).copy()