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.0b4.tar.gz (3.0 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.0b4-py3-none-any.whl (3.3 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lseg_analytics-2.1.0b4.tar.gz
  • Upload date:
  • Size: 3.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.8

File hashes

Hashes for lseg_analytics-2.1.0b4.tar.gz
Algorithm Hash digest
SHA256 eb1d1fbd763dc2ca36f64579a59b34b18823fc4edf7c8e75ec6e3708cb2ced0d
MD5 979a27afb1a75c2c33c9727b205ebbf5
BLAKE2b-256 a61a61f52152b028b668ee3d53fdb1b7387670bd4ec34495c20858da47a1400f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lseg_analytics-2.1.0b4-py3-none-any.whl
Algorithm Hash digest
SHA256 951a1f5e434b9154917e22fbf4c08acab6f292b0d32134dfbf452cf0ed492226
MD5 81df25e5e9e44bd5e159bdb35eda54ee
BLAKE2b-256 fd3182bbb682bf37621cee7c0551c5730b185929bb776c78476c09895ee34fce

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