#NEWLINE# def __init__( self , barFeed , instrument , cash ) : #NEWLINE# #INDENT# BaseTestStrategy . __init__ ( self , barFeed , instrument , cash ) #NEWLINE# self . __activePosition = None #NEWLINE# self . __posEntry = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# self . __posExit = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# self . __result = 0 #NEWLINE# self . __netProfit = 0 #NEWLINE# self . positions = [ ]