Module ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body If CompareGt Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num body Assign NameStore Call NameLoad BinOpDiv BinOpMult Call AttributeLoad Call AttributeLoad NameLoad attr attr Num Call AttributeLoad SubscriptLoad NameLoad Index AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad orelse If BoolOpAnd UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr CompareGt Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list
N/A pyalgotrade strategy pyalgotrade.technical ma pyalgotrade.technical cross SMACrossOver N/A N/A strategy BacktestingStrategy N/A __init__ N/A N/A self feed instrument smaPeriod N/A N/A N/A N/A N/A N/A super SMACrossOver self __init__ feed N/A N/A self __instrument instrument N/A N/A self __position None N/A N/A N/A self setUseAdjustedValues True N/A N/A self __prices N/A N/A N/A feed N/A instrument getPriceDataSeries N/A N/A self __sma N/A N/A ma SMA N/A self __prices smaPeriod N/A getSMA N/A N/A self N/A N/A N/A N/A self __sma N/A onEnterCanceled N/A N/A self position N/A N/A N/A N/A self __position None N/A onExitOk N/A N/A self position N/A N/A N/A N/A self __position None N/A onExitCanceled N/A N/A self position N/A N/A N/A N/A N/A N/A self __position exitMarket N/A onBars N/A N/A self bars N/A N/A N/A N/A N/A self __position None N/A N/A N/A N/A N/A cross cross_above N/A self __prices N/A self __sma 0 N/A N/A shares N/A int N/A N/A N/A N/A N/A N/A self getBroker getCash 0.9 N/A N/A N/A bars N/A N/A self __instrument getPrice N/A N/A self __position N/A N/A self enterLong N/A self __instrument shares True N/A N/A N/A N/A N/A N/A N/A self __position exitActive N/A N/A N/A cross cross_below N/A self __prices N/A self __sma 0 N/A N/A N/A N/A N/A self __position exitMarket N/A N/A