- 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
RemoveItems
Allows to remove item(s) to the stream, even when the stream has been already opened.
The item(s) will automatically close.
Syntax
void RemoveItems(params string[] items)void RemoveItems(IEnumerable<string> items)
Usage
The following example demonstrates how to remove items to a pricing stream.
var stream = Pricing.Definition().Fields("DSPLY_NAME", "BID", "ASK");
stream.Open();
// Add a list of items
stream.AddItems(new[] { "EUR=", "GBP=", "CAD=" });
// Remove one - GBP=
stream.RemoveItems("GBP=");
stream.Close();