- Introduction
- Concepts and Design
-
Session Layer
-
Content Layer
- Introduction
-
Pricing
-
SymbolConversion
-
HistoricalPricing
-
News
-
Search
-
FundamentalAndReference
-
IPA FinancialContracts
- Overview
- FinancialContracts.Definition
- Outputs
-
Bond
-
Bond Future
-
Cap Floor
-
CDS
-
Fx Cross
-
IR Swap
-
Option
-
Repo
-
Swaption
-
Term Deposit
-
IPA Curves
- Overview
-
ForwardCurve
-
ForwardCurves
-
ZcCurve
-
ZcCurves
-
ZcCurveDefinition
-
ZcCurveDefinitions
-
IPA Surfaces
- Overview
- VolatilitySurfaces.Definition
- Outputs
-
Cap
-
Eti
-
Fx
-
Swaption
-
Delivery Layer
- Introduction
-
OMMStream
-
RDPStream
-
EndpointRequest
Metadata.Definition
Summary
This method allos you to create a Metadata Definition object that contains methods to work with streaming API and snapshots.
Once the data is described, your application just needs to call the getStream()
method of the Definition to create a MetaData.Stream object for the defined data.
Methods
Definition()
Allows you to create the Definition for the MetaData content object.
Parameters:
Name | Is Optional | Default Value | Type | Description |
---|---|---|---|---|
extendedParams | Yes | - | {[key:string]:any} |
Specifies the parameters that will be merged with the request |
Returned value: a Definition object StreamDefinition<Metadata.Stream>
getStream(session: Session)
Allows you to create a Metadata.Stream object for the defined data.
Parameters:
Property | Is Optional | Default Value | Type | Description |
---|---|---|---|---|
session | No | - | Session | Session instance |
Returned value: <Metadata.Stream>