Class: SchwabMCP::Tools::OptionChainTool::FilteredOptionChain

Inherits:
Struct
  • Object
show all
Defined in:
lib/schwab_mcp/tools/option_chain_tool.rb

Overview

Simple struct to hold filtered option chain data

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#call_optsObject

Returns the value of attribute call_opts

Returns:

  • (Object)

    the current value of call_opts



315
316
317
# File 'lib/schwab_mcp/tools/option_chain_tool.rb', line 315

def call_opts
  @call_opts
end

#put_optsObject

Returns the value of attribute put_opts

Returns:

  • (Object)

    the current value of put_opts



315
316
317
# File 'lib/schwab_mcp/tools/option_chain_tool.rb', line 315

def put_opts
  @put_opts
end

#statusObject

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



315
316
317
# File 'lib/schwab_mcp/tools/option_chain_tool.rb', line 315

def status
  @status
end

#symbolObject

Returns the value of attribute symbol

Returns:

  • (Object)

    the current value of symbol



315
316
317
# File 'lib/schwab_mcp/tools/option_chain_tool.rb', line 315

def symbol
  @symbol
end

#underlying_priceObject

Returns the value of attribute underlying_price

Returns:

  • (Object)

    the current value of underlying_price



315
316
317
# File 'lib/schwab_mcp/tools/option_chain_tool.rb', line 315

def underlying_price
  @underlying_price
end

Instance Method Details

#respond_to?(method_name) ⇒ Boolean

Returns:

  • (Boolean)


316
317
318
# File 'lib/schwab_mcp/tools/option_chain_tool.rb', line 316

def respond_to?(method_name)
  super || members.include?(method_name)
end