- 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
Streaming
Specify whether the stream will retrieve the initial data followed by inserts and updates.
A value of false implies no streaming and that only the initial data will be delivered. This is commonly referred to as a snapshot.
A value of true implies that there will be streaming updates incoming on the OnRefresh and OnUpdate callbacks.
The default is true.
Syntax
IPricingStream Streaming(bool streaming)
Usage
The following example demonstrates how to disable streaming updates for a pricing stream.
var snapshotStream = Pricing.Definition("CAD=")
.Fields("BID", "ASK", "DSPLY_NAME")
.GetStream()
.Streaming(false);
snapshotStream.Open();
var result = snapshotStream["CAD="];