#NEWLINE# @ classmethod #NEWLINE# def scannerData( cls , reqId , rank , contractDetails , distance , benchmark , projection , legsStr ) : #NEWLINE# #INDENT# ' generated source for method scannerData ' #NEWLINE# contract = contractDetails . m_summary #NEWLINE# return ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( 'id = ' + str ( reqId ) ) + ' rank=' ) + str ( rank ) ) + ' symbol=' ) + str ( contract . m_symbol ) ) + ' secType=' ) + str ( contract . m_secType ) ) + ' expiry=' ) + str ( contract . m_expiry ) ) + ' strike=' ) + str ( contract . m_strike ) ) + ' right=' ) + str ( contract . m_right ) ) + ' exchange=' ) + str ( contract . m_exchange ) ) + ' currency=' ) + str ( contract . m_currency ) ) + ' localSymbol=' ) + str ( contract . m_localSymbol ) ) + ' marketName=' ) + str ( contractDetails . m_marketName ) ) + ' tradingClass=' ) + str ( contractDetails . m_tradingClass ) ) + ' distance=' ) + distance ) + ' benchmark=' ) + projection ) + ' projection=' ) + projection ) + ' legsStr=' ) + legsStr )