LSEG Data Library for Python

forward_curves.Definition

Definition allows you to retrieve data regarding financial instruments within a specific session.

Module

refinitiv.data.content.ipa.curves.forward-curves

Syntax

'forward_curves.Definition(curve_definition, forward_curve_definition, ...)'

Parameters

Value Description Data type Optional Default value
curve_definition See SwapZcCurveDefinition SwapZcCurveDefinition No -
forward_curve_definitions See ForwardCurveDefinition ForwardCurveDefinition[] No -
curve_parameters See SwapZcCurveParameters SwapZcCurveParameters Yes -
curve_tag - str Yes -
extended_params Specifies the parameters that will be merged with the request. dict Yes None

Returned value

forward_curve.Definition instance


get_data

Sends a request to the Delivery Platform (formerly Refinitiv Data Platform) to retrieve the data described by the Definition object.

Syntax

 get_data(session)

Parameters

Value Description Data type Optional Default value
session Session object. If session parameters are not defined, the default session will be used. Session object Yes None

Returned value

Response.


get_data_async

Sends an async request to the Delivery Platform to retrieve the data described by the Definition object.

Module

refinitiv.data.ipa.curves.forward-curves

Syntax

get_data_async(session, on_response)

Parameters

Value Description Data type Optional Default value
session Session object. If session parameters are not defined, the default session will be used. Session object Yes None
on_response User-defined callback function to process the retrieved data. Callable Yes None

Returned value

Response.

167 words (0:53 mins)