<s> """<STR_LIT>""" <EOL> from ib . lib import Double , Integer <EOL> from ib . lib . overloading import overloaded <EOL> class ScannerSubscription ( object ) : <EOL> """<STR_LIT>""" <EOL> NO_ROW_NUMBER_SPECIFIED = - <NUM_LIT:1> <EOL> m_numberOfRows = NO_ROW_NUMBER_SPECIFIED <EOL> m_instrument = "<STR_LIT>" <EOL> m_locationCode = "<STR_LIT>" <EOL> m_scanCode = "<STR_LIT>" <EOL> m_abovePrice = Double . MAX_VALUE <EOL> m_belowPrice = Double . MAX_VALUE <EOL> m_aboveVolume = Integer . MAX_VALUE <EOL> m_averageOptionVolumeAbove = Integer . MAX_VALUE <EOL> m_marketCapAbove = Double . MAX_VALUE <EOL> m_marketCapBelow = Double . MAX_VALUE <EOL> m_moodyRatingAbove = "<STR_LIT>" <EOL> m_moodyRatingBelow = "<STR_LIT>" <EOL> m_spRatingAbove = "<STR_LIT>" <EOL> m_spRatingBelow = "<STR_LIT>" <EOL> m_maturityDateAbove = "<STR_LIT>" <EOL> m_maturityDateBelow = "<STR_LIT>" <EOL> m_couponRateAbove = Double . MAX_VALUE <EOL> m_couponRateBelow = Double . MAX_VALUE <EOL> m_excludeConvertible = "<STR_LIT>" <EOL> m_scannerSettingPairs = "<STR_LIT>" <EOL> m_stockTypeFilter = "<STR_LIT>" <EOL> @ overloaded <EOL> def numberOfRows ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . m_numberOfRows <EOL> @ overloaded <EOL> def instrument ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . m_instrument <EOL> @ overloaded <EOL> def locationCode ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . m_locationCode <EOL> @ overloaded <EOL> def scanCode ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . m_scanCode <EOL> @ overloaded <EOL> def abovePrice ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . m_abovePrice <EOL> @ overloaded <EOL> def belowPrice ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . m_belowPrice <EOL> @ overloaded <EOL> def aboveVolume ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . m_aboveVolume <EOL> @ overloaded <EOL> def averageOptionVolumeAbove ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . m_averageOptionVolumeAbove <EOL> @ overloaded <EOL> def marketCapAbove ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . m_marketCapAbove <EOL> @ overloaded <EOL> def marketCapBelow ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . m_marketCapBelow <EOL> @ overloaded <EOL> def moodyRatingAbove ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . m_moodyRatingAbove <EOL> @ overloaded <EOL> def moodyRatingBelow ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . m_moodyRatingBelow <EOL> @ overloaded <EOL> def spRatingAbove ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . m_spRatingAbove <EOL> @ overloaded <EOL> def spRatingBelow ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . m_spRatingBelow <EOL> @ overloaded <EOL> def maturityDateAbove ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . m_maturityDateAbove <EOL> @ overloaded <EOL> def maturityDateBelow ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . m_maturityDateBelow <EOL> @ overloaded <EOL> def couponRateAbove ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . m_couponRateAbove <EOL> @ overloaded <EOL> def couponRateBelow ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . m_couponRateBelow <EOL> @ overloaded <EOL> def excludeConvertible ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . m_excludeConvertible <EOL> @ overloaded <EOL> def scannerSettingPairs ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . m_scannerSettingPairs <EOL> @ overloaded <EOL> def stockTypeFilter ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . m_stockTypeFilter <EOL> @ numberOfRows . register ( object , int ) <EOL> def numberOfRows_0 ( self , num ) : <EOL> """<STR_LIT>""" <EOL> self . m_numberOfRows = num <EOL> @ instrument . register ( object , str ) <EOL> def instrument_0 ( self , txt ) : <EOL> """<STR_LIT>""" <EOL> self . m_instrument = txt <EOL> @ locationCode . register ( object , str ) <EOL> def locationCode_0 ( self , txt ) : <EOL> """<STR_LIT>""" <EOL> self . m_locationCode = txt <EOL> @ scanCode . register ( object , str ) <EOL> def scanCode_0 ( self , txt ) : <EOL> """<STR_LIT>""" <EOL> self . m_scanCode = txt <EOL> @ abovePrice . register ( object , float ) <EOL> def abovePrice_0 ( self , price ) : <EOL> """<STR_LIT>""" <EOL> self . m_abovePrice = price <EOL> @ belowPrice . register ( object , float ) <EOL> def belowPrice_0 ( self , price ) : <EOL> """<STR_LIT>""" <EOL> self . m_belowPrice = price <EOL> @ aboveVolume . register ( object , int ) <EOL> def aboveVolume_0 ( self , volume ) : <EOL> """<STR_LIT>""" <EOL> self . m_aboveVolume = volume <EOL> @ averageOptionVolumeAbove . register ( object , int ) <EOL> def averageOptionVolumeAbove_0 ( self , volume ) : <EOL> """<STR_LIT>""" <EOL> self . m_averageOptionVolumeAbove = volume <EOL> @ marketCapAbove . register ( object , float ) <EOL> def marketCapAbove_0 ( self , cap ) : <EOL> """<STR_LIT>""" <EOL> self . m_marketCapAbove = cap <EOL> @ marketCapBelow . register ( object , float ) <EOL> def marketCapBelow_0 ( self , cap ) : <EOL> """<STR_LIT>""" <EOL> self . m_marketCapBelow = cap <EOL> @ moodyRatingAbove . register ( object , str ) <EOL> def moodyRatingAbove_0 ( self , r ) : <EOL> """<STR_LIT>""" <EOL> self . m_moodyRatingAbove = r <EOL> @ moodyRatingBelow . register ( object , str ) <EOL> def moodyRatingBelow_0 ( self , r ) : <EOL> """<STR_LIT>""" <EOL> self . m_moodyRatingBelow = r <EOL> @ spRatingAbove . register ( object , str ) <EOL> def spRatingAbove_0 ( self , r ) : <EOL> """<STR_LIT>""" <EOL> self . m_spRatingAbove = r <EOL> @ spRatingBelow . register ( object , str ) <EOL> def spRatingBelow_0 ( self , r ) : <EOL> """<STR_LIT>""" <EOL> self . m_spRatingBelow = r <EOL> @ maturityDateAbove . register ( object , str ) <EOL> def maturityDateAbove_0 ( self , d ) : <EOL> """<STR_LIT>""" <EOL> self . m_maturityDateAbove = d <EOL> @ maturityDateBelow . register ( object , str ) <EOL> def maturityDateBelow_0 ( self , d ) : <EOL> """<STR_LIT>""" <EOL> self . m_maturityDateBelow = d <EOL> @ couponRateAbove . register ( object , float ) <EOL> def couponRateAbove_0 ( self , r ) : <EOL> """<STR_LIT>""" <EOL> self . m_couponRateAbove = r <EOL> @ couponRateBelow . register ( object , float ) <EOL> def couponRateBelow_0 ( self , r ) : <EOL> """<STR_LIT>""" <EOL> self . m_couponRateBelow = r <EOL> @ excludeConvertible . register ( object , str ) <EOL> def excludeConvertible_0 ( self , c ) : <EOL> """<STR_LIT>""" <EOL> self . m_excludeConvertible = c <EOL> @ scannerSettingPairs . register ( object , str ) <EOL> def scannerSettingPairs_0 ( self , val ) : <EOL> """<STR_LIT>""" <EOL> self . m_scannerSettingPairs = val <EOL> @ stockTypeFilter . register ( object , str ) <EOL> def stockTypeFilter_0 ( self , val ) : <EOL> """<STR_LIT>""" <EOL> self . m_stockTypeFilter = val </s>
