Skip to main content

LSEG Analytics SDK for Python

Project description

LSEG Analytics SDK for Python

The LSEG Analytics SDK for Python provides access to LSEG Financials Analytics Services.

Getting Started

$ pip install lseg-analytics

Usage Examples

An example to create a FX Forward Curve.

from lseg_analytics.common import (
    TenorType
)

from lseg_analytics.market_data.fx_forward_curves import (
    create_from_fx_forwards,
    IndirectSourcesSwaps
)

create_from_fx_forwards(
            cross_currency="EURGBP",
            reference_currency="USD",
            sources=IndirectSourcesSwaps(base_fx_forwards="RFB"),
            additional_tenor_types=[TenorType.LONG, TenorType.END_OF_MONTH],
)

Modules Structure

  • common - contains models that can be used in different API modules
  • logging - logging configuration
  • exceptions - exception handling
  • auth - authentication and token management
  • config - configuration management
  • helpers - utility functions
  • API modules
    • reference_data
      • calendars
      • floating_rate_indices
    • market_data
      • fx_forward_curves
      • commodities_curves
      • credit_curves
      • eq_volatility
      • fx_volatility
      • inflation_curves
      • interest_rate_curves
      • ipa_interest_rate_curves
      • ircaplet_volatility
      • irswaption_volatility
    • instruments
      • fx_spots
      • fx_forwards
      • bond
      • bond_future
      • cap_floor
      • cds
      • forward_rate_agreement
      • ir_swaps
      • loans
      • options
      • repo
      • structured_products
      • swaption
      • term_deposit
    • templates
      • instrument_templates
    • yield_book_rest

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lseg_analytics-2.1.0b5.tar.gz (4.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lseg_analytics-2.1.0b5-py3-none-any.whl (4.5 MB view details)

Uploaded Python 3

File details

Details for the file lseg_analytics-2.1.0b5.tar.gz.

File metadata

  • Download URL: lseg_analytics-2.1.0b5.tar.gz
  • Upload date:
  • Size: 4.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.7

File hashes

Hashes for lseg_analytics-2.1.0b5.tar.gz
Algorithm Hash digest
SHA256 1c6b041c33ab01cebe7b3ad314d5f6802b1b6ed0f2c0ddee9a19394e46bbc72a
MD5 f24dc8b0ff9de36f800d59eea63c188d
BLAKE2b-256 698505d8d5122f498d5be5354788035e8635a21416833fd97a8e9f47f8f5563a

See more details on using hashes here.

File details

Details for the file lseg_analytics-2.1.0b5-py3-none-any.whl.

File metadata

File hashes

Hashes for lseg_analytics-2.1.0b5-py3-none-any.whl
Algorithm Hash digest
SHA256 6adc6820dd82c96e99141dd9b5570219944f0aebe9a6655e449981d929476b1f
MD5 f68d63747cb075b81685645db6547c5b
BLAKE2b-256 3369d5e84691c414037caf922b5055f8b25cce6160f60508f2b214e4c75d3701

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page