Class: IB::Datatypes::ScannerSubscription

Inherits:
AbstractDatum show all
Defined in:
lib/ib-ruby/datatypes.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from AbstractDatum

#initialize

Constructor Details

This class inherits a constructor from IB::Datatypes::AbstractDatum

Instance Attribute Details

#above_priceObject

Returns the value of attribute above_price.



375
376
377
# File 'lib/ib-ruby/datatypes.rb', line 375

def above_price
  @above_price
end

#above_volumeObject

Returns the value of attribute above_volume.



375
376
377
# File 'lib/ib-ruby/datatypes.rb', line 375

def above_volume
  @above_volume
end

#average_option_volume_aboveObject

Returns the value of attribute average_option_volume_above.



375
376
377
# File 'lib/ib-ruby/datatypes.rb', line 375

def average_option_volume_above
  @average_option_volume_above
end

#below_priceObject

Returns the value of attribute below_price.



375
376
377
# File 'lib/ib-ruby/datatypes.rb', line 375

def below_price
  @below_price
end

#coupon_rate_aboveObject

Returns the value of attribute coupon_rate_above.



375
376
377
# File 'lib/ib-ruby/datatypes.rb', line 375

def coupon_rate_above
  @coupon_rate_above
end

#coupon_rate_belowObject

Returns the value of attribute coupon_rate_below.



375
376
377
# File 'lib/ib-ruby/datatypes.rb', line 375

def coupon_rate_below
  @coupon_rate_below
end

#exclude_convertibleObject

Returns the value of attribute exclude_convertible.



375
376
377
# File 'lib/ib-ruby/datatypes.rb', line 375

def exclude_convertible
  @exclude_convertible
end

#instrumentObject

Returns the value of attribute instrument.



375
376
377
# File 'lib/ib-ruby/datatypes.rb', line 375

def instrument
  @instrument
end

#location_codeObject

Returns the value of attribute location_code.



375
376
377
# File 'lib/ib-ruby/datatypes.rb', line 375

def location_code
  @location_code
end

#market_cap_aboveObject

Returns the value of attribute market_cap_above.



375
376
377
# File 'lib/ib-ruby/datatypes.rb', line 375

def market_cap_above
  @market_cap_above
end

#market_cap_belowObject

Returns the value of attribute market_cap_below.



375
376
377
# File 'lib/ib-ruby/datatypes.rb', line 375

def market_cap_below
  @market_cap_below
end

#maturity_date_aboveObject

Returns the value of attribute maturity_date_above.



375
376
377
# File 'lib/ib-ruby/datatypes.rb', line 375

def maturity_date_above
  @maturity_date_above
end

#maturity_date_belowObject

Returns the value of attribute maturity_date_below.



375
376
377
# File 'lib/ib-ruby/datatypes.rb', line 375

def maturity_date_below
  @maturity_date_below
end

#moody_rating_aboveObject

Returns the value of attribute moody_rating_above.



375
376
377
# File 'lib/ib-ruby/datatypes.rb', line 375

def moody_rating_above
  @moody_rating_above
end

#moody_rating_belowObject

Returns the value of attribute moody_rating_below.



375
376
377
# File 'lib/ib-ruby/datatypes.rb', line 375

def moody_rating_below
  @moody_rating_below
end

#number_of_rowsObject

Returns the value of attribute number_of_rows.



375
376
377
# File 'lib/ib-ruby/datatypes.rb', line 375

def number_of_rows
  @number_of_rows
end

#scan_codeObject

Returns the value of attribute scan_code.



375
376
377
# File 'lib/ib-ruby/datatypes.rb', line 375

def scan_code
  @scan_code
end

#scanner_setting_pairsObject

Returns the value of attribute scanner_setting_pairs.



375
376
377
# File 'lib/ib-ruby/datatypes.rb', line 375

def scanner_setting_pairs
  @scanner_setting_pairs
end

#sp_rating_aboveObject

Returns the value of attribute sp_rating_above.



375
376
377
# File 'lib/ib-ruby/datatypes.rb', line 375

def sp_rating_above
  @sp_rating_above
end

#sp_rating_belowObject

Returns the value of attribute sp_rating_below.



375
376
377
# File 'lib/ib-ruby/datatypes.rb', line 375

def sp_rating_below
  @sp_rating_below
end

#stock_type_filterObject

Returns the value of attribute stock_type_filter.



375
376
377
# File 'lib/ib-ruby/datatypes.rb', line 375

def stock_type_filter
  @stock_type_filter
end

Instance Method Details

#initObject



380
381
382
383
384
385
386
# File 'lib/ib-ruby/datatypes.rb', line 380

def init
  super

  @coupon_rate_above = @coupon_rate_below = @market_cap_below = @market_cap_above = @average_option_volume_above =
    @above_volume = @below_price = @above_price = nil
  @number_of_rows = -1 # none specified, per ScannerSubscription.java
end