Module ImportFrom alias Import alias identifier Import alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias ImportFrom alias alias Assign NameStore ListLoad Str Str Str Str Assign NameStore BinOpAdd NameLoad ListLoad Str Assign NameStore BinOpAdd NameLoad ListLoad Str Str Assign NameStore Dict Str Str Str Str Num Num Num Num ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type NameLoad body If CompareIs NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr CompareIs NameLoad AttributeLoad NameLoad attr orelse If Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad orelse Raise decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Index NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Index NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad NameLoad For NameStore ListLoad Str Str Str Str Str Str Str body With Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str Assign NameStore NameStore Call AttributeLoad NameLoad attr Str keyword Str Assign NameStore TupleLoad Num Num Num Num Num Assign NameStore Num Assign NameStore Num Assign NameStore Num FunctionDef arguments args NameParam defaults body Return Call NameLoad DictComp NameLoad Call NameLoad AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num comprehension NameStore TupleLoad Num AttributeLoad NameLoad attr DictComp NameLoad Call NameLoad AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num Num comprehension NameStore TupleLoad Num AttributeLoad NameLoad attr Dict AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num Num decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr ListLoad Dict Str Str Str Call NameLoad Str Num AttributeLoad NameLoad attr Dict Str Str Str Call NameLoad Str Num AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Num For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Lambda arguments args defaults NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore NameLoad body For NameStore AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Num NameLoad orelse If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr CompareIs NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Num For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Lambda arguments args defaults NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore CompareEq BinOpMod BinOpAdd NameLoad Num Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareLt NameLoad Num body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad If BoolOpAnd CompareEq NameLoad Num CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad orelse If CompareIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad Num SubscriptLoad NameLoad Index NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad Num SubscriptLoad NameLoad Index NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr BinOpMult BinOpAdd NameLoad Num Num NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMult BinOpAdd NameLoad Num Num NameLoad orelse Expr Call AttributeLoad NameLoad attr Num NameLoad orelse If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad Num NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad Num NameLoad orelse If CompareLt NameLoad Num body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr BinOpMult BinOpFloorDiv NameLoad Num Num NameLoad orelse If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareLt NameLoad Num body Expr Call AttributeLoad NameLoad attr CompareIs NameLoad AttributeLoad NameLoad attr orelse If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Assign NameStore SubscriptLoad NameLoad Index BinOpMult BinOpFloorDiv NameLoad Num Num Expr Call AttributeLoad NameLoad attr BinOpSub NameLoad Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Num For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Lambda arguments args defaults NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Num Index Num For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Lambda arguments args defaults NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body For NameStore AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Num NameLoad orelse If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Call AttributeLoad NameLoad attr Str keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword SubscriptLoad AttributeLoad NameLoad attr Index Num keyword SubscriptLoad AttributeLoad NameLoad attr Index Num For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Lambda arguments args defaults NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad Num Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Num For TupleStore NameStore NameStore Call NameLoad SubscriptLoad NameLoad Slice Num Num body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Lambda arguments args defaults NameLoad Str Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Lambda arguments args defaults SubscriptLoad NameLoad Index Num Str Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str For TupleStore NameStore NameStore Call NameLoad SubscriptLoad NameLoad Slice Num Num body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Lambda arguments args defaults NameLoad Str Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Lambda arguments args defaults NameLoad Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Lambda arguments args defaults NameLoad Str With Call NameLoad NameLoad body With Call NameLoad NameLoad body For NameStore ListLoad NameLoad NameLoad body For NameStore ListLoad Str Str body Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call NameLoad AttributeLoad NameLoad attr Lambda arguments args defaults NameLoad Str For NameStore ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad With Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Lambda arguments args defaults SubscriptLoad AttributeLoad NameLoad attr Index Num Str For NameStore ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad With Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Lambda arguments args defaults SubscriptLoad AttributeLoad NameLoad attr Index Num Str With Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Call AttributeLoad NameLoad attr Str keyword Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Lambda arguments args defaults NameLoad Str Assign NameStore Dict Str Str Str Str Str Str BinOpDiv Num Num BinOpDiv Num Num BinOpDiv Num Num BinOpDiv Num Num BinOpMult Num Num BinOpDiv Num Num With Call NameLoad NameLoad body For NameStore BinOpAdd NameLoad ListLoad Str body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index NameLoad decorator_list decorator_list ClassDef bases NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str Assign NameStore NameStore Call AttributeLoad NameLoad attr Str keyword Str Assign NameStore NameStore Call NameLoad Call NameLoad Num Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Dict Str Str Str Call NameLoad Str Num AttributeLoad NameLoad attr Dict Str Str Str Call NameLoad Str Num AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Dict Str Str Str Call NameLoad Str Num AttributeLoad NameLoad attr Dict Str Str Str Call NameLoad Str Num AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Dict Str Str Str Str Str Str Call AttributeLoad Call AttributeLoad NameLoad attr Str keyword Str attr Call AttributeLoad Call AttributeLoad NameLoad attr Str keyword Str attr Call AttributeLoad Call AttributeLoad NameLoad attr Str keyword Str attr Call AttributeLoad Call AttributeLoad NameLoad attr Str keyword Str attr Num AttributeLoad NameLoad attr Dict Str Str Str Str Str Str Call AttributeLoad Call AttributeLoad NameLoad attr Str keyword Str attr Call AttributeLoad Call AttributeLoad NameLoad attr Str keyword Str attr Call AttributeLoad Call AttributeLoad NameLoad attr Str keyword Str attr Call AttributeLoad Call AttributeLoad NameLoad attr Str keyword Str attr Num AttributeLoad NameLoad attr keyword ListLoad Str Str Str Str Str Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Call NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body For NameStore AttributeLoad NameLoad attr body Expr Yield TupleLoad NameLoad Call NameLoad AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num keyword BinOpSub Num BinOpMod NameLoad Num decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call NameLoad AttributeLoad NameLoad attr Lambda arguments args defaults NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore NameLoad body For NameStore AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Num NameLoad orelse If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr CompareIs NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Lambda arguments args defaults SubscriptLoad AttributeLoad NameLoad attr Index Num Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr CompareIs Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Lambda arguments args defaults SubscriptLoad AttributeLoad NameLoad attr Index Num Str Expr Call AttributeLoad NameLoad attr NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Lambda arguments args defaults SubscriptLoad AttributeLoad NameLoad attr Index Num Str Expr Call AttributeLoad NameLoad attr NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call NameLoad AttributeLoad NameLoad attr Lambda arguments args defaults NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad orelse Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore BinOpAdd NameLoad Str Assign NameStore Call NameLoad NameLoad BinOpAdd Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad BinOpAdd BinOpAdd Str Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Call AttributeLoad NameLoad attr Str keyword Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Lambda arguments args defaults SubscriptLoad AttributeLoad NameLoad attr Index Num Str Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Lambda arguments args defaults SubscriptLoad AttributeLoad NameLoad attr Index Num Str Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Lambda arguments args defaults SubscriptLoad AttributeLoad NameLoad attr Index Num Str Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Lambda arguments args defaults SubscriptLoad AttributeLoad NameLoad attr Index Num Str Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Str decorator_list Call AttributeLoad NameLoad attr ListLoad TupleLoad Str Num Num Num Num TupleLoad Str Num Num Num Num TupleLoad Str Num Num Num Num decorator_list
N/A nose_parameterized parameterized N/A numpy np N/A pandas pd toolz merge zipline._protocol handle_non_market_minutes zipline.protocol BarData zipline.testing MockDailyBarReader create_daily_df_for_asset create_minute_df_for_asset str_to_seconds zipline.testing.fixtures WithDataPortal ZiplineTestCase N/A OHLC N/A open high low close N/A OHLCP N/A OHLC N/A price N/A ALL_FIELDS N/A OHLCP N/A volume last_traded N/A field_info N/A open high low close 1 2 -1 0 WithBarDataChecks N/A object N/A assert_same N/A N/A self val1 val2 N/A N/A N/A N/A N/A N/A N/A self assertEqual val1 val2 N/A N/A N/A AssertionError N/A N/A N/A val1 N/A pd NaT N/A N/A N/A N/A self assertTrue N/A val2 N/A pd NaT N/A N/A N/A N/A np isnan val1 N/A N/A N/A N/A self assertTrue N/A N/A np isnan val2 N/A N/A N/A check_internal_consistency N/A N/A self bar_data N/A N/A N/A df N/A N/A bar_data current N/A N/A self ASSET1 N/A self ASSET2 ALL_FIELDS N/A asset1_multi_field N/A N/A bar_data current N/A self ASSET1 ALL_FIELDS N/A asset2_multi_field N/A N/A bar_data current N/A self ASSET2 ALL_FIELDS N/A field ALL_FIELDS N/A N/A asset1_value N/A N/A bar_data current N/A self ASSET1 field N/A asset2_value N/A N/A bar_data current N/A self ASSET2 field N/A multi_asset_series N/A N/A bar_data current N/A N/A self ASSET1 N/A self ASSET2 field N/A N/A N/A self assert_same N/A N/A multi_asset_series loc N/A N/A self ASSET1 asset1_value N/A N/A N/A self assert_same N/A N/A multi_asset_series loc N/A N/A self ASSET2 asset2_value N/A N/A N/A self assert_same N/A N/A N/A df loc N/A N/A self ASSET1 N/A field asset1_value N/A N/A N/A self assert_same N/A N/A N/A df loc N/A N/A self ASSET2 N/A field asset2_value N/A N/A N/A self assert_same N/A asset1_multi_field N/A field asset1_value N/A N/A N/A self assert_same N/A asset2_multi_field N/A field asset2_value N/A field N/A data_portal simulation_dt_func data_frequency _views _universe_func _last_calculated_universe _universe_last_updatedat N/A N/A N/A N/A self assertRaises AttributeError N/A N/A N/A getattr bar_data field N/A N/A TestMinuteBarData N/A WithBarDataChecks WithDataPortal ZiplineTestCase N/A N/A START_DATE N/A N/A pd Timestamp 2016-01-05 tz UTC N/A END_DATE ASSET_FINDER_EQUITY_END_DATE N/A N/A pd Timestamp 2016-01-07 tz UTC N/A ASSET_FINDER_EQUITY_SIDS N/A 1 2 3 4 5 N/A SPLIT_ASSET_SID 3 N/A ILLIQUID_SPLIT_ASSET_SID 4 N/A HILARIOUSLY_ILLIQUID_ASSET_SID 5 make_minute_bar_data N/A N/A cls N/A N/A N/A N/A merge N/A sid N/A create_minute_df_for_asset N/A cls env N/A N/A cls bcolz_minute_bar_days N/A 0 N/A N/A cls bcolz_minute_bar_days N/A -1 N/A sid N/A 1 N/A cls SPLIT_ASSET_SID N/A sid N/A create_minute_df_for_asset N/A cls env N/A N/A cls bcolz_minute_bar_days N/A 0 N/A N/A cls bcolz_minute_bar_days N/A -1 10 N/A sid N/A 2 N/A cls ILLIQUID_SPLIT_ASSET_SID N/A N/A cls HILARIOUSLY_ILLIQUID_ASSET_SID N/A create_minute_df_for_asset N/A cls env N/A N/A cls bcolz_minute_bar_days N/A 0 N/A N/A cls bcolz_minute_bar_days N/A -1 50 N/A classmethod make_splits_data N/A N/A cls N/A N/A N/A N/A N/A pd DataFrame N/A N/A effective_date ratio sid N/A str_to_seconds 2016-01-06 0.5 N/A cls SPLIT_ASSET_SID N/A effective_date ratio sid N/A str_to_seconds 2016-01-06 0.5 N/A cls ILLIQUID_SPLIT_ASSET_SID N/A classmethod init_class_fixtures N/A N/A cls N/A N/A N/A N/A N/A N/A super TestMinuteBarData cls init_class_fixtures N/A N/A cls ASSET1 N/A N/A N/A cls asset_finder retrieve_asset 1 N/A N/A cls ASSET2 N/A N/A N/A cls asset_finder retrieve_asset 2 N/A N/A cls SPLIT_ASSET N/A N/A N/A cls asset_finder retrieve_asset N/A cls SPLIT_ASSET_SID N/A N/A cls ILLIQUID_SPLIT_ASSET N/A N/A N/A cls asset_finder retrieve_asset N/A cls ILLIQUID_SPLIT_ASSET_SID N/A N/A cls HILARIOUSLY_ILLIQUID_ASSET N/A N/A N/A cls asset_finder retrieve_asset N/A cls HILARIOUSLY_ILLIQUID_ASSET_SID N/A N/A cls ASSETS N/A N/A cls ASSET1 N/A cls ASSET2 N/A classmethod test_minute_before_assets_trading N/A N/A self N/A N/A N/A minutes N/A N/A N/A self env market_minutes_for_day N/A N/A N/A self env previous_trading_day N/A N/A self bcolz_minute_bar_days N/A 0 N/A N/A idx minute N/A enumerate minutes N/A N/A bar_data N/A BarData N/A self data_portal N/A N/A N/A N/A minute minute N/A N/A N/A self check_internal_consistency bar_data N/A N/A N/A self assertFalse N/A N/A bar_data can_trade N/A self ASSET1 N/A N/A N/A self assertFalse N/A N/A bar_data can_trade N/A self ASSET2 N/A N/A N/A self assertFalse N/A N/A bar_data is_stale N/A self ASSET1 N/A N/A N/A self assertFalse N/A N/A bar_data is_stale N/A self ASSET2 N/A field ALL_FIELDS N/A N/A asset N/A self ASSETS N/A N/A asset_value N/A N/A bar_data current asset field N/A N/A field OHLCP N/A N/A N/A N/A self assertTrue N/A N/A np isnan asset_value N/A N/A N/A field volume N/A N/A N/A N/A self assertEqual 0 asset_value N/A N/A N/A field last_traded N/A N/A N/A N/A self assertTrue N/A asset_value N/A pd NaT N/A test_regular_minute N/A N/A self N/A N/A N/A minutes N/A N/A N/A self env market_minutes_for_day N/A N/A self bcolz_minute_bar_days N/A 0 N/A N/A idx minute N/A enumerate minutes N/A N/A bar_data N/A BarData N/A self data_portal N/A N/A N/A N/A minute minute N/A N/A N/A self check_internal_consistency bar_data N/A asset2_has_data N/A N/A N/A idx 1 10 0 N/A N/A N/A self assertTrue N/A N/A bar_data can_trade N/A self ASSET1 N/A N/A N/A self assertFalse N/A N/A bar_data is_stale N/A self ASSET1 N/A N/A idx 9 N/A N/A N/A N/A self assertFalse N/A N/A bar_data can_trade N/A self ASSET2 N/A N/A N/A self assertFalse N/A N/A bar_data is_stale N/A self ASSET2 N/A N/A N/A N/A self assertTrue N/A N/A bar_data can_trade N/A self ASSET2 N/A asset2_has_data N/A N/A N/A N/A self assertFalse N/A N/A bar_data is_stale N/A self ASSET2 N/A N/A N/A N/A self assertTrue N/A N/A bar_data is_stale N/A self ASSET2 N/A field ALL_FIELDS N/A N/A asset1_value N/A N/A bar_data current N/A self ASSET1 field N/A asset2_value N/A N/A bar_data current N/A self ASSET2 field N/A N/A N/A idx 0 N/A field low N/A N/A N/A N/A self assertTrue N/A N/A np isnan asset1_value N/A N/A N/A field OHLC N/A N/A N/A N/A self assertEqual N/A N/A idx 1 N/A field_info N/A field asset1_value N/A asset2_has_data N/A N/A N/A N/A self assertEqual N/A N/A idx 1 N/A field_info N/A field asset2_value N/A N/A N/A N/A self assertTrue N/A N/A np isnan asset2_value N/A N/A N/A field volume N/A N/A N/A N/A self assertEqual N/A N/A idx 1 100 asset1_value N/A asset2_has_data N/A N/A N/A N/A self assertEqual N/A N/A idx 1 100 asset2_value N/A N/A N/A N/A self assertEqual 0 asset2_value N/A N/A N/A field price N/A N/A N/A N/A self assertEqual N/A idx 1 asset1_value N/A asset2_has_data N/A N/A N/A N/A self assertEqual N/A idx 1 asset2_value N/A N/A N/A idx 9 N/A N/A N/A N/A self assertTrue N/A N/A np isnan asset2_value N/A N/A N/A N/A self assertEqual N/A N/A idx 10 10 asset2_value N/A N/A N/A field last_traded N/A N/A N/A N/A self assertEqual minute asset1_value N/A N/A idx 9 N/A N/A N/A N/A self assertTrue N/A asset2_value N/A pd NaT N/A N/A asset2_has_data N/A N/A N/A N/A self assertEqual minute asset2_value N/A N/A last_traded_minute N/A minutes N/A N/A N/A idx 10 10 N/A N/A N/A self assertEqual N/A last_traded_minute 1 asset2_value N/A test_minute_of_last_day N/A N/A self N/A N/A N/A minutes N/A N/A N/A self env market_minutes_for_day N/A N/A self bcolz_daily_bar_days N/A -1 N/A N/A idx minute N/A enumerate minutes N/A N/A bar_data N/A BarData N/A self data_portal N/A N/A N/A N/A minute minute N/A N/A N/A self assertTrue N/A N/A bar_data can_trade N/A self ASSET1 N/A N/A N/A self assertTrue N/A N/A bar_data can_trade N/A self ASSET2 N/A test_minute_after_assets_stopped N/A N/A self N/A N/A N/A minutes N/A N/A N/A self env market_minutes_for_day N/A N/A N/A self env next_trading_day N/A N/A self bcolz_minute_bar_days N/A -1 N/A last_trading_minute N/A N/A N/A N/A self env market_minutes_for_day N/A N/A self bcolz_minute_bar_days N/A -1 N/A -1 N/A N/A idx minute N/A enumerate minutes N/A N/A bar_data N/A BarData N/A self data_portal N/A N/A N/A N/A minute minute N/A N/A N/A self assertFalse N/A N/A bar_data can_trade N/A self ASSET1 N/A N/A N/A self assertFalse N/A N/A bar_data can_trade N/A self ASSET2 N/A N/A N/A self assertFalse N/A N/A bar_data is_stale N/A self ASSET1 N/A N/A N/A self assertFalse N/A N/A bar_data is_stale N/A self ASSET2 N/A N/A N/A self check_internal_consistency bar_data N/A field ALL_FIELDS N/A N/A asset N/A self ASSETS N/A N/A asset_value N/A N/A bar_data current asset field N/A N/A field OHLCP N/A N/A N/A N/A self assertTrue N/A N/A np isnan asset_value N/A N/A N/A field volume N/A N/A N/A N/A self assertEqual 0 asset_value N/A N/A N/A field last_traded N/A N/A N/A N/A self assertEqual last_trading_minute asset_value N/A test_spot_price_is_unadjusted N/A N/A self N/A N/A N/A splits N/A N/A N/A self adjustment_reader get_adjustments_for_sid splits N/A N/A self SPLIT_ASSET sid N/A N/A N/A self assertEqual 1 N/A len splits N/A split N/A splits N/A 0 N/A N/A N/A self assertEqual N/A split N/A 0 N/A N/A pd Timestamp 2016-01-06 tz UTC N/A minutes N/A N/A N/A self env minutes_for_days_in_range start N/A N/A self bcolz_minute_bar_days N/A 0 end N/A N/A self bcolz_minute_bar_days N/A 1 N/A N/A idx minute N/A enumerate minutes N/A N/A bar_data N/A BarData N/A self data_portal N/A N/A N/A N/A minute minute N/A N/A N/A self assertEqual N/A idx 1 N/A N/A bar_data current N/A self SPLIT_ASSET price N/A test_spot_price_is_adjusted_if_needed N/A N/A self N/A N/A N/A day0_minutes N/A N/A N/A self env market_minutes_for_day N/A N/A self bcolz_minute_bar_days N/A 0 N/A day1_minutes N/A N/A N/A self env market_minutes_for_day N/A N/A self bcolz_minute_bar_days N/A 1 N/A N/A idx minute N/A enumerate N/A day0_minutes N/A -10 -1 N/A N/A bar_data N/A BarData N/A self data_portal N/A N/A N/A N/A minute minute N/A N/A N/A self assertEqual 380 N/A N/A bar_data current N/A self ILLIQUID_SPLIT_ASSET price N/A bar_data N/A BarData N/A self data_portal N/A N/A N/A N/A N/A day0_minutes N/A -1 minute N/A N/A N/A self assertEqual 390 N/A N/A bar_data current N/A self ILLIQUID_SPLIT_ASSET price N/A N/A idx minute N/A enumerate N/A day1_minutes N/A 0 9 N/A N/A bar_data N/A BarData N/A self data_portal N/A N/A N/A N/A minute minute N/A N/A N/A self assertEqual 195 N/A N/A bar_data current N/A self ILLIQUID_SPLIT_ASSET price N/A test_spot_price_at_midnight N/A N/A self N/A N/A N/A day N/A N/A self bcolz_minute_bar_days N/A 1 N/A eight_fortyfive_am_eastern N/A N/A pd Timestamp N/A N/A {0}-{1}-{2} 8:45 format N/A day year N/A day month N/A day day tz US/Eastern N/A bar_data N/A BarData N/A self data_portal N/A N/A N/A N/A day minute N/A bar_data2 N/A BarData N/A self data_portal N/A N/A N/A N/A eight_fortyfive_am_eastern minute N/A N/A handle_non_market_minutes bar_data N/A N/A N/A handle_non_market_minutes bar_data2 N/A N/A bd N/A bar_data bar_data2 N/A N/A field N/A close price N/A N/A N/A N/A self assertEqual 390 N/A N/A bd current N/A self ASSET1 field N/A N/A N/A self assertEqual 350 N/A N/A bd current N/A self HILARIOUSLY_ILLIQUID_ASSET price N/A N/A N/A self assertTrue N/A N/A np isnan N/A N/A bd current N/A self HILARIOUSLY_ILLIQUID_ASSET high N/A N/A N/A self assertEqual 0 N/A N/A bd current N/A self HILARIOUSLY_ILLIQUID_ASSET volume N/A test_can_trade_at_midnight N/A N/A self N/A N/A N/A the_day_after N/A N/A N/A self env next_trading_day N/A N/A self bcolz_minute_bar_days N/A -1 N/A bar_data N/A BarData N/A self data_portal N/A N/A N/A N/A the_day_after minute N/A asset N/A N/A self ASSET1 N/A self HILARIOUSLY_ILLIQUID_ASSET N/A N/A N/A N/A self assertFalse N/A N/A bar_data can_trade asset N/A N/A handle_non_market_minutes bar_data N/A N/A N/A N/A self assertFalse N/A N/A bar_data can_trade asset N/A bar_data2 N/A BarData N/A self data_portal N/A N/A N/A N/A N/A N/A self bcolz_minute_bar_days N/A 1 minute N/A asset N/A N/A self ASSET1 N/A self HILARIOUSLY_ILLIQUID_ASSET N/A N/A N/A N/A self assertTrue N/A N/A bar_data2 can_trade asset N/A N/A handle_non_market_minutes bar_data2 N/A N/A N/A N/A self assertTrue N/A N/A bar_data2 can_trade asset N/A test_is_stale_at_midnight N/A N/A self N/A N/A N/A bar_data N/A BarData N/A self data_portal N/A N/A N/A N/A N/A N/A self bcolz_minute_bar_days N/A 1 minute N/A N/A handle_non_market_minutes bar_data N/A N/A N/A N/A self assertTrue N/A N/A bar_data is_stale N/A self HILARIOUSLY_ILLIQUID_ASSET N/A test_overnight_adjustments N/A N/A self N/A N/A N/A splits N/A N/A N/A self adjustment_reader get_adjustments_for_sid splits N/A N/A self SPLIT_ASSET sid N/A N/A N/A self assertEqual 1 N/A len splits N/A split N/A splits N/A 0 N/A N/A N/A self assertEqual N/A split N/A 0 N/A N/A pd Timestamp 2016-01-06 tz UTC N/A day N/A N/A self bcolz_daily_bar_days N/A 1 N/A eight_fortyfive_am_eastern N/A N/A pd Timestamp N/A N/A {0}-{1}-{2} 8:45 format N/A day year N/A day month N/A day day tz US/Eastern N/A bar_data N/A BarData N/A self data_portal N/A N/A N/A N/A eight_fortyfive_am_eastern minute N/A expected N/A open high low close volume price N/A 391 2.0 N/A 392 2.0 N/A 389 2.0 N/A 390 2.0 N/A 39000 2.0 N/A 390 2.0 N/A N/A handle_non_market_minutes bar_data N/A N/A field N/A OHLCP N/A volume N/A N/A value N/A N/A bar_data current N/A self SPLIT_ASSET field N/A N/A N/A self assertEqual value N/A expected N/A field N/A N/A TestDailyBarData N/A WithBarDataChecks WithDataPortal ZiplineTestCase N/A N/A START_DATE N/A N/A pd Timestamp 2016-01-05 tz UTC N/A END_DATE ASSET_FINDER_EQUITY_END_DATE N/A N/A pd Timestamp 2016-01-08 tz UTC N/A sids ASSET_FINDER_EQUITY_SIDS N/A set N/A range 1 9 N/A SPLIT_ASSET_SID 3 N/A ILLIQUID_SPLIT_ASSET_SID 4 N/A MERGER_ASSET_SID 5 N/A ILLIQUID_MERGER_ASSET_SID 6 N/A DIVIDEND_ASSET_SID 7 N/A ILLIQUID_DIVIDEND_ASSET_SID 8 make_splits_data N/A N/A cls N/A N/A N/A N/A N/A N/A pd DataFrame from_records N/A N/A effective_date ratio sid N/A str_to_seconds 2016-01-06 0.5 N/A cls SPLIT_ASSET_SID N/A effective_date ratio sid N/A str_to_seconds 2016-01-07 0.5 N/A cls ILLIQUID_SPLIT_ASSET_SID N/A classmethod make_mergers_data N/A N/A cls N/A N/A N/A N/A N/A N/A pd DataFrame from_records N/A N/A effective_date ratio sid N/A str_to_seconds 2016-01-06 0.5 N/A cls MERGER_ASSET_SID N/A effective_date ratio sid N/A str_to_seconds 2016-01-07 0.6 N/A cls ILLIQUID_MERGER_ASSET_SID N/A classmethod make_dividends_data N/A N/A cls N/A N/A N/A N/A N/A N/A pd DataFrame from_records N/A N/A ex_date record_date declared_date pay_date amount sid N/A N/A N/A N/A pd Timestamp 2016-01-06 tz UTC to_datetime64 N/A N/A N/A N/A pd Timestamp 2016-01-06 tz UTC to_datetime64 N/A N/A N/A N/A pd Timestamp 2016-01-06 tz UTC to_datetime64 N/A N/A N/A N/A pd Timestamp 2016-01-06 tz UTC to_datetime64 2.0 N/A cls DIVIDEND_ASSET_SID N/A ex_date record_date declared_date pay_date amount sid N/A N/A N/A N/A pd Timestamp 2016-01-07 tz UTC to_datetime64 N/A N/A N/A N/A pd Timestamp 2016-01-07 tz UTC to_datetime64 N/A N/A N/A N/A pd Timestamp 2016-01-07 tz UTC to_datetime64 N/A N/A N/A N/A pd Timestamp 2016-01-07 tz UTC to_datetime64 4.0 N/A cls ILLIQUID_DIVIDEND_ASSET_SID columns N/A ex_date record_date declared_date pay_date amount sid N/A classmethod make_adjustment_writer_daily_bar_reader N/A N/A cls N/A N/A N/A N/A MockDailyBarReader N/A classmethod make_daily_bar_data N/A N/A cls N/A N/A N/A sid N/A cls sids N/A N/A N/A N/A sid N/A create_daily_df_for_asset N/A cls env N/A N/A cls bcolz_daily_bar_days N/A 0 N/A N/A cls bcolz_daily_bar_days N/A -1 interval N/A 2 N/A sid 2 N/A classmethod init_class_fixtures N/A N/A cls N/A N/A N/A N/A N/A N/A super TestDailyBarData cls init_class_fixtures N/A N/A cls ASSET1 N/A N/A N/A cls asset_finder retrieve_asset 1 N/A N/A cls ASSET2 N/A N/A N/A cls asset_finder retrieve_asset 2 N/A N/A cls SPLIT_ASSET N/A N/A N/A cls asset_finder retrieve_asset N/A cls SPLIT_ASSET_SID N/A N/A cls ILLIQUID_SPLIT_ASSET N/A N/A N/A cls asset_finder retrieve_asset N/A cls ILLIQUID_SPLIT_ASSET_SID N/A N/A cls MERGER_ASSET N/A N/A N/A cls asset_finder retrieve_asset N/A cls MERGER_ASSET_SID N/A N/A cls ILLIQUID_MERGER_ASSET N/A N/A N/A cls asset_finder retrieve_asset N/A cls ILLIQUID_MERGER_ASSET_SID N/A N/A cls DIVIDEND_ASSET N/A N/A N/A cls asset_finder retrieve_asset N/A cls DIVIDEND_ASSET_SID N/A N/A cls ILLIQUID_DIVIDEND_ASSET N/A N/A N/A cls asset_finder retrieve_asset N/A cls ILLIQUID_DIVIDEND_ASSET_SID N/A N/A cls ASSETS N/A N/A cls ASSET1 N/A cls ASSET2 N/A classmethod test_day_before_assets_trading N/A N/A self N/A N/A N/A day N/A N/A N/A self env previous_trading_day N/A N/A self bcolz_daily_bar_days N/A 0 N/A bar_data N/A BarData N/A self data_portal N/A N/A N/A N/A day daily N/A N/A N/A self check_internal_consistency bar_data N/A N/A N/A self assertFalse N/A N/A bar_data can_trade N/A self ASSET1 N/A N/A N/A self assertFalse N/A N/A bar_data can_trade N/A self ASSET2 N/A N/A N/A self assertFalse N/A N/A bar_data is_stale N/A self ASSET1 N/A N/A N/A self assertFalse N/A N/A bar_data is_stale N/A self ASSET2 N/A field ALL_FIELDS N/A N/A asset N/A self ASSETS N/A N/A asset_value N/A N/A bar_data current asset field N/A N/A field OHLCP N/A N/A N/A N/A self assertTrue N/A N/A np isnan asset_value N/A N/A N/A field volume N/A N/A N/A N/A self assertEqual 0 asset_value N/A N/A N/A field last_traded N/A N/A N/A N/A self assertTrue N/A asset_value N/A pd NaT N/A test_semi_active_day N/A N/A self N/A N/A N/A bar_data N/A BarData N/A self data_portal N/A N/A N/A N/A N/A N/A self bcolz_daily_bar_days N/A 0 daily N/A N/A N/A self check_internal_consistency bar_data N/A N/A N/A self assertTrue N/A N/A bar_data can_trade N/A self ASSET1 N/A N/A N/A self assertFalse N/A N/A bar_data can_trade N/A self ASSET2 N/A N/A N/A self assertFalse N/A N/A bar_data is_stale N/A self ASSET1 N/A N/A N/A self assertFalse N/A N/A bar_data is_stale N/A self ASSET2 N/A N/A N/A self assertEqual 3 N/A N/A bar_data current N/A self ASSET1 open N/A N/A N/A self assertEqual 4 N/A N/A bar_data current N/A self ASSET1 high N/A N/A N/A self assertEqual 1 N/A N/A bar_data current N/A self ASSET1 low N/A N/A N/A self assertEqual 2 N/A N/A bar_data current N/A self ASSET1 close N/A N/A N/A self assertEqual 200 N/A N/A bar_data current N/A self ASSET1 volume N/A N/A N/A self assertEqual 2 N/A N/A bar_data current N/A self ASSET1 price N/A N/A N/A self assertEqual N/A N/A self bcolz_daily_bar_days N/A 0 N/A N/A bar_data current N/A self ASSET1 last_traded N/A field OHLCP N/A N/A N/A N/A self assertTrue N/A N/A np isnan N/A N/A bar_data current N/A self ASSET2 field field N/A N/A N/A self assertEqual 0 N/A N/A bar_data current N/A self ASSET2 volume N/A N/A N/A self assertTrue N/A N/A N/A bar_data current N/A self ASSET2 last_traded N/A pd NaT N/A test_fully_active_day N/A N/A self N/A N/A N/A bar_data N/A BarData N/A self data_portal N/A N/A N/A N/A N/A N/A self bcolz_daily_bar_days N/A 1 daily N/A N/A N/A self check_internal_consistency bar_data N/A asset N/A self ASSETS N/A N/A N/A N/A self assertTrue N/A N/A bar_data can_trade asset N/A N/A N/A self assertFalse N/A N/A bar_data is_stale asset N/A N/A N/A self assertEqual 4 N/A N/A bar_data current asset open N/A N/A N/A self assertEqual 5 N/A N/A bar_data current asset high N/A N/A N/A self assertEqual 2 N/A N/A bar_data current asset low N/A N/A N/A self assertEqual 3 N/A N/A bar_data current asset close N/A N/A N/A self assertEqual 300 N/A N/A bar_data current asset volume N/A N/A N/A self assertEqual 3 N/A N/A bar_data current asset price N/A N/A N/A self assertEqual N/A N/A self bcolz_daily_bar_days N/A 1 N/A N/A bar_data current asset last_traded N/A test_last_active_day N/A N/A self N/A N/A N/A bar_data N/A BarData N/A self data_portal N/A N/A N/A N/A N/A N/A self bcolz_daily_bar_days N/A -1 daily N/A N/A N/A self check_internal_consistency bar_data N/A asset N/A self ASSETS N/A N/A N/A N/A self assertTrue N/A N/A bar_data can_trade asset N/A N/A N/A self assertFalse N/A N/A bar_data is_stale asset N/A N/A N/A self assertEqual 6 N/A N/A bar_data current asset open N/A N/A N/A self assertEqual 7 N/A N/A bar_data current asset high N/A N/A N/A self assertEqual 4 N/A N/A bar_data current asset low N/A N/A N/A self assertEqual 5 N/A N/A bar_data current asset close N/A N/A N/A self assertEqual 500 N/A N/A bar_data current asset volume N/A N/A N/A self assertEqual 5 N/A N/A bar_data current asset price N/A test_after_assets_dead N/A N/A self N/A N/A N/A next_day N/A N/A N/A self env next_trading_day N/A N/A self bcolz_daily_bar_days N/A -1 N/A bar_data N/A BarData N/A self data_portal N/A N/A N/A N/A next_day daily N/A N/A N/A self check_internal_consistency bar_data N/A asset N/A self ASSETS N/A N/A N/A N/A self assertFalse N/A N/A bar_data can_trade asset N/A N/A N/A self assertFalse N/A N/A bar_data is_stale asset N/A field OHLCP N/A N/A N/A N/A self assertTrue N/A N/A np isnan N/A N/A bar_data current asset field N/A N/A N/A self assertEqual 0 N/A N/A bar_data current asset volume N/A last_traded_dt N/A N/A bar_data current asset last_traded N/A N/A asset N/A self ASSET1 N/A N/A N/A N/A self assertEqual N/A N/A self bcolz_daily_bar_days N/A -2 last_traded_dt N/A N/A N/A N/A self assertEqual N/A N/A self bcolz_daily_bar_days N/A 1 last_traded_dt N/A test_spot_price_adjustments N/A N/A self adjustment_type liquid_day_0_price liquid_day_1_price illiquid_day_0_price illiquid_day_1_price_adjusted N/A N/A N/A Test the behaviour of spot prices during adjustments. N/A table_name N/A adjustment_type s N/A liquid_asset N/A getattr self N/A N/A N/A adjustment_type upper _ASSET N/A illiquid_asset N/A getattr self N/A N/A ILLIQUID_ N/A N/A adjustment_type upper _ASSET N/A adjustments N/A N/A N/A self adjustment_reader get_adjustments_for_sid table_name N/A liquid_asset sid N/A N/A N/A self assertEqual 1 N/A len adjustments N/A adjustment N/A adjustments N/A 0 N/A N/A N/A self assertEqual N/A adjustment N/A 0 N/A N/A pd Timestamp 2016-01-06 tz UTC N/A bar_data N/A BarData N/A self data_portal N/A N/A N/A N/A N/A N/A self bcolz_daily_bar_days N/A 0 daily N/A N/A N/A self assertEqual liquid_day_0_price N/A N/A bar_data current liquid_asset price N/A bar_data N/A BarData N/A self data_portal N/A N/A N/A N/A N/A N/A self bcolz_daily_bar_days N/A 1 daily N/A N/A N/A self assertEqual liquid_day_1_price N/A N/A bar_data current liquid_asset price N/A bar_data N/A BarData N/A self data_portal N/A N/A N/A N/A N/A N/A self bcolz_daily_bar_days N/A 1 daily N/A N/A N/A self assertEqual illiquid_day_0_price N/A N/A bar_data current illiquid_asset price N/A bar_data N/A BarData N/A self data_portal N/A N/A N/A N/A N/A N/A self bcolz_daily_bar_days N/A 2 daily N/A N/A N/A self assertAlmostEqual illiquid_day_1_price_adjusted N/A N/A bar_data current illiquid_asset price N/A N/A N/A parameterized expand N/A N/A split 2 3 3 1.5 N/A merger 2 3 3 1.8 N/A dividend 2 3 3 2.88 N/A