LSEG Data Library for TypeScript

getData

The getData function is used to send a request to the Delivery Platform (formerly Refinitiv Data Platform) to retrieve the data described by the IPA.FinancialContracts.TermDeposit.Definition object.

Syntax

definition.getData(session?: Session)

Parameters

Value Description Data type Optional Default value
session Session object. If it's not passed the default session will be used. Session Yes -

Returned value

ContentResponse object.

Usage

The following example shows how to get data for 'EUR' notionalCcy:

const definition = IPA.FinancialContracts.TermDeposit.Definition({
    notionalCcy: 'EUR',
    tenor: '5Y',
    pricingParameters: { valuationDate: '2020-04-24' },
    fixedRatePercent: 11,
});

const result = await definition.getData();

console.log(result.data);

None.

65 words (0:21 mins)