Metadata-Version: 2.4
Name: fds.sdk.OPENOPTIMIZER
Version: 0.0.1
Summary: OPEN:OPTIMIZER client library for Python
Home-page: https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1
Author: FactSet Research Systems
License: Apache License, Version 2.0
Keywords: FactSet,API,SDK
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: urllib3>=1.25.3
Requires-Dist: python-dateutil
Requires-Dist: fds.sdk.utils>=1.0.0
Dynamic: author
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: keywords
Dynamic: license
Dynamic: license-file
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

[![FactSet](https://raw.githubusercontent.com/factset/enterprise-sdk/main/docs/images/factset-logo.svg)](https://www.factset.com)

# OPEN:OPTIMIZER client library for Python

[![API Version](https://img.shields.io/badge/api-v1.0.0-blue)](https://developer.factset.com/api-catalog/)
[![PyPi](https://img.shields.io/pypi/v/fds.sdk.OPENOPTIMIZER/0.0.1)](https://pypi.org/project/fds.sdk.OPENOPTIMIZER/v/0.0.1)
[![Apache-2 license](https://img.shields.io/badge/license-Apache2-brightgreen.svg)](https://www.apache.org/licenses/LICENSE-2.0)

The Open:Optimizer API provides the ability to trigger portfolio optimizations using any of the optimizers available on FactSet, including the FactSet Portfolio Optimizer, Axioma Portfolio Optimizer (equity or fixed income), Barra Portfolio Manager, and Northfield Portfolio Optimizer. Endpoints are available to initiate optimizations and view results, as well as retrieve document names and related metadata. API access is available with a subscription to an optimizer application. This API is intended to complement, not replace, the optimizer applications on FactSet. All strategies must still be created using the corresponding GUI applications on FactSet Workstation.

This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 1.0.0
- SDK version: 0.0.1
- Build package: org.openapitools.codegen.languages.PythonClientCodegen

For more information, please visit [https://developer.factset.com/contact](https://developer.factset.com/contact)

## Requirements

* Python >= 3.7

## Installation

### Poetry

```shell
poetry add fds.sdk.utils fds.sdk.OPENOPTIMIZER==0.0.1
```

### pip

```shell
pip install fds.sdk.utils fds.sdk.OPENOPTIMIZER==0.0.1
```

## Usage

1. [Generate authentication credentials](../../../../README.md#authentication).
2. Setup Python environment.
   1. Install and activate python 3.7+. If you're using [pyenv](https://github.com/pyenv/pyenv):

      ```sh
      pyenv install 3.9.7
      pyenv shell 3.9.7
      ```

   2. (optional) [Install poetry](https://python-poetry.org/docs/#installation).
3. [Install dependencies](#installation).
4. Run the following:

> [!IMPORTANT]
> The parameter variables defined below are just examples and may potentially contain non valid values. Please replace them with valid values.

### Example Code

```python
from fds.sdk.utils.authentication import ConfidentialClient

import fds.sdk.OPENOPTIMIZER
from fds.sdk.OPENOPTIMIZER.api import axioma_equity_portfolio_optimizer_api
from fds.sdk.OPENOPTIMIZER.models import *
from dateutil.parser import parse as dateutil_parser
from pprint import pprint

# See configuration.py for a list of all supported configuration parameters.

# Examples for each supported authentication method are below,
# choose one that satisfies your use case.

# (Preferred) OAuth 2.0: FactSetOAuth2
# See https://github.com/FactSet/enterprise-sdk#oauth-20
# for information on how to create the app-config.json file
#
# The confidential client instance should be reused in production environments.
# See https://github.com/FactSet/enterprise-sdk-utils-python#authentication
# for more information on using the ConfidentialClient class
configuration = fds.sdk.OPENOPTIMIZER.Configuration(
    fds_oauth_client=ConfidentialClient('/path/to/app-config.json')
)

# Basic authentication: FactSetApiKey
# See https://github.com/FactSet/enterprise-sdk#api-key
# for information how to create an API key
# configuration = fds.sdk.OPENOPTIMIZER.Configuration(
#     username='USERNAME-SERIAL',
#     password='API-KEY'
# )

# Enter a context with an instance of the API client
with fds.sdk.OPENOPTIMIZER.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = axioma_equity_portfolio_optimizer_api.AxiomaEquityPortfolioOptimizerApi(api_client)
    cache_control = "Cache-Control_example" # str | Standard HTTP header.  Accepts max-stale. (optional)

    try:
        # Returns a dictionary with the name-value pairs for all global variables.
        # example passing only required values which don't have defaults set
        # and optional values
        api_response = api_instance.get_global_variables_axp(cache_control=cache_control)

        pprint(api_response)
    except fds.sdk.OPENOPTIMIZER.ApiException as e:
        print("Exception when calling AxiomaEquityPortfolioOptimizerApi->get_global_variables_axp: %s\n" % e)

    # # Get response, http status code and response headers
    # try:
    #     # Returns a dictionary with the name-value pairs for all global variables.
    #     api_response, http_status_code, response_headers = api_instance.get_global_variables_axp_with_http_info(cache_control=cache_control)


    #     pprint(api_response)
    #     pprint(http_status_code)
    #     pprint(response_headers)
    # except fds.sdk.OPENOPTIMIZER.ApiException as e:
    #     print("Exception when calling AxiomaEquityPortfolioOptimizerApi->get_global_variables_axp: %s\n" % e)

    # # Get response asynchronous
    # try:
    #     # Returns a dictionary with the name-value pairs for all global variables.
    #     async_result = api_instance.get_global_variables_axp_async(cache_control=cache_control)
    #     api_response = async_result.get()


    #     pprint(api_response)
    # except fds.sdk.OPENOPTIMIZER.ApiException as e:
    #     print("Exception when calling AxiomaEquityPortfolioOptimizerApi->get_global_variables_axp: %s\n" % e)

    # # Get response, http status code and response headers asynchronous
    # try:
    #     # Returns a dictionary with the name-value pairs for all global variables.
    #     async_result = api_instance.get_global_variables_axp_with_http_info_async(cache_control=cache_control)
    #     api_response, http_status_code, response_headers = async_result.get()


    #     pprint(api_response)
    #     pprint(http_status_code)
    #     pprint(response_headers)
    # except fds.sdk.OPENOPTIMIZER.ApiException as e:
    #     print("Exception when calling AxiomaEquityPortfolioOptimizerApi->get_global_variables_axp: %s\n" % e)

```

### Using Pandas

To convert an API response to a Pandas DataFrame, it is necessary to transform it first to a dictionary.
```python
import pandas as pd

response_dict = api_response.to_dict()['data']

simple_json_response = pd.DataFrame(response_dict)
nested_json_response = pd.json_normalize(response_dict)
```

### Debugging

The SDK uses the standard library [`logging`](https://docs.python.org/3/library/logging.html#module-logging) module.

Setting `debug` to `True` on an instance of the `Configuration` class sets the log-level of related packages to `DEBUG`
and enables additional logging in Pythons [HTTP Client](https://docs.python.org/3/library/http.client.html).

**Note**: This prints out sensitive information (e.g. the full request and response). Use with care.

```python
import logging
import fds.sdk.OPENOPTIMIZER

logging.basicConfig(level=logging.DEBUG)

configuration = fds.sdk.OPENOPTIMIZER.Configuration(...)
configuration.debug = True
```

### Configure a Proxy

You can pass proxy settings to the Configuration class:

* `proxy`: The URL of the proxy to use.
* `proxy_headers`: a dictionary to pass additional headers to the proxy (e.g. `Proxy-Authorization`).

```python
import fds.sdk.OPENOPTIMIZER

configuration = fds.sdk.OPENOPTIMIZER.Configuration(
    # ...
    proxy="http://secret:password@localhost:5050",
    proxy_headers={
        "Custom-Proxy-Header": "Custom-Proxy-Header-Value"
    }
)
```

### Custom SSL Certificate

TLS/SSL certificate verification can be configured with the following Configuration parameters:

* `ssl_ca_cert`: a path to the certificate to use for verification in `PEM` format.
* `verify_ssl`: setting this to `False` disables the verification of certificates.
  Disabling the verification is not recommended, but it might be useful during
  local development or testing.

```python
import fds.sdk.OPENOPTIMIZER

configuration = fds.sdk.OPENOPTIMIZER.Configuration(
    # ...
    ssl_ca_cert='/path/to/ca.pem'
)
```

### Request Retries

In case the request retry behaviour should be customized, it is possible to pass a `urllib3.Retry` object to the `retry` property of the Configuration.

```python
from urllib3 import Retry
import fds.sdk.OPENOPTIMIZER

configuration = fds.sdk.OPENOPTIMIZER.Configuration(
    # ...
)

configuration.retries = Retry(total=3, status_forcelist=[500, 502, 503, 504])
```


## Documentation for API Endpoints

All URIs are relative to *https://api.factset.com/open-optimizer/v1*

Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*AxiomaEquityPortfolioOptimizerApi* | [**get_global_variables_axp**](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/AxiomaEquityPortfolioOptimizerApi.md#get_global_variables_axp) | **GET** /axp/settings/global-variables | Returns a dictionary with the name-value pairs for all global variables.
*AxiomaEquityPortfolioOptimizerApi* | [**get_optimization_result_by_id_axp**](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/AxiomaEquityPortfolioOptimizerApi.md#get_optimization_result_by_id_axp) | **GET** /axp/{id} | Get AXP optimization result by id
*AxiomaEquityPortfolioOptimizerApi* | [**get_optimization_status_by_id_axp**](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/AxiomaEquityPortfolioOptimizerApi.md#get_optimization_status_by_id_axp) | **GET** /axp/{id}/status | Get AXP optimization status by id
*AxiomaEquityPortfolioOptimizerApi* | [**post_and_optimize_axp**](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/AxiomaEquityPortfolioOptimizerApi.md#post_and_optimize_axp) | **POST** /axp/optimize | Create and Run AXP optimization
*AxiomaEquityPortfolioOptimizerApi* | [**post_components_axp**](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/AxiomaEquityPortfolioOptimizerApi.md#post_components_axp) | **POST** /axp/settings/components | Returns a dictionary with individually-filtered metadata for each component type.
*AxiomaEquityPortfolioOptimizerApi* | [**post_strategies_axp**](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/AxiomaEquityPortfolioOptimizerApi.md#post_strategies_axp) | **POST** /axp/settings/strategies | Returns a dictionary containing all strategies stored in a specified directory. Returns all strategies if no directory is given.
*AxiomaFixedIncomePortfolioOptimizerApi* | [**get_global_variables_afi**](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/AxiomaFixedIncomePortfolioOptimizerApi.md#get_global_variables_afi) | **GET** /afi/settings/global-variables | Returns a dictionary with the name-value pairs for all global variables.
*AxiomaFixedIncomePortfolioOptimizerApi* | [**get_optimization_result_by_id_afi**](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/AxiomaFixedIncomePortfolioOptimizerApi.md#get_optimization_result_by_id_afi) | **GET** /afi/{id} | Get AFI optimization result by id
*AxiomaFixedIncomePortfolioOptimizerApi* | [**get_optimization_status_by_id_afi**](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/AxiomaFixedIncomePortfolioOptimizerApi.md#get_optimization_status_by_id_afi) | **GET** /afi/{id}/status | Get AFI optimization status by id
*AxiomaFixedIncomePortfolioOptimizerApi* | [**post_and_optimize_afi**](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/AxiomaFixedIncomePortfolioOptimizerApi.md#post_and_optimize_afi) | **POST** /afi/optimize | Create and Run AFI optimization
*AxiomaFixedIncomePortfolioOptimizerApi* | [**post_components_afi**](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/AxiomaFixedIncomePortfolioOptimizerApi.md#post_components_afi) | **POST** /afi/settings/components | Returns a dictionary with individually-filtered metadata for each component type.
*AxiomaFixedIncomePortfolioOptimizerApi* | [**post_strategies_afi**](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/AxiomaFixedIncomePortfolioOptimizerApi.md#post_strategies_afi) | **POST** /afi/settings/strategies | Returns a dictionary containing all strategies stored in a specified directory. Returns all strategies if no directory is given.
*BarraPortfolioOptimizerApi* | [**get_global_variables_bpm**](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/BarraPortfolioOptimizerApi.md#get_global_variables_bpm) | **GET** /bpm/settings/global-variables | Returns a dictionary with the name-value pairs for all global variables.
*BarraPortfolioOptimizerApi* | [**get_optimization_result_by_id_bpm**](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/BarraPortfolioOptimizerApi.md#get_optimization_result_by_id_bpm) | **GET** /bpm/{id} | Get BPM optimization result by id
*BarraPortfolioOptimizerApi* | [**get_optimization_status_by_id_bpm**](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/BarraPortfolioOptimizerApi.md#get_optimization_status_by_id_bpm) | **GET** /bpm/{id}/status | Get BPM optimization status by id
*BarraPortfolioOptimizerApi* | [**post_and_optimize_bpm**](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/BarraPortfolioOptimizerApi.md#post_and_optimize_bpm) | **POST** /bpm/optimize | Create and Run BPM optimization
*BarraPortfolioOptimizerApi* | [**post_components_bpm**](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/BarraPortfolioOptimizerApi.md#post_components_bpm) | **POST** /bpm/settings/components | Returns a dictionary with individually-filtered metadata for each component type.
*BarraPortfolioOptimizerApi* | [**post_strategies_bpm**](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/BarraPortfolioOptimizerApi.md#post_strategies_bpm) | **POST** /bpm/settings/strategies | Returns a dictionary containing all strategies stored in a specified directory. Returns all strategies if no directory is given.
*FactSetPortfolioOptimizerApi* | [**cancel_optimization_by_id_fpo**](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/FactSetPortfolioOptimizerApi.md#cancel_optimization_by_id_fpo) | **DELETE** /fpo/{id} | Cancel FPO optimization by id
*FactSetPortfolioOptimizerApi* | [**get_global_variables_fpo**](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/FactSetPortfolioOptimizerApi.md#get_global_variables_fpo) | **GET** /fpo/settings/global-variables | Returns a dictionary with the name-value pairs for all global variables.
*FactSetPortfolioOptimizerApi* | [**get_optimization_result_by_id_fpo**](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/FactSetPortfolioOptimizerApi.md#get_optimization_result_by_id_fpo) | **GET** /fpo/{id} | Get FPO optimization result by id
*FactSetPortfolioOptimizerApi* | [**get_optimization_status_by_id_fpo**](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/FactSetPortfolioOptimizerApi.md#get_optimization_status_by_id_fpo) | **GET** /fpo/{id}/status | Get FPO optimization status by id
*FactSetPortfolioOptimizerApi* | [**post_and_optimize**](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/FactSetPortfolioOptimizerApi.md#post_and_optimize) | **POST** /fpo/optimize | Create and Run FPO optimization
*FactSetPortfolioOptimizerApi* | [**post_components_fpo**](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/FactSetPortfolioOptimizerApi.md#post_components_fpo) | **POST** /fpo/settings/components | Returns a dictionary with individually-filtered metadata for each component type.
*FactSetPortfolioOptimizerApi* | [**post_strategies_fpo**](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/FactSetPortfolioOptimizerApi.md#post_strategies_fpo) | **POST** /fpo/settings/strategies | Returns a dictionary containing all strategies stored in a specified directory. Returns all strategies if no directory is given.
*NorthfieldPortfolioOptimizerApi* | [**get_global_variables_npo**](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/NorthfieldPortfolioOptimizerApi.md#get_global_variables_npo) | **GET** /npo/settings/global-variables | Returns a dictionary with the name-value pairs for all global variables.
*NorthfieldPortfolioOptimizerApi* | [**get_optimization_result_by_id_npo**](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/NorthfieldPortfolioOptimizerApi.md#get_optimization_result_by_id_npo) | **GET** /npo/{id} | Get NPO optimization result by id
*NorthfieldPortfolioOptimizerApi* | [**get_optimization_status_by_id_npo**](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/NorthfieldPortfolioOptimizerApi.md#get_optimization_status_by_id_npo) | **GET** /npo/{id}/status | Get NPO optimization status by id
*NorthfieldPortfolioOptimizerApi* | [**post_and_optimize_npo**](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/NorthfieldPortfolioOptimizerApi.md#post_and_optimize_npo) | **POST** /npo/optimize | Create and Run NPO optimization
*NorthfieldPortfolioOptimizerApi* | [**post_components_npo**](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/NorthfieldPortfolioOptimizerApi.md#post_components_npo) | **POST** /npo/settings/components | Returns a dictionary with individually-filtered metadata for each component type.
*NorthfieldPortfolioOptimizerApi* | [**post_strategies_npo**](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/NorthfieldPortfolioOptimizerApi.md#post_strategies_npo) | **POST** /npo/settings/strategies | Returns a dictionary containing all strategies stored in a specified directory. Returns all strategies if no directory is given.


## Documentation For Models

 - [AFIAccountInput](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/AFIAccountInput.md)
 - [AFIOptimizationParameters](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/AFIOptimizationParameters.md)
 - [AFIOptimizationParametersRequest](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/AFIOptimizationParametersRequest.md)
 - [AFIOptimizerStrategyInput](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/AFIOptimizerStrategyInput.md)
 - [AFIOptimizerStrategyOverridesInput](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/AFIOptimizerStrategyOverridesInput.md)
 - [AXPAccountInput](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/AXPAccountInput.md)
 - [AXPAvailableComponentsInput](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/AXPAvailableComponentsInput.md)
 - [AXPAvailableComponentsInputData](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/AXPAvailableComponentsInputData.md)
 - [AXPAvailableComponentsInputDataFilters](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/AXPAvailableComponentsInputDataFilters.md)
 - [AXPAvailableComponentsInputDataFiltersConstraints](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/AXPAvailableComponentsInputDataFiltersConstraints.md)
 - [AXPAvailableComponentsInputDataFiltersObjectives](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/AXPAvailableComponentsInputDataFiltersObjectives.md)
 - [AXPOptimizationParameters](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/AXPOptimizationParameters.md)
 - [AXPOptimizationParametersRequest](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/AXPOptimizationParametersRequest.md)
 - [AXPOptimizerStrategyInput](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/AXPOptimizerStrategyInput.md)
 - [AXPOptimizerStrategyOverridesInput](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/AXPOptimizerStrategyOverridesInput.md)
 - [ArchivePortfolioOutputType](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/ArchivePortfolioOutputType.md)
 - [AvailableComponentsResponse](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/AvailableComponentsResponse.md)
 - [AvailableComponentsResponseData](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/AvailableComponentsResponseData.md)
 - [AvailableConstraintsResultObject](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/AvailableConstraintsResultObject.md)
 - [AvailableConstraintsResultObjectData](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/AvailableConstraintsResultObjectData.md)
 - [AvailableObjectivesObject](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/AvailableObjectivesObject.md)
 - [AvailableStrategiesInput](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/AvailableStrategiesInput.md)
 - [AvailableStrategiesInputData](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/AvailableStrategiesInputData.md)
 - [AvailableStrategiesResponse](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/AvailableStrategiesResponse.md)
 - [AvailableTermsObject](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/AvailableTermsObject.md)
 - [AvailableTranscostsResultObject](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/AvailableTranscostsResultObject.md)
 - [AvailableTranscostsResultObjectData](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/AvailableTranscostsResultObjectData.md)
 - [BPMAccountInput](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/BPMAccountInput.md)
 - [BPMNPOAvailableComponentsInput](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/BPMNPOAvailableComponentsInput.md)
 - [BPMNPOAvailableComponentsInputData](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/BPMNPOAvailableComponentsInputData.md)
 - [BPMOptimizationParameters](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/BPMOptimizationParameters.md)
 - [BPMOptimizationParametersRequest](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/BPMOptimizationParametersRequest.md)
 - [BPMOptimizerStrategyInput](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/BPMOptimizerStrategyInput.md)
 - [BPMOptimizerStrategyOverridesInput](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/BPMOptimizerStrategyOverridesInput.md)
 - [ClientErrorResponse](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/ClientErrorResponse.md)
 - [Constraints](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/Constraints.md)
 - [EnabledEnum](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/EnabledEnum.md)
 - [Error](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/Error.md)
 - [ErrorDetail](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/ErrorDetail.md)
 - [FPOAccountInput](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/FPOAccountInput.md)
 - [FPOAvailableComponentsInput](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/FPOAvailableComponentsInput.md)
 - [FPOAvailableComponentsInputData](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/FPOAvailableComponentsInputData.md)
 - [FPOAvailableComponentsInputDataDocumentLevel](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/FPOAvailableComponentsInputDataDocumentLevel.md)
 - [FPOAvailableComponentsInputDataFilters](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/FPOAvailableComponentsInputDataFilters.md)
 - [FPOAvailableComponentsInputDataFiltersConstraints](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/FPOAvailableComponentsInputDataFiltersConstraints.md)
 - [FPOAvailableComponentsInputDataFiltersObjectives](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/FPOAvailableComponentsInputDataFiltersObjectives.md)
 - [FPOAvailableComponentsInputDataFiltersTransactionCosts](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/FPOAvailableComponentsInputDataFiltersTransactionCosts.md)
 - [FPOObjectiveInput](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/FPOObjectiveInput.md)
 - [FPOOptimizationParameters](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/FPOOptimizationParameters.md)
 - [FPOOptimizationParametersRequest](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/FPOOptimizationParametersRequest.md)
 - [FPOOptimizerStrategyInput](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/FPOOptimizerStrategyInput.md)
 - [FPOOptimizerStrategyOverridesInput](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/FPOOptimizerStrategyOverridesInput.md)
 - [HoldingsResponseObject](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/HoldingsResponseObject.md)
 - [NPOAccountInput](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/NPOAccountInput.md)
 - [NPOOptimizationParameters](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/NPOOptimizationParameters.md)
 - [NPOOptimizationParametersRequest](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/NPOOptimizationParametersRequest.md)
 - [NPOOptimizerStrategyInput](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/NPOOptimizerStrategyInput.md)
 - [NPOOptimizerStrategyOverridesInput](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/NPOOptimizerStrategyOverridesInput.md)
 - [OptimalHoldingsOutputType](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/OptimalHoldingsOutputType.md)
 - [OptimizationInput](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/OptimizationInput.md)
 - [OptimizationStatus](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/OptimizationStatus.md)
 - [OptimizationStatusData](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/OptimizationStatusData.md)
 - [OptimizerAccountOverridesInput](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/OptimizerAccountOverridesInput.md)
 - [OptimizerOutputTypes](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/OptimizerOutputTypes.md)
 - [OptimizerReportsOutputType](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/OptimizerReportsOutputType.md)
 - [PaDocInput](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/PaDocInput.md)
 - [ReportOutputTypeObject](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/ReportOutputTypeObject.md)
 - [ResultResponse](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/ResultResponse.md)
 - [ResultResponseData](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/ResultResponseData.md)
 - [ResultResponseDataArchive](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/ResultResponseDataArchive.md)
 - [ResultResponseDataDebugFile](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/ResultResponseDataDebugFile.md)
 - [ResultResponseDataDebugFileInput](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/ResultResponseDataDebugFileInput.md)
 - [ResultResponseDataReports](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/ResultResponseDataReports.md)
 - [ResultResponseDataStats](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/ResultResponseDataStats.md)
 - [SettingsGlobalVarsResponse](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/SettingsGlobalVarsResponse.md)
 - [StatResponseObject](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/StatResponseObject.md)
 - [TradeResponseObject](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/TradeResponseObject.md)
 - [TradesListOutputType](https://github.com/FactSet/enterprise-sdk/tree/main/code/python/OPENOPTIMIZER/v1/docs/TradesListOutputType.md)


## Documentation For Authorization


## FactSetApiKey

- **Type**: HTTP basic authentication


## FactSetOAuth2

- **Type**: OAuth
- **Flow**: application
- **Authorization URL**: 
- **Scopes**: N/A


## Notes for Large OpenAPI documents
If the OpenAPI document is large, imports in fds.sdk.OPENOPTIMIZER.apis and fds.sdk.OPENOPTIMIZER.models may fail with a
RecursionError indicating the maximum recursion limit has been exceeded. In that case, there are a couple of solutions:

Solution 1:
Use specific imports for apis and models like:
- `from fds.sdk.OPENOPTIMIZER.api.default_api import DefaultApi`
- `from fds.sdk.OPENOPTIMIZER.model.pet import Pet`

Solution 2:
Before importing the package, adjust the maximum recursion limit as shown below:
```
import sys
sys.setrecursionlimit(1500)
import fds.sdk.OPENOPTIMIZER
from fds.sdk.OPENOPTIMIZER.apis import *
from fds.sdk.OPENOPTIMIZER.models import *
```

## Contributing

Please refer to the [contributing guide](../../../../CONTRIBUTING.md).

## Copyright

Copyright 2025 FactSet Research Systems Inc

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

