LSEG Data Library for Python

get_session

This method creates and returns the session defined by the session.Definition object.

Module

lseg.data.session

Syntax

session.get_session()

Parameters

None.

Return value

The instance of the defined session.

Usage

The following example demonstrates how to define a session by name and get the related session instance.

import lseg.data as ld

session = ld.session.Definition(name="platform.my-session").get_session()

None

35 words (0:11 mins)