- Introduction
- Concepts and Design
-
SESSION LAYER
-
CONTENT LAYER
- Intro
-
Fundamental and Reference
-
Historical Pricing
- Intro
-
Events
-
Summaries
- Event Types
- Adjustments
- Market Sessions
- Quality of Service (QoS)
-
News
-
Pricing
- Intro
-
Pricing Definition
-
Pricing Stream
-
Chains
-
Chain Definition
-
Chain Stream
-
Search
-
SymbolConversion
-
IPA
-
FinancialContracts
- About FinancialContracts
- FinancialContracts.Definition
-
Bonds
- Intro
- Definition
- Adjustment
- Ammortization
- Benchmark Yield
- Business Day Methods
- Compounding Methods
- Date Rolling
- Day Count Methods
- Direction
- Fallback Logic
- Index Frequency
- Interest Type
- Price Side
- Projected Index Calculation Method
- Redemption Date Type
- Rounding Type
- Rounding
- Stub Rules
- Yield Type
- Output
-
CapFloor
-
FxCross
-
Option
-
Swaption
-
Surfaces
-
-
DELIVERY LAYER
- Intro
-
Endpoint Request
-
OMM streams
-
RDP streams
-
Queue
-
RDP Websocket
GetStream
Creates a Pricing.ChainStream object for the defined data.
Syntax
definition.GetStream()
Returned value
ChainStream object
Usage
The following example demonstrates how to get service directory stream object
// Create a non-streaming chain (simple syntax) - skip summaries and any blank links.
var chainStream = Chain.Definition(chain).GetStream().Streaming(false).Open();
Console.WriteLine($"\nRetrieved Chain RIC: {chain.DisplayName}");
// Display the 3 first elements of the chain
int idx = 0;
foreach (string constituent in chain.Constituents.Take(3))
{
Console.WriteLine($"\t{++idx,2}. {constituent}");
}
Console.WriteLine($"\t...\n\t<total of {constituents.Count} elements.>");