LSEG Data Library for Python

get_session

Creates and returns the session defined by the session.platform.Definition object.

Module

lseg.data.session.platform

Syntax

get_session()

Parameters

None.

Returned value

The platform session instance.

Usage

The following example demonstrates how to get the platform session named “custom-session” and defined in the configuration file of the library.

import lseg.data as ld

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

None

35 words (0:11 mins)