LSEG Analytics LFA 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-pricing
Migrating from Previous Package Names
Important: This package was previously named lseg-analytics. If you have old package installed, please uninstall it first to avoid conflicts:
# Remove old packages (if installed)
$ pip uninstall lseg-analytics -y
# Install the new package
$ pip install lseg-analytics-pricing
Or in a single command:
$ pip uninstall lseg-analytics -y && pip install lseg-analytics-pricing
What changed:
- Package name:
lseg-analytics→lseg-analytics-pricing - Import path:
from lseg_analytics import ...→from lseg_analytics.pricing import ... - All functionality and APIs remain compatible
Usage Examples
An example to create a FX Forward Curve.
from lseg_analytics.pricing.common import (
TenorType
)
from lseg_analytics.pricing.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 moduleshelpers- utility functions- API modules
reference_datacalendarsfloating_rate_indices
market_datafx_forward_curvescommodities_curvescredit_curveseq_volatilityfx_volatilityinflation_curvesinterest_rate_curvesipa_interest_rate_curvesircaplet_volatilityirswaption_volatility
instrumentsfx_spotsfx_forwardsbondbond_futurecap_floorcdsforward_rate_agreementir_swapsloansoptionsrepostructured_productsswaptionterm_deposit
templatesinstrument_templates
yield_book_rest
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lseg_analytics_pricing-1.0.0.tar.gz.
File metadata
- Download URL: lseg_analytics_pricing-1.0.0.tar.gz
- Upload date:
- Size: 4.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c52c904fc240299a35642af7a9dcb042587b25aa6eb4a42c675473109f49607
|
|
| MD5 |
a17a275a15f5711e93395517eb48944d
|
|
| BLAKE2b-256 |
7cc8a0ae6e2f56e3774f41fce78a89d9b2587b45f66470f78e86ee3a6a6bba16
|
File details
Details for the file lseg_analytics_pricing-1.0.0-py3-none-any.whl.
File metadata
- Download URL: lseg_analytics_pricing-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.7 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8958d6995a8be2b09cad0c8992ad7791c717885c715f4edf8182934c1d97d82c
|
|
| MD5 |
c432f216eecd564e8da2d640b16d5d36
|
|
| BLAKE2b-256 |
39e4cf52d87fdbed986cea1967d4c692ca9cd5fc572c674b678952662d7de73b
|