Pricing.Chain.Definition object
A definition used to retrieve data about the specified chains and decode them dynamically.
Syntax
IChainDefinition Definition()IChainDefinition Definition(string item)
Parameters
| Value | Description | Data type | Optional | Default value |
|---|---|---|---|---|
| item | The name of the chain | string | No | - |
Pricing.ChainDefinition methods
IChainDefinition SkipSummaryLinks(bool skip)
Indicator to skip the summary links within the constituents. The number of Summary links within a chain are defined based on a display template ID within the Chain. A dictionary of template IDs have been loaded within the interface to provide a lookup to determine the number of summary links. Optional. Default: True.
IChainDefinition SkipEmptyLinks(bool skip)
Indicator to skip the empty links within the constituents.
Applicable to streaming only. Optional. Default: True.
IChainDefinition Service(string service)
The name of the service providing the desired streaming data.
The parameter is optional and applicable to streaming only.
Default: defined within the streaming platform.
IChainDefinition Closure(object closure)
Optionally, include a user-defined Closure to match specific requests and responses.
Usage
The following example demonstrates how to create a pricing chain definition and retrieve data.
var chain = ".AV.O"; // Nasdaq Top 25
IChainResponse response = Chain.Definition(chain).GetData();