- 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
OnComplete
Optional callback invoked when the request to open the stream has completed. A complete event is generated typically when the complete item image and/or item status messages has been received for all requested items.
Syntax
IPricingStream OnComplete(Action<IPricingStream> cb)
Usage
The following example demonstrates how to display the messages received when all the data is successfully retrieved.
var stream = Pricing.Definition().Universe("EUR=")
.Fields("BID", "ASK", "DSPLY_NAME")
.GetStream();
stream.OnComplete(s => Console.WriteLine("Request Completed."))
.Open() == Stream.State.Opened