fds.sdk.ProposalGenerationEngine 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- fds/__init__.py +0 -0
- fds/sdk/ProposalGenerationEngine/__init__.py +28 -0
- fds/sdk/ProposalGenerationEngine/api/__init__.py +3 -0
- fds/sdk/ProposalGenerationEngine/api/ex_post_api.py +1451 -0
- fds/sdk/ProposalGenerationEngine/api/lookup_api.py +333 -0
- fds/sdk/ProposalGenerationEngine/api_client.py +939 -0
- fds/sdk/ProposalGenerationEngine/apis/__init__.py +18 -0
- fds/sdk/ProposalGenerationEngine/configuration.py +500 -0
- fds/sdk/ProposalGenerationEngine/exceptions.py +160 -0
- fds/sdk/ProposalGenerationEngine/model/__init__.py +5 -0
- fds/sdk/ProposalGenerationEngine/model/array.py +279 -0
- fds/sdk/ProposalGenerationEngine/model/backfill_data.py +264 -0
- fds/sdk/ProposalGenerationEngine/model/base_settings.py +264 -0
- fds/sdk/ProposalGenerationEngine/model/boxplot.py +266 -0
- fds/sdk/ProposalGenerationEngine/model/boxplot_boxplot_summary.py +284 -0
- fds/sdk/ProposalGenerationEngine/model/cl_pair.py +252 -0
- fds/sdk/ProposalGenerationEngine/model/correlation_matrix.py +260 -0
- fds/sdk/ProposalGenerationEngine/model/correlation_stats.py +268 -0
- fds/sdk/ProposalGenerationEngine/model/dated_correlation_stats.py +268 -0
- fds/sdk/ProposalGenerationEngine/model/dated_correlation_stats_per_time_window.py +262 -0
- fds/sdk/ProposalGenerationEngine/model/dated_node_stats.py +262 -0
- fds/sdk/ProposalGenerationEngine/model/drawdown.py +268 -0
- fds/sdk/ProposalGenerationEngine/model/drawdown_stats.py +290 -0
- fds/sdk/ProposalGenerationEngine/model/entity.py +256 -0
- fds/sdk/ProposalGenerationEngine/model/entity_stats.py +292 -0
- fds/sdk/ProposalGenerationEngine/model/error.py +274 -0
- fds/sdk/ProposalGenerationEngine/model/errors.py +262 -0
- fds/sdk/ProposalGenerationEngine/model/ex_post_period_stats.py +333 -0
- fds/sdk/ProposalGenerationEngine/model/ex_post_period_stats_all_of.py +262 -0
- fds/sdk/ProposalGenerationEngine/model/ex_post_portfolio.py +343 -0
- fds/sdk/ProposalGenerationEngine/model/ex_post_portfolio_all_of.py +268 -0
- fds/sdk/ProposalGenerationEngine/model/ex_post_portfolio_investment.py +329 -0
- fds/sdk/ProposalGenerationEngine/model/ex_post_portfolio_investment_all_of.py +266 -0
- fds/sdk/ProposalGenerationEngine/model/ex_post_portfolio_investment_response.py +357 -0
- fds/sdk/ProposalGenerationEngine/model/ex_post_portfolio_investment_response_all_of.py +284 -0
- fds/sdk/ProposalGenerationEngine/model/ex_post_portfolio_investment_series_response.py +353 -0
- fds/sdk/ProposalGenerationEngine/model/ex_post_portfolio_investment_series_response_all_of.py +280 -0
- fds/sdk/ProposalGenerationEngine/model/ex_post_rolling_settings.py +338 -0
- fds/sdk/ProposalGenerationEngine/model/ex_post_rolling_settings_all_of.py +280 -0
- fds/sdk/ProposalGenerationEngine/model/ex_post_series.py +268 -0
- fds/sdk/ProposalGenerationEngine/model/ex_post_series_data.py +280 -0
- fds/sdk/ProposalGenerationEngine/model/ex_post_series_response.py +268 -0
- fds/sdk/ProposalGenerationEngine/model/ex_post_series_response_data.py +272 -0
- fds/sdk/ProposalGenerationEngine/model/ex_post_series_response_meta.py +262 -0
- fds/sdk/ProposalGenerationEngine/model/ex_post_series_rolling.py +268 -0
- fds/sdk/ProposalGenerationEngine/model/ex_post_series_rolling_data.py +278 -0
- fds/sdk/ProposalGenerationEngine/model/ex_post_series_rolling_response.py +274 -0
- fds/sdk/ProposalGenerationEngine/model/ex_post_series_rolling_response_data.py +262 -0
- fds/sdk/ProposalGenerationEngine/model/ex_post_series_rolling_response_meta.py +262 -0
- fds/sdk/ProposalGenerationEngine/model/ex_post_series_rolling_settings.py +341 -0
- fds/sdk/ProposalGenerationEngine/model/ex_post_series_settings.py +353 -0
- fds/sdk/ProposalGenerationEngine/model/ex_post_series_settings_all_of.py +267 -0
- fds/sdk/ProposalGenerationEngine/model/ex_post_settings.py +355 -0
- fds/sdk/ProposalGenerationEngine/model/ex_post_settings_all_of.py +262 -0
- fds/sdk/ProposalGenerationEngine/model/ex_post_stats.py +268 -0
- fds/sdk/ProposalGenerationEngine/model/ex_post_stats_correlations.py +268 -0
- fds/sdk/ProposalGenerationEngine/model/ex_post_stats_correlations_data.py +280 -0
- fds/sdk/ProposalGenerationEngine/model/ex_post_stats_correlations_response.py +274 -0
- fds/sdk/ProposalGenerationEngine/model/ex_post_stats_correlations_response_meta.py +262 -0
- fds/sdk/ProposalGenerationEngine/model/ex_post_stats_correlations_settings.py +346 -0
- fds/sdk/ProposalGenerationEngine/model/ex_post_stats_correlations_settings_all_of.py +275 -0
- fds/sdk/ProposalGenerationEngine/model/ex_post_stats_data.py +280 -0
- fds/sdk/ProposalGenerationEngine/model/ex_post_stats_factor_exposure.py +268 -0
- fds/sdk/ProposalGenerationEngine/model/ex_post_stats_factor_exposure_data.py +280 -0
- fds/sdk/ProposalGenerationEngine/model/ex_post_stats_factor_exposure_response.py +274 -0
- fds/sdk/ProposalGenerationEngine/model/ex_post_stats_factor_exposure_response_meta.py +262 -0
- fds/sdk/ProposalGenerationEngine/model/ex_post_stats_factor_exposure_settings.py +338 -0
- fds/sdk/ProposalGenerationEngine/model/ex_post_stats_factor_exposure_settings_all_of.py +267 -0
- fds/sdk/ProposalGenerationEngine/model/ex_post_stats_response.py +268 -0
- fds/sdk/ProposalGenerationEngine/model/ex_post_stats_response_data.py +272 -0
- fds/sdk/ProposalGenerationEngine/model/ex_post_stats_response_meta.py +262 -0
- fds/sdk/ProposalGenerationEngine/model/ex_post_stats_rolling.py +268 -0
- fds/sdk/ProposalGenerationEngine/model/ex_post_stats_rolling_data.py +280 -0
- fds/sdk/ProposalGenerationEngine/model/ex_post_stats_rolling_response.py +274 -0
- fds/sdk/ProposalGenerationEngine/model/ex_post_stats_rolling_response_data.py +262 -0
- fds/sdk/ProposalGenerationEngine/model/ex_post_stats_rolling_response_meta.py +262 -0
- fds/sdk/ProposalGenerationEngine/model/ex_post_stats_rolling_settings.py +339 -0
- fds/sdk/ProposalGenerationEngine/model/ex_post_stats_rolling_settings_all_of.py +262 -0
- fds/sdk/ProposalGenerationEngine/model/ex_post_stats_settings.py +360 -0
- fds/sdk/ProposalGenerationEngine/model/ex_post_stats_settings_all_of.py +256 -0
- fds/sdk/ProposalGenerationEngine/model/exposure.py +282 -0
- fds/sdk/ProposalGenerationEngine/model/investment.py +343 -0
- fds/sdk/ProposalGenerationEngine/model/investment_all_of.py +280 -0
- fds/sdk/ProposalGenerationEngine/model/key_value_pair.py +260 -0
- fds/sdk/ProposalGenerationEngine/model/level.py +256 -0
- fds/sdk/ProposalGenerationEngine/model/paged_securities.py +276 -0
- fds/sdk/ProposalGenerationEngine/model/paged_securities_meta.py +262 -0
- fds/sdk/ProposalGenerationEngine/model/paged_securities_meta_pagination.py +260 -0
- fds/sdk/ProposalGenerationEngine/model/performance_stats.py +264 -0
- fds/sdk/ProposalGenerationEngine/model/period.py +260 -0
- fds/sdk/ProposalGenerationEngine/model/period_correlation_stats.py +333 -0
- fds/sdk/ProposalGenerationEngine/model/period_correlation_stats_all_of.py +262 -0
- fds/sdk/ProposalGenerationEngine/model/period_info.py +268 -0
- fds/sdk/ProposalGenerationEngine/model/period_series.py +333 -0
- fds/sdk/ProposalGenerationEngine/model/period_series_all_of.py +262 -0
- fds/sdk/ProposalGenerationEngine/model/periods.py +262 -0
- fds/sdk/ProposalGenerationEngine/model/portfolio.py +331 -0
- fds/sdk/ProposalGenerationEngine/model/portfolio_all_of.py +266 -0
- fds/sdk/ProposalGenerationEngine/model/portfolio_correlation_matrix.py +260 -0
- fds/sdk/ProposalGenerationEngine/model/portfolio_entity.py +266 -0
- fds/sdk/ProposalGenerationEngine/model/portfolio_entity_details.py +256 -0
- fds/sdk/ProposalGenerationEngine/model/portfolio_investment.py +268 -0
- fds/sdk/ProposalGenerationEngine/model/portfolio_with_ex_post_series.py +333 -0
- fds/sdk/ProposalGenerationEngine/model/portfolio_with_ex_post_series_all_of.py +268 -0
- fds/sdk/ProposalGenerationEngine/model/portfolio_with_ex_post_stats.py +337 -0
- fds/sdk/ProposalGenerationEngine/model/portfolio_with_ex_post_stats_all_of.py +272 -0
- fds/sdk/ProposalGenerationEngine/model/portfolio_with_rolling_series.py +327 -0
- fds/sdk/ProposalGenerationEngine/model/portfolio_with_rolling_series_all_of.py +262 -0
- fds/sdk/ProposalGenerationEngine/model/portfolio_with_rolling_stats.py +327 -0
- fds/sdk/ProposalGenerationEngine/model/portfolio_with_rolling_stats_all_of.py +262 -0
- fds/sdk/ProposalGenerationEngine/model/rebalancing.py +270 -0
- fds/sdk/ProposalGenerationEngine/model/relative_risk_stats.py +280 -0
- fds/sdk/ProposalGenerationEngine/model/return_stats.py +264 -0
- fds/sdk/ProposalGenerationEngine/model/risk_node_stats.py +304 -0
- fds/sdk/ProposalGenerationEngine/model/risk_stats.py +290 -0
- fds/sdk/ProposalGenerationEngine/model/rolling_series.py +262 -0
- fds/sdk/ProposalGenerationEngine/model/rolling_series_per_time_window.py +266 -0
- fds/sdk/ProposalGenerationEngine/model/rolling_series_per_time_window_returns.py +266 -0
- fds/sdk/ProposalGenerationEngine/model/rolling_stats.py +262 -0
- fds/sdk/ProposalGenerationEngine/model/rolling_stats_per_time_window.py +262 -0
- fds/sdk/ProposalGenerationEngine/model/rolling_stats_per_time_window_rolling.py +256 -0
- fds/sdk/ProposalGenerationEngine/model/serie_stats.py +282 -0
- fds/sdk/ProposalGenerationEngine/model/series_stats.py +266 -0
- fds/sdk/ProposalGenerationEngine/model/settings.py +338 -0
- fds/sdk/ProposalGenerationEngine/model/settings_all_of.py +269 -0
- fds/sdk/ProposalGenerationEngine/model/stats.py +311 -0
- fds/sdk/ProposalGenerationEngine/model/time_window.py +256 -0
- fds/sdk/ProposalGenerationEngine/model/time_window_series.py +262 -0
- fds/sdk/ProposalGenerationEngine/model/time_window_stats.py +268 -0
- fds/sdk/ProposalGenerationEngine/model/time_window_stats_generic.py +256 -0
- fds/sdk/ProposalGenerationEngine/model/transaction_rule.py +334 -0
- fds/sdk/ProposalGenerationEngine/model/ui_value_object.py +264 -0
- fds/sdk/ProposalGenerationEngine/model_utils.py +2062 -0
- fds/sdk/ProposalGenerationEngine/models/__init__.py +133 -0
- fds/sdk/ProposalGenerationEngine/rest.py +347 -0
- fds/sdk/__init__.py +0 -0
- fds_sdk_proposalgenerationengine-0.1.0.dist-info/METADATA +456 -0
- fds_sdk_proposalgenerationengine-0.1.0.dist-info/RECORD +141 -0
- fds_sdk_proposalgenerationengine-0.1.0.dist-info/WHEEL +5 -0
- fds_sdk_proposalgenerationengine-0.1.0.dist-info/licenses/LICENSE +202 -0
- fds_sdk_proposalgenerationengine-0.1.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,333 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Proposal Generation Engine API
|
|
3
|
+
|
|
4
|
+
Documentation on all available end points in the Proposal Generation API # noqa: E501
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 0.0.1
|
|
7
|
+
Contact: api@factset.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
"""
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
import re # noqa: F401
|
|
13
|
+
import sys # noqa: F401
|
|
14
|
+
from multiprocessing.pool import ApplyResult
|
|
15
|
+
import typing
|
|
16
|
+
|
|
17
|
+
from fds.sdk.ProposalGenerationEngine.api_client import ApiClient, Endpoint as _Endpoint
|
|
18
|
+
from fds.sdk.ProposalGenerationEngine.model_utils import ( # noqa: F401
|
|
19
|
+
check_allowed_values,
|
|
20
|
+
check_validations,
|
|
21
|
+
date,
|
|
22
|
+
datetime,
|
|
23
|
+
file_type,
|
|
24
|
+
none_type,
|
|
25
|
+
validate_and_convert_types
|
|
26
|
+
)
|
|
27
|
+
from fds.sdk.ProposalGenerationEngine.exceptions import ApiException
|
|
28
|
+
from fds.sdk.ProposalGenerationEngine.model.paged_securities import PagedSecurities
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
class LookupApi(object):
|
|
35
|
+
"""NOTE: This class is auto generated by OpenAPI Generator
|
|
36
|
+
Ref: https://openapi-generator.tech
|
|
37
|
+
|
|
38
|
+
Do not edit the class manually.
|
|
39
|
+
"""
|
|
40
|
+
|
|
41
|
+
def __init__(self, api_client=None):
|
|
42
|
+
if api_client is None:
|
|
43
|
+
api_client = ApiClient()
|
|
44
|
+
self.api_client = api_client
|
|
45
|
+
|
|
46
|
+
self.get_securities_endpoint = _Endpoint(
|
|
47
|
+
settings={
|
|
48
|
+
'response_type': (
|
|
49
|
+
{ 200: (PagedSecurities,), },
|
|
50
|
+
None
|
|
51
|
+
),
|
|
52
|
+
'auth': [
|
|
53
|
+
'FactSetApiKey',
|
|
54
|
+
'FactSetOAuth2'
|
|
55
|
+
],
|
|
56
|
+
'endpoint_path': '/securities',
|
|
57
|
+
'operation_id': 'get_securities',
|
|
58
|
+
'http_method': 'GET',
|
|
59
|
+
'servers': None,
|
|
60
|
+
},
|
|
61
|
+
params_map={
|
|
62
|
+
'all': [
|
|
63
|
+
'name',
|
|
64
|
+
'identifier',
|
|
65
|
+
'as_of_date',
|
|
66
|
+
'udfs',
|
|
67
|
+
'pagination_offset',
|
|
68
|
+
'pagination_limit',
|
|
69
|
+
],
|
|
70
|
+
'required': [],
|
|
71
|
+
'nullable': [
|
|
72
|
+
],
|
|
73
|
+
'enum': [
|
|
74
|
+
],
|
|
75
|
+
'validation': [
|
|
76
|
+
]
|
|
77
|
+
},
|
|
78
|
+
root_map={
|
|
79
|
+
'validations': {
|
|
80
|
+
},
|
|
81
|
+
'allowed_values': {
|
|
82
|
+
},
|
|
83
|
+
'openapi_types': {
|
|
84
|
+
'name':
|
|
85
|
+
(str,),
|
|
86
|
+
'identifier':
|
|
87
|
+
(str,),
|
|
88
|
+
'as_of_date':
|
|
89
|
+
(str,),
|
|
90
|
+
'udfs':
|
|
91
|
+
(str,),
|
|
92
|
+
'pagination_offset':
|
|
93
|
+
(int,),
|
|
94
|
+
'pagination_limit':
|
|
95
|
+
(int,),
|
|
96
|
+
},
|
|
97
|
+
'attribute_map': {
|
|
98
|
+
'name': 'name',
|
|
99
|
+
'identifier': 'identifier',
|
|
100
|
+
'as_of_date': 'asOfDate',
|
|
101
|
+
'udfs': 'udfs',
|
|
102
|
+
'pagination_offset': '_paginationOffset',
|
|
103
|
+
'pagination_limit': '_paginationLimit',
|
|
104
|
+
},
|
|
105
|
+
'location_map': {
|
|
106
|
+
'name': 'query',
|
|
107
|
+
'identifier': 'query',
|
|
108
|
+
'as_of_date': 'query',
|
|
109
|
+
'udfs': 'query',
|
|
110
|
+
'pagination_offset': 'query',
|
|
111
|
+
'pagination_limit': 'query',
|
|
112
|
+
},
|
|
113
|
+
'collection_format_map': {
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
headers_map={
|
|
117
|
+
'accept': [
|
|
118
|
+
'application/json'
|
|
119
|
+
],
|
|
120
|
+
'content_type': [],
|
|
121
|
+
},
|
|
122
|
+
api_client=api_client
|
|
123
|
+
)
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
@staticmethod
|
|
127
|
+
def apply_kwargs_defaults(kwargs, return_http_data_only, async_req):
|
|
128
|
+
kwargs["async_req"] = async_req
|
|
129
|
+
kwargs["_return_http_data_only"] = return_http_data_only
|
|
130
|
+
kwargs["_preload_content"] = kwargs.get("_preload_content", True)
|
|
131
|
+
kwargs["_request_timeout"] = kwargs.get("_request_timeout", None)
|
|
132
|
+
kwargs["_check_input_type"] = kwargs.get("_check_input_type", True)
|
|
133
|
+
kwargs["_check_return_type"] = kwargs.get("_check_return_type", True)
|
|
134
|
+
kwargs["_spec_property_naming"] = kwargs.get("_spec_property_naming", False)
|
|
135
|
+
kwargs["_content_type"] = kwargs.get("_content_type")
|
|
136
|
+
kwargs["_host_index"] = kwargs.get("_host_index")
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
def get_securities(
|
|
140
|
+
self,
|
|
141
|
+
**kwargs
|
|
142
|
+
) -> PagedSecurities:
|
|
143
|
+
"""get_securities # noqa: E501
|
|
144
|
+
|
|
145
|
+
search for securities within the security universe for the user/client # noqa: E501
|
|
146
|
+
This method makes a synchronous HTTP request. Returns the http data only
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
Keyword Args:
|
|
150
|
+
name (str): search by (part of) security name. [optional]
|
|
151
|
+
identifier (str): search by security identifier (e.g. cusip or tradingSymbol).. [optional]
|
|
152
|
+
as_of_date (str): search only within valid securities for the specified asOfDate. The value should be in YYYY-MM-DD format. A special wildcard value 'latestMonthEnd' is supported as well. [optional]
|
|
153
|
+
udfs (str): specify list of UDFs to retrieve for every security in the result. [optional]
|
|
154
|
+
pagination_offset (int): Specifies the starting index for pagination.. [optional]
|
|
155
|
+
pagination_limit (int): Specifies the maximum number of results to return. [optional]
|
|
156
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
157
|
+
will be returned without reading/decoding response data.
|
|
158
|
+
Default is True. NOTE: if this API returns a file, it is the responsibility
|
|
159
|
+
of the caller to close the file stream.
|
|
160
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
161
|
+
one number provided, it will be total request timeout. It can also
|
|
162
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
163
|
+
Default is None.
|
|
164
|
+
_check_input_type (bool): specifies if type checking
|
|
165
|
+
should be done one the data sent to the server.
|
|
166
|
+
Default is True.
|
|
167
|
+
_check_return_type (bool): specifies if type checking
|
|
168
|
+
should be done one the data received from the server.
|
|
169
|
+
Default is True.
|
|
170
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
171
|
+
are serialized names, as specified in the OpenAPI document.
|
|
172
|
+
False if the variable names in the input data
|
|
173
|
+
are pythonic names, e.g. snake case (default)
|
|
174
|
+
_content_type (str/None): force body content-type.
|
|
175
|
+
Default is None and content-type will be predicted by allowed
|
|
176
|
+
content-types and body.
|
|
177
|
+
_host_index (int/None): specifies the index of the server
|
|
178
|
+
that we want to use.
|
|
179
|
+
Default is read from the configuration.
|
|
180
|
+
Returns:
|
|
181
|
+
PagedSecurities
|
|
182
|
+
Response Object
|
|
183
|
+
"""
|
|
184
|
+
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=True, async_req=False)
|
|
185
|
+
return self.get_securities_endpoint.call_with_http_info(**kwargs)
|
|
186
|
+
|
|
187
|
+
def get_securities_with_http_info(
|
|
188
|
+
self,
|
|
189
|
+
**kwargs
|
|
190
|
+
) -> typing.Tuple[PagedSecurities, int, typing.MutableMapping]:
|
|
191
|
+
"""get_securities # noqa: E501
|
|
192
|
+
|
|
193
|
+
search for securities within the security universe for the user/client # noqa: E501
|
|
194
|
+
This method makes a synchronous HTTP request. Returns http data, http status and headers
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
Keyword Args:
|
|
198
|
+
name (str): search by (part of) security name. [optional]
|
|
199
|
+
identifier (str): search by security identifier (e.g. cusip or tradingSymbol).. [optional]
|
|
200
|
+
as_of_date (str): search only within valid securities for the specified asOfDate. The value should be in YYYY-MM-DD format. A special wildcard value 'latestMonthEnd' is supported as well. [optional]
|
|
201
|
+
udfs (str): specify list of UDFs to retrieve for every security in the result. [optional]
|
|
202
|
+
pagination_offset (int): Specifies the starting index for pagination.. [optional]
|
|
203
|
+
pagination_limit (int): Specifies the maximum number of results to return. [optional]
|
|
204
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
205
|
+
will be returned without reading/decoding response data.
|
|
206
|
+
Default is True. NOTE: if this API returns a file, it is the responsibility
|
|
207
|
+
of the caller to close the file stream.
|
|
208
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
209
|
+
one number provided, it will be total request timeout. It can also
|
|
210
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
211
|
+
Default is None.
|
|
212
|
+
_check_input_type (bool): specifies if type checking
|
|
213
|
+
should be done one the data sent to the server.
|
|
214
|
+
Default is True.
|
|
215
|
+
_check_return_type (bool): specifies if type checking
|
|
216
|
+
should be done one the data received from the server.
|
|
217
|
+
Default is True.
|
|
218
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
219
|
+
are serialized names, as specified in the OpenAPI document.
|
|
220
|
+
False if the variable names in the input data
|
|
221
|
+
are pythonic names, e.g. snake case (default)
|
|
222
|
+
_content_type (str/None): force body content-type.
|
|
223
|
+
Default is None and content-type will be predicted by allowed
|
|
224
|
+
content-types and body.
|
|
225
|
+
_host_index (int/None): specifies the index of the server
|
|
226
|
+
that we want to use.
|
|
227
|
+
Default is read from the configuration.
|
|
228
|
+
Returns:
|
|
229
|
+
PagedSecurities
|
|
230
|
+
Response Object
|
|
231
|
+
int
|
|
232
|
+
Http Status Code
|
|
233
|
+
dict
|
|
234
|
+
Dictionary of the response headers
|
|
235
|
+
"""
|
|
236
|
+
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=False, async_req=False)
|
|
237
|
+
return self.get_securities_endpoint.call_with_http_info(**kwargs)
|
|
238
|
+
|
|
239
|
+
def get_securities_async(
|
|
240
|
+
self,
|
|
241
|
+
**kwargs
|
|
242
|
+
) -> "ApplyResult[PagedSecurities]":
|
|
243
|
+
"""get_securities # noqa: E501
|
|
244
|
+
|
|
245
|
+
search for securities within the security universe for the user/client # noqa: E501
|
|
246
|
+
This method makes a asynchronous HTTP request. Returns the http data, wrapped in ApplyResult
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
Keyword Args:
|
|
250
|
+
name (str): search by (part of) security name. [optional]
|
|
251
|
+
identifier (str): search by security identifier (e.g. cusip or tradingSymbol).. [optional]
|
|
252
|
+
as_of_date (str): search only within valid securities for the specified asOfDate. The value should be in YYYY-MM-DD format. A special wildcard value 'latestMonthEnd' is supported as well. [optional]
|
|
253
|
+
udfs (str): specify list of UDFs to retrieve for every security in the result. [optional]
|
|
254
|
+
pagination_offset (int): Specifies the starting index for pagination.. [optional]
|
|
255
|
+
pagination_limit (int): Specifies the maximum number of results to return. [optional]
|
|
256
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
257
|
+
will be returned without reading/decoding response data.
|
|
258
|
+
Default is True. NOTE: if this API returns a file, it is the responsibility
|
|
259
|
+
of the caller to close the file stream.
|
|
260
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
261
|
+
one number provided, it will be total request timeout. It can also
|
|
262
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
263
|
+
Default is None.
|
|
264
|
+
_check_input_type (bool): specifies if type checking
|
|
265
|
+
should be done one the data sent to the server.
|
|
266
|
+
Default is True.
|
|
267
|
+
_check_return_type (bool): specifies if type checking
|
|
268
|
+
should be done one the data received from the server.
|
|
269
|
+
Default is True.
|
|
270
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
271
|
+
are serialized names, as specified in the OpenAPI document.
|
|
272
|
+
False if the variable names in the input data
|
|
273
|
+
are pythonic names, e.g. snake case (default)
|
|
274
|
+
_content_type (str/None): force body content-type.
|
|
275
|
+
Default is None and content-type will be predicted by allowed
|
|
276
|
+
content-types and body.
|
|
277
|
+
_host_index (int/None): specifies the index of the server
|
|
278
|
+
that we want to use.
|
|
279
|
+
Default is read from the configuration.
|
|
280
|
+
Returns:
|
|
281
|
+
ApplyResult[PagedSecurities]
|
|
282
|
+
"""
|
|
283
|
+
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=True, async_req=True)
|
|
284
|
+
return self.get_securities_endpoint.call_with_http_info(**kwargs)
|
|
285
|
+
|
|
286
|
+
def get_securities_with_http_info_async(
|
|
287
|
+
self,
|
|
288
|
+
**kwargs
|
|
289
|
+
) -> "ApplyResult[typing.Tuple[PagedSecurities, int, typing.MutableMapping]]":
|
|
290
|
+
"""get_securities # noqa: E501
|
|
291
|
+
|
|
292
|
+
search for securities within the security universe for the user/client # noqa: E501
|
|
293
|
+
This method makes a asynchronous HTTP request. Returns http data, http status and headers, wrapped in ApplyResult
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
Keyword Args:
|
|
297
|
+
name (str): search by (part of) security name. [optional]
|
|
298
|
+
identifier (str): search by security identifier (e.g. cusip or tradingSymbol).. [optional]
|
|
299
|
+
as_of_date (str): search only within valid securities for the specified asOfDate. The value should be in YYYY-MM-DD format. A special wildcard value 'latestMonthEnd' is supported as well. [optional]
|
|
300
|
+
udfs (str): specify list of UDFs to retrieve for every security in the result. [optional]
|
|
301
|
+
pagination_offset (int): Specifies the starting index for pagination.. [optional]
|
|
302
|
+
pagination_limit (int): Specifies the maximum number of results to return. [optional]
|
|
303
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
304
|
+
will be returned without reading/decoding response data.
|
|
305
|
+
Default is True. NOTE: if this API returns a file, it is the responsibility
|
|
306
|
+
of the caller to close the file stream.
|
|
307
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
308
|
+
one number provided, it will be total request timeout. It can also
|
|
309
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
310
|
+
Default is None.
|
|
311
|
+
_check_input_type (bool): specifies if type checking
|
|
312
|
+
should be done one the data sent to the server.
|
|
313
|
+
Default is True.
|
|
314
|
+
_check_return_type (bool): specifies if type checking
|
|
315
|
+
should be done one the data received from the server.
|
|
316
|
+
Default is True.
|
|
317
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
318
|
+
are serialized names, as specified in the OpenAPI document.
|
|
319
|
+
False if the variable names in the input data
|
|
320
|
+
are pythonic names, e.g. snake case (default)
|
|
321
|
+
_content_type (str/None): force body content-type.
|
|
322
|
+
Default is None and content-type will be predicted by allowed
|
|
323
|
+
content-types and body.
|
|
324
|
+
_host_index (int/None): specifies the index of the server
|
|
325
|
+
that we want to use.
|
|
326
|
+
Default is read from the configuration.
|
|
327
|
+
Returns:
|
|
328
|
+
ApplyResult[(PagedSecurities, int, typing.Dict)]
|
|
329
|
+
"""
|
|
330
|
+
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=False, async_req=True)
|
|
331
|
+
return self.get_securities_endpoint.call_with_http_info(**kwargs)
|
|
332
|
+
|
|
333
|
+
|