OptionChain Class

Represents a collection of OptionSecurity objects when using an OptionChainProvider component.

The Updated event is called whenever a change occurs in the referenced data.

Namespace: tsdata.marketdata

Properties

   Additional properties, methods, and events are described in the classes listed under Inheritance Hierarchy (see below).

  Name Type Description
Public property Option[idx] object Gets the OptionSecurity object associated with the specified index.
Public property OptionsCount int Gets the total number of items in the option chain collection.
Public property Underlying object Gets the MarketSecurity object on which the option chain is based.
Methods
  Name Description
Public property Create Initializes a new instance of the class.
Public property FindOption(type,date,strike) Finds and returns an OptionSecurity object for a specific option in the option chain data retrieved based on the type, date, and strike parameters. Throws an Argument 'index' in call to method 'Option' if not found.
Public property FindOption(type,date,strike,region) Finds and returns an OptionSecurity object for a specific option in the option chain data retrieved based on the type, date, strike, and region parameters. Throws an Argument 'index' in call to method 'Option' if not found.
Events
  Name Description
 Public event Updated Occurs whenever the option chain is updated.  See OptionChainUpdatedEventArgs for the properties returned by the handler's args parameter.
Inheritance Hierarchy

elsystem.Object

tsdata.marketdata.OptionChain