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.
Files changed (141) hide show
  1. fds/__init__.py +0 -0
  2. fds/sdk/ProposalGenerationEngine/__init__.py +28 -0
  3. fds/sdk/ProposalGenerationEngine/api/__init__.py +3 -0
  4. fds/sdk/ProposalGenerationEngine/api/ex_post_api.py +1451 -0
  5. fds/sdk/ProposalGenerationEngine/api/lookup_api.py +333 -0
  6. fds/sdk/ProposalGenerationEngine/api_client.py +939 -0
  7. fds/sdk/ProposalGenerationEngine/apis/__init__.py +18 -0
  8. fds/sdk/ProposalGenerationEngine/configuration.py +500 -0
  9. fds/sdk/ProposalGenerationEngine/exceptions.py +160 -0
  10. fds/sdk/ProposalGenerationEngine/model/__init__.py +5 -0
  11. fds/sdk/ProposalGenerationEngine/model/array.py +279 -0
  12. fds/sdk/ProposalGenerationEngine/model/backfill_data.py +264 -0
  13. fds/sdk/ProposalGenerationEngine/model/base_settings.py +264 -0
  14. fds/sdk/ProposalGenerationEngine/model/boxplot.py +266 -0
  15. fds/sdk/ProposalGenerationEngine/model/boxplot_boxplot_summary.py +284 -0
  16. fds/sdk/ProposalGenerationEngine/model/cl_pair.py +252 -0
  17. fds/sdk/ProposalGenerationEngine/model/correlation_matrix.py +260 -0
  18. fds/sdk/ProposalGenerationEngine/model/correlation_stats.py +268 -0
  19. fds/sdk/ProposalGenerationEngine/model/dated_correlation_stats.py +268 -0
  20. fds/sdk/ProposalGenerationEngine/model/dated_correlation_stats_per_time_window.py +262 -0
  21. fds/sdk/ProposalGenerationEngine/model/dated_node_stats.py +262 -0
  22. fds/sdk/ProposalGenerationEngine/model/drawdown.py +268 -0
  23. fds/sdk/ProposalGenerationEngine/model/drawdown_stats.py +290 -0
  24. fds/sdk/ProposalGenerationEngine/model/entity.py +256 -0
  25. fds/sdk/ProposalGenerationEngine/model/entity_stats.py +292 -0
  26. fds/sdk/ProposalGenerationEngine/model/error.py +274 -0
  27. fds/sdk/ProposalGenerationEngine/model/errors.py +262 -0
  28. fds/sdk/ProposalGenerationEngine/model/ex_post_period_stats.py +333 -0
  29. fds/sdk/ProposalGenerationEngine/model/ex_post_period_stats_all_of.py +262 -0
  30. fds/sdk/ProposalGenerationEngine/model/ex_post_portfolio.py +343 -0
  31. fds/sdk/ProposalGenerationEngine/model/ex_post_portfolio_all_of.py +268 -0
  32. fds/sdk/ProposalGenerationEngine/model/ex_post_portfolio_investment.py +329 -0
  33. fds/sdk/ProposalGenerationEngine/model/ex_post_portfolio_investment_all_of.py +266 -0
  34. fds/sdk/ProposalGenerationEngine/model/ex_post_portfolio_investment_response.py +357 -0
  35. fds/sdk/ProposalGenerationEngine/model/ex_post_portfolio_investment_response_all_of.py +284 -0
  36. fds/sdk/ProposalGenerationEngine/model/ex_post_portfolio_investment_series_response.py +353 -0
  37. fds/sdk/ProposalGenerationEngine/model/ex_post_portfolio_investment_series_response_all_of.py +280 -0
  38. fds/sdk/ProposalGenerationEngine/model/ex_post_rolling_settings.py +338 -0
  39. fds/sdk/ProposalGenerationEngine/model/ex_post_rolling_settings_all_of.py +280 -0
  40. fds/sdk/ProposalGenerationEngine/model/ex_post_series.py +268 -0
  41. fds/sdk/ProposalGenerationEngine/model/ex_post_series_data.py +280 -0
  42. fds/sdk/ProposalGenerationEngine/model/ex_post_series_response.py +268 -0
  43. fds/sdk/ProposalGenerationEngine/model/ex_post_series_response_data.py +272 -0
  44. fds/sdk/ProposalGenerationEngine/model/ex_post_series_response_meta.py +262 -0
  45. fds/sdk/ProposalGenerationEngine/model/ex_post_series_rolling.py +268 -0
  46. fds/sdk/ProposalGenerationEngine/model/ex_post_series_rolling_data.py +278 -0
  47. fds/sdk/ProposalGenerationEngine/model/ex_post_series_rolling_response.py +274 -0
  48. fds/sdk/ProposalGenerationEngine/model/ex_post_series_rolling_response_data.py +262 -0
  49. fds/sdk/ProposalGenerationEngine/model/ex_post_series_rolling_response_meta.py +262 -0
  50. fds/sdk/ProposalGenerationEngine/model/ex_post_series_rolling_settings.py +341 -0
  51. fds/sdk/ProposalGenerationEngine/model/ex_post_series_settings.py +353 -0
  52. fds/sdk/ProposalGenerationEngine/model/ex_post_series_settings_all_of.py +267 -0
  53. fds/sdk/ProposalGenerationEngine/model/ex_post_settings.py +355 -0
  54. fds/sdk/ProposalGenerationEngine/model/ex_post_settings_all_of.py +262 -0
  55. fds/sdk/ProposalGenerationEngine/model/ex_post_stats.py +268 -0
  56. fds/sdk/ProposalGenerationEngine/model/ex_post_stats_correlations.py +268 -0
  57. fds/sdk/ProposalGenerationEngine/model/ex_post_stats_correlations_data.py +280 -0
  58. fds/sdk/ProposalGenerationEngine/model/ex_post_stats_correlations_response.py +274 -0
  59. fds/sdk/ProposalGenerationEngine/model/ex_post_stats_correlations_response_meta.py +262 -0
  60. fds/sdk/ProposalGenerationEngine/model/ex_post_stats_correlations_settings.py +346 -0
  61. fds/sdk/ProposalGenerationEngine/model/ex_post_stats_correlations_settings_all_of.py +275 -0
  62. fds/sdk/ProposalGenerationEngine/model/ex_post_stats_data.py +280 -0
  63. fds/sdk/ProposalGenerationEngine/model/ex_post_stats_factor_exposure.py +268 -0
  64. fds/sdk/ProposalGenerationEngine/model/ex_post_stats_factor_exposure_data.py +280 -0
  65. fds/sdk/ProposalGenerationEngine/model/ex_post_stats_factor_exposure_response.py +274 -0
  66. fds/sdk/ProposalGenerationEngine/model/ex_post_stats_factor_exposure_response_meta.py +262 -0
  67. fds/sdk/ProposalGenerationEngine/model/ex_post_stats_factor_exposure_settings.py +338 -0
  68. fds/sdk/ProposalGenerationEngine/model/ex_post_stats_factor_exposure_settings_all_of.py +267 -0
  69. fds/sdk/ProposalGenerationEngine/model/ex_post_stats_response.py +268 -0
  70. fds/sdk/ProposalGenerationEngine/model/ex_post_stats_response_data.py +272 -0
  71. fds/sdk/ProposalGenerationEngine/model/ex_post_stats_response_meta.py +262 -0
  72. fds/sdk/ProposalGenerationEngine/model/ex_post_stats_rolling.py +268 -0
  73. fds/sdk/ProposalGenerationEngine/model/ex_post_stats_rolling_data.py +280 -0
  74. fds/sdk/ProposalGenerationEngine/model/ex_post_stats_rolling_response.py +274 -0
  75. fds/sdk/ProposalGenerationEngine/model/ex_post_stats_rolling_response_data.py +262 -0
  76. fds/sdk/ProposalGenerationEngine/model/ex_post_stats_rolling_response_meta.py +262 -0
  77. fds/sdk/ProposalGenerationEngine/model/ex_post_stats_rolling_settings.py +339 -0
  78. fds/sdk/ProposalGenerationEngine/model/ex_post_stats_rolling_settings_all_of.py +262 -0
  79. fds/sdk/ProposalGenerationEngine/model/ex_post_stats_settings.py +360 -0
  80. fds/sdk/ProposalGenerationEngine/model/ex_post_stats_settings_all_of.py +256 -0
  81. fds/sdk/ProposalGenerationEngine/model/exposure.py +282 -0
  82. fds/sdk/ProposalGenerationEngine/model/investment.py +343 -0
  83. fds/sdk/ProposalGenerationEngine/model/investment_all_of.py +280 -0
  84. fds/sdk/ProposalGenerationEngine/model/key_value_pair.py +260 -0
  85. fds/sdk/ProposalGenerationEngine/model/level.py +256 -0
  86. fds/sdk/ProposalGenerationEngine/model/paged_securities.py +276 -0
  87. fds/sdk/ProposalGenerationEngine/model/paged_securities_meta.py +262 -0
  88. fds/sdk/ProposalGenerationEngine/model/paged_securities_meta_pagination.py +260 -0
  89. fds/sdk/ProposalGenerationEngine/model/performance_stats.py +264 -0
  90. fds/sdk/ProposalGenerationEngine/model/period.py +260 -0
  91. fds/sdk/ProposalGenerationEngine/model/period_correlation_stats.py +333 -0
  92. fds/sdk/ProposalGenerationEngine/model/period_correlation_stats_all_of.py +262 -0
  93. fds/sdk/ProposalGenerationEngine/model/period_info.py +268 -0
  94. fds/sdk/ProposalGenerationEngine/model/period_series.py +333 -0
  95. fds/sdk/ProposalGenerationEngine/model/period_series_all_of.py +262 -0
  96. fds/sdk/ProposalGenerationEngine/model/periods.py +262 -0
  97. fds/sdk/ProposalGenerationEngine/model/portfolio.py +331 -0
  98. fds/sdk/ProposalGenerationEngine/model/portfolio_all_of.py +266 -0
  99. fds/sdk/ProposalGenerationEngine/model/portfolio_correlation_matrix.py +260 -0
  100. fds/sdk/ProposalGenerationEngine/model/portfolio_entity.py +266 -0
  101. fds/sdk/ProposalGenerationEngine/model/portfolio_entity_details.py +256 -0
  102. fds/sdk/ProposalGenerationEngine/model/portfolio_investment.py +268 -0
  103. fds/sdk/ProposalGenerationEngine/model/portfolio_with_ex_post_series.py +333 -0
  104. fds/sdk/ProposalGenerationEngine/model/portfolio_with_ex_post_series_all_of.py +268 -0
  105. fds/sdk/ProposalGenerationEngine/model/portfolio_with_ex_post_stats.py +337 -0
  106. fds/sdk/ProposalGenerationEngine/model/portfolio_with_ex_post_stats_all_of.py +272 -0
  107. fds/sdk/ProposalGenerationEngine/model/portfolio_with_rolling_series.py +327 -0
  108. fds/sdk/ProposalGenerationEngine/model/portfolio_with_rolling_series_all_of.py +262 -0
  109. fds/sdk/ProposalGenerationEngine/model/portfolio_with_rolling_stats.py +327 -0
  110. fds/sdk/ProposalGenerationEngine/model/portfolio_with_rolling_stats_all_of.py +262 -0
  111. fds/sdk/ProposalGenerationEngine/model/rebalancing.py +270 -0
  112. fds/sdk/ProposalGenerationEngine/model/relative_risk_stats.py +280 -0
  113. fds/sdk/ProposalGenerationEngine/model/return_stats.py +264 -0
  114. fds/sdk/ProposalGenerationEngine/model/risk_node_stats.py +304 -0
  115. fds/sdk/ProposalGenerationEngine/model/risk_stats.py +290 -0
  116. fds/sdk/ProposalGenerationEngine/model/rolling_series.py +262 -0
  117. fds/sdk/ProposalGenerationEngine/model/rolling_series_per_time_window.py +266 -0
  118. fds/sdk/ProposalGenerationEngine/model/rolling_series_per_time_window_returns.py +266 -0
  119. fds/sdk/ProposalGenerationEngine/model/rolling_stats.py +262 -0
  120. fds/sdk/ProposalGenerationEngine/model/rolling_stats_per_time_window.py +262 -0
  121. fds/sdk/ProposalGenerationEngine/model/rolling_stats_per_time_window_rolling.py +256 -0
  122. fds/sdk/ProposalGenerationEngine/model/serie_stats.py +282 -0
  123. fds/sdk/ProposalGenerationEngine/model/series_stats.py +266 -0
  124. fds/sdk/ProposalGenerationEngine/model/settings.py +338 -0
  125. fds/sdk/ProposalGenerationEngine/model/settings_all_of.py +269 -0
  126. fds/sdk/ProposalGenerationEngine/model/stats.py +311 -0
  127. fds/sdk/ProposalGenerationEngine/model/time_window.py +256 -0
  128. fds/sdk/ProposalGenerationEngine/model/time_window_series.py +262 -0
  129. fds/sdk/ProposalGenerationEngine/model/time_window_stats.py +268 -0
  130. fds/sdk/ProposalGenerationEngine/model/time_window_stats_generic.py +256 -0
  131. fds/sdk/ProposalGenerationEngine/model/transaction_rule.py +334 -0
  132. fds/sdk/ProposalGenerationEngine/model/ui_value_object.py +264 -0
  133. fds/sdk/ProposalGenerationEngine/model_utils.py +2062 -0
  134. fds/sdk/ProposalGenerationEngine/models/__init__.py +133 -0
  135. fds/sdk/ProposalGenerationEngine/rest.py +347 -0
  136. fds/sdk/__init__.py +0 -0
  137. fds_sdk_proposalgenerationengine-0.1.0.dist-info/METADATA +456 -0
  138. fds_sdk_proposalgenerationengine-0.1.0.dist-info/RECORD +141 -0
  139. fds_sdk_proposalgenerationengine-0.1.0.dist-info/WHEEL +5 -0
  140. fds_sdk_proposalgenerationengine-0.1.0.dist-info/licenses/LICENSE +202 -0
  141. fds_sdk_proposalgenerationengine-0.1.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,1451 @@
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.errors import Errors
29
+ from fds.sdk.ProposalGenerationEngine.model.ex_post_series import ExPostSeries
30
+ from fds.sdk.ProposalGenerationEngine.model.ex_post_series_response import ExPostSeriesResponse
31
+ from fds.sdk.ProposalGenerationEngine.model.ex_post_series_rolling import ExPostSeriesRolling
32
+ from fds.sdk.ProposalGenerationEngine.model.ex_post_series_rolling_response import ExPostSeriesRollingResponse
33
+ from fds.sdk.ProposalGenerationEngine.model.ex_post_stats import ExPostStats
34
+ from fds.sdk.ProposalGenerationEngine.model.ex_post_stats_correlations import ExPostStatsCorrelations
35
+ from fds.sdk.ProposalGenerationEngine.model.ex_post_stats_correlations_response import ExPostStatsCorrelationsResponse
36
+ from fds.sdk.ProposalGenerationEngine.model.ex_post_stats_factor_exposure import ExPostStatsFactorExposure
37
+ from fds.sdk.ProposalGenerationEngine.model.ex_post_stats_factor_exposure_response import ExPostStatsFactorExposureResponse
38
+ from fds.sdk.ProposalGenerationEngine.model.ex_post_stats_response import ExPostStatsResponse
39
+ from fds.sdk.ProposalGenerationEngine.model.ex_post_stats_rolling import ExPostStatsRolling
40
+ from fds.sdk.ProposalGenerationEngine.model.ex_post_stats_rolling_response import ExPostStatsRollingResponse
41
+
42
+
43
+
44
+
45
+
46
+ class ExPostApi(object):
47
+ """NOTE: This class is auto generated by OpenAPI Generator
48
+ Ref: https://openapi-generator.tech
49
+
50
+ Do not edit the class manually.
51
+ """
52
+
53
+ def __init__(self, api_client=None):
54
+ if api_client is None:
55
+ api_client = ApiClient()
56
+ self.api_client = api_client
57
+
58
+ self.calculate_ex_post_correlations_stats_endpoint = _Endpoint(
59
+ settings={
60
+ 'response_type': (
61
+ { 200: (ExPostStatsCorrelationsResponse,), 501: (Errors,), },
62
+ None
63
+ ),
64
+ 'auth': [
65
+ 'FactSetApiKey',
66
+ 'FactSetOAuth2'
67
+ ],
68
+ 'endpoint_path': '/portfolios/ex-post/stats/correlations',
69
+ 'operation_id': 'calculate_ex_post_correlations_stats',
70
+ 'http_method': 'POST',
71
+ 'servers': None,
72
+ },
73
+ params_map={
74
+ 'all': [
75
+ 'ex_post_stats_correlations',
76
+ ],
77
+ 'required': [],
78
+ 'nullable': [
79
+ ],
80
+ 'enum': [
81
+ ],
82
+ 'validation': [
83
+ ]
84
+ },
85
+ root_map={
86
+ 'validations': {
87
+ },
88
+ 'allowed_values': {
89
+ },
90
+ 'openapi_types': {
91
+ 'ex_post_stats_correlations':
92
+ (ExPostStatsCorrelations,),
93
+ },
94
+ 'attribute_map': {
95
+ },
96
+ 'location_map': {
97
+ 'ex_post_stats_correlations': 'body',
98
+ },
99
+ 'collection_format_map': {
100
+ }
101
+ },
102
+ headers_map={
103
+ 'accept': [
104
+ 'application/json'
105
+ ],
106
+ 'content_type': [
107
+ 'application/json'
108
+ ]
109
+ },
110
+ api_client=api_client
111
+ )
112
+
113
+ self.calculate_ex_post_factor_exposure_stats_endpoint = _Endpoint(
114
+ settings={
115
+ 'response_type': (
116
+ { 200: (ExPostStatsFactorExposureResponse,), 501: (Errors,), },
117
+ None
118
+ ),
119
+ 'auth': [
120
+ 'FactSetApiKey',
121
+ 'FactSetOAuth2'
122
+ ],
123
+ 'endpoint_path': '/portfolios/ex-post/stats/factor-exposure',
124
+ 'operation_id': 'calculate_ex_post_factor_exposure_stats',
125
+ 'http_method': 'POST',
126
+ 'servers': None,
127
+ },
128
+ params_map={
129
+ 'all': [
130
+ 'ex_post_stats_factor_exposure',
131
+ ],
132
+ 'required': [],
133
+ 'nullable': [
134
+ ],
135
+ 'enum': [
136
+ ],
137
+ 'validation': [
138
+ ]
139
+ },
140
+ root_map={
141
+ 'validations': {
142
+ },
143
+ 'allowed_values': {
144
+ },
145
+ 'openapi_types': {
146
+ 'ex_post_stats_factor_exposure':
147
+ (ExPostStatsFactorExposure,),
148
+ },
149
+ 'attribute_map': {
150
+ },
151
+ 'location_map': {
152
+ 'ex_post_stats_factor_exposure': 'body',
153
+ },
154
+ 'collection_format_map': {
155
+ }
156
+ },
157
+ headers_map={
158
+ 'accept': [
159
+ 'application/json'
160
+ ],
161
+ 'content_type': [
162
+ 'application/json'
163
+ ]
164
+ },
165
+ api_client=api_client
166
+ )
167
+
168
+ self.calculate_ex_post_rolling_series_endpoint = _Endpoint(
169
+ settings={
170
+ 'response_type': (
171
+ { 200: (ExPostSeriesRollingResponse,), 501: (Errors,), },
172
+ None
173
+ ),
174
+ 'auth': [
175
+ 'FactSetApiKey',
176
+ 'FactSetOAuth2'
177
+ ],
178
+ 'endpoint_path': '/portfolios/ex-post/series/rolling',
179
+ 'operation_id': 'calculate_ex_post_rolling_series',
180
+ 'http_method': 'POST',
181
+ 'servers': None,
182
+ },
183
+ params_map={
184
+ 'all': [
185
+ 'ex_post_series_rolling',
186
+ ],
187
+ 'required': [],
188
+ 'nullable': [
189
+ ],
190
+ 'enum': [
191
+ ],
192
+ 'validation': [
193
+ ]
194
+ },
195
+ root_map={
196
+ 'validations': {
197
+ },
198
+ 'allowed_values': {
199
+ },
200
+ 'openapi_types': {
201
+ 'ex_post_series_rolling':
202
+ (ExPostSeriesRolling,),
203
+ },
204
+ 'attribute_map': {
205
+ },
206
+ 'location_map': {
207
+ 'ex_post_series_rolling': 'body',
208
+ },
209
+ 'collection_format_map': {
210
+ }
211
+ },
212
+ headers_map={
213
+ 'accept': [
214
+ 'application/json'
215
+ ],
216
+ 'content_type': [
217
+ 'application/json'
218
+ ]
219
+ },
220
+ api_client=api_client
221
+ )
222
+
223
+ self.calculate_ex_post_rolling_stats_endpoint = _Endpoint(
224
+ settings={
225
+ 'response_type': (
226
+ { 200: (ExPostStatsRollingResponse,), 501: (Errors,), },
227
+ None
228
+ ),
229
+ 'auth': [
230
+ 'FactSetApiKey',
231
+ 'FactSetOAuth2'
232
+ ],
233
+ 'endpoint_path': '/portfolios/ex-post/stats/rolling',
234
+ 'operation_id': 'calculate_ex_post_rolling_stats',
235
+ 'http_method': 'POST',
236
+ 'servers': None,
237
+ },
238
+ params_map={
239
+ 'all': [
240
+ 'ex_post_stats_rolling',
241
+ ],
242
+ 'required': [],
243
+ 'nullable': [
244
+ ],
245
+ 'enum': [
246
+ ],
247
+ 'validation': [
248
+ ]
249
+ },
250
+ root_map={
251
+ 'validations': {
252
+ },
253
+ 'allowed_values': {
254
+ },
255
+ 'openapi_types': {
256
+ 'ex_post_stats_rolling':
257
+ (ExPostStatsRolling,),
258
+ },
259
+ 'attribute_map': {
260
+ },
261
+ 'location_map': {
262
+ 'ex_post_stats_rolling': 'body',
263
+ },
264
+ 'collection_format_map': {
265
+ }
266
+ },
267
+ headers_map={
268
+ 'accept': [
269
+ 'application/json'
270
+ ],
271
+ 'content_type': [
272
+ 'application/json'
273
+ ]
274
+ },
275
+ api_client=api_client
276
+ )
277
+
278
+ self.calculate_ex_post_series_endpoint = _Endpoint(
279
+ settings={
280
+ 'response_type': (
281
+ { 200: (ExPostSeriesResponse,), 400: (Errors,), },
282
+ None
283
+ ),
284
+ 'auth': [
285
+ 'FactSetApiKey',
286
+ 'FactSetOAuth2'
287
+ ],
288
+ 'endpoint_path': '/portfolios/ex-post/series',
289
+ 'operation_id': 'calculate_ex_post_series',
290
+ 'http_method': 'POST',
291
+ 'servers': None,
292
+ },
293
+ params_map={
294
+ 'all': [
295
+ 'ex_post_series',
296
+ ],
297
+ 'required': [],
298
+ 'nullable': [
299
+ ],
300
+ 'enum': [
301
+ ],
302
+ 'validation': [
303
+ ]
304
+ },
305
+ root_map={
306
+ 'validations': {
307
+ },
308
+ 'allowed_values': {
309
+ },
310
+ 'openapi_types': {
311
+ 'ex_post_series':
312
+ (ExPostSeries,),
313
+ },
314
+ 'attribute_map': {
315
+ },
316
+ 'location_map': {
317
+ 'ex_post_series': 'body',
318
+ },
319
+ 'collection_format_map': {
320
+ }
321
+ },
322
+ headers_map={
323
+ 'accept': [
324
+ 'application/json'
325
+ ],
326
+ 'content_type': [
327
+ 'application/json'
328
+ ]
329
+ },
330
+ api_client=api_client
331
+ )
332
+
333
+ self.calculate_ex_post_stats_endpoint = _Endpoint(
334
+ settings={
335
+ 'response_type': (
336
+ { 200: (ExPostStatsResponse,), 400: (Errors,), },
337
+ None
338
+ ),
339
+ 'auth': [
340
+ 'FactSetApiKey',
341
+ 'FactSetOAuth2'
342
+ ],
343
+ 'endpoint_path': '/portfolios/ex-post/stats',
344
+ 'operation_id': 'calculate_ex_post_stats',
345
+ 'http_method': 'POST',
346
+ 'servers': None,
347
+ },
348
+ params_map={
349
+ 'all': [
350
+ 'ex_post_stats',
351
+ ],
352
+ 'required': [],
353
+ 'nullable': [
354
+ ],
355
+ 'enum': [
356
+ ],
357
+ 'validation': [
358
+ ]
359
+ },
360
+ root_map={
361
+ 'validations': {
362
+ },
363
+ 'allowed_values': {
364
+ },
365
+ 'openapi_types': {
366
+ 'ex_post_stats':
367
+ (ExPostStats,),
368
+ },
369
+ 'attribute_map': {
370
+ },
371
+ 'location_map': {
372
+ 'ex_post_stats': 'body',
373
+ },
374
+ 'collection_format_map': {
375
+ }
376
+ },
377
+ headers_map={
378
+ 'accept': [
379
+ 'application/json'
380
+ ],
381
+ 'content_type': [
382
+ 'application/json'
383
+ ]
384
+ },
385
+ api_client=api_client
386
+ )
387
+
388
+
389
+ @staticmethod
390
+ def apply_kwargs_defaults(kwargs, return_http_data_only, async_req):
391
+ kwargs["async_req"] = async_req
392
+ kwargs["_return_http_data_only"] = return_http_data_only
393
+ kwargs["_preload_content"] = kwargs.get("_preload_content", True)
394
+ kwargs["_request_timeout"] = kwargs.get("_request_timeout", None)
395
+ kwargs["_check_input_type"] = kwargs.get("_check_input_type", True)
396
+ kwargs["_check_return_type"] = kwargs.get("_check_return_type", True)
397
+ kwargs["_spec_property_naming"] = kwargs.get("_spec_property_naming", False)
398
+ kwargs["_content_type"] = kwargs.get("_content_type")
399
+ kwargs["_host_index"] = kwargs.get("_host_index")
400
+
401
+
402
+ def calculate_ex_post_correlations_stats(
403
+ self,
404
+ **kwargs
405
+ ) -> ExPostStatsCorrelationsResponse:
406
+ """calculate portfolio vs benchmark correlation and correlation between portfolio holdings # noqa: E501
407
+
408
+ Notes:<br> * id 'Cash proxy' can be used in order to set cash amount for the portfolio # noqa: E501
409
+ This method makes a synchronous HTTP request. Returns the http data only
410
+
411
+
412
+ Keyword Args:
413
+ ex_post_stats_correlations (ExPostStatsCorrelations): [optional]
414
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
415
+ will be returned without reading/decoding response data.
416
+ Default is True. NOTE: if this API returns a file, it is the responsibility
417
+ of the caller to close the file stream.
418
+ _request_timeout (int/float/tuple): timeout setting for this request. If
419
+ one number provided, it will be total request timeout. It can also
420
+ be a pair (tuple) of (connection, read) timeouts.
421
+ Default is None.
422
+ _check_input_type (bool): specifies if type checking
423
+ should be done one the data sent to the server.
424
+ Default is True.
425
+ _check_return_type (bool): specifies if type checking
426
+ should be done one the data received from the server.
427
+ Default is True.
428
+ _spec_property_naming (bool): True if the variable names in the input data
429
+ are serialized names, as specified in the OpenAPI document.
430
+ False if the variable names in the input data
431
+ are pythonic names, e.g. snake case (default)
432
+ _content_type (str/None): force body content-type.
433
+ Default is None and content-type will be predicted by allowed
434
+ content-types and body.
435
+ _host_index (int/None): specifies the index of the server
436
+ that we want to use.
437
+ Default is read from the configuration.
438
+ Returns:
439
+ ExPostStatsCorrelationsResponse
440
+ Response Object
441
+ """
442
+ self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=True, async_req=False)
443
+ return self.calculate_ex_post_correlations_stats_endpoint.call_with_http_info(**kwargs)
444
+
445
+ def calculate_ex_post_correlations_stats_with_http_info(
446
+ self,
447
+ **kwargs
448
+ ) -> typing.Tuple[ExPostStatsCorrelationsResponse, int, typing.MutableMapping]:
449
+ """calculate portfolio vs benchmark correlation and correlation between portfolio holdings # noqa: E501
450
+
451
+ Notes:<br> * id 'Cash proxy' can be used in order to set cash amount for the portfolio # noqa: E501
452
+ This method makes a synchronous HTTP request. Returns http data, http status and headers
453
+
454
+
455
+ Keyword Args:
456
+ ex_post_stats_correlations (ExPostStatsCorrelations): [optional]
457
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
458
+ will be returned without reading/decoding response data.
459
+ Default is True. NOTE: if this API returns a file, it is the responsibility
460
+ of the caller to close the file stream.
461
+ _request_timeout (int/float/tuple): timeout setting for this request. If
462
+ one number provided, it will be total request timeout. It can also
463
+ be a pair (tuple) of (connection, read) timeouts.
464
+ Default is None.
465
+ _check_input_type (bool): specifies if type checking
466
+ should be done one the data sent to the server.
467
+ Default is True.
468
+ _check_return_type (bool): specifies if type checking
469
+ should be done one the data received from the server.
470
+ Default is True.
471
+ _spec_property_naming (bool): True if the variable names in the input data
472
+ are serialized names, as specified in the OpenAPI document.
473
+ False if the variable names in the input data
474
+ are pythonic names, e.g. snake case (default)
475
+ _content_type (str/None): force body content-type.
476
+ Default is None and content-type will be predicted by allowed
477
+ content-types and body.
478
+ _host_index (int/None): specifies the index of the server
479
+ that we want to use.
480
+ Default is read from the configuration.
481
+ Returns:
482
+ ExPostStatsCorrelationsResponse
483
+ Response Object
484
+ int
485
+ Http Status Code
486
+ dict
487
+ Dictionary of the response headers
488
+ """
489
+ self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=False, async_req=False)
490
+ return self.calculate_ex_post_correlations_stats_endpoint.call_with_http_info(**kwargs)
491
+
492
+ def calculate_ex_post_correlations_stats_async(
493
+ self,
494
+ **kwargs
495
+ ) -> "ApplyResult[ExPostStatsCorrelationsResponse]":
496
+ """calculate portfolio vs benchmark correlation and correlation between portfolio holdings # noqa: E501
497
+
498
+ Notes:<br> * id 'Cash proxy' can be used in order to set cash amount for the portfolio # noqa: E501
499
+ This method makes a asynchronous HTTP request. Returns the http data, wrapped in ApplyResult
500
+
501
+
502
+ Keyword Args:
503
+ ex_post_stats_correlations (ExPostStatsCorrelations): [optional]
504
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
505
+ will be returned without reading/decoding response data.
506
+ Default is True. NOTE: if this API returns a file, it is the responsibility
507
+ of the caller to close the file stream.
508
+ _request_timeout (int/float/tuple): timeout setting for this request. If
509
+ one number provided, it will be total request timeout. It can also
510
+ be a pair (tuple) of (connection, read) timeouts.
511
+ Default is None.
512
+ _check_input_type (bool): specifies if type checking
513
+ should be done one the data sent to the server.
514
+ Default is True.
515
+ _check_return_type (bool): specifies if type checking
516
+ should be done one the data received from the server.
517
+ Default is True.
518
+ _spec_property_naming (bool): True if the variable names in the input data
519
+ are serialized names, as specified in the OpenAPI document.
520
+ False if the variable names in the input data
521
+ are pythonic names, e.g. snake case (default)
522
+ _content_type (str/None): force body content-type.
523
+ Default is None and content-type will be predicted by allowed
524
+ content-types and body.
525
+ _host_index (int/None): specifies the index of the server
526
+ that we want to use.
527
+ Default is read from the configuration.
528
+ Returns:
529
+ ApplyResult[ExPostStatsCorrelationsResponse]
530
+ """
531
+ self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=True, async_req=True)
532
+ return self.calculate_ex_post_correlations_stats_endpoint.call_with_http_info(**kwargs)
533
+
534
+ def calculate_ex_post_correlations_stats_with_http_info_async(
535
+ self,
536
+ **kwargs
537
+ ) -> "ApplyResult[typing.Tuple[ExPostStatsCorrelationsResponse, int, typing.MutableMapping]]":
538
+ """calculate portfolio vs benchmark correlation and correlation between portfolio holdings # noqa: E501
539
+
540
+ Notes:<br> * id 'Cash proxy' can be used in order to set cash amount for the portfolio # noqa: E501
541
+ This method makes a asynchronous HTTP request. Returns http data, http status and headers, wrapped in ApplyResult
542
+
543
+
544
+ Keyword Args:
545
+ ex_post_stats_correlations (ExPostStatsCorrelations): [optional]
546
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
547
+ will be returned without reading/decoding response data.
548
+ Default is True. NOTE: if this API returns a file, it is the responsibility
549
+ of the caller to close the file stream.
550
+ _request_timeout (int/float/tuple): timeout setting for this request. If
551
+ one number provided, it will be total request timeout. It can also
552
+ be a pair (tuple) of (connection, read) timeouts.
553
+ Default is None.
554
+ _check_input_type (bool): specifies if type checking
555
+ should be done one the data sent to the server.
556
+ Default is True.
557
+ _check_return_type (bool): specifies if type checking
558
+ should be done one the data received from the server.
559
+ Default is True.
560
+ _spec_property_naming (bool): True if the variable names in the input data
561
+ are serialized names, as specified in the OpenAPI document.
562
+ False if the variable names in the input data
563
+ are pythonic names, e.g. snake case (default)
564
+ _content_type (str/None): force body content-type.
565
+ Default is None and content-type will be predicted by allowed
566
+ content-types and body.
567
+ _host_index (int/None): specifies the index of the server
568
+ that we want to use.
569
+ Default is read from the configuration.
570
+ Returns:
571
+ ApplyResult[(ExPostStatsCorrelationsResponse, int, typing.Dict)]
572
+ """
573
+ self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=False, async_req=True)
574
+ return self.calculate_ex_post_correlations_stats_endpoint.call_with_http_info(**kwargs)
575
+
576
+
577
+ def calculate_ex_post_factor_exposure_stats(
578
+ self,
579
+ **kwargs
580
+ ) -> ExPostStatsFactorExposureResponse:
581
+ """Create portfolio and return risk factor contribution # noqa: E501
582
+
583
+ Ex-Post factor-exposure Stats # noqa: E501
584
+ This method makes a synchronous HTTP request. Returns the http data only
585
+
586
+
587
+ Keyword Args:
588
+ ex_post_stats_factor_exposure (ExPostStatsFactorExposure): [optional]
589
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
590
+ will be returned without reading/decoding response data.
591
+ Default is True. NOTE: if this API returns a file, it is the responsibility
592
+ of the caller to close the file stream.
593
+ _request_timeout (int/float/tuple): timeout setting for this request. If
594
+ one number provided, it will be total request timeout. It can also
595
+ be a pair (tuple) of (connection, read) timeouts.
596
+ Default is None.
597
+ _check_input_type (bool): specifies if type checking
598
+ should be done one the data sent to the server.
599
+ Default is True.
600
+ _check_return_type (bool): specifies if type checking
601
+ should be done one the data received from the server.
602
+ Default is True.
603
+ _spec_property_naming (bool): True if the variable names in the input data
604
+ are serialized names, as specified in the OpenAPI document.
605
+ False if the variable names in the input data
606
+ are pythonic names, e.g. snake case (default)
607
+ _content_type (str/None): force body content-type.
608
+ Default is None and content-type will be predicted by allowed
609
+ content-types and body.
610
+ _host_index (int/None): specifies the index of the server
611
+ that we want to use.
612
+ Default is read from the configuration.
613
+ Returns:
614
+ ExPostStatsFactorExposureResponse
615
+ Response Object
616
+ """
617
+ self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=True, async_req=False)
618
+ return self.calculate_ex_post_factor_exposure_stats_endpoint.call_with_http_info(**kwargs)
619
+
620
+ def calculate_ex_post_factor_exposure_stats_with_http_info(
621
+ self,
622
+ **kwargs
623
+ ) -> typing.Tuple[ExPostStatsFactorExposureResponse, int, typing.MutableMapping]:
624
+ """Create portfolio and return risk factor contribution # noqa: E501
625
+
626
+ Ex-Post factor-exposure Stats # noqa: E501
627
+ This method makes a synchronous HTTP request. Returns http data, http status and headers
628
+
629
+
630
+ Keyword Args:
631
+ ex_post_stats_factor_exposure (ExPostStatsFactorExposure): [optional]
632
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
633
+ will be returned without reading/decoding response data.
634
+ Default is True. NOTE: if this API returns a file, it is the responsibility
635
+ of the caller to close the file stream.
636
+ _request_timeout (int/float/tuple): timeout setting for this request. If
637
+ one number provided, it will be total request timeout. It can also
638
+ be a pair (tuple) of (connection, read) timeouts.
639
+ Default is None.
640
+ _check_input_type (bool): specifies if type checking
641
+ should be done one the data sent to the server.
642
+ Default is True.
643
+ _check_return_type (bool): specifies if type checking
644
+ should be done one the data received from the server.
645
+ Default is True.
646
+ _spec_property_naming (bool): True if the variable names in the input data
647
+ are serialized names, as specified in the OpenAPI document.
648
+ False if the variable names in the input data
649
+ are pythonic names, e.g. snake case (default)
650
+ _content_type (str/None): force body content-type.
651
+ Default is None and content-type will be predicted by allowed
652
+ content-types and body.
653
+ _host_index (int/None): specifies the index of the server
654
+ that we want to use.
655
+ Default is read from the configuration.
656
+ Returns:
657
+ ExPostStatsFactorExposureResponse
658
+ Response Object
659
+ int
660
+ Http Status Code
661
+ dict
662
+ Dictionary of the response headers
663
+ """
664
+ self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=False, async_req=False)
665
+ return self.calculate_ex_post_factor_exposure_stats_endpoint.call_with_http_info(**kwargs)
666
+
667
+ def calculate_ex_post_factor_exposure_stats_async(
668
+ self,
669
+ **kwargs
670
+ ) -> "ApplyResult[ExPostStatsFactorExposureResponse]":
671
+ """Create portfolio and return risk factor contribution # noqa: E501
672
+
673
+ Ex-Post factor-exposure Stats # noqa: E501
674
+ This method makes a asynchronous HTTP request. Returns the http data, wrapped in ApplyResult
675
+
676
+
677
+ Keyword Args:
678
+ ex_post_stats_factor_exposure (ExPostStatsFactorExposure): [optional]
679
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
680
+ will be returned without reading/decoding response data.
681
+ Default is True. NOTE: if this API returns a file, it is the responsibility
682
+ of the caller to close the file stream.
683
+ _request_timeout (int/float/tuple): timeout setting for this request. If
684
+ one number provided, it will be total request timeout. It can also
685
+ be a pair (tuple) of (connection, read) timeouts.
686
+ Default is None.
687
+ _check_input_type (bool): specifies if type checking
688
+ should be done one the data sent to the server.
689
+ Default is True.
690
+ _check_return_type (bool): specifies if type checking
691
+ should be done one the data received from the server.
692
+ Default is True.
693
+ _spec_property_naming (bool): True if the variable names in the input data
694
+ are serialized names, as specified in the OpenAPI document.
695
+ False if the variable names in the input data
696
+ are pythonic names, e.g. snake case (default)
697
+ _content_type (str/None): force body content-type.
698
+ Default is None and content-type will be predicted by allowed
699
+ content-types and body.
700
+ _host_index (int/None): specifies the index of the server
701
+ that we want to use.
702
+ Default is read from the configuration.
703
+ Returns:
704
+ ApplyResult[ExPostStatsFactorExposureResponse]
705
+ """
706
+ self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=True, async_req=True)
707
+ return self.calculate_ex_post_factor_exposure_stats_endpoint.call_with_http_info(**kwargs)
708
+
709
+ def calculate_ex_post_factor_exposure_stats_with_http_info_async(
710
+ self,
711
+ **kwargs
712
+ ) -> "ApplyResult[typing.Tuple[ExPostStatsFactorExposureResponse, int, typing.MutableMapping]]":
713
+ """Create portfolio and return risk factor contribution # noqa: E501
714
+
715
+ Ex-Post factor-exposure Stats # noqa: E501
716
+ This method makes a asynchronous HTTP request. Returns http data, http status and headers, wrapped in ApplyResult
717
+
718
+
719
+ Keyword Args:
720
+ ex_post_stats_factor_exposure (ExPostStatsFactorExposure): [optional]
721
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
722
+ will be returned without reading/decoding response data.
723
+ Default is True. NOTE: if this API returns a file, it is the responsibility
724
+ of the caller to close the file stream.
725
+ _request_timeout (int/float/tuple): timeout setting for this request. If
726
+ one number provided, it will be total request timeout. It can also
727
+ be a pair (tuple) of (connection, read) timeouts.
728
+ Default is None.
729
+ _check_input_type (bool): specifies if type checking
730
+ should be done one the data sent to the server.
731
+ Default is True.
732
+ _check_return_type (bool): specifies if type checking
733
+ should be done one the data received from the server.
734
+ Default is True.
735
+ _spec_property_naming (bool): True if the variable names in the input data
736
+ are serialized names, as specified in the OpenAPI document.
737
+ False if the variable names in the input data
738
+ are pythonic names, e.g. snake case (default)
739
+ _content_type (str/None): force body content-type.
740
+ Default is None and content-type will be predicted by allowed
741
+ content-types and body.
742
+ _host_index (int/None): specifies the index of the server
743
+ that we want to use.
744
+ Default is read from the configuration.
745
+ Returns:
746
+ ApplyResult[(ExPostStatsFactorExposureResponse, int, typing.Dict)]
747
+ """
748
+ self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=False, async_req=True)
749
+ return self.calculate_ex_post_factor_exposure_stats_endpoint.call_with_http_info(**kwargs)
750
+
751
+
752
+ def calculate_ex_post_rolling_series(
753
+ self,
754
+ **kwargs
755
+ ) -> ExPostSeriesRollingResponse:
756
+ """retrieve series of rolling stats for the portfolio # noqa: E501
757
+
758
+ Notes:<br> * id 'Cash proxy' can be used in order to set cash amount for the portfolio # noqa: E501
759
+ This method makes a synchronous HTTP request. Returns the http data only
760
+
761
+
762
+ Keyword Args:
763
+ ex_post_series_rolling (ExPostSeriesRolling): [optional]
764
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
765
+ will be returned without reading/decoding response data.
766
+ Default is True. NOTE: if this API returns a file, it is the responsibility
767
+ of the caller to close the file stream.
768
+ _request_timeout (int/float/tuple): timeout setting for this request. If
769
+ one number provided, it will be total request timeout. It can also
770
+ be a pair (tuple) of (connection, read) timeouts.
771
+ Default is None.
772
+ _check_input_type (bool): specifies if type checking
773
+ should be done one the data sent to the server.
774
+ Default is True.
775
+ _check_return_type (bool): specifies if type checking
776
+ should be done one the data received from the server.
777
+ Default is True.
778
+ _spec_property_naming (bool): True if the variable names in the input data
779
+ are serialized names, as specified in the OpenAPI document.
780
+ False if the variable names in the input data
781
+ are pythonic names, e.g. snake case (default)
782
+ _content_type (str/None): force body content-type.
783
+ Default is None and content-type will be predicted by allowed
784
+ content-types and body.
785
+ _host_index (int/None): specifies the index of the server
786
+ that we want to use.
787
+ Default is read from the configuration.
788
+ Returns:
789
+ ExPostSeriesRollingResponse
790
+ Response Object
791
+ """
792
+ self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=True, async_req=False)
793
+ return self.calculate_ex_post_rolling_series_endpoint.call_with_http_info(**kwargs)
794
+
795
+ def calculate_ex_post_rolling_series_with_http_info(
796
+ self,
797
+ **kwargs
798
+ ) -> typing.Tuple[ExPostSeriesRollingResponse, int, typing.MutableMapping]:
799
+ """retrieve series of rolling stats for the portfolio # noqa: E501
800
+
801
+ Notes:<br> * id 'Cash proxy' can be used in order to set cash amount for the portfolio # noqa: E501
802
+ This method makes a synchronous HTTP request. Returns http data, http status and headers
803
+
804
+
805
+ Keyword Args:
806
+ ex_post_series_rolling (ExPostSeriesRolling): [optional]
807
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
808
+ will be returned without reading/decoding response data.
809
+ Default is True. NOTE: if this API returns a file, it is the responsibility
810
+ of the caller to close the file stream.
811
+ _request_timeout (int/float/tuple): timeout setting for this request. If
812
+ one number provided, it will be total request timeout. It can also
813
+ be a pair (tuple) of (connection, read) timeouts.
814
+ Default is None.
815
+ _check_input_type (bool): specifies if type checking
816
+ should be done one the data sent to the server.
817
+ Default is True.
818
+ _check_return_type (bool): specifies if type checking
819
+ should be done one the data received from the server.
820
+ Default is True.
821
+ _spec_property_naming (bool): True if the variable names in the input data
822
+ are serialized names, as specified in the OpenAPI document.
823
+ False if the variable names in the input data
824
+ are pythonic names, e.g. snake case (default)
825
+ _content_type (str/None): force body content-type.
826
+ Default is None and content-type will be predicted by allowed
827
+ content-types and body.
828
+ _host_index (int/None): specifies the index of the server
829
+ that we want to use.
830
+ Default is read from the configuration.
831
+ Returns:
832
+ ExPostSeriesRollingResponse
833
+ Response Object
834
+ int
835
+ Http Status Code
836
+ dict
837
+ Dictionary of the response headers
838
+ """
839
+ self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=False, async_req=False)
840
+ return self.calculate_ex_post_rolling_series_endpoint.call_with_http_info(**kwargs)
841
+
842
+ def calculate_ex_post_rolling_series_async(
843
+ self,
844
+ **kwargs
845
+ ) -> "ApplyResult[ExPostSeriesRollingResponse]":
846
+ """retrieve series of rolling stats for the portfolio # noqa: E501
847
+
848
+ Notes:<br> * id 'Cash proxy' can be used in order to set cash amount for the portfolio # noqa: E501
849
+ This method makes a asynchronous HTTP request. Returns the http data, wrapped in ApplyResult
850
+
851
+
852
+ Keyword Args:
853
+ ex_post_series_rolling (ExPostSeriesRolling): [optional]
854
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
855
+ will be returned without reading/decoding response data.
856
+ Default is True. NOTE: if this API returns a file, it is the responsibility
857
+ of the caller to close the file stream.
858
+ _request_timeout (int/float/tuple): timeout setting for this request. If
859
+ one number provided, it will be total request timeout. It can also
860
+ be a pair (tuple) of (connection, read) timeouts.
861
+ Default is None.
862
+ _check_input_type (bool): specifies if type checking
863
+ should be done one the data sent to the server.
864
+ Default is True.
865
+ _check_return_type (bool): specifies if type checking
866
+ should be done one the data received from the server.
867
+ Default is True.
868
+ _spec_property_naming (bool): True if the variable names in the input data
869
+ are serialized names, as specified in the OpenAPI document.
870
+ False if the variable names in the input data
871
+ are pythonic names, e.g. snake case (default)
872
+ _content_type (str/None): force body content-type.
873
+ Default is None and content-type will be predicted by allowed
874
+ content-types and body.
875
+ _host_index (int/None): specifies the index of the server
876
+ that we want to use.
877
+ Default is read from the configuration.
878
+ Returns:
879
+ ApplyResult[ExPostSeriesRollingResponse]
880
+ """
881
+ self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=True, async_req=True)
882
+ return self.calculate_ex_post_rolling_series_endpoint.call_with_http_info(**kwargs)
883
+
884
+ def calculate_ex_post_rolling_series_with_http_info_async(
885
+ self,
886
+ **kwargs
887
+ ) -> "ApplyResult[typing.Tuple[ExPostSeriesRollingResponse, int, typing.MutableMapping]]":
888
+ """retrieve series of rolling stats for the portfolio # noqa: E501
889
+
890
+ Notes:<br> * id 'Cash proxy' can be used in order to set cash amount for the portfolio # noqa: E501
891
+ This method makes a asynchronous HTTP request. Returns http data, http status and headers, wrapped in ApplyResult
892
+
893
+
894
+ Keyword Args:
895
+ ex_post_series_rolling (ExPostSeriesRolling): [optional]
896
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
897
+ will be returned without reading/decoding response data.
898
+ Default is True. NOTE: if this API returns a file, it is the responsibility
899
+ of the caller to close the file stream.
900
+ _request_timeout (int/float/tuple): timeout setting for this request. If
901
+ one number provided, it will be total request timeout. It can also
902
+ be a pair (tuple) of (connection, read) timeouts.
903
+ Default is None.
904
+ _check_input_type (bool): specifies if type checking
905
+ should be done one the data sent to the server.
906
+ Default is True.
907
+ _check_return_type (bool): specifies if type checking
908
+ should be done one the data received from the server.
909
+ Default is True.
910
+ _spec_property_naming (bool): True if the variable names in the input data
911
+ are serialized names, as specified in the OpenAPI document.
912
+ False if the variable names in the input data
913
+ are pythonic names, e.g. snake case (default)
914
+ _content_type (str/None): force body content-type.
915
+ Default is None and content-type will be predicted by allowed
916
+ content-types and body.
917
+ _host_index (int/None): specifies the index of the server
918
+ that we want to use.
919
+ Default is read from the configuration.
920
+ Returns:
921
+ ApplyResult[(ExPostSeriesRollingResponse, int, typing.Dict)]
922
+ """
923
+ self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=False, async_req=True)
924
+ return self.calculate_ex_post_rolling_series_endpoint.call_with_http_info(**kwargs)
925
+
926
+
927
+ def calculate_ex_post_rolling_stats(
928
+ self,
929
+ **kwargs
930
+ ) -> ExPostStatsRollingResponse:
931
+ """calculate rolling stats (for ex-post data) # noqa: E501
932
+
933
+ Notes:<br> * id 'Cash proxy' can be used in order to set cash amount for the portfolio # noqa: E501
934
+ This method makes a synchronous HTTP request. Returns the http data only
935
+
936
+
937
+ Keyword Args:
938
+ ex_post_stats_rolling (ExPostStatsRolling): [optional]
939
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
940
+ will be returned without reading/decoding response data.
941
+ Default is True. NOTE: if this API returns a file, it is the responsibility
942
+ of the caller to close the file stream.
943
+ _request_timeout (int/float/tuple): timeout setting for this request. If
944
+ one number provided, it will be total request timeout. It can also
945
+ be a pair (tuple) of (connection, read) timeouts.
946
+ Default is None.
947
+ _check_input_type (bool): specifies if type checking
948
+ should be done one the data sent to the server.
949
+ Default is True.
950
+ _check_return_type (bool): specifies if type checking
951
+ should be done one the data received from the server.
952
+ Default is True.
953
+ _spec_property_naming (bool): True if the variable names in the input data
954
+ are serialized names, as specified in the OpenAPI document.
955
+ False if the variable names in the input data
956
+ are pythonic names, e.g. snake case (default)
957
+ _content_type (str/None): force body content-type.
958
+ Default is None and content-type will be predicted by allowed
959
+ content-types and body.
960
+ _host_index (int/None): specifies the index of the server
961
+ that we want to use.
962
+ Default is read from the configuration.
963
+ Returns:
964
+ ExPostStatsRollingResponse
965
+ Response Object
966
+ """
967
+ self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=True, async_req=False)
968
+ return self.calculate_ex_post_rolling_stats_endpoint.call_with_http_info(**kwargs)
969
+
970
+ def calculate_ex_post_rolling_stats_with_http_info(
971
+ self,
972
+ **kwargs
973
+ ) -> typing.Tuple[ExPostStatsRollingResponse, int, typing.MutableMapping]:
974
+ """calculate rolling stats (for ex-post data) # noqa: E501
975
+
976
+ Notes:<br> * id 'Cash proxy' can be used in order to set cash amount for the portfolio # noqa: E501
977
+ This method makes a synchronous HTTP request. Returns http data, http status and headers
978
+
979
+
980
+ Keyword Args:
981
+ ex_post_stats_rolling (ExPostStatsRolling): [optional]
982
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
983
+ will be returned without reading/decoding response data.
984
+ Default is True. NOTE: if this API returns a file, it is the responsibility
985
+ of the caller to close the file stream.
986
+ _request_timeout (int/float/tuple): timeout setting for this request. If
987
+ one number provided, it will be total request timeout. It can also
988
+ be a pair (tuple) of (connection, read) timeouts.
989
+ Default is None.
990
+ _check_input_type (bool): specifies if type checking
991
+ should be done one the data sent to the server.
992
+ Default is True.
993
+ _check_return_type (bool): specifies if type checking
994
+ should be done one the data received from the server.
995
+ Default is True.
996
+ _spec_property_naming (bool): True if the variable names in the input data
997
+ are serialized names, as specified in the OpenAPI document.
998
+ False if the variable names in the input data
999
+ are pythonic names, e.g. snake case (default)
1000
+ _content_type (str/None): force body content-type.
1001
+ Default is None and content-type will be predicted by allowed
1002
+ content-types and body.
1003
+ _host_index (int/None): specifies the index of the server
1004
+ that we want to use.
1005
+ Default is read from the configuration.
1006
+ Returns:
1007
+ ExPostStatsRollingResponse
1008
+ Response Object
1009
+ int
1010
+ Http Status Code
1011
+ dict
1012
+ Dictionary of the response headers
1013
+ """
1014
+ self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=False, async_req=False)
1015
+ return self.calculate_ex_post_rolling_stats_endpoint.call_with_http_info(**kwargs)
1016
+
1017
+ def calculate_ex_post_rolling_stats_async(
1018
+ self,
1019
+ **kwargs
1020
+ ) -> "ApplyResult[ExPostStatsRollingResponse]":
1021
+ """calculate rolling stats (for ex-post data) # noqa: E501
1022
+
1023
+ Notes:<br> * id 'Cash proxy' can be used in order to set cash amount for the portfolio # noqa: E501
1024
+ This method makes a asynchronous HTTP request. Returns the http data, wrapped in ApplyResult
1025
+
1026
+
1027
+ Keyword Args:
1028
+ ex_post_stats_rolling (ExPostStatsRolling): [optional]
1029
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
1030
+ will be returned without reading/decoding response data.
1031
+ Default is True. NOTE: if this API returns a file, it is the responsibility
1032
+ of the caller to close the file stream.
1033
+ _request_timeout (int/float/tuple): timeout setting for this request. If
1034
+ one number provided, it will be total request timeout. It can also
1035
+ be a pair (tuple) of (connection, read) timeouts.
1036
+ Default is None.
1037
+ _check_input_type (bool): specifies if type checking
1038
+ should be done one the data sent to the server.
1039
+ Default is True.
1040
+ _check_return_type (bool): specifies if type checking
1041
+ should be done one the data received from the server.
1042
+ Default is True.
1043
+ _spec_property_naming (bool): True if the variable names in the input data
1044
+ are serialized names, as specified in the OpenAPI document.
1045
+ False if the variable names in the input data
1046
+ are pythonic names, e.g. snake case (default)
1047
+ _content_type (str/None): force body content-type.
1048
+ Default is None and content-type will be predicted by allowed
1049
+ content-types and body.
1050
+ _host_index (int/None): specifies the index of the server
1051
+ that we want to use.
1052
+ Default is read from the configuration.
1053
+ Returns:
1054
+ ApplyResult[ExPostStatsRollingResponse]
1055
+ """
1056
+ self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=True, async_req=True)
1057
+ return self.calculate_ex_post_rolling_stats_endpoint.call_with_http_info(**kwargs)
1058
+
1059
+ def calculate_ex_post_rolling_stats_with_http_info_async(
1060
+ self,
1061
+ **kwargs
1062
+ ) -> "ApplyResult[typing.Tuple[ExPostStatsRollingResponse, int, typing.MutableMapping]]":
1063
+ """calculate rolling stats (for ex-post data) # noqa: E501
1064
+
1065
+ Notes:<br> * id 'Cash proxy' can be used in order to set cash amount for the portfolio # noqa: E501
1066
+ This method makes a asynchronous HTTP request. Returns http data, http status and headers, wrapped in ApplyResult
1067
+
1068
+
1069
+ Keyword Args:
1070
+ ex_post_stats_rolling (ExPostStatsRolling): [optional]
1071
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
1072
+ will be returned without reading/decoding response data.
1073
+ Default is True. NOTE: if this API returns a file, it is the responsibility
1074
+ of the caller to close the file stream.
1075
+ _request_timeout (int/float/tuple): timeout setting for this request. If
1076
+ one number provided, it will be total request timeout. It can also
1077
+ be a pair (tuple) of (connection, read) timeouts.
1078
+ Default is None.
1079
+ _check_input_type (bool): specifies if type checking
1080
+ should be done one the data sent to the server.
1081
+ Default is True.
1082
+ _check_return_type (bool): specifies if type checking
1083
+ should be done one the data received from the server.
1084
+ Default is True.
1085
+ _spec_property_naming (bool): True if the variable names in the input data
1086
+ are serialized names, as specified in the OpenAPI document.
1087
+ False if the variable names in the input data
1088
+ are pythonic names, e.g. snake case (default)
1089
+ _content_type (str/None): force body content-type.
1090
+ Default is None and content-type will be predicted by allowed
1091
+ content-types and body.
1092
+ _host_index (int/None): specifies the index of the server
1093
+ that we want to use.
1094
+ Default is read from the configuration.
1095
+ Returns:
1096
+ ApplyResult[(ExPostStatsRollingResponse, int, typing.Dict)]
1097
+ """
1098
+ self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=False, async_req=True)
1099
+ return self.calculate_ex_post_rolling_stats_endpoint.call_with_http_info(**kwargs)
1100
+
1101
+
1102
+ def calculate_ex_post_series(
1103
+ self,
1104
+ **kwargs
1105
+ ) -> ExPostSeriesResponse:
1106
+ """retrieve portfolio and benchmark data series, generated from the underlying holdings data series # noqa: E501
1107
+
1108
+ Notes:<br> * id 'Cash proxy' can be used in order to set cash amount for the portfolio # noqa: E501
1109
+ This method makes a synchronous HTTP request. Returns the http data only
1110
+
1111
+
1112
+ Keyword Args:
1113
+ ex_post_series (ExPostSeries): [optional]
1114
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
1115
+ will be returned without reading/decoding response data.
1116
+ Default is True. NOTE: if this API returns a file, it is the responsibility
1117
+ of the caller to close the file stream.
1118
+ _request_timeout (int/float/tuple): timeout setting for this request. If
1119
+ one number provided, it will be total request timeout. It can also
1120
+ be a pair (tuple) of (connection, read) timeouts.
1121
+ Default is None.
1122
+ _check_input_type (bool): specifies if type checking
1123
+ should be done one the data sent to the server.
1124
+ Default is True.
1125
+ _check_return_type (bool): specifies if type checking
1126
+ should be done one the data received from the server.
1127
+ Default is True.
1128
+ _spec_property_naming (bool): True if the variable names in the input data
1129
+ are serialized names, as specified in the OpenAPI document.
1130
+ False if the variable names in the input data
1131
+ are pythonic names, e.g. snake case (default)
1132
+ _content_type (str/None): force body content-type.
1133
+ Default is None and content-type will be predicted by allowed
1134
+ content-types and body.
1135
+ _host_index (int/None): specifies the index of the server
1136
+ that we want to use.
1137
+ Default is read from the configuration.
1138
+ Returns:
1139
+ ExPostSeriesResponse
1140
+ Response Object
1141
+ """
1142
+ self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=True, async_req=False)
1143
+ return self.calculate_ex_post_series_endpoint.call_with_http_info(**kwargs)
1144
+
1145
+ def calculate_ex_post_series_with_http_info(
1146
+ self,
1147
+ **kwargs
1148
+ ) -> typing.Tuple[ExPostSeriesResponse, int, typing.MutableMapping]:
1149
+ """retrieve portfolio and benchmark data series, generated from the underlying holdings data series # noqa: E501
1150
+
1151
+ Notes:<br> * id 'Cash proxy' can be used in order to set cash amount for the portfolio # noqa: E501
1152
+ This method makes a synchronous HTTP request. Returns http data, http status and headers
1153
+
1154
+
1155
+ Keyword Args:
1156
+ ex_post_series (ExPostSeries): [optional]
1157
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
1158
+ will be returned without reading/decoding response data.
1159
+ Default is True. NOTE: if this API returns a file, it is the responsibility
1160
+ of the caller to close the file stream.
1161
+ _request_timeout (int/float/tuple): timeout setting for this request. If
1162
+ one number provided, it will be total request timeout. It can also
1163
+ be a pair (tuple) of (connection, read) timeouts.
1164
+ Default is None.
1165
+ _check_input_type (bool): specifies if type checking
1166
+ should be done one the data sent to the server.
1167
+ Default is True.
1168
+ _check_return_type (bool): specifies if type checking
1169
+ should be done one the data received from the server.
1170
+ Default is True.
1171
+ _spec_property_naming (bool): True if the variable names in the input data
1172
+ are serialized names, as specified in the OpenAPI document.
1173
+ False if the variable names in the input data
1174
+ are pythonic names, e.g. snake case (default)
1175
+ _content_type (str/None): force body content-type.
1176
+ Default is None and content-type will be predicted by allowed
1177
+ content-types and body.
1178
+ _host_index (int/None): specifies the index of the server
1179
+ that we want to use.
1180
+ Default is read from the configuration.
1181
+ Returns:
1182
+ ExPostSeriesResponse
1183
+ Response Object
1184
+ int
1185
+ Http Status Code
1186
+ dict
1187
+ Dictionary of the response headers
1188
+ """
1189
+ self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=False, async_req=False)
1190
+ return self.calculate_ex_post_series_endpoint.call_with_http_info(**kwargs)
1191
+
1192
+ def calculate_ex_post_series_async(
1193
+ self,
1194
+ **kwargs
1195
+ ) -> "ApplyResult[ExPostSeriesResponse]":
1196
+ """retrieve portfolio and benchmark data series, generated from the underlying holdings data series # noqa: E501
1197
+
1198
+ Notes:<br> * id 'Cash proxy' can be used in order to set cash amount for the portfolio # noqa: E501
1199
+ This method makes a asynchronous HTTP request. Returns the http data, wrapped in ApplyResult
1200
+
1201
+
1202
+ Keyword Args:
1203
+ ex_post_series (ExPostSeries): [optional]
1204
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
1205
+ will be returned without reading/decoding response data.
1206
+ Default is True. NOTE: if this API returns a file, it is the responsibility
1207
+ of the caller to close the file stream.
1208
+ _request_timeout (int/float/tuple): timeout setting for this request. If
1209
+ one number provided, it will be total request timeout. It can also
1210
+ be a pair (tuple) of (connection, read) timeouts.
1211
+ Default is None.
1212
+ _check_input_type (bool): specifies if type checking
1213
+ should be done one the data sent to the server.
1214
+ Default is True.
1215
+ _check_return_type (bool): specifies if type checking
1216
+ should be done one the data received from the server.
1217
+ Default is True.
1218
+ _spec_property_naming (bool): True if the variable names in the input data
1219
+ are serialized names, as specified in the OpenAPI document.
1220
+ False if the variable names in the input data
1221
+ are pythonic names, e.g. snake case (default)
1222
+ _content_type (str/None): force body content-type.
1223
+ Default is None and content-type will be predicted by allowed
1224
+ content-types and body.
1225
+ _host_index (int/None): specifies the index of the server
1226
+ that we want to use.
1227
+ Default is read from the configuration.
1228
+ Returns:
1229
+ ApplyResult[ExPostSeriesResponse]
1230
+ """
1231
+ self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=True, async_req=True)
1232
+ return self.calculate_ex_post_series_endpoint.call_with_http_info(**kwargs)
1233
+
1234
+ def calculate_ex_post_series_with_http_info_async(
1235
+ self,
1236
+ **kwargs
1237
+ ) -> "ApplyResult[typing.Tuple[ExPostSeriesResponse, int, typing.MutableMapping]]":
1238
+ """retrieve portfolio and benchmark data series, generated from the underlying holdings data series # noqa: E501
1239
+
1240
+ Notes:<br> * id 'Cash proxy' can be used in order to set cash amount for the portfolio # noqa: E501
1241
+ This method makes a asynchronous HTTP request. Returns http data, http status and headers, wrapped in ApplyResult
1242
+
1243
+
1244
+ Keyword Args:
1245
+ ex_post_series (ExPostSeries): [optional]
1246
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
1247
+ will be returned without reading/decoding response data.
1248
+ Default is True. NOTE: if this API returns a file, it is the responsibility
1249
+ of the caller to close the file stream.
1250
+ _request_timeout (int/float/tuple): timeout setting for this request. If
1251
+ one number provided, it will be total request timeout. It can also
1252
+ be a pair (tuple) of (connection, read) timeouts.
1253
+ Default is None.
1254
+ _check_input_type (bool): specifies if type checking
1255
+ should be done one the data sent to the server.
1256
+ Default is True.
1257
+ _check_return_type (bool): specifies if type checking
1258
+ should be done one the data received from the server.
1259
+ Default is True.
1260
+ _spec_property_naming (bool): True if the variable names in the input data
1261
+ are serialized names, as specified in the OpenAPI document.
1262
+ False if the variable names in the input data
1263
+ are pythonic names, e.g. snake case (default)
1264
+ _content_type (str/None): force body content-type.
1265
+ Default is None and content-type will be predicted by allowed
1266
+ content-types and body.
1267
+ _host_index (int/None): specifies the index of the server
1268
+ that we want to use.
1269
+ Default is read from the configuration.
1270
+ Returns:
1271
+ ApplyResult[(ExPostSeriesResponse, int, typing.Dict)]
1272
+ """
1273
+ self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=False, async_req=True)
1274
+ return self.calculate_ex_post_series_endpoint.call_with_http_info(**kwargs)
1275
+
1276
+
1277
+ def calculate_ex_post_stats(
1278
+ self,
1279
+ **kwargs
1280
+ ) -> ExPostStatsResponse:
1281
+ """calculate ex-post stats (on portfolio or holdings level) # noqa: E501
1282
+
1283
+ Notes:<br> * id 'Cash proxy' can be used in order to set cash amount for the portfolio # noqa: E501
1284
+ This method makes a synchronous HTTP request. Returns the http data only
1285
+
1286
+
1287
+ Keyword Args:
1288
+ ex_post_stats (ExPostStats): [optional]
1289
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
1290
+ will be returned without reading/decoding response data.
1291
+ Default is True. NOTE: if this API returns a file, it is the responsibility
1292
+ of the caller to close the file stream.
1293
+ _request_timeout (int/float/tuple): timeout setting for this request. If
1294
+ one number provided, it will be total request timeout. It can also
1295
+ be a pair (tuple) of (connection, read) timeouts.
1296
+ Default is None.
1297
+ _check_input_type (bool): specifies if type checking
1298
+ should be done one the data sent to the server.
1299
+ Default is True.
1300
+ _check_return_type (bool): specifies if type checking
1301
+ should be done one the data received from the server.
1302
+ Default is True.
1303
+ _spec_property_naming (bool): True if the variable names in the input data
1304
+ are serialized names, as specified in the OpenAPI document.
1305
+ False if the variable names in the input data
1306
+ are pythonic names, e.g. snake case (default)
1307
+ _content_type (str/None): force body content-type.
1308
+ Default is None and content-type will be predicted by allowed
1309
+ content-types and body.
1310
+ _host_index (int/None): specifies the index of the server
1311
+ that we want to use.
1312
+ Default is read from the configuration.
1313
+ Returns:
1314
+ ExPostStatsResponse
1315
+ Response Object
1316
+ """
1317
+ self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=True, async_req=False)
1318
+ return self.calculate_ex_post_stats_endpoint.call_with_http_info(**kwargs)
1319
+
1320
+ def calculate_ex_post_stats_with_http_info(
1321
+ self,
1322
+ **kwargs
1323
+ ) -> typing.Tuple[ExPostStatsResponse, int, typing.MutableMapping]:
1324
+ """calculate ex-post stats (on portfolio or holdings level) # noqa: E501
1325
+
1326
+ Notes:<br> * id 'Cash proxy' can be used in order to set cash amount for the portfolio # noqa: E501
1327
+ This method makes a synchronous HTTP request. Returns http data, http status and headers
1328
+
1329
+
1330
+ Keyword Args:
1331
+ ex_post_stats (ExPostStats): [optional]
1332
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
1333
+ will be returned without reading/decoding response data.
1334
+ Default is True. NOTE: if this API returns a file, it is the responsibility
1335
+ of the caller to close the file stream.
1336
+ _request_timeout (int/float/tuple): timeout setting for this request. If
1337
+ one number provided, it will be total request timeout. It can also
1338
+ be a pair (tuple) of (connection, read) timeouts.
1339
+ Default is None.
1340
+ _check_input_type (bool): specifies if type checking
1341
+ should be done one the data sent to the server.
1342
+ Default is True.
1343
+ _check_return_type (bool): specifies if type checking
1344
+ should be done one the data received from the server.
1345
+ Default is True.
1346
+ _spec_property_naming (bool): True if the variable names in the input data
1347
+ are serialized names, as specified in the OpenAPI document.
1348
+ False if the variable names in the input data
1349
+ are pythonic names, e.g. snake case (default)
1350
+ _content_type (str/None): force body content-type.
1351
+ Default is None and content-type will be predicted by allowed
1352
+ content-types and body.
1353
+ _host_index (int/None): specifies the index of the server
1354
+ that we want to use.
1355
+ Default is read from the configuration.
1356
+ Returns:
1357
+ ExPostStatsResponse
1358
+ Response Object
1359
+ int
1360
+ Http Status Code
1361
+ dict
1362
+ Dictionary of the response headers
1363
+ """
1364
+ self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=False, async_req=False)
1365
+ return self.calculate_ex_post_stats_endpoint.call_with_http_info(**kwargs)
1366
+
1367
+ def calculate_ex_post_stats_async(
1368
+ self,
1369
+ **kwargs
1370
+ ) -> "ApplyResult[ExPostStatsResponse]":
1371
+ """calculate ex-post stats (on portfolio or holdings level) # noqa: E501
1372
+
1373
+ Notes:<br> * id 'Cash proxy' can be used in order to set cash amount for the portfolio # noqa: E501
1374
+ This method makes a asynchronous HTTP request. Returns the http data, wrapped in ApplyResult
1375
+
1376
+
1377
+ Keyword Args:
1378
+ ex_post_stats (ExPostStats): [optional]
1379
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
1380
+ will be returned without reading/decoding response data.
1381
+ Default is True. NOTE: if this API returns a file, it is the responsibility
1382
+ of the caller to close the file stream.
1383
+ _request_timeout (int/float/tuple): timeout setting for this request. If
1384
+ one number provided, it will be total request timeout. It can also
1385
+ be a pair (tuple) of (connection, read) timeouts.
1386
+ Default is None.
1387
+ _check_input_type (bool): specifies if type checking
1388
+ should be done one the data sent to the server.
1389
+ Default is True.
1390
+ _check_return_type (bool): specifies if type checking
1391
+ should be done one the data received from the server.
1392
+ Default is True.
1393
+ _spec_property_naming (bool): True if the variable names in the input data
1394
+ are serialized names, as specified in the OpenAPI document.
1395
+ False if the variable names in the input data
1396
+ are pythonic names, e.g. snake case (default)
1397
+ _content_type (str/None): force body content-type.
1398
+ Default is None and content-type will be predicted by allowed
1399
+ content-types and body.
1400
+ _host_index (int/None): specifies the index of the server
1401
+ that we want to use.
1402
+ Default is read from the configuration.
1403
+ Returns:
1404
+ ApplyResult[ExPostStatsResponse]
1405
+ """
1406
+ self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=True, async_req=True)
1407
+ return self.calculate_ex_post_stats_endpoint.call_with_http_info(**kwargs)
1408
+
1409
+ def calculate_ex_post_stats_with_http_info_async(
1410
+ self,
1411
+ **kwargs
1412
+ ) -> "ApplyResult[typing.Tuple[ExPostStatsResponse, int, typing.MutableMapping]]":
1413
+ """calculate ex-post stats (on portfolio or holdings level) # noqa: E501
1414
+
1415
+ Notes:<br> * id 'Cash proxy' can be used in order to set cash amount for the portfolio # noqa: E501
1416
+ This method makes a asynchronous HTTP request. Returns http data, http status and headers, wrapped in ApplyResult
1417
+
1418
+
1419
+ Keyword Args:
1420
+ ex_post_stats (ExPostStats): [optional]
1421
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
1422
+ will be returned without reading/decoding response data.
1423
+ Default is True. NOTE: if this API returns a file, it is the responsibility
1424
+ of the caller to close the file stream.
1425
+ _request_timeout (int/float/tuple): timeout setting for this request. If
1426
+ one number provided, it will be total request timeout. It can also
1427
+ be a pair (tuple) of (connection, read) timeouts.
1428
+ Default is None.
1429
+ _check_input_type (bool): specifies if type checking
1430
+ should be done one the data sent to the server.
1431
+ Default is True.
1432
+ _check_return_type (bool): specifies if type checking
1433
+ should be done one the data received from the server.
1434
+ Default is True.
1435
+ _spec_property_naming (bool): True if the variable names in the input data
1436
+ are serialized names, as specified in the OpenAPI document.
1437
+ False if the variable names in the input data
1438
+ are pythonic names, e.g. snake case (default)
1439
+ _content_type (str/None): force body content-type.
1440
+ Default is None and content-type will be predicted by allowed
1441
+ content-types and body.
1442
+ _host_index (int/None): specifies the index of the server
1443
+ that we want to use.
1444
+ Default is read from the configuration.
1445
+ Returns:
1446
+ ApplyResult[(ExPostStatsResponse, int, typing.Dict)]
1447
+ """
1448
+ self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=False, async_req=True)
1449
+ return self.calculate_ex_post_stats_endpoint.call_with_http_info(**kwargs)
1450
+
1451
+