Completed
Pull Request — master (#858)
by Eddie
02:02
created

zipline.utils.SpecificEquityTrades   A

Complexity

Total Complexity 24

Size/Duplication

Total Lines 146
Duplicated Lines 0 %
Metric Value
dl 0
loc 146
rs 10
wmc 24

8 Methods

Rating   Name   Duplication   Size   Complexity  
C create_fresh_generator() 0 52 7
A __next__() 0 2 1
A get_hash() 0 2 1
A update_source_id() 0 4 2
A __iter__() 0 2 1
D __init__() 0 59 10
A next() 0 2 1
A rewind() 0 2 1
1
#
2
# Copyright 2014 Quantopian, Inc.
3
#
4
# Licensed under the Apache License, Version 2.0 (the "License");
5
# you may not use this file except in compliance with the License.
6
# You may obtain a copy of the License at
7
#
8
#     http://www.apache.org/licenses/LICENSE-2.0
9
#
10
# Unless required by applicable law or agreed to in writing, software
11
# distributed under the License is distributed on an "AS IS" BASIS,
12
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
# See the License for the specific language governing permissions and
14
# limitations under the License.
15
16
from .cli import run_pipeline, parse_args, parse_cell_magic
17
18
__all__ = ['run_pipeline', 'parse_args', 'parse_cell_magic']
19