Skip to content

LSEG-API-Samples/Example.RD.Python.PortfolioFinder

Repository files navigation

PortfolioFinder

The PortfolioFinder utility is a simple, convenience tool allowing users of the PAM (Portfolio Analytics and Management) API the selection of a specific ID required for purpose of analyzing portfolios. Experienced users of LSEG portfolios are quite familiar with the Workspace Apps: PAL (Portfolio and Lists Manager) and PORTF Portfolio Analytics. These Apps are tightly integrated allowing users to easily select the portfolios they wish to analyze. However, when working within PAM, users will be required to reference their specific portfolios of interest using a Portfolio ID. Built using PAM APIs, the PortfolioFinder is a GUI-based tool providing a simple interface allowing selection and filtering to display portfolios and the associated IDs of interest.

Utility download

A pre-built executable and Readme is available for Download within the LSEG Developer Platform.

Running the Utility

The PorfolioFinder utility provides the ability to connect directly to LSEG's Delivery Platform, via LSEG's Data Platform for Python library accessing the Portfolio service via the Portfolio Analytics & Management APIs.

Prior to running, ensure you have setup access credentials to the Delivery Platform providing the necessary data services.

For convenience, the package includes a configuration file (refinitiv-data.config.json) providing the ability to specify credentials required to connect into the Delivery Platform accessing portfolio services. However, if users have an existing Python environment and configuration settings in place, they can optionally set the enviroment variable: RD_LIB_CONFIG_PATH. Alternatively, this package does include a configuration file for users to specify their platform credentials:

{
  "http": {        
     "request-timeout": 120
  },
  "logs": {
    "level": "debug",
    "transports": {
      "console": {
        "enabled": false
      },
      "file": {
        "enabled": false,
        "name": "/tmp/refinitiv-data-lib.log"
      }
    }
  },
  "sessions": {
    "default": "platform.dp",
    "platform": {
        "dp": {
            "app-key": "<appkey>",            
            "username": "<username>",
            "password": "<passwd>",
            "signon_control": true
        }
    }
  }
}

Usage

Upon launch, the tool will go through the connection and validation to the Delivery Platform then load up user-defined portfolios. For example:

Startup

Within the interface, you can select index-based portfolios by choosing the Portfolio Type and optionally filter out based on either the 'name' or 'code' using a filter expression. For example:

Filter

Author

Name Release Details
Nick Zincone Release 1.1.0 Upgraded to use Qt library
Support for column sorting and filtering
Nick Zincone Release 1.0.0 Initial implementation

About

Search for Portfolios, Lists or indices

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages