Metadata-Version: 2.4
Name: lseg-analytics
Version: 2.1.0b5
Summary: LSEG Analytics SDK for Python
Author-email: analyticssdk <analyticssdk@lseg.com>
Maintainer-email: analyticssdk <analyticssdk@lseg.com>
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: corehttp==1.0.0b5
Requires-Dist: azure-core
Requires-Dist: msrest
Requires-Dist: python-dotenv
Requires-Dist: requests
Requires-Dist: plum-dispatch
Requires-Dist: isodate<1.0.0,>=0.6.1
Requires-Dist: Flask[async]
Requires-Dist: pkce
Requires-Dist: requests_oauthlib
Requires-Dist: flask-wtf
Dynamic: license-file
Dynamic: requires-python

# LSEG Analytics SDK for Python

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

## Getting Started

```shell
$ pip install lseg-analytics
```


## Usage Examples

An example to create a FX Forward Curve.

```python
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`
