Module Expr Str Import alias identifier Import alias identifier ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults kwarg body Assert Call NameLoad AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assert Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Dict Str Str Str Str TupleLoad Lambda arguments args NameParam defaults NameLoad Str TupleLoad Lambda arguments args NameParam defaults NameLoad Str TupleLoad NameLoad Str TupleLoad NameLoad Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If BoolOpAnd Call AttributeLoad NameLoad attr NameLoad CompareNotIn NameLoad AttributeLoad NameLoad attr body Continue Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Dict Str Str Str Str NameLoad NameLoad NameLoad Num Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults kwarg body Assert Call NameLoad AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assert Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Dict Str Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Str Str TupleLoad Lambda arguments args NameParam defaults NameLoad Str TupleLoad Lambda arguments args NameParam defaults NameLoad Str TupleLoad NameLoad Str TupleLoad NameLoad Str For NameStore AttributeLoad AttributeLoad NameLoad attr attr body If CompareIn NameLoad ListLoad Str Str Str Str body Continue Assign SubscriptStore NameLoad Index NameLoad TupleLoad Lambda arguments args NameParam defaults NameLoad NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body For NameStore AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str body Continue Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Dict Str Str NameLoad NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index NameLoad NameLoad Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list NameLoad decorator_list
N/A N/A 
Tools to generate data sources.
 N/A numpy np N/A pandas pd zipline.gens.utils hash_args zipline.sources.data_source DataSource DataFrameSource N/A DataSource N/A N/A 
    Data source that yields from a pandas DataFrame.

    :Axis layout:
        * columns : sids
        * index : datetime

    :Note:
        Bars where the price is nan are filtered out.
     __init__ N/A N/A self data N/A kwargs N/A N/A N/A isinstance N/A data index N/A N/A N/A pd tseries index DatetimeIndex N/A N/A isinstance N/A data columns N/A pd Int64Index N/A N/A self data N/A N/A data fillna method ffill N/A N/A self start N/A N/A kwargs get start N/A N/A N/A self data index N/A 0 N/A N/A self end N/A N/A kwargs get end N/A N/A N/A self data index N/A -1 N/A N/A self sids N/A N/A self data columns N/A N/A self arg_string N/A hash_args data kwargs N/A N/A self _raw_data None N/A N/A self started_sids N/A set N/A mapping N/A N/A self N/A N/A N/A N/A dt sid price volume N/A N/A N/A N/A x N/A x dt N/A N/A N/A N/A x N/A x sid N/A float price N/A int volume N/A property instance_hash N/A N/A self N/A N/A N/A N/A self arg_string N/A property raw_data_gen N/A N/A self N/A N/A N/A N/A dt series N/A N/A N/A self data iterrows N/A N/A N/A sid price N/A N/A series iteritems N/A N/A N/A N/A N/A np isnan price N/A sid N/A self started_sids N/A N/A N/A N/A N/A N/A self started_sids add sid N/A event N/A dt sid price volume dt sid price 1000000000.0 N/A N/A event N/A raw_data N/A N/A self N/A N/A N/A N/A N/A self _raw_data N/A N/A N/A self _raw_data N/A N/A self raw_data_gen N/A N/A self _raw_data N/A property N/A DataPanelSource N/A DataSource N/A N/A 
    Data source that yields from a pandas Panel.

    :Axis layout:
        * items : sids
        * major_axis : datetime
        * minor_axis : price, volume, ...

    :Note:
        Bars where the price is nan are filtered out.
     __init__ N/A N/A self data N/A kwargs N/A N/A N/A isinstance N/A data major_axis N/A N/A N/A pd tseries index DatetimeIndex N/A N/A isinstance N/A data items N/A pd Int64Index N/A N/A self data N/A N/A data fillna value N/A volume 0 N/A N/A self start N/A N/A kwargs get start N/A N/A N/A self data major_axis N/A 0 N/A N/A self end N/A N/A kwargs get end N/A N/A N/A self data major_axis N/A -1 N/A N/A self sids N/A N/A self data items N/A N/A self arg_string N/A hash_args data kwargs N/A N/A self _raw_data None N/A N/A self started_sids N/A set N/A mapping N/A N/A self N/A N/A N/A mapping N/A dt sid price volume N/A N/A N/A N/A x N/A x dt N/A N/A N/A N/A x N/A x sid N/A float price N/A int volume N/A field_name N/A N/A self data minor_axis N/A N/A N/A field_name N/A price volume dt sid N/A N/A N/A N/A mapping N/A field_name N/A N/A N/A N/A x N/A x field_name N/A mapping N/A property instance_hash N/A N/A self N/A N/A N/A N/A self arg_string N/A property raw_data_gen N/A N/A self N/A N/A N/A dt N/A N/A self data major_axis N/A N/A df N/A N/A N/A self data major_xs dt N/A N/A sid series N/A N/A df iteritems N/A N/A N/A N/A np isnan N/A series N/A price N/A N/A N/A N/A N/A N/A self started_sids add sid N/A event N/A dt sid dt sid N/A N/A field_name value N/A N/A series iteritems N/A N/A N/A event N/A field_name value N/A N/A event N/A raw_data N/A N/A self N/A N/A N/A N/A N/A self _raw_data N/A N/A N/A self _raw_data N/A N/A self raw_data_gen N/A N/A self _raw_data N/A property N/A