Module Import alias Import alias Import alias Assign NameStore Num Assign NameStore Num Assign NameStore Num ClassDef bases body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListLoad For NameStore Call NameLoad AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Dict For NameStore AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore AttributeLoad NameLoad attr If CompareIn NameLoad AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num Assign NameStore SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num Expr Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad ListLoad BinOpAdd NameLoad AttributeLoad NameLoad attr NameLoad orelse Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad ListLoad AttributeLoad NameLoad attr ListLoad ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr If CompareGt Call NameLoad AttributeLoad NameLoad attr Num body If CompareEq AttributeLoad NameLoad attr Str body Assign AttributeStore NameLoad attr SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Num orelse Assign AttributeStore NameLoad attr SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Num Assign AttributeStore NameLoad attr SubscriptLoad SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Index Num Index Num Index Num orelse Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareNotEq Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad body Delete SubscriptDel AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Index Num If CompareEq NameLoad Num body Delete SubscriptDel AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad Assign AttributeStore NameLoad attr BinOpSub AttributeLoad NameLoad attr Num If CompareGt AttributeLoad NameLoad attr Num body Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr orelse Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num orelse Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr ListLoad BinOpSub NameLoad Num SubscriptLoad SubscriptLoad NameLoad Index Num Slice Num Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad Assign AttributeStore NameLoad attr BinOpSub AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Str NameLoad Assign AttributeStore NameLoad attr Call NameLoad Str NameLoad Assign AttributeStore NameLoad attr ListLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore SubscriptLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Index Num Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr SubscriptLoad SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad Index Num Index Num Index Num orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore SubscriptLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Index Num Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr SubscriptLoad SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad Index Num Index Num Index Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore SubscriptLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Index Num Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr SubscriptLoad SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad Index Num Index Num Index Num orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore SubscriptLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Index Num Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr SubscriptLoad SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad Index Num Index Num Index Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If CompareEq AttributeLoad NameLoad attr Str body If BoolOpAnd CompareGt AttributeLoad AttributeLoad NameLoad attr attr Num CompareGtE NameLoad NameLoad body If NameLoad body Print Str Assign NameStore NameLoad Assign NameStore NameLoad If NameLoad body Print TupleLoad Str NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr orelse If CompareEq AttributeLoad NameLoad attr Str body If BoolOpAnd CompareGt AttributeLoad AttributeLoad NameLoad attr attr Num CompareLtE NameLoad NameLoad body If NameLoad body Print Str Assign NameStore NameLoad Assign NameStore NameLoad If NameLoad body Print TupleLoad Str NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr orelse Expr Call AttributeLoad NameLoad attr Str If CompareNotEq NameLoad NameLoad body If NameLoad body Print BinOpMod Str TupleLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Dict Str Str Str Str Str NameLoad NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr If CompareEq NameLoad Str body Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Dict Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str Dict Str Str Str Str AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Assign SubscriptStore NameLoad Index Str Dict Str Str Str Str AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr If NameLoad body Print BinOpMod Str NameLoad Print BinOpMod Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Print BinOpMod Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Return NameLoad decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr ListLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Assign NameStore BinOpAdd NameLoad Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore SubscriptLoad NameLoad Index Str If CompareEq AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Str body Assign NameStore BinOpSub AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr NameLoad orelse Assign NameStore BinOpSub NameLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr AugAssignAdd AttributeStore NameLoad attr NameLoad If NameLoad body Print BinOpMod Str TupleLoad NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If CompareLt Call NameLoad AttributeLoad NameLoad attr Num body Assign NameStore NameLoad orelse Assign NameStore AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr NameLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If CompareLt Call NameLoad AttributeLoad NameLoad attr Num body Assign NameStore NameLoad orelse Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Assign NameStore AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If CompareLt Call NameLoad AttributeLoad NameLoad attr Num body Assign NameStore NameLoad orelse Assign NameStore AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Assign NameStore AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr If CompareEq NameLoad Str body If CompareGt SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Num body Assign NameStore BinOpAdd SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Num If CompareGt NameLoad NameLoad body Assign NameStore NameLoad orelse Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str orelse If CompareGt SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Num body Assign NameStore BinOpSub SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Num If CompareLt NameLoad NameLoad body Assign NameStore NameLoad orelse Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Num Assign NameStore Num Assign NameStore Call NameLoad BinOpDiv Num BinOpAdd Num BinOpDiv NameLoad BinOpMult NameLoad NameLoad If BoolOpOr CompareLt Call NameLoad AttributeLoad NameLoad attr Num CompareGt NameLoad NameLoad body Assign NameStore NameLoad orelse Assign NameStore AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Assign NameStore AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr If CompareEq NameLoad Str body If CompareGt SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Num body Assign NameStore BinOpAdd SubscriptLoad SubscriptLoad NameLoad Index Str Index Str NameLoad If CompareGt NameLoad NameLoad body Assign NameStore NameLoad orelse Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str orelse If CompareGt SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Num body Assign NameStore BinOpSub SubscriptLoad SubscriptLoad NameLoad Index Str Index Str NameLoad If CompareLt NameLoad NameLoad body Assign NameStore NameLoad orelse Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr BinOpAdd Num BinOpMult Num Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BinOpMult Num Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BinOpMult Num BinOpAdd Num BinOpMult Num Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BinOpAdd Num BinOpMult Num Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If CompareLt Call NameLoad AttributeLoad NameLoad attr Num body Assign AttributeStore NameLoad attr NameLoad Assign NameStore NameLoad orelse Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Assign AttributeStore NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr If CompareEq AttributeLoad NameLoad attr Str body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad BinOpMult AttributeLoad NameLoad attr BinOpAdd Num AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body FunctionDef arguments args NameParam defaults body Assign NameStore BinOpMult AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore BinOpMult NameLoad BinOpAdd Num BinOpMult AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call NameLoad BinOpAdd NameLoad NameLoad Num Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpMult AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore BinOpMult NameLoad BinOpSub Num BinOpMult AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call NameLoad BinOpSub NameLoad NameLoad Num Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore NameLoad If BoolOpAnd CompareEq AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr CompareGtE AttributeLoad NameLoad attr NameLoad body Assign NameStore NameLoad If BoolOpAnd CompareEq AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr CompareLtE AttributeLoad NameLoad attr NameLoad body Assign NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore BinOpSub NameLoad NameLoad Assign NameStore BinOpAdd BinOpMult BinOpSub Num AttributeLoad NameLoad attr BinOpMult AttributeLoad NameLoad attr NameLoad BinOpMult AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore BinOpSub BinOpDiv BinOpAdd AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num If CompareEq AttributeLoad NameLoad attr Str body If CompareLt NameLoad Num body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad orelse If CompareGt NameLoad Num body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Call NameLoad BinOpMult AttributeLoad NameLoad attr BinOpAdd Num AttributeLoad NameLoad attr Num decorator_list Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore NameLoad If CompareNotEq NameLoad NameLoad body Assign NameStore SubscriptLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Num Index Num If CompareLt AttributeLoad NameLoad attr NameLoad body Assign NameStore NameLoad orelse If BoolOpAnd CompareNotEq NameLoad NameLoad BoolOpOr CompareGt AttributeLoad NameLoad attr NameLoad BoolOpAnd CompareEq AttributeLoad NameLoad attr NameLoad CompareGt AttributeLoad NameLoad attr NameLoad body Assign NameStore NameLoad orelse If CompareNotEq AttributeLoad NameLoad attr NameLoad body Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore NameLoad If CompareNotEq NameLoad NameLoad body Assign NameStore SubscriptLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Num Index Num If CompareGt AttributeLoad NameLoad attr NameLoad body Assign NameStore NameLoad orelse If BoolOpAnd CompareNotEq NameLoad NameLoad BoolOpOr CompareLt AttributeLoad NameLoad attr NameLoad BoolOpAnd CompareEq AttributeLoad NameLoad attr NameLoad CompareGt AttributeLoad NameLoad attr NameLoad body Assign NameStore NameLoad orelse If CompareNotEq AttributeLoad NameLoad attr NameLoad body Assign NameStore NameLoad If BoolOpAnd NameLoad BoolOpOr NameLoad NameLoad NameLoad NameLoad body Print TupleLoad Str NameLoad Str NameLoad Str NameLoad Str NameLoad Assign NameStore BoolOpOr NameLoad NameLoad If CompareEq AttributeLoad NameLoad attr Str body If NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str If CompareLtE AttributeLoad NameLoad attr NameLoad body Assign NameStore Call NameLoad NameLoad Expr Call NameLoad NameLoad orelse If BoolOpAnd NameLoad AttributeLoad NameLoad attr UnaryOpNot Call NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Expr Call NameLoad NameLoad orelse If BoolOpAnd NameLoad CompareGt AttributeLoad NameLoad attr NameLoad body If CompareNotEq NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad orelse Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call NameLoad NameLoad If CompareEq AttributeLoad NameLoad attr Str body If NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str If CompareGtE AttributeLoad NameLoad attr NameLoad body Assign NameStore Call NameLoad NameLoad Expr Call NameLoad NameLoad orelse If BoolOpAnd NameLoad AttributeLoad NameLoad attr UnaryOpNot Call NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Expr Call NameLoad NameLoad orelse If BoolOpAnd NameLoad CompareLt AttributeLoad NameLoad attr NameLoad body If CompareNotEq NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad orelse Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Dict Assign NameStore Call NameLoad NameLoad For NameStore NameLoad body Assign NameStore AttributeLoad SubscriptLoad NameLoad Index NameLoad attr If CompareIn NameLoad Call AttributeLoad NameLoad attr body Assign NameStore BinOpAdd SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Assign NameStore BinOpAdd SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str Num orelse Assign NameStore AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Assign NameStore Num Assign SubscriptStore NameLoad Index NameLoad Dict Str Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad For NameStore Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad BinOpDiv NameLoad Call NameLoad NameLoad If CompareNotEq SubscriptLoad SubscriptLoad NameLoad Index Str Index Str NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str orelse Expr Call AttributeLoad NameLoad attr Str If CompareNotEq SubscriptLoad SubscriptLoad NameLoad Index Str Index Str NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str orelse Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body FunctionDef arguments args NameParam NameParam defaults body If CompareEq NameLoad Str body Return Call NameLoad Str NameLoad Num orelse If CompareEq NameLoad Str body Return Call NameLoad Str NameLoad Num orelse If CompareEq NameLoad Str body Return Call NameLoad Str NameLoad Num orelse If CompareEq NameLoad Str body Return Call NameLoad Str NameLoad Num orelse If CompareEq NameLoad Str body Return Call NameLoad Str NameLoad Num orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body For NameStore Call NameLoad NameLoad body Assign NameStore BinOpSub BinOpSub NameLoad Num NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num NameLoad Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad Assign AttributeStore SubscriptLoad NameLoad Index NameLoad attr NameLoad Assign AttributeStore SubscriptLoad NameLoad Index NameLoad attr NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad decorator_list Assign NameStore Num For NameStore SubscriptLoad NameLoad Index Str body Assign NameStore SubscriptLoad NameLoad Index Num For NameStore Call NameLoad SubscriptLoad NameLoad Index Num body Assign NameStore BinOpMod Str NameLoad Assign SubscriptStore NameLoad Index NameLoad Call NameLoad NameLoad NameLoad Assign NameStore BinOpAdd NameLoad Num If CompareLt NameLoad Num body Expr Call AttributeLoad NameLoad attr Str If NameLoad body Expr Call NameLoad Str NameLoad NameLoad Assign NameStore Num For NameStore SubscriptLoad NameLoad Index Str body Assign NameStore SubscriptLoad NameLoad Index Num For NameStore Call NameLoad SubscriptLoad NameLoad Index Num body Assign NameStore BinOpMod Str NameLoad Assign SubscriptStore NameLoad Index NameLoad Call NameLoad NameLoad NameLoad Assign NameStore BinOpAdd NameLoad Num If CompareLt NameLoad Num body Expr Call AttributeLoad NameLoad attr Str If NameLoad body Expr Call NameLoad Str NameLoad NameLoad If NameLoad body For NameStore Call NameLoad NameLoad body Assign NameStore BinOpMod Str NameLoad Print SubscriptLoad NameLoad Index NameLoad For NameStore Call NameLoad NameLoad body Assign NameStore BinOpMod Str NameLoad Print SubscriptLoad NameLoad Index NameLoad Return Dict Str Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body FunctionDef arguments args NameParam defaults body If CompareLt NameLoad NameLoad body Print Str Assign NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareGt NameLoad NameLoad body Print Str Assign NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body If CompareGt Call NameLoad SubscriptLoad NameLoad Index Num Num body Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Num Index Num If Call NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore NameLoad orelse Expr Call AttributeLoad NameLoad attr Str If CompareGt Call NameLoad SubscriptLoad NameLoad Index Num Num body Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Num Index Num If Call NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Str orelse Assign NameStore Num Assign NameStore Num Assign NameStore Call NameLoad BinOpAdd NameLoad Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Assign NameStore Call NameLoad BinOpAdd NameLoad Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Assign NameStore BinOpSub NameLoad NameLoad Assign NameStore BinOpDiv NameLoad BinOpSub NameLoad Num Assign NameStore Call NameLoad BinOpDiv NameLoad Num If CompareEq NameLoad Str body Assign NameStore BinOpAdd NameLoad Call NameLoad BinOpMult NameLoad NameLoad orelse If CompareEq NameLoad Str body Assign NameStore BinOpAdd BinOpAdd NameLoad Call NameLoad BinOpMult NameLoad NameLoad Call AttributeLoad NameLoad attr UnaryOpUSub NameLoad NameLoad orelse If CompareEq NameLoad Str body If CompareGt Call NameLoad NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr Num BinOpSub Call NameLoad NameLoad Num Assign NameStore Call NameLoad Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num Assign NameStore Call NameLoad Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad If CompareLt NameLoad Num body Expr Call AttributeLoad NameLoad attr Str orelse If CompareEq NameLoad Num body Assign NameStore NameLoad orelse Assign NameStore BinOpDiv NameLoad BinOpSub NameLoad Num Assign NameStore Num Assign NameStore ListLoad For NameStore Call NameLoad NameLoad body If CompareEq NameLoad Str body Assign NameStore NameLoad orelse If CompareEq NameLoad Str body Assign NameStore BinOpMult NameLoad NameLoad orelse If CompareEq NameLoad Str body Assign NameStore BinOpAdd BinOpMult NameLoad NameLoad BinOpMult NameLoad Call AttributeLoad NameLoad attr orelse If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr BinOpDiv NameLoad NameLoad AugAssignAdd NameStore NameLoad orelse Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd NameLoad BoolOpOr CompareGt NameLoad NameLoad CompareLt NameLoad NameLoad body For NameStore Call NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad BinOpMult NameLoad BinOpDiv SubscriptLoad NameLoad Index NameLoad NameLoad If NameLoad body For NameStore Call NameLoad NameLoad body Assign NameStore BinOpSub BinOpSub NameLoad Num NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore NameLoad For NameStore NameLoad body If BoolOpAnd CompareLtE SubscriptLoad NameLoad Index Str NameLoad CompareLt NameLoad SubscriptLoad NameLoad Index Str body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore NameLoad Expr NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Return TupleLoad NameLoad NameLoad decorator_list Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore BinOpAdd NameLoad NameLoad Assign NameStore NameLoad If CompareLt Call NameLoad NameLoad Num body Assign NameStore ListLoad Assign NameStore Call NameLoad NameLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str NameLoad NameLoad Assign NameStore Str Assign TupleStore NameStore NameStore Call NameLoad NameLoad SubscriptLoad NameLoad Index Str For NameStore Call NameLoad NameLoad body Assign NameStore BinOpAdd NameLoad SubscriptLoad NameLoad Index NameLoad Assign NameStore BinOpMod Str NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Num NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str NameLoad NameLoad Assign NameStore Str Assign TupleStore NameStore NameStore Call NameLoad NameLoad SubscriptLoad NameLoad Index Str For NameStore Call NameLoad NameLoad body Assign NameStore BinOpAdd NameLoad SubscriptLoad NameLoad Index NameLoad Assign NameStore BinOpMod Str NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Num NameLoad Expr Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore ListLoad For NameStore NameLoad body If CompareLt AttributeLoad NameLoad attr NameLoad body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad If NameLoad body Print BinOpMod Str NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Dict Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore BinOpDiv Num Call NameLoad BinOpAdd SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad BinOpSub NameLoad NameLoad Assign NameStore Num Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore ListLoad While CompareLt NameLoad NameLoad body Assign NameStore BinOpDiv BinOpSub NameLoad NameLoad NameLoad Assign NameStore NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore SubscriptLoad Call NameLoad Call AttributeLoad NameLoad attr Index Call AttributeLoad NameLoad attr Num BinOpSub Call NameLoad NameLoad Num Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareNotEq NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad If CompareNotEq NameLoad NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index Str attr NameLoad NameLoad NameLoad Expr Call AttributeLoad SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index Str attr NameLoad NameLoad NameLoad If NameLoad body Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad For NameStore NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad NameLoad NameLoad NameLoad Assign NameStore BinOpAdd NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Str Str Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list If CompareEq NameLoad Str body Assign NameStore Num Assign NameStore Num Assign NameStore BinOpSub NameLoad NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore BinOpMult AttributeLoad NameLoad attr Num Assign NameStore BinOpMult AttributeLoad NameLoad attr Num Assign NameStore BinOpDiv NameLoad NameLoad Assign NameStore BinOpDiv BinOpMult Num NameLoad BinOpDiv NameLoad NameLoad Assign NameStore BinOpDiv BinOpMult Num NameLoad BinOpDiv NameLoad NameLoad Assign NameStore BinOpAdd NameLoad BinOpMult NameLoad Call AttributeLoad NameLoad attr BinOpMult NameLoad NameLoad Return Call NameLoad Call NameLoad NameLoad Num decorator_list Assign NameStore TupleLoad Num Num NameLoad Assign NameStore ListLoad Dict Str Str Str Str NameLoad NameLoad ListLoad NameLoad Str Assign NameStore TupleLoad Num Num NameLoad Assign NameStore ListLoad Dict Str Str Str Str NameLoad NameLoad ListLoad NameLoad Str Assign NameStore Dict Str Str Str Str NameLoad NameLoad Num Str Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore BinOpMult NameLoad NameLoad Assign NameStore BinOpMod Str NameLoad Assign NameStore Call NameLoad NameLoad Str Assign NameStore Num Assign NameStore Num Assign NameStore NameLoad While CompareLtE NameLoad NameLoad body Assign NameStore NameLoad While CompareLtE NameLoad BinOpSub NameLoad NameLoad body Assign NameStore NameLoad While CompareLtE NameLoad BinOpSub NameLoad BinOpAdd NameLoad NameLoad body Assign NameStore BinOpSub NameLoad BinOpAdd BinOpAdd NameLoad NameLoad NameLoad If CompareGtE NameLoad NameLoad body Assign NameStore ListLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad Assign NameStore NameLoad Assign NameStore Dict Str Str NameLoad NameLoad Print NameLoad Assign NameStore Num While CompareLtE NameLoad NameLoad body Assign NameStore BinOpMod Str NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore BinOpAdd NameLoad Num Assign NameStore BinOpAdd NameLoad Num AugAssignAdd NameStore Num AugAssignAdd NameStore Num AugAssignAdd NameStore Num Expr Call AttributeLoad NameLoad attr Print NameLoad
N/A N/A sys N/A math N/A random N/A bse_sys_minprice 1 N/A bse_sys_maxprice 1000 N/A ticksize 1 Order N/A N/A __init__ N/A N/A self tid otype price qty time N/A N/A N/A N/A self tid tid N/A N/A self otype otype N/A N/A self price price N/A N/A self qty qty N/A N/A self time time N/A __str__ N/A N/A self N/A N/A N/A N/A [%s %s P=%03d Q=%s T=%5.2f] N/A N/A self tid N/A self otype N/A self price N/A self qty N/A self time N/A N/A Orderbook_half N/A N/A __init__ N/A N/A self booktype worstprice N/A N/A N/A N/A self booktype booktype N/A N/A self orders N/A N/A N/A self lob N/A N/A N/A self lob_anon N/A N/A N/A self best_price None N/A N/A self best_tid None N/A N/A self worstprice worstprice N/A N/A self n_orders 0 N/A N/A self lob_depth 0 N/A anonymize_lob N/A N/A self N/A N/A N/A N/A self lob_anon N/A N/A price N/A sorted N/A self lob N/A N/A qty N/A N/A N/A self lob N/A price N/A 0 N/A N/A N/A N/A self lob_anon append N/A price qty N/A build_lob N/A N/A self N/A N/A N/A N/A self lob N/A N/A tid N/A self orders N/A N/A order N/A N/A N/A self orders get tid N/A price N/A order price N/A N/A price N/A self lob N/A N/A qty N/A N/A N/A self lob N/A price N/A 0 N/A orderlist N/A N/A N/A self lob N/A price N/A 1 N/A N/A N/A orderlist append N/A N/A order time N/A order qty N/A order tid N/A N/A N/A self lob N/A price N/A N/A qty N/A order qty orderlist N/A N/A N/A N/A self lob N/A price N/A N/A order qty N/A N/A N/A order time N/A order qty N/A order tid N/A N/A N/A self anonymize_lob N/A N/A N/A len N/A self lob 0 N/A N/A N/A N/A self booktype Bid N/A N/A N/A self best_price N/A N/A N/A self lob_anon N/A -1 N/A 0 N/A N/A N/A self best_price N/A N/A N/A self lob_anon N/A 0 N/A 0 N/A N/A self best_tid N/A N/A N/A N/A N/A self lob N/A N/A self best_price N/A 1 N/A 0 N/A 2 N/A N/A N/A self best_price None N/A N/A self best_tid None N/A book_add N/A N/A self order N/A N/A N/A N/A N/A self orders N/A N/A order tid order N/A N/A self n_orders N/A len N/A self orders N/A N/A N/A self build_lob N/A book_del N/A N/A self order N/A N/A N/A N/A N/A N/A N/A self orders get N/A order tid None N/A N/A N/A N/A self orders N/A N/A order tid N/A N/A self n_orders N/A len N/A self orders N/A N/A N/A self build_lob N/A delete_best N/A N/A self N/A N/A N/A best_price_orders N/A N/A self lob N/A N/A self best_price N/A best_price_qty N/A best_price_orders N/A 0 N/A best_price_counterparty N/A N/A N/A best_price_orders N/A 1 N/A 0 N/A 2 N/A N/A best_price_qty 1 N/A N/A N/A N/A self lob N/A N/A self best_price N/A N/A N/A self orders N/A best_price_counterparty N/A N/A self n_orders N/A N/A self n_orders 1 N/A N/A N/A self n_orders 0 N/A N/A N/A self best_price N/A min N/A N/A N/A self lob keys N/A N/A self lob_depth N/A len N/A N/A N/A self lob keys N/A N/A N/A self best_price N/A self worstprice N/A N/A self lob_depth 0 N/A N/A N/A N/A self lob N/A N/A self best_price N/A N/A best_price_qty 1 N/A N/A best_price_orders N/A 1 N/A 1 N/A N/A N/A self orders N/A best_price_counterparty N/A N/A self n_orders N/A N/A self n_orders 1 N/A N/A N/A self build_lob N/A best_price_counterparty N/A N/A Orderbook N/A Orderbook_half N/A __init__ N/A N/A self N/A N/A N/A N/A self bids N/A Orderbook_half Bid bse_sys_minprice N/A N/A self asks N/A Orderbook_half Ask bse_sys_maxprice N/A N/A self tape N/A N/A N/A Exchange N/A Orderbook N/A add_order N/A N/A self order N/A N/A N/A tid N/A order tid N/A N/A N/A order otype Bid N/A N/A N/A N/A N/A self bids book_add order N/A best_price N/A N/A N/A N/A self bids lob_anon N/A -1 N/A 0 N/A N/A N/A self bids best_price best_price N/A N/A N/A self bids best_tid N/A N/A N/A N/A N/A N/A self bids lob N/A best_price N/A 1 N/A 0 N/A 2 N/A N/A N/A N/A N/A self asks book_add order N/A best_price N/A N/A N/A N/A self asks lob_anon N/A 0 N/A 0 N/A N/A N/A self asks best_price best_price N/A N/A N/A self asks best_tid N/A N/A N/A N/A N/A N/A self asks lob N/A best_price N/A 1 N/A 0 N/A 2 N/A del_order N/A N/A self order N/A N/A N/A tid N/A order tid N/A N/A N/A order otype Bid N/A N/A N/A N/A N/A self bids book_del order N/A best_price N/A N/A N/A N/A self bids lob_anon N/A -1 N/A 0 N/A N/A N/A self bids best_price best_price N/A N/A N/A self bids best_tid N/A N/A N/A N/A N/A N/A self bids lob N/A best_price N/A 1 N/A 0 N/A 2 N/A N/A N/A N/A N/A self asks book_del order N/A best_price N/A N/A N/A N/A self asks lob_anon N/A 0 N/A 0 N/A N/A N/A self asks best_price best_price N/A N/A N/A self asks best_tid N/A N/A N/A N/A N/A N/A self asks lob N/A best_price N/A 1 N/A 0 N/A 2 N/A process_order2 N/A N/A self time order verbose N/A N/A N/A oprice N/A order price N/A counterparty None N/A N/A N/A self add_order order N/A best_ask N/A N/A self asks best_price N/A best_ask_tid N/A N/A self asks best_tid N/A best_bid N/A N/A self bids best_price N/A best_bid_tid N/A N/A self bids best_tid N/A N/A N/A order otype Bid N/A N/A N/A N/A N/A N/A self asks n_orders 0 N/A best_bid best_ask N/A N/A verbose N/A N/A Bid hits best ask N/A counterparty best_ask_tid N/A price best_ask N/A verbose N/A N/A N/A counterparty, price counterparty price N/A N/A N/A N/A self asks delete_best N/A N/A N/A N/A self bids delete_best N/A N/A N/A N/A order otype Ask N/A N/A N/A N/A N/A N/A self bids n_orders 0 N/A best_ask best_bid N/A N/A verbose N/A N/A Ask hits best bid N/A counterparty best_bid_tid N/A price best_bid N/A verbose N/A N/A N/A counterparty, price counterparty price N/A N/A N/A N/A self bids delete_best N/A N/A N/A N/A self asks delete_best N/A N/A N/A N/A sys exit process_order() given neither Bid nor Ask N/A N/A counterparty None N/A N/A verbose N/A N/A N/A >>>>>>>>>>>>>>>>>TRADE t=%5.2f $%d %s %s N/A time price counterparty N/A order tid N/A transaction_record N/A time price party1 party2 qty time price counterparty N/A order tid N/A order qty N/A N/A N/A N/A self tape append transaction_record N/A transaction_record N/A N/A None N/A tape_dump N/A N/A self fname fmode tmode N/A N/A N/A dumpfile N/A open fname fmode N/A tapeitem N/A self tape N/A N/A N/A N/A dumpfile write N/A %s, %s
 N/A N/A tapeitem N/A time N/A tapeitem N/A price N/A N/A N/A dumpfile close N/A N/A tmode wipe N/A N/A N/A self tape N/A N/A publish_lob N/A N/A self time verbose N/A N/A N/A public_data N/A N/A N/A public_data N/A time time N/A N/A public_data N/A bids N/A best worst n lob N/A N/A self bids best_price N/A N/A self bids worstprice N/A N/A self bids n_orders N/A N/A self bids lob_anon N/A N/A public_data N/A asks N/A best worst n lob N/A N/A self asks best_price N/A N/A self asks worstprice N/A N/A self asks n_orders N/A N/A self asks lob_anon N/A verbose N/A N/A N/A publish_lob: t=%d time N/A N/A BID_lob=%s N/A N/A public_data N/A bids N/A lob N/A N/A ASK_lob=%s N/A N/A public_data N/A asks N/A lob N/A public_data N/A N/A Trader N/A N/A __init__ N/A N/A self ttype tid balance N/A N/A N/A N/A self ttype ttype N/A N/A self tid tid N/A N/A self balance balance N/A N/A self blotter N/A N/A N/A self orders N/A N/A N/A self willing 1 N/A N/A self able 1 N/A N/A self lastquote None N/A __str__ N/A N/A self N/A N/A N/A N/A [TID %s type %s balance %s blotter %s orders %s] N/A N/A self tid N/A self ttype N/A self balance N/A self blotter N/A self orders N/A add_order N/A N/A self order N/A N/A N/A N/A self orders N/A order N/A del_order N/A N/A self order N/A N/A N/A N/A self orders N/A N/A bookkeep N/A N/A self trade order verbose N/A N/A N/A outstr N/A %s (%s) bookkeeping: orders= N/A N/A self tid N/A self ttype N/A order N/A self orders N/A N/A outstr N/A outstr N/A str order N/A N/A N/A N/A self blotter append trade N/A transactionprice N/A trade N/A price N/A N/A N/A N/A N/A self orders N/A 0 otype Bid N/A N/A profit N/A N/A N/A N/A self orders N/A 0 price transactionprice N/A N/A profit N/A transactionprice N/A N/A N/A self orders N/A 0 price N/A N/A self balance profit N/A verbose N/A N/A N/A %s profit=%d balance=%d  N/A outstr profit N/A self balance N/A N/A N/A self del_order order N/A respond N/A N/A self time lob trade verbose N/A N/A N/A None N/A N/A Trader_Giveaway N/A Trader N/A getorder N/A N/A self time countdown lob N/A N/A N/A N/A N/A len N/A self orders 1 N/A N/A order None N/A N/A quoteprice N/A N/A N/A self orders N/A 0 price N/A N/A self lastquote quoteprice N/A order N/A Order N/A self tid N/A N/A N/A self orders N/A 0 otype quoteprice N/A N/A N/A self orders N/A 0 qty time N/A order N/A N/A Trader_ZIC N/A Trader N/A getorder N/A N/A self time countdown lob N/A N/A N/A N/A N/A len N/A self orders 1 N/A N/A order None N/A N/A minprice N/A N/A lob N/A bids N/A worst N/A maxprice N/A N/A lob N/A asks N/A worst N/A limit N/A N/A N/A self orders N/A 0 price N/A otype N/A N/A N/A self orders N/A 0 otype N/A N/A otype Bid N/A N/A quoteprice N/A N/A random randint minprice limit N/A N/A quoteprice N/A N/A random randint limit maxprice N/A order N/A Order N/A self tid otype quoteprice N/A N/A N/A self orders N/A 0 qty time N/A order N/A N/A Trader_Shaver N/A Trader N/A getorder N/A N/A self time countdown lob N/A N/A N/A N/A N/A len N/A self orders 1 N/A N/A order None N/A N/A limitprice N/A N/A N/A self orders N/A 0 price N/A otype N/A N/A N/A self orders N/A 0 otype N/A N/A otype Bid N/A N/A N/A N/A N/A lob N/A bids N/A n 0 N/A N/A quoteprice N/A N/A N/A lob N/A bids N/A best 1 N/A N/A quoteprice limitprice N/A N/A quoteprice limitprice N/A N/A quoteprice N/A N/A lob N/A bids N/A worst N/A N/A N/A N/A N/A lob N/A asks N/A n 0 N/A N/A quoteprice N/A N/A N/A lob N/A asks N/A best 1 N/A N/A quoteprice limitprice N/A N/A quoteprice limitprice N/A N/A quoteprice N/A N/A lob N/A asks N/A worst N/A N/A self lastquote quoteprice N/A order N/A Order N/A self tid otype quoteprice N/A N/A N/A self orders N/A 0 qty time N/A order N/A N/A Trader_Sniper N/A Trader N/A getorder N/A N/A self time countdown lob N/A N/A N/A lurk_threshold 0.2 N/A shavegrowthrate 3 N/A shave N/A int N/A 1.0 N/A 0.01 N/A countdown N/A shavegrowthrate lurk_threshold N/A N/A N/A N/A len N/A self orders 1 N/A countdown lurk_threshold N/A N/A order None N/A N/A limitprice N/A N/A N/A self orders N/A 0 price N/A otype N/A N/A N/A self orders N/A 0 otype N/A N/A otype Bid N/A N/A N/A N/A N/A lob N/A bids N/A n 0 N/A N/A quoteprice N/A N/A N/A lob N/A bids N/A best shave N/A N/A quoteprice limitprice N/A N/A quoteprice limitprice N/A N/A quoteprice N/A N/A lob N/A bids N/A worst N/A N/A N/A N/A N/A lob N/A asks N/A n 0 N/A N/A quoteprice N/A N/A N/A lob N/A asks N/A best shave N/A N/A quoteprice limitprice N/A N/A quoteprice limitprice N/A N/A quoteprice N/A N/A lob N/A asks N/A worst N/A N/A self lastquote quoteprice N/A order N/A Order N/A self tid otype quoteprice N/A N/A N/A self orders N/A 0 qty time N/A order N/A N/A Trader_ZIP N/A Trader N/A __init__ N/A N/A self ttype tid balance N/A N/A N/A N/A self ttype ttype N/A N/A self tid tid N/A N/A self balance balance N/A N/A self blotter N/A N/A N/A self orders N/A N/A N/A self job None N/A N/A self active False N/A N/A self prev_change 0 N/A N/A self beta N/A 0.1 N/A 0.4 N/A N/A random random N/A N/A self momntm N/A 0.1 N/A N/A random random N/A N/A self ca 0.05 N/A N/A self cr 0.05 N/A N/A self margin None N/A N/A self margin_buy N/A -1.0 N/A 0.05 N/A 0.3 N/A N/A random random N/A N/A self margin_sell N/A 0.05 N/A 0.3 N/A N/A random random N/A N/A self price None N/A N/A self limit None N/A N/A self prev_best_bid_p None N/A N/A self prev_best_bid_q None N/A N/A self prev_best_ask_p None N/A N/A self prev_best_ask_q None N/A getorder N/A N/A self time countdown lob N/A N/A N/A N/A N/A len N/A self orders 1 N/A N/A N/A self active False N/A order None N/A N/A N/A self active True N/A N/A self limit N/A N/A N/A self orders N/A 0 price N/A N/A self job N/A N/A N/A self orders N/A 0 otype N/A N/A N/A self job Bid N/A N/A N/A self margin N/A self margin_buy N/A N/A N/A self margin N/A self margin_sell N/A quoteprice N/A int N/A N/A self limit N/A 1 N/A self margin N/A N/A self price quoteprice N/A order N/A Order N/A self tid N/A self job quoteprice N/A N/A N/A self orders N/A 0 qty time N/A order N/A respond N/A N/A self time lob trade verbose N/A N/A target_up N/A N/A price N/A N/A N/A ptrb_abs N/A N/A self ca N/A N/A random random N/A ptrb_rel N/A price N/A 1.0 N/A N/A self cr N/A N/A random random N/A target N/A int N/A round N/A ptrb_rel ptrb_abs 0 N/A target N/A target_down N/A N/A price N/A N/A N/A ptrb_abs N/A N/A self ca N/A N/A random random N/A ptrb_rel N/A price N/A 1.0 N/A N/A self cr N/A N/A random random N/A target N/A int N/A round N/A ptrb_rel ptrb_abs 0 N/A target N/A willing_to_trade N/A N/A price N/A N/A N/A willing False N/A N/A N/A N/A self job Bid N/A self active N/A N/A self price price N/A N/A willing True N/A N/A N/A N/A self job Ask N/A self active N/A N/A self price price N/A N/A willing True N/A willing N/A profit_alter N/A N/A price N/A N/A N/A oldprice N/A self price N/A diff N/A price oldprice N/A change N/A N/A N/A 1.0 N/A self momntm N/A N/A self beta diff N/A N/A self momntm N/A self prev_change N/A N/A self prev_change change N/A newmargin N/A N/A N/A N/A self price change N/A self limit 1.0 N/A N/A N/A self job Bid N/A N/A N/A newmargin 0.0 N/A N/A N/A self margin_buy newmargin N/A N/A self margin newmargin N/A N/A N/A newmargin 0.0 N/A N/A N/A self margin_sell newmargin N/A N/A self margin newmargin N/A N/A self price N/A int N/A round N/A N/A self limit N/A 1.0 N/A self margin 0 N/A N/A bid_improved False N/A bid_hit False N/A lob_best_bid_p N/A N/A lob N/A bids N/A best N/A lob_best_bid_q None N/A N/A lob_best_bid_p None N/A N/A lob_best_bid_q N/A N/A N/A N/A lob N/A bids N/A lob N/A -1 N/A 1 N/A N/A N/A self prev_best_bid_p lob_best_bid_p N/A N/A bid_improved True N/A N/A N/A N/A trade None N/A N/A N/A self prev_best_bid_p lob_best_bid_p N/A N/A N/A self prev_best_bid_p lob_best_bid_p N/A N/A self prev_best_bid_q lob_best_bid_q N/A N/A bid_hit True N/A N/A N/A N/A self prev_best_bid_p None N/A N/A bid_hit True N/A ask_improved False N/A ask_lifted False N/A lob_best_ask_p N/A N/A lob N/A asks N/A best N/A lob_best_ask_q None N/A N/A lob_best_ask_p None N/A N/A lob_best_ask_q N/A N/A N/A N/A lob N/A asks N/A lob N/A 0 N/A 1 N/A N/A N/A self prev_best_ask_p lob_best_ask_p N/A N/A ask_improved True N/A N/A N/A N/A trade None N/A N/A N/A self prev_best_ask_p lob_best_ask_p N/A N/A N/A self prev_best_ask_p lob_best_ask_p N/A N/A self prev_best_ask_q lob_best_ask_q N/A N/A ask_lifted True N/A N/A N/A N/A self prev_best_ask_p None N/A N/A ask_lifted True N/A N/A verbose N/A bid_improved bid_hit ask_improved ask_lifted N/A N/A N/A B_improved bid_improved B_hit bid_hit A_improved ask_improved A_lifted ask_lifted N/A deal N/A bid_hit ask_lifted N/A N/A N/A self job Ask N/A N/A deal N/A N/A tradeprice N/A trade N/A price N/A N/A N/A self price tradeprice N/A N/A target_price N/A target_up tradeprice N/A N/A profit_alter target_price N/A N/A N/A ask_lifted N/A self active N/A N/A willing_to_trade tradeprice N/A N/A target_price N/A target_down tradeprice N/A N/A profit_alter target_price N/A N/A N/A ask_improved N/A N/A self price lob_best_ask_p N/A N/A N/A lob_best_bid_p None N/A N/A target_price N/A target_up lob_best_bid_p N/A N/A target_price N/A N/A lob N/A asks N/A worst N/A N/A profit_alter target_price N/A N/A N/A self job Bid N/A N/A deal N/A N/A tradeprice N/A trade N/A price N/A N/A N/A self price tradeprice N/A N/A target_price N/A target_down tradeprice N/A N/A profit_alter target_price N/A N/A N/A bid_hit N/A self active N/A N/A willing_to_trade tradeprice N/A N/A target_price N/A target_up tradeprice N/A N/A profit_alter target_price N/A N/A N/A bid_improved N/A N/A self price lob_best_bid_p N/A N/A N/A lob_best_ask_p None N/A N/A target_price N/A target_down lob_best_ask_p N/A N/A target_price N/A N/A lob N/A bids N/A worst N/A N/A profit_alter target_price N/A N/A self prev_best_bid_p lob_best_bid_p N/A N/A self prev_best_bid_q lob_best_bid_q N/A N/A self prev_best_ask_p lob_best_ask_p N/A N/A self prev_best_ask_q lob_best_ask_q N/A N/A trade_stats N/A N/A expid traders dumpfile time lob N/A N/A N/A trader_types N/A N/A n_traders N/A len traders N/A t traders N/A N/A ttype N/A N/A traders N/A t ttype N/A N/A ttype N/A N/A trader_types keys N/A N/A t_balance N/A N/A N/A trader_types N/A ttype N/A balance_sum N/A N/A traders N/A t balance N/A n N/A N/A N/A trader_types N/A ttype N/A n 1 N/A N/A t_balance N/A N/A traders N/A t balance N/A n 1 N/A N/A trader_types N/A ttype N/A n balance_sum n t_balance N/A N/A N/A dumpfile write N/A %s, %06d,  N/A expid time N/A ttype N/A sorted N/A list N/A N/A trader_types keys N/A N/A n N/A N/A trader_types N/A ttype N/A n N/A s N/A N/A trader_types N/A ttype N/A balance_sum N/A N/A N/A dumpfile write N/A %s, %d, %d, %f,  N/A ttype s n N/A s N/A float n N/A N/A N/A N/A lob N/A bids N/A best None N/A N/A N/A N/A dumpfile write N/A %d,  N/A N/A lob N/A bids N/A best N/A N/A N/A N/A dumpfile write N,  N/A N/A N/A N/A lob N/A asks N/A best None N/A N/A N/A N/A dumpfile write N/A %d,  N/A N/A lob N/A asks N/A best N/A N/A N/A N/A dumpfile write N,  N/A N/A N/A dumpfile write N/A populate_market N/A N/A traders_spec traders shuffle verbose N/A N/A trader_type N/A N/A robottype name N/A N/A N/A N/A robottype GVWY N/A N/A N/A Trader_Giveaway GVWY name 0.0 N/A N/A N/A robottype ZIC N/A N/A N/A Trader_ZIC ZIC name 0.0 N/A N/A N/A robottype SHVR N/A N/A N/A Trader_Shaver SHVR name 0.0 N/A N/A N/A robottype SNPR N/A N/A N/A Trader_Sniper SNPR name 0.0 N/A N/A N/A robottype ZIP N/A N/A N/A Trader_ZIP ZIP name 0.0 N/A N/A N/A N/A sys exit N/A FATAL: don't know robot type %s
 robottype N/A shuffle_traders N/A N/A ttype_char n traders N/A N/A N/A swap N/A range n N/A N/A t1 N/A N/A n 1 swap N/A t2 N/A N/A random randint 0 t1 N/A t1name N/A %c%02d N/A ttype_char t1 N/A t2name N/A %c%02d N/A ttype_char t2 N/A N/A N/A traders N/A t1name tid t2name N/A N/A N/A traders N/A t2name tid t1name N/A temp N/A traders N/A t1name N/A N/A traders N/A t1name N/A traders N/A t2name N/A N/A traders N/A t2name temp N/A N/A n_buyers 0 N/A bs N/A traders_spec N/A buyers N/A N/A ttype N/A bs N/A 0 N/A b N/A range N/A bs N/A 1 N/A N/A tname N/A B%02d n_buyers N/A N/A traders N/A tname N/A trader_type ttype tname N/A n_buyers N/A n_buyers 1 N/A N/A n_buyers 1 N/A N/A N/A N/A sys exit FATAL: no buyers specified
 N/A shuffle N/A N/A N/A shuffle_traders B n_buyers traders N/A n_sellers 0 N/A ss N/A traders_spec N/A sellers N/A N/A ttype N/A ss N/A 0 N/A s N/A range N/A ss N/A 1 N/A N/A tname N/A S%02d n_sellers N/A N/A traders N/A tname N/A trader_type ttype tname N/A n_sellers N/A n_sellers 1 N/A N/A n_sellers 1 N/A N/A N/A N/A sys exit FATAL: no sellers specified
 N/A shuffle N/A N/A N/A shuffle_traders S n_sellers traders N/A verbose N/A N/A t N/A range n_buyers N/A N/A bname N/A B%02d t N/A N/A traders N/A bname N/A t N/A range n_sellers N/A N/A bname N/A S%02d t N/A N/A traders N/A bname N/A N/A n_buyers n_sellers n_buyers n_sellers N/A customer_orders N/A N/A time last_update traders trader_stats os pending verbose N/A N/A sysmin_check N/A N/A price N/A N/A N/A N/A price bse_sys_minprice N/A N/A WARNING: price < bse_sys_min -- clipped N/A price bse_sys_minprice N/A price N/A sysmax_check N/A N/A price N/A N/A N/A N/A price bse_sys_maxprice N/A N/A WARNING: price > bse_sys_max -- clipped N/A price bse_sys_maxprice N/A price N/A getorderprice N/A N/A i sched n mode issuetime N/A N/A N/A N/A N/A len N/A sched N/A 0 2 N/A N/A offsetfn N/A N/A sched N/A 0 N/A 2 N/A N/A callable offsetfn N/A N/A offset_min N/A offsetfn issuetime N/A offset_max offset_min N/A N/A N/A N/A sys exit FAIL: 3rd argument of sched in getorderprice() not callable N/A N/A N/A len N/A sched N/A 0 3 N/A N/A offsetfn N/A N/A sched N/A 0 N/A 3 N/A N/A callable offsetfn N/A N/A offset_max N/A offsetfn issuetime N/A N/A N/A N/A sys exit FAIL: 4th argument of sched in getorderprice() not callable N/A N/A offset_min 0.0 N/A offset_max 0.0 N/A pmin N/A sysmin_check N/A offset_min N/A min N/A N/A sched N/A 0 N/A 0 N/A N/A sched N/A 0 N/A 1 N/A pmax N/A sysmax_check N/A offset_max N/A max N/A N/A sched N/A 0 N/A 0 N/A N/A sched N/A 0 N/A 1 N/A prange N/A pmax pmin N/A stepsize N/A prange N/A n 1 N/A halfstep N/A round N/A stepsize 2.0 N/A N/A mode fixed N/A N/A orderprice N/A pmin N/A int N/A i stepsize N/A N/A N/A mode jittered N/A N/A orderprice N/A N/A pmin N/A int N/A i stepsize N/A N/A random randint N/A halfstep halfstep N/A N/A N/A mode random N/A N/A N/A N/A len sched 1 N/A N/A s N/A N/A random randint 0 N/A N/A len sched 1 N/A pmin N/A sysmin_check N/A min N/A N/A sched N/A s N/A 0 N/A N/A sched N/A s N/A 1 N/A pmax N/A sysmax_check N/A max N/A N/A sched N/A s N/A 0 N/A N/A sched N/A s N/A 1 N/A orderprice N/A N/A random randint pmin pmax N/A N/A N/A N/A sys exit FAIL: Unknown mode in schedule N/A orderprice N/A sysmin_check N/A sysmax_check orderprice N/A orderprice N/A getissuetimes N/A N/A n_traders mode interval shuffle fittointerval N/A N/A N/A interval N/A float interval N/A N/A n_traders 1 N/A N/A N/A N/A sys exit FAIL: n_traders < 1 in getissuetime() N/A N/A N/A n_traders 1 N/A N/A tstep interval N/A N/A tstep N/A interval N/A n_traders 1 N/A arrtime 0 N/A issuetimes N/A N/A t N/A range n_traders N/A N/A N/A mode periodic N/A N/A arrtime interval N/A N/A N/A mode drip-fixed N/A N/A arrtime N/A t tstep N/A N/A N/A mode drip-jitter N/A N/A arrtime N/A N/A t tstep N/A tstep N/A N/A random random N/A N/A N/A mode drip-poisson N/A N/A interarrivaltime N/A N/A random expovariate N/A n_traders interval N/A arrtime interarrivaltime N/A N/A N/A N/A sys exit FAIL: unknown time-mode in getissuetimes() N/A N/A N/A issuetimes append arrtime N/A N/A fittointerval N/A N/A arrtime interval N/A arrtime interval N/A N/A t N/A range n_traders N/A N/A N/A issuetimes N/A t N/A interval N/A N/A issuetimes N/A t arrtime N/A shuffle N/A N/A t N/A range n_traders N/A N/A i N/A N/A n_traders 1 t N/A j N/A N/A random randint 0 i N/A tmp N/A issuetimes N/A i N/A N/A issuetimes N/A i N/A issuetimes N/A j N/A N/A issuetimes N/A j tmp N/A issuetimes N/A getschedmode N/A N/A time os N/A N/A N/A got_one False N/A sched os N/A N/A N/A N/A N/A sched N/A from time N/A time N/A sched N/A to N/A N/A schedrange N/A sched N/A ranges N/A mode N/A sched N/A stepmode N/A got_one True N/A exit N/A N/A got_one N/A N/A N/A N/A sys exit N/A Fail: time=%5.2f not within any timezone in os=%s N/A time os N/A N/A schedrange mode N/A N/A n_buyers N/A trader_stats N/A n_buyers N/A n_sellers N/A trader_stats N/A n_sellers N/A n_traders N/A n_buyers n_sellers N/A shuffle_times True N/A N/A N/A len pending 1 N/A N/A new_pending N/A N/A issuetimes N/A getissuetimes n_buyers N/A os N/A timemode N/A os N/A interval shuffle_times True N/A ordertype Bid N/A N/A sched mode N/A getschedmode time N/A os N/A dem N/A t N/A range n_buyers N/A N/A issuetime N/A time N/A issuetimes N/A t N/A tname N/A B%02d t N/A orderprice N/A getorderprice t sched n_buyers mode issuetime N/A order N/A Order tname ordertype orderprice 1 issuetime N/A N/A N/A new_pending append order N/A issuetimes N/A getissuetimes n_sellers N/A os N/A timemode N/A os N/A interval shuffle_times True N/A ordertype Ask N/A N/A sched mode N/A getschedmode time N/A os N/A sup N/A t N/A range n_sellers N/A N/A issuetime N/A time N/A issuetimes N/A t N/A tname N/A S%02d t N/A orderprice N/A getorderprice t sched n_sellers mode issuetime N/A order N/A Order tname ordertype orderprice 1 issuetime N/A N/A N/A new_pending append order N/A N/A new_pending N/A N/A order pending N/A N/A N/A N/A order time time N/A N/A tname N/A order tid N/A N/A N/A N/A traders N/A tname add_order order N/A verbose N/A N/A N/A New order: %s order N/A N/A N/A N/A new_pending append order N/A new_pending N/A market_session N/A N/A sess_id starttime endtime trader_spec order_schedule dumpfile dump_each_trade N/A N/A N/A exchange N/A Exchange N/A traders N/A N/A trader_stats N/A populate_market trader_spec traders True True N/A timestep N/A 1.0 N/A float N/A N/A trader_stats N/A n_buyers N/A trader_stats N/A n_sellers N/A duration N/A float N/A endtime starttime N/A last_update -1.0 N/A time starttime N/A orders_verbose False N/A lob_verbose False N/A process_verbose False N/A respond_verbose False N/A bookkeep_verbose False N/A pending_orders N/A N/A N/A time endtime N/A N/A time_left N/A N/A endtime time duration N/A trade None N/A pending_orders N/A customer_orders time last_update traders trader_stats order_schedule pending_orders orders_verbose N/A tid N/A N/A list N/A N/A traders keys N/A N/A N/A random randint 0 N/A N/A len traders 1 N/A order N/A N/A N/A traders N/A tid getorder time time_left N/A N/A exchange publish_lob time lob_verbose N/A N/A order None N/A N/A trade N/A N/A exchange process_order2 time order process_verbose N/A N/A trade None N/A N/A N/A N/A N/A traders N/A N/A trade N/A party1 bookkeep trade order bookkeep_verbose N/A N/A N/A N/A traders N/A N/A trade N/A party2 bookkeep trade order bookkeep_verbose N/A dump_each_trade N/A N/A N/A trade_stats sess_id traders tdump time N/A N/A exchange publish_lob time lob_verbose N/A lob N/A N/A exchange publish_lob time lob_verbose N/A t traders N/A N/A N/A N/A N/A traders N/A t respond time lob trade respond_verbose N/A time N/A time timestep N/A N/A N/A exchange tape_dump transactions.csv w keep N/A N/A trade_stats sess_id traders tdump time N/A N/A exchange publish_lob time lob_verbose N/A N/A N/A __name__ __main__ N/A N/A start_time 0.0 N/A end_time 600.0 N/A duration N/A end_time start_time schedule_offsetfn N/A N/A t N/A N/A N/A pi2 N/A N/A math pi 2 N/A c N/A N/A math pi 3000 N/A wavelength N/A t c N/A gradient N/A N/A 100 t N/A c pi2 N/A amplitude N/A N/A 100 t N/A c pi2 N/A offset N/A gradient N/A amplitude N/A N/A math sin N/A wavelength t N/A N/A int N/A round offset 0 N/A N/A range1 N/A 95 95 schedule_offsetfn N/A supply_schedule N/A N/A from to ranges stepmode start_time end_time N/A range1 fixed N/A range1 N/A 105 105 schedule_offsetfn N/A demand_schedule N/A N/A from to ranges stepmode start_time end_time N/A range1 fixed N/A order_sched N/A sup dem interval timemode supply_schedule demand_schedule 30 drip-poisson N/A n_trader_types 4 N/A equal_ratio_n 4 N/A n_trials_per_ratio 50 N/A n_traders N/A n_trader_types equal_ratio_n N/A fname N/A balances_%03d.csv equal_ratio_n N/A tdump N/A open fname w N/A min_n 1 N/A trialnumber 1 N/A trdr_1_n min_n N/A N/A trdr_1_n n_traders N/A N/A trdr_2_n min_n N/A N/A trdr_2_n N/A n_traders trdr_1_n N/A N/A trdr_3_n min_n N/A N/A trdr_3_n N/A n_traders N/A trdr_1_n trdr_2_n N/A N/A trdr_4_n N/A n_traders N/A N/A trdr_1_n trdr_2_n trdr_3_n N/A N/A trdr_4_n min_n N/A N/A buyers_spec N/A N/A GVWY trdr_1_n N/A SHVR trdr_2_n N/A ZIC trdr_3_n N/A ZIP trdr_4_n N/A sellers_spec buyers_spec N/A traders_spec N/A sellers buyers sellers_spec buyers_spec N/A buyers_spec N/A trial 1 N/A N/A trial n_trials_per_ratio N/A N/A trial_id N/A trial%07d trialnumber N/A N/A market_session trial_id start_time end_time traders_spec order_sched tdump False N/A N/A N/A tdump flush N/A trial N/A trial 1 N/A trialnumber N/A trialnumber 1 N/A trdr_3_n 1 N/A trdr_2_n 1 N/A trdr_1_n 1 N/A N/A N/A tdump close N/A trialnumber