lusid-sdk 2.1.390__py3-none-any.whl → 2.1.462__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.
- lusid/__init__.py +98 -8
- lusid/api/__init__.py +2 -2
- lusid/api/abor_api.py +126 -133
- lusid/api/abor_configuration_api.py +46 -45
- lusid/api/address_key_definition_api.py +28 -27
- lusid/api/aggregation_api.py +37 -36
- lusid/api/allocations_api.py +39 -38
- lusid/api/amortisation_rule_sets_api.py +55 -54
- lusid/api/application_metadata_api.py +28 -27
- lusid/api/blocks_api.py +37 -36
- lusid/api/calendars_api.py +469 -111
- lusid/api/chart_of_accounts_api.py +454 -279
- lusid/api/complex_market_data_api.py +37 -36
- lusid/api/compliance_api.py +136 -135
- lusid/api/configuration_recipe_api.py +100 -99
- lusid/api/conventions_api.py +109 -108
- lusid/api/corporate_action_sources_api.py +82 -81
- lusid/api/counterparties_api.py +73 -72
- lusid/api/custom_entities_api.py +102 -101
- lusid/api/custom_entity_definitions_api.py +37 -36
- lusid/api/custom_entity_types_api.py +37 -36
- lusid/api/cut_label_definitions_api.py +46 -45
- lusid/api/data_types_api.py +248 -72
- lusid/api/derived_transaction_portfolios_api.py +19 -18
- lusid/api/entities_api.py +431 -46
- lusid/api/executions_api.py +37 -36
- lusid/api/fee_types_api.py +55 -54
- lusid/api/{fund_configurations_api.py → fund_configuration_api.py} +222 -46
- lusid/api/funds_api.py +337 -162
- lusid/api/group_reconciliations_api.py +1437 -45
- lusid/api/instrument_event_types_api.py +64 -63
- lusid/api/instrument_events_api.py +46 -45
- lusid/api/instruments_api.py +187 -186
- lusid/api/legacy_compliance_api.py +73 -72
- lusid/api/legal_entities_api.py +167 -166
- lusid/api/order_graph_api.py +32 -31
- lusid/api/order_instructions_api.py +37 -36
- lusid/api/order_management_api.py +276 -102
- lusid/api/orders_api.py +37 -36
- lusid/api/packages_api.py +37 -36
- lusid/api/participations_api.py +37 -36
- lusid/api/persons_api.py +167 -166
- lusid/api/placements_api.py +37 -36
- lusid/api/portfolio_groups_api.py +235 -234
- lusid/api/portfolios_api.py +449 -272
- lusid/api/property_definitions_api.py +100 -99
- lusid/api/queryable_keys_api.py +10 -9
- lusid/api/quotes_api.py +82 -81
- lusid/api/reconciliations_api.py +136 -135
- lusid/api/reference_lists_api.py +39 -38
- lusid/api/reference_portfolio_api.py +213 -36
- lusid/api/relation_definitions_api.py +28 -27
- lusid/api/relations_api.py +19 -18
- lusid/api/relationship_definitions_api.py +46 -45
- lusid/api/relationships_api.py +19 -18
- lusid/api/schemas_api.py +37 -36
- lusid/api/scopes_api.py +19 -18
- lusid/api/scripted_translation_api.py +73 -72
- lusid/api/search_api.py +37 -36
- lusid/api/sequences_api.py +37 -36
- lusid/api/staged_modifications_api.py +37 -36
- lusid/api/staging_rule_set_api.py +46 -45
- lusid/api/structured_result_data_api.py +82 -81
- lusid/api/system_configuration_api.py +64 -63
- lusid/api/tax_rule_sets_api.py +46 -45
- lusid/api/transaction_configuration_api.py +100 -99
- lusid/api/transaction_fees_api.py +46 -45
- lusid/api/transaction_portfolios_api.py +569 -326
- lusid/api/translation_api.py +19 -18
- lusid/api/workspace_api.py +181 -180
- lusid/api_client.py +26 -17
- lusid/configuration.py +87 -2
- lusid/extensions/api_client.py +25 -17
- lusid/extensions/api_client_factory.py +14 -5
- lusid/extensions/api_configuration.py +50 -1
- lusid/extensions/configuration_loaders.py +39 -11
- lusid/extensions/configuration_options.py +67 -0
- lusid/extensions/rest.py +78 -26
- lusid/extensions/retry.py +109 -37
- lusid/models/__init__.py +96 -6
- lusid/models/access_metadata_value.py +1 -1
- lusid/models/accounting_method.py +7 -0
- lusid/models/accumulation_event.py +3 -3
- lusid/models/address_key_list.py +3 -3
- lusid/models/amortisation_event.py +3 -3
- lusid/models/amount.py +69 -0
- lusid/models/basket.py +3 -3
- lusid/models/batch_upsert_dates_for_calendar_response.py +146 -0
- lusid/models/batch_upsert_portfolio_access_metadata_request.py +92 -0
- lusid/models/batch_upsert_portfolio_access_metadata_response.py +122 -0
- lusid/models/batch_upsert_portfolio_access_metadata_response_item.py +92 -0
- lusid/models/bond.py +3 -3
- lusid/models/bond_coupon_event.py +3 -3
- lusid/models/bond_default_event.py +3 -3
- lusid/models/bond_principal_event.py +3 -3
- lusid/models/bonus_issue_event.py +166 -0
- lusid/models/{component_rule.py → break_code_source.py} +17 -21
- lusid/models/cancel_order_and_move_remaining_result.py +84 -0
- lusid/models/cancel_orders_and_move_remaining_request.py +83 -0
- lusid/models/cancel_orders_and_move_remaining_response.py +153 -0
- lusid/models/cap_floor.py +3 -3
- lusid/models/capital_distribution_event.py +3 -3
- lusid/models/cash.py +3 -3
- lusid/models/cash_dividend_event.py +3 -3
- lusid/models/cash_flow_event.py +3 -3
- lusid/models/cash_perpetual.py +3 -3
- lusid/models/cds_credit_event.py +105 -0
- lusid/models/cds_index.py +3 -3
- lusid/models/cdx_credit_event.py +114 -0
- lusid/models/change_interval.py +123 -0
- lusid/models/change_interval_with_order_management_detail.py +137 -0
- lusid/models/close_event.py +3 -3
- lusid/models/complex_bond.py +3 -3
- lusid/models/contract_for_difference.py +3 -3
- lusid/models/create_derived_transaction_portfolio_request.py +3 -3
- lusid/models/create_group_reconciliation_definition_request.py +113 -0
- lusid/models/create_transaction_portfolio_request.py +3 -3
- lusid/models/credit_default_swap.py +3 -3
- lusid/models/credit_premium_cash_flow_event.py +102 -0
- lusid/models/custom_entity_entity.py +146 -0
- lusid/models/custom_entity_response.py +7 -1
- lusid/models/decimal_list.py +3 -3
- lusid/models/diary_entry_request.py +10 -1
- lusid/models/dividend_option_event.py +3 -3
- lusid/models/dividend_reinvestment_event.py +3 -3
- lusid/models/effective_range.py +71 -0
- lusid/models/equity.py +3 -3
- lusid/models/equity_option.py +3 -3
- lusid/models/equity_swap.py +3 -3
- lusid/models/exchange_traded_option.py +3 -3
- lusid/models/exercise_event.py +3 -3
- lusid/models/exotic_instrument.py +3 -3
- lusid/models/expiry_event.py +3 -3
- lusid/models/fee.py +8 -8
- lusid/models/fee_request.py +8 -8
- lusid/models/fee_type.py +4 -4
- lusid/models/fee_type_request.py +3 -3
- lusid/models/fixed_leg.py +3 -3
- lusid/models/fixed_schedule.py +3 -3
- lusid/models/flexible_loan.py +3 -3
- lusid/models/float_schedule.py +4 -4
- lusid/models/floating_leg.py +3 -3
- lusid/models/flow_conventions.py +7 -1
- lusid/models/forward_rate_agreement.py +3 -3
- lusid/models/fund_configuration.py +44 -17
- lusid/models/fund_configuration_request.py +31 -19
- lusid/models/fund_id_list.py +99 -0
- lusid/models/fund_share_class.py +23 -8
- lusid/models/funding_leg.py +3 -3
- lusid/models/future.py +3 -3
- lusid/models/future_expiry_event.py +3 -3
- lusid/models/fx_forward.py +3 -3
- lusid/models/fx_forward_settlement_event.py +13 -5
- lusid/models/fx_option.py +3 -3
- lusid/models/fx_swap.py +3 -3
- lusid/models/group_reconciliation_aggregate_attribute_rule.py +2 -2
- lusid/models/group_reconciliation_aggregate_comparison_rule_operand.py +1 -1
- lusid/models/group_reconciliation_core_comparison_rule_operand.py +1 -1
- lusid/models/group_reconciliation_definition.py +136 -0
- lusid/models/group_reconciliation_definition_comparison_ruleset_ids.py +83 -0
- lusid/models/group_reconciliation_definition_currencies.py +71 -0
- lusid/models/group_reconciliation_definition_portfolio_entity_ids.py +86 -0
- lusid/models/group_reconciliation_definition_recipe_ids.py +78 -0
- lusid/models/holding_contributor.py +11 -4
- lusid/models/holding_ids_request.py +69 -0
- lusid/models/holding_pricing_info.py +110 -0
- lusid/models/inflation_leg.py +3 -3
- lusid/models/inflation_linked_bond.py +3 -3
- lusid/models/inflation_swap.py +3 -3
- lusid/models/informational_error_event.py +3 -3
- lusid/models/informational_event.py +3 -3
- lusid/models/instrument.py +7 -1
- lusid/models/instrument_definition.py +8 -2
- lusid/models/instrument_event.py +15 -5
- lusid/models/instrument_event_holder.py +9 -1
- lusid/models/instrument_event_type.py +10 -0
- lusid/models/instrument_leg.py +3 -3
- lusid/models/instrument_list.py +3 -3
- lusid/models/instrument_type.py +2 -0
- lusid/models/interest_rate_swap.py +3 -3
- lusid/models/interest_rate_swaption.py +3 -3
- lusid/models/lapse_election.py +73 -0
- lusid/models/loan_facility.py +97 -0
- lusid/models/lusid_instrument.py +7 -5
- lusid/models/market_data_key_rule.py +5 -3
- lusid/models/market_data_specific_rule.py +5 -3
- lusid/models/mastered_instrument.py +139 -0
- lusid/models/maturity_event.py +3 -3
- lusid/models/mbs_coupon_event.py +97 -0
- lusid/models/mbs_interest_deferral_event.py +97 -0
- lusid/models/mbs_interest_shortfall_event.py +97 -0
- lusid/models/mbs_principal_event.py +97 -0
- lusid/models/mbs_principal_write_off_event.py +97 -0
- lusid/models/merger_event.py +22 -22
- lusid/models/open_event.py +3 -3
- lusid/models/output_transaction.py +9 -2
- lusid/models/paged_resource_list_of_group_reconciliation_comparison_ruleset.py +113 -0
- lusid/models/paged_resource_list_of_group_reconciliation_definition.py +113 -0
- lusid/models/portfolio.py +3 -3
- lusid/models/portfolio_details.py +3 -3
- lusid/models/portfolio_group_id_list.py +3 -3
- lusid/models/portfolio_id_list.py +3 -3
- lusid/models/portfolio_without_href.py +3 -3
- lusid/models/pricing_context.py +8 -2
- lusid/models/property_list.py +3 -3
- lusid/models/raw_vendor_event.py +3 -3
- lusid/models/reference_instrument.py +3 -3
- lusid/models/reference_list.py +6 -5
- lusid/models/reference_list_type.py +1 -0
- lusid/models/repo.py +3 -3
- lusid/models/reset_event.py +3 -3
- lusid/models/{resource_list_of_entity_change_item.py → resource_list_of_change_interval.py} +11 -11
- lusid/models/resource_list_of_change_interval_with_order_management_detail.py +113 -0
- lusid/models/reverse_stock_split_event.py +21 -7
- lusid/models/scrip_dividend_event.py +3 -3
- lusid/models/settlement_cycle.py +79 -0
- lusid/models/share_class_dealing_breakdown.py +3 -2
- lusid/models/share_class_details.py +18 -1
- lusid/models/simple_cash_flow_loan.py +3 -3
- lusid/models/simple_instrument.py +3 -3
- lusid/models/simple_rounding_convention.py +76 -0
- lusid/models/specific_holding_pricing_info.py +75 -0
- lusid/models/spin_off_event.py +3 -3
- lusid/models/staged_modification.py +8 -1
- lusid/models/staged_modification_effective_range.py +2 -2
- lusid/models/stock_dividend_event.py +20 -6
- lusid/models/stock_split_event.py +3 -3
- lusid/models/string_list.py +3 -3
- lusid/models/swap_cash_flow_event.py +3 -3
- lusid/models/swap_principal_event.py +3 -3
- lusid/models/tender_event.py +172 -0
- lusid/models/term_deposit.py +3 -3
- lusid/models/total_return_swap.py +3 -3
- lusid/models/transaction.py +9 -2
- lusid/models/transaction_date_windows.py +85 -0
- lusid/models/transaction_request.py +9 -2
- lusid/models/transition_event.py +3 -3
- lusid/models/trigger_event.py +3 -3
- lusid/models/update_fee_type_request.py +4 -4
- lusid/models/update_group_reconciliation_comparison_ruleset_request.py +91 -0
- lusid/models/update_group_reconciliation_definition_request.py +107 -0
- lusid/models/update_reference_data_request.py +87 -0
- lusid/models/upsert_custom_entities_response.py +20 -1
- lusid/models/upsert_reference_portfolio_constituent_properties_request.py +84 -0
- lusid/models/upsert_reference_portfolio_constituent_properties_response.py +115 -0
- lusid/models/valuation_point_data_query_parameters.py +3 -3
- lusid/models/valuation_point_data_response.py +8 -13
- lusid/rest.py +70 -20
- {lusid_sdk-2.1.390.dist-info → lusid_sdk-2.1.462.dist-info}/METADATA +90 -25
- {lusid_sdk-2.1.390.dist-info → lusid_sdk-2.1.462.dist-info}/RECORD +251 -205
- lusid/models/entity_change_item.py +0 -121
- {lusid_sdk-2.1.390.dist-info → lusid_sdk-2.1.462.dist-info}/WHEEL +0 -0
@@ -20,6 +20,8 @@ from pydantic.v1 import validate_arguments, ValidationError
|
|
20
20
|
from typing import overload, Optional, Union, Awaitable
|
21
21
|
|
22
22
|
from typing_extensions import Annotated
|
23
|
+
from datetime import datetime
|
24
|
+
|
23
25
|
from pydantic.v1 import Field, StrictBool, conlist, constr, validator
|
24
26
|
|
25
27
|
from typing import Dict, Optional
|
@@ -28,6 +30,8 @@ from lusid.models.allocation_service_run_response import AllocationServiceRunRes
|
|
28
30
|
from lusid.models.block_and_orders_create_request import BlockAndOrdersCreateRequest
|
29
31
|
from lusid.models.book_transactions_request import BookTransactionsRequest
|
30
32
|
from lusid.models.book_transactions_response import BookTransactionsResponse
|
33
|
+
from lusid.models.cancel_orders_and_move_remaining_request import CancelOrdersAndMoveRemainingRequest
|
34
|
+
from lusid.models.cancel_orders_and_move_remaining_response import CancelOrdersAndMoveRemainingResponse
|
31
35
|
from lusid.models.cancel_orders_response import CancelOrdersResponse
|
32
36
|
from lusid.models.cancel_placements_response import CancelPlacementsResponse
|
33
37
|
from lusid.models.move_orders_to_different_blocks_request import MoveOrdersToDifferentBlocksRequest
|
@@ -36,7 +40,7 @@ from lusid.models.place_blocks_request import PlaceBlocksRequest
|
|
36
40
|
from lusid.models.placement_update_request import PlacementUpdateRequest
|
37
41
|
from lusid.models.resource_id import ResourceId
|
38
42
|
from lusid.models.resource_list_of_block_and_orders import ResourceListOfBlockAndOrders
|
39
|
-
from lusid.models.
|
43
|
+
from lusid.models.resource_list_of_change_interval_with_order_management_detail import ResourceListOfChangeIntervalWithOrderManagementDetail
|
40
44
|
from lusid.models.resource_list_of_moved_order_to_different_block_response import ResourceListOfMovedOrderToDifferentBlockResponse
|
41
45
|
from lusid.models.resource_list_of_placement import ResourceListOfPlacement
|
42
46
|
from lusid.models.update_orders_response import UpdateOrdersResponse
|
@@ -48,6 +52,7 @@ from lusid.exceptions import ( # noqa: F401
|
|
48
52
|
ApiTypeError,
|
49
53
|
ApiValueError
|
50
54
|
)
|
55
|
+
from lusid.extensions.configuration_options import ConfigurationOptions
|
51
56
|
|
52
57
|
|
53
58
|
class OrderManagementApi:
|
@@ -87,10 +92,9 @@ class OrderManagementApi:
|
|
87
92
|
:type apply_fees_and_commission: bool
|
88
93
|
:param async_req: Whether to execute the request asynchronously.
|
89
94
|
:type async_req: bool, optional
|
90
|
-
:param _request_timeout:
|
91
|
-
|
92
|
-
|
93
|
-
(connection, read) timeouts.
|
95
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
96
|
+
:param opts: Configuration options for this request
|
97
|
+
:type opts: ConfigurationOptions, optional
|
94
98
|
:return: Returns the result object.
|
95
99
|
If the method is called asynchronously,
|
96
100
|
returns the request thread.
|
@@ -129,10 +133,9 @@ class OrderManagementApi:
|
|
129
133
|
:param _return_http_data_only: response data instead of ApiResponse
|
130
134
|
object with status code, headers, etc
|
131
135
|
:type _return_http_data_only: bool, optional
|
132
|
-
:param _request_timeout:
|
133
|
-
|
134
|
-
|
135
|
-
(connection, read) timeouts.
|
136
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
137
|
+
:param opts: Configuration options for this request
|
138
|
+
:type opts: ConfigurationOptions, optional
|
136
139
|
:param _request_auth: set to override the auth_settings for an a single
|
137
140
|
request; this effectively ignores the authentication
|
138
141
|
in the spec for a single request.
|
@@ -158,7 +161,8 @@ class OrderManagementApi:
|
|
158
161
|
'_request_timeout',
|
159
162
|
'_request_auth',
|
160
163
|
'_content_type',
|
161
|
-
'_headers'
|
164
|
+
'_headers',
|
165
|
+
'opts'
|
162
166
|
]
|
163
167
|
)
|
164
168
|
|
@@ -225,6 +229,7 @@ class OrderManagementApi:
|
|
225
229
|
_return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
|
226
230
|
_preload_content=_params.get('_preload_content', True),
|
227
231
|
_request_timeout=_params.get('_request_timeout'),
|
232
|
+
opts=_params.get('opts'),
|
228
233
|
collection_formats=_collection_formats,
|
229
234
|
_request_auth=_params.get('_request_auth'))
|
230
235
|
|
@@ -251,10 +256,9 @@ class OrderManagementApi:
|
|
251
256
|
:type request_body: Dict[str, ResourceId]
|
252
257
|
:param async_req: Whether to execute the request asynchronously.
|
253
258
|
:type async_req: bool, optional
|
254
|
-
:param _request_timeout:
|
255
|
-
|
256
|
-
|
257
|
-
(connection, read) timeouts.
|
259
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
260
|
+
:param opts: Configuration options for this request
|
261
|
+
:type opts: ConfigurationOptions, optional
|
258
262
|
:return: Returns the result object.
|
259
263
|
If the method is called asynchronously,
|
260
264
|
returns the request thread.
|
@@ -291,10 +295,9 @@ class OrderManagementApi:
|
|
291
295
|
:param _return_http_data_only: response data instead of ApiResponse
|
292
296
|
object with status code, headers, etc
|
293
297
|
:type _return_http_data_only: bool, optional
|
294
|
-
:param _request_timeout:
|
295
|
-
|
296
|
-
|
297
|
-
(connection, read) timeouts.
|
298
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
299
|
+
:param opts: Configuration options for this request
|
300
|
+
:type opts: ConfigurationOptions, optional
|
298
301
|
:param _request_auth: set to override the auth_settings for an a single
|
299
302
|
request; this effectively ignores the authentication
|
300
303
|
in the spec for a single request.
|
@@ -319,7 +322,8 @@ class OrderManagementApi:
|
|
319
322
|
'_request_timeout',
|
320
323
|
'_request_auth',
|
321
324
|
'_content_type',
|
322
|
-
'_headers'
|
325
|
+
'_headers',
|
326
|
+
'opts'
|
323
327
|
]
|
324
328
|
)
|
325
329
|
|
@@ -383,6 +387,165 @@ class OrderManagementApi:
|
|
383
387
|
_return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
|
384
388
|
_preload_content=_params.get('_preload_content', True),
|
385
389
|
_request_timeout=_params.get('_request_timeout'),
|
390
|
+
opts=_params.get('opts'),
|
391
|
+
collection_formats=_collection_formats,
|
392
|
+
_request_auth=_params.get('_request_auth'))
|
393
|
+
|
394
|
+
@overload
|
395
|
+
async def cancel_orders_and_move_remaining(self, request_body : Annotated[Dict[str, CancelOrdersAndMoveRemainingRequest], Field(..., description="The request containing the orders to be cancelled, and the destinations of remaining quantities.")], **kwargs) -> CancelOrdersAndMoveRemainingResponse: # noqa: E501
|
396
|
+
...
|
397
|
+
|
398
|
+
@overload
|
399
|
+
def cancel_orders_and_move_remaining(self, request_body : Annotated[Dict[str, CancelOrdersAndMoveRemainingRequest], Field(..., description="The request containing the orders to be cancelled, and the destinations of remaining quantities.")], async_req: Optional[bool]=True, **kwargs) -> CancelOrdersAndMoveRemainingResponse: # noqa: E501
|
400
|
+
...
|
401
|
+
|
402
|
+
@validate_arguments
|
403
|
+
def cancel_orders_and_move_remaining(self, request_body : Annotated[Dict[str, CancelOrdersAndMoveRemainingRequest], Field(..., description="The request containing the orders to be cancelled, and the destinations of remaining quantities.")], async_req: Optional[bool]=None, **kwargs) -> Union[CancelOrdersAndMoveRemainingResponse, Awaitable[CancelOrdersAndMoveRemainingResponse]]: # noqa: E501
|
404
|
+
"""[EARLY ACCESS] CancelOrdersAndMoveRemaining: Cancel existing orders and move any unplaced quantities to new orders in new blocks # noqa: E501
|
405
|
+
|
406
|
+
Cancels existing orders, reducing their quantities to those aleady placed. Any remaining quantities are moved to new orders in new blocks. The placed quantities are distributed to the cancelled orders on a pro-rata basis. # noqa: E501
|
407
|
+
This method makes a synchronous HTTP request by default. To make an
|
408
|
+
asynchronous HTTP request, please pass async_req=True
|
409
|
+
|
410
|
+
>>> thread = api.cancel_orders_and_move_remaining(request_body, async_req=True)
|
411
|
+
>>> result = thread.get()
|
412
|
+
|
413
|
+
:param request_body: The request containing the orders to be cancelled, and the destinations of remaining quantities. (required)
|
414
|
+
:type request_body: Dict[str, CancelOrdersAndMoveRemainingRequest]
|
415
|
+
:param async_req: Whether to execute the request asynchronously.
|
416
|
+
:type async_req: bool, optional
|
417
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
418
|
+
:param opts: Configuration options for this request
|
419
|
+
:type opts: ConfigurationOptions, optional
|
420
|
+
:return: Returns the result object.
|
421
|
+
If the method is called asynchronously,
|
422
|
+
returns the request thread.
|
423
|
+
:rtype: CancelOrdersAndMoveRemainingResponse
|
424
|
+
"""
|
425
|
+
kwargs['_return_http_data_only'] = True
|
426
|
+
if '_preload_content' in kwargs:
|
427
|
+
message = "Error! Please call the cancel_orders_and_move_remaining_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
|
428
|
+
raise ValueError(message)
|
429
|
+
if async_req is not None:
|
430
|
+
kwargs['async_req'] = async_req
|
431
|
+
return self.cancel_orders_and_move_remaining_with_http_info(request_body, **kwargs) # noqa: E501
|
432
|
+
|
433
|
+
@validate_arguments
|
434
|
+
def cancel_orders_and_move_remaining_with_http_info(self, request_body : Annotated[Dict[str, CancelOrdersAndMoveRemainingRequest], Field(..., description="The request containing the orders to be cancelled, and the destinations of remaining quantities.")], **kwargs) -> ApiResponse: # noqa: E501
|
435
|
+
"""[EARLY ACCESS] CancelOrdersAndMoveRemaining: Cancel existing orders and move any unplaced quantities to new orders in new blocks # noqa: E501
|
436
|
+
|
437
|
+
Cancels existing orders, reducing their quantities to those aleady placed. Any remaining quantities are moved to new orders in new blocks. The placed quantities are distributed to the cancelled orders on a pro-rata basis. # noqa: E501
|
438
|
+
This method makes a synchronous HTTP request by default. To make an
|
439
|
+
asynchronous HTTP request, please pass async_req=True
|
440
|
+
|
441
|
+
>>> thread = api.cancel_orders_and_move_remaining_with_http_info(request_body, async_req=True)
|
442
|
+
>>> result = thread.get()
|
443
|
+
|
444
|
+
:param request_body: The request containing the orders to be cancelled, and the destinations of remaining quantities. (required)
|
445
|
+
:type request_body: Dict[str, CancelOrdersAndMoveRemainingRequest]
|
446
|
+
:param async_req: Whether to execute the request asynchronously.
|
447
|
+
:type async_req: bool, optional
|
448
|
+
:param _preload_content: if False, the ApiResponse.data will
|
449
|
+
be set to none and raw_data will store the
|
450
|
+
HTTP response body without reading/decoding.
|
451
|
+
Default is True.
|
452
|
+
:type _preload_content: bool, optional
|
453
|
+
:param _return_http_data_only: response data instead of ApiResponse
|
454
|
+
object with status code, headers, etc
|
455
|
+
:type _return_http_data_only: bool, optional
|
456
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
457
|
+
:param opts: Configuration options for this request
|
458
|
+
:type opts: ConfigurationOptions, optional
|
459
|
+
:param _request_auth: set to override the auth_settings for an a single
|
460
|
+
request; this effectively ignores the authentication
|
461
|
+
in the spec for a single request.
|
462
|
+
:type _request_auth: dict, optional
|
463
|
+
:type _content_type: string, optional: force content-type for the request
|
464
|
+
:return: Returns the result object.
|
465
|
+
If the method is called asynchronously,
|
466
|
+
returns the request thread.
|
467
|
+
:rtype: tuple(CancelOrdersAndMoveRemainingResponse, status_code(int), headers(HTTPHeaderDict))
|
468
|
+
"""
|
469
|
+
|
470
|
+
_params = locals()
|
471
|
+
|
472
|
+
_all_params = [
|
473
|
+
'request_body'
|
474
|
+
]
|
475
|
+
_all_params.extend(
|
476
|
+
[
|
477
|
+
'async_req',
|
478
|
+
'_return_http_data_only',
|
479
|
+
'_preload_content',
|
480
|
+
'_request_timeout',
|
481
|
+
'_request_auth',
|
482
|
+
'_content_type',
|
483
|
+
'_headers',
|
484
|
+
'opts'
|
485
|
+
]
|
486
|
+
)
|
487
|
+
|
488
|
+
# validate the arguments
|
489
|
+
for _key, _val in _params['kwargs'].items():
|
490
|
+
if _key not in _all_params:
|
491
|
+
raise ApiTypeError(
|
492
|
+
"Got an unexpected keyword argument '%s'"
|
493
|
+
" to method cancel_orders_and_move_remaining" % _key
|
494
|
+
)
|
495
|
+
_params[_key] = _val
|
496
|
+
del _params['kwargs']
|
497
|
+
|
498
|
+
_collection_formats = {}
|
499
|
+
|
500
|
+
# process the path parameters
|
501
|
+
_path_params = {}
|
502
|
+
|
503
|
+
# process the query parameters
|
504
|
+
_query_params = []
|
505
|
+
# process the header parameters
|
506
|
+
_header_params = dict(_params.get('_headers', {}))
|
507
|
+
# process the form parameters
|
508
|
+
_form_params = []
|
509
|
+
_files = {}
|
510
|
+
# process the body parameter
|
511
|
+
_body_params = None
|
512
|
+
if _params['request_body'] is not None:
|
513
|
+
_body_params = _params['request_body']
|
514
|
+
|
515
|
+
# set the HTTP header `Accept`
|
516
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
517
|
+
['text/plain', 'application/json', 'text/json']) # noqa: E501
|
518
|
+
|
519
|
+
# set the HTTP header `Content-Type`
|
520
|
+
_content_types_list = _params.get('_content_type',
|
521
|
+
self.api_client.select_header_content_type(
|
522
|
+
['application/json-patch+json', 'application/json', 'text/json', 'application/*+json']))
|
523
|
+
if _content_types_list:
|
524
|
+
_header_params['Content-Type'] = _content_types_list
|
525
|
+
|
526
|
+
# authentication setting
|
527
|
+
_auth_settings = ['oauth2'] # noqa: E501
|
528
|
+
|
529
|
+
_response_types_map = {
|
530
|
+
'200': "CancelOrdersAndMoveRemainingResponse",
|
531
|
+
'400': "LusidValidationProblemDetails",
|
532
|
+
}
|
533
|
+
|
534
|
+
return self.api_client.call_api(
|
535
|
+
'/api/ordermanagement/cancelordersandmoveremaining', 'POST',
|
536
|
+
_path_params,
|
537
|
+
_query_params,
|
538
|
+
_header_params,
|
539
|
+
body=_body_params,
|
540
|
+
post_params=_form_params,
|
541
|
+
files=_files,
|
542
|
+
response_types_map=_response_types_map,
|
543
|
+
auth_settings=_auth_settings,
|
544
|
+
async_req=_params.get('async_req'),
|
545
|
+
_return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
|
546
|
+
_preload_content=_params.get('_preload_content', True),
|
547
|
+
_request_timeout=_params.get('_request_timeout'),
|
548
|
+
opts=_params.get('opts'),
|
386
549
|
collection_formats=_collection_formats,
|
387
550
|
_request_auth=_params.get('_request_auth'))
|
388
551
|
|
@@ -409,10 +572,9 @@ class OrderManagementApi:
|
|
409
572
|
:type request_body: Dict[str, ResourceId]
|
410
573
|
:param async_req: Whether to execute the request asynchronously.
|
411
574
|
:type async_req: bool, optional
|
412
|
-
:param _request_timeout:
|
413
|
-
|
414
|
-
|
415
|
-
(connection, read) timeouts.
|
575
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
576
|
+
:param opts: Configuration options for this request
|
577
|
+
:type opts: ConfigurationOptions, optional
|
416
578
|
:return: Returns the result object.
|
417
579
|
If the method is called asynchronously,
|
418
580
|
returns the request thread.
|
@@ -449,10 +611,9 @@ class OrderManagementApi:
|
|
449
611
|
:param _return_http_data_only: response data instead of ApiResponse
|
450
612
|
object with status code, headers, etc
|
451
613
|
:type _return_http_data_only: bool, optional
|
452
|
-
:param _request_timeout:
|
453
|
-
|
454
|
-
|
455
|
-
(connection, read) timeouts.
|
614
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
615
|
+
:param opts: Configuration options for this request
|
616
|
+
:type opts: ConfigurationOptions, optional
|
456
617
|
:param _request_auth: set to override the auth_settings for an a single
|
457
618
|
request; this effectively ignores the authentication
|
458
619
|
in the spec for a single request.
|
@@ -477,7 +638,8 @@ class OrderManagementApi:
|
|
477
638
|
'_request_timeout',
|
478
639
|
'_request_auth',
|
479
640
|
'_content_type',
|
480
|
-
'_headers'
|
641
|
+
'_headers',
|
642
|
+
'opts'
|
481
643
|
]
|
482
644
|
)
|
483
645
|
|
@@ -541,6 +703,7 @@ class OrderManagementApi:
|
|
541
703
|
_return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
|
542
704
|
_preload_content=_params.get('_preload_content', True),
|
543
705
|
_request_timeout=_params.get('_request_timeout'),
|
706
|
+
opts=_params.get('opts'),
|
544
707
|
collection_formats=_collection_formats,
|
545
708
|
_request_auth=_params.get('_request_auth'))
|
546
709
|
|
@@ -567,10 +730,9 @@ class OrderManagementApi:
|
|
567
730
|
:type block_and_orders_create_request: BlockAndOrdersCreateRequest
|
568
731
|
:param async_req: Whether to execute the request asynchronously.
|
569
732
|
:type async_req: bool, optional
|
570
|
-
:param _request_timeout:
|
571
|
-
|
572
|
-
|
573
|
-
(connection, read) timeouts.
|
733
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
734
|
+
:param opts: Configuration options for this request
|
735
|
+
:type opts: ConfigurationOptions, optional
|
574
736
|
:return: Returns the result object.
|
575
737
|
If the method is called asynchronously,
|
576
738
|
returns the request thread.
|
@@ -607,10 +769,9 @@ class OrderManagementApi:
|
|
607
769
|
:param _return_http_data_only: response data instead of ApiResponse
|
608
770
|
object with status code, headers, etc
|
609
771
|
:type _return_http_data_only: bool, optional
|
610
|
-
:param _request_timeout:
|
611
|
-
|
612
|
-
|
613
|
-
(connection, read) timeouts.
|
772
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
773
|
+
:param opts: Configuration options for this request
|
774
|
+
:type opts: ConfigurationOptions, optional
|
614
775
|
:param _request_auth: set to override the auth_settings for an a single
|
615
776
|
request; this effectively ignores the authentication
|
616
777
|
in the spec for a single request.
|
@@ -635,7 +796,8 @@ class OrderManagementApi:
|
|
635
796
|
'_request_timeout',
|
636
797
|
'_request_auth',
|
637
798
|
'_content_type',
|
638
|
-
'_headers'
|
799
|
+
'_headers',
|
800
|
+
'opts'
|
639
801
|
]
|
640
802
|
)
|
641
803
|
|
@@ -699,42 +861,44 @@ class OrderManagementApi:
|
|
699
861
|
_return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
|
700
862
|
_preload_content=_params.get('_preload_content', True),
|
701
863
|
_request_timeout=_params.get('_request_timeout'),
|
864
|
+
opts=_params.get('opts'),
|
702
865
|
collection_formats=_collection_formats,
|
703
866
|
_request_auth=_params.get('_request_auth'))
|
704
867
|
|
705
868
|
@overload
|
706
|
-
async def get_order_history(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the order.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the order.")], **kwargs) ->
|
869
|
+
async def get_order_history(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the order.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the order.")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the history of the order and related entities. Defaults to return the latest version if not specified.")] = None, **kwargs) -> ResourceListOfChangeIntervalWithOrderManagementDetail: # noqa: E501
|
707
870
|
...
|
708
871
|
|
709
872
|
@overload
|
710
|
-
def get_order_history(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the order.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the order.")], async_req: Optional[bool]=True, **kwargs) ->
|
873
|
+
def get_order_history(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the order.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the order.")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the history of the order and related entities. Defaults to return the latest version if not specified.")] = None, async_req: Optional[bool]=True, **kwargs) -> ResourceListOfChangeIntervalWithOrderManagementDetail: # noqa: E501
|
711
874
|
...
|
712
875
|
|
713
876
|
@validate_arguments
|
714
|
-
def get_order_history(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the order.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the order.")], async_req: Optional[bool]=None, **kwargs) -> Union[
|
877
|
+
def get_order_history(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the order.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the order.")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the history of the order and related entities. Defaults to return the latest version if not specified.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[ResourceListOfChangeIntervalWithOrderManagementDetail, Awaitable[ResourceListOfChangeIntervalWithOrderManagementDetail]]: # noqa: E501
|
715
878
|
"""[EXPERIMENTAL] GetOrderHistory: Get the history of an order and related entity changes # noqa: E501
|
716
879
|
|
717
880
|
Get the changes that have happened to an order and related entities. # noqa: E501
|
718
881
|
This method makes a synchronous HTTP request by default. To make an
|
719
882
|
asynchronous HTTP request, please pass async_req=True
|
720
883
|
|
721
|
-
>>> thread = api.get_order_history(scope, code, async_req=True)
|
884
|
+
>>> thread = api.get_order_history(scope, code, as_at, async_req=True)
|
722
885
|
>>> result = thread.get()
|
723
886
|
|
724
887
|
:param scope: The scope of the order. (required)
|
725
888
|
:type scope: str
|
726
889
|
:param code: The code of the order. (required)
|
727
890
|
:type code: str
|
891
|
+
:param as_at: The asAt datetime at which to retrieve the history of the order and related entities. Defaults to return the latest version if not specified.
|
892
|
+
:type as_at: datetime
|
728
893
|
:param async_req: Whether to execute the request asynchronously.
|
729
894
|
:type async_req: bool, optional
|
730
|
-
:param _request_timeout:
|
731
|
-
|
732
|
-
|
733
|
-
(connection, read) timeouts.
|
895
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
896
|
+
:param opts: Configuration options for this request
|
897
|
+
:type opts: ConfigurationOptions, optional
|
734
898
|
:return: Returns the result object.
|
735
899
|
If the method is called asynchronously,
|
736
900
|
returns the request thread.
|
737
|
-
:rtype:
|
901
|
+
:rtype: ResourceListOfChangeIntervalWithOrderManagementDetail
|
738
902
|
"""
|
739
903
|
kwargs['_return_http_data_only'] = True
|
740
904
|
if '_preload_content' in kwargs:
|
@@ -742,23 +906,25 @@ class OrderManagementApi:
|
|
742
906
|
raise ValueError(message)
|
743
907
|
if async_req is not None:
|
744
908
|
kwargs['async_req'] = async_req
|
745
|
-
return self.get_order_history_with_http_info(scope, code, **kwargs) # noqa: E501
|
909
|
+
return self.get_order_history_with_http_info(scope, code, as_at, **kwargs) # noqa: E501
|
746
910
|
|
747
911
|
@validate_arguments
|
748
|
-
def get_order_history_with_http_info(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the order.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the order.")], **kwargs) -> ApiResponse: # noqa: E501
|
912
|
+
def get_order_history_with_http_info(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the order.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the order.")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the history of the order and related entities. Defaults to return the latest version if not specified.")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
749
913
|
"""[EXPERIMENTAL] GetOrderHistory: Get the history of an order and related entity changes # noqa: E501
|
750
914
|
|
751
915
|
Get the changes that have happened to an order and related entities. # noqa: E501
|
752
916
|
This method makes a synchronous HTTP request by default. To make an
|
753
917
|
asynchronous HTTP request, please pass async_req=True
|
754
918
|
|
755
|
-
>>> thread = api.get_order_history_with_http_info(scope, code, async_req=True)
|
919
|
+
>>> thread = api.get_order_history_with_http_info(scope, code, as_at, async_req=True)
|
756
920
|
>>> result = thread.get()
|
757
921
|
|
758
922
|
:param scope: The scope of the order. (required)
|
759
923
|
:type scope: str
|
760
924
|
:param code: The code of the order. (required)
|
761
925
|
:type code: str
|
926
|
+
:param as_at: The asAt datetime at which to retrieve the history of the order and related entities. Defaults to return the latest version if not specified.
|
927
|
+
:type as_at: datetime
|
762
928
|
:param async_req: Whether to execute the request asynchronously.
|
763
929
|
:type async_req: bool, optional
|
764
930
|
:param _preload_content: if False, the ApiResponse.data will
|
@@ -769,10 +935,9 @@ class OrderManagementApi:
|
|
769
935
|
:param _return_http_data_only: response data instead of ApiResponse
|
770
936
|
object with status code, headers, etc
|
771
937
|
:type _return_http_data_only: bool, optional
|
772
|
-
:param _request_timeout:
|
773
|
-
|
774
|
-
|
775
|
-
(connection, read) timeouts.
|
938
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
939
|
+
:param opts: Configuration options for this request
|
940
|
+
:type opts: ConfigurationOptions, optional
|
776
941
|
:param _request_auth: set to override the auth_settings for an a single
|
777
942
|
request; this effectively ignores the authentication
|
778
943
|
in the spec for a single request.
|
@@ -781,14 +946,15 @@ class OrderManagementApi:
|
|
781
946
|
:return: Returns the result object.
|
782
947
|
If the method is called asynchronously,
|
783
948
|
returns the request thread.
|
784
|
-
:rtype: tuple(
|
949
|
+
:rtype: tuple(ResourceListOfChangeIntervalWithOrderManagementDetail, status_code(int), headers(HTTPHeaderDict))
|
785
950
|
"""
|
786
951
|
|
787
952
|
_params = locals()
|
788
953
|
|
789
954
|
_all_params = [
|
790
955
|
'scope',
|
791
|
-
'code'
|
956
|
+
'code',
|
957
|
+
'as_at'
|
792
958
|
]
|
793
959
|
_all_params.extend(
|
794
960
|
[
|
@@ -798,7 +964,8 @@ class OrderManagementApi:
|
|
798
964
|
'_request_timeout',
|
799
965
|
'_request_auth',
|
800
966
|
'_content_type',
|
801
|
-
'_headers'
|
967
|
+
'_headers',
|
968
|
+
'opts'
|
802
969
|
]
|
803
970
|
)
|
804
971
|
|
@@ -825,6 +992,12 @@ class OrderManagementApi:
|
|
825
992
|
|
826
993
|
# process the query parameters
|
827
994
|
_query_params = []
|
995
|
+
if _params.get('as_at') is not None: # noqa: E501
|
996
|
+
if isinstance(_params['as_at'], datetime):
|
997
|
+
_query_params.append(('asAt', _params['as_at'].strftime(self.api_client.configuration.datetime_format)))
|
998
|
+
else:
|
999
|
+
_query_params.append(('asAt', _params['as_at']))
|
1000
|
+
|
828
1001
|
# process the header parameters
|
829
1002
|
_header_params = dict(_params.get('_headers', {}))
|
830
1003
|
# process the form parameters
|
@@ -840,7 +1013,7 @@ class OrderManagementApi:
|
|
840
1013
|
_auth_settings = ['oauth2'] # noqa: E501
|
841
1014
|
|
842
1015
|
_response_types_map = {
|
843
|
-
'200': "
|
1016
|
+
'200': "ResourceListOfChangeIntervalWithOrderManagementDetail",
|
844
1017
|
'400': "LusidValidationProblemDetails",
|
845
1018
|
'404': "str",
|
846
1019
|
}
|
@@ -859,6 +1032,7 @@ class OrderManagementApi:
|
|
859
1032
|
_return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
|
860
1033
|
_preload_content=_params.get('_preload_content', True),
|
861
1034
|
_request_timeout=_params.get('_request_timeout'),
|
1035
|
+
opts=_params.get('opts'),
|
862
1036
|
collection_formats=_collection_formats,
|
863
1037
|
_request_auth=_params.get('_request_auth'))
|
864
1038
|
|
@@ -885,10 +1059,9 @@ class OrderManagementApi:
|
|
885
1059
|
:type move_orders_to_different_blocks_request: MoveOrdersToDifferentBlocksRequest
|
886
1060
|
:param async_req: Whether to execute the request asynchronously.
|
887
1061
|
:type async_req: bool, optional
|
888
|
-
:param _request_timeout:
|
889
|
-
|
890
|
-
|
891
|
-
(connection, read) timeouts.
|
1062
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
1063
|
+
:param opts: Configuration options for this request
|
1064
|
+
:type opts: ConfigurationOptions, optional
|
892
1065
|
:return: Returns the result object.
|
893
1066
|
If the method is called asynchronously,
|
894
1067
|
returns the request thread.
|
@@ -925,10 +1098,9 @@ class OrderManagementApi:
|
|
925
1098
|
:param _return_http_data_only: response data instead of ApiResponse
|
926
1099
|
object with status code, headers, etc
|
927
1100
|
:type _return_http_data_only: bool, optional
|
928
|
-
:param _request_timeout:
|
929
|
-
|
930
|
-
|
931
|
-
(connection, read) timeouts.
|
1101
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
1102
|
+
:param opts: Configuration options for this request
|
1103
|
+
:type opts: ConfigurationOptions, optional
|
932
1104
|
:param _request_auth: set to override the auth_settings for an a single
|
933
1105
|
request; this effectively ignores the authentication
|
934
1106
|
in the spec for a single request.
|
@@ -953,7 +1125,8 @@ class OrderManagementApi:
|
|
953
1125
|
'_request_timeout',
|
954
1126
|
'_request_auth',
|
955
1127
|
'_content_type',
|
956
|
-
'_headers'
|
1128
|
+
'_headers',
|
1129
|
+
'opts'
|
957
1130
|
]
|
958
1131
|
)
|
959
1132
|
|
@@ -1017,6 +1190,7 @@ class OrderManagementApi:
|
|
1017
1190
|
_return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
|
1018
1191
|
_preload_content=_params.get('_preload_content', True),
|
1019
1192
|
_request_timeout=_params.get('_request_timeout'),
|
1193
|
+
opts=_params.get('opts'),
|
1020
1194
|
collection_formats=_collection_formats,
|
1021
1195
|
_request_auth=_params.get('_request_auth'))
|
1022
1196
|
|
@@ -1043,10 +1217,9 @@ class OrderManagementApi:
|
|
1043
1217
|
:type place_blocks_request: PlaceBlocksRequest
|
1044
1218
|
:param async_req: Whether to execute the request asynchronously.
|
1045
1219
|
:type async_req: bool, optional
|
1046
|
-
:param _request_timeout:
|
1047
|
-
|
1048
|
-
|
1049
|
-
(connection, read) timeouts.
|
1220
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
1221
|
+
:param opts: Configuration options for this request
|
1222
|
+
:type opts: ConfigurationOptions, optional
|
1050
1223
|
:return: Returns the result object.
|
1051
1224
|
If the method is called asynchronously,
|
1052
1225
|
returns the request thread.
|
@@ -1083,10 +1256,9 @@ class OrderManagementApi:
|
|
1083
1256
|
:param _return_http_data_only: response data instead of ApiResponse
|
1084
1257
|
object with status code, headers, etc
|
1085
1258
|
:type _return_http_data_only: bool, optional
|
1086
|
-
:param _request_timeout:
|
1087
|
-
|
1088
|
-
|
1089
|
-
(connection, read) timeouts.
|
1259
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
1260
|
+
:param opts: Configuration options for this request
|
1261
|
+
:type opts: ConfigurationOptions, optional
|
1090
1262
|
:param _request_auth: set to override the auth_settings for an a single
|
1091
1263
|
request; this effectively ignores the authentication
|
1092
1264
|
in the spec for a single request.
|
@@ -1111,7 +1283,8 @@ class OrderManagementApi:
|
|
1111
1283
|
'_request_timeout',
|
1112
1284
|
'_request_auth',
|
1113
1285
|
'_content_type',
|
1114
|
-
'_headers'
|
1286
|
+
'_headers',
|
1287
|
+
'opts'
|
1115
1288
|
]
|
1116
1289
|
)
|
1117
1290
|
|
@@ -1175,6 +1348,7 @@ class OrderManagementApi:
|
|
1175
1348
|
_return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
|
1176
1349
|
_preload_content=_params.get('_preload_content', True),
|
1177
1350
|
_request_timeout=_params.get('_request_timeout'),
|
1351
|
+
opts=_params.get('opts'),
|
1178
1352
|
collection_formats=_collection_formats,
|
1179
1353
|
_request_auth=_params.get('_request_auth'))
|
1180
1354
|
|
@@ -1203,10 +1377,9 @@ class OrderManagementApi:
|
|
1203
1377
|
:type allocation_algorithm: str
|
1204
1378
|
:param async_req: Whether to execute the request asynchronously.
|
1205
1379
|
:type async_req: bool, optional
|
1206
|
-
:param _request_timeout:
|
1207
|
-
|
1208
|
-
|
1209
|
-
(connection, read) timeouts.
|
1380
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
1381
|
+
:param opts: Configuration options for this request
|
1382
|
+
:type opts: ConfigurationOptions, optional
|
1210
1383
|
:return: Returns the result object.
|
1211
1384
|
If the method is called asynchronously,
|
1212
1385
|
returns the request thread.
|
@@ -1245,10 +1418,9 @@ class OrderManagementApi:
|
|
1245
1418
|
:param _return_http_data_only: response data instead of ApiResponse
|
1246
1419
|
object with status code, headers, etc
|
1247
1420
|
:type _return_http_data_only: bool, optional
|
1248
|
-
:param _request_timeout:
|
1249
|
-
|
1250
|
-
|
1251
|
-
(connection, read) timeouts.
|
1421
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
1422
|
+
:param opts: Configuration options for this request
|
1423
|
+
:type opts: ConfigurationOptions, optional
|
1252
1424
|
:param _request_auth: set to override the auth_settings for an a single
|
1253
1425
|
request; this effectively ignores the authentication
|
1254
1426
|
in the spec for a single request.
|
@@ -1274,7 +1446,8 @@ class OrderManagementApi:
|
|
1274
1446
|
'_request_timeout',
|
1275
1447
|
'_request_auth',
|
1276
1448
|
'_content_type',
|
1277
|
-
'_headers'
|
1449
|
+
'_headers',
|
1450
|
+
'opts'
|
1278
1451
|
]
|
1279
1452
|
)
|
1280
1453
|
|
@@ -1341,6 +1514,7 @@ class OrderManagementApi:
|
|
1341
1514
|
_return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
|
1342
1515
|
_preload_content=_params.get('_preload_content', True),
|
1343
1516
|
_request_timeout=_params.get('_request_timeout'),
|
1517
|
+
opts=_params.get('opts'),
|
1344
1518
|
collection_formats=_collection_formats,
|
1345
1519
|
_request_auth=_params.get('_request_auth'))
|
1346
1520
|
|
@@ -1367,10 +1541,9 @@ class OrderManagementApi:
|
|
1367
1541
|
:type request_body: Dict[str, OrderUpdateRequest]
|
1368
1542
|
:param async_req: Whether to execute the request asynchronously.
|
1369
1543
|
:type async_req: bool, optional
|
1370
|
-
:param _request_timeout:
|
1371
|
-
|
1372
|
-
|
1373
|
-
(connection, read) timeouts.
|
1544
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
1545
|
+
:param opts: Configuration options for this request
|
1546
|
+
:type opts: ConfigurationOptions, optional
|
1374
1547
|
:return: Returns the result object.
|
1375
1548
|
If the method is called asynchronously,
|
1376
1549
|
returns the request thread.
|
@@ -1407,10 +1580,9 @@ class OrderManagementApi:
|
|
1407
1580
|
:param _return_http_data_only: response data instead of ApiResponse
|
1408
1581
|
object with status code, headers, etc
|
1409
1582
|
:type _return_http_data_only: bool, optional
|
1410
|
-
:param _request_timeout:
|
1411
|
-
|
1412
|
-
|
1413
|
-
(connection, read) timeouts.
|
1583
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
1584
|
+
:param opts: Configuration options for this request
|
1585
|
+
:type opts: ConfigurationOptions, optional
|
1414
1586
|
:param _request_auth: set to override the auth_settings for an a single
|
1415
1587
|
request; this effectively ignores the authentication
|
1416
1588
|
in the spec for a single request.
|
@@ -1435,7 +1607,8 @@ class OrderManagementApi:
|
|
1435
1607
|
'_request_timeout',
|
1436
1608
|
'_request_auth',
|
1437
1609
|
'_content_type',
|
1438
|
-
'_headers'
|
1610
|
+
'_headers',
|
1611
|
+
'opts'
|
1439
1612
|
]
|
1440
1613
|
)
|
1441
1614
|
|
@@ -1499,6 +1672,7 @@ class OrderManagementApi:
|
|
1499
1672
|
_return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
|
1500
1673
|
_preload_content=_params.get('_preload_content', True),
|
1501
1674
|
_request_timeout=_params.get('_request_timeout'),
|
1675
|
+
opts=_params.get('opts'),
|
1502
1676
|
collection_formats=_collection_formats,
|
1503
1677
|
_request_auth=_params.get('_request_auth'))
|
1504
1678
|
|
@@ -1525,10 +1699,9 @@ class OrderManagementApi:
|
|
1525
1699
|
:type request_body: Dict[str, PlacementUpdateRequest]
|
1526
1700
|
:param async_req: Whether to execute the request asynchronously.
|
1527
1701
|
:type async_req: bool, optional
|
1528
|
-
:param _request_timeout:
|
1529
|
-
|
1530
|
-
|
1531
|
-
(connection, read) timeouts.
|
1702
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
1703
|
+
:param opts: Configuration options for this request
|
1704
|
+
:type opts: ConfigurationOptions, optional
|
1532
1705
|
:return: Returns the result object.
|
1533
1706
|
If the method is called asynchronously,
|
1534
1707
|
returns the request thread.
|
@@ -1565,10 +1738,9 @@ class OrderManagementApi:
|
|
1565
1738
|
:param _return_http_data_only: response data instead of ApiResponse
|
1566
1739
|
object with status code, headers, etc
|
1567
1740
|
:type _return_http_data_only: bool, optional
|
1568
|
-
:param _request_timeout:
|
1569
|
-
|
1570
|
-
|
1571
|
-
(connection, read) timeouts.
|
1741
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
1742
|
+
:param opts: Configuration options for this request
|
1743
|
+
:type opts: ConfigurationOptions, optional
|
1572
1744
|
:param _request_auth: set to override the auth_settings for an a single
|
1573
1745
|
request; this effectively ignores the authentication
|
1574
1746
|
in the spec for a single request.
|
@@ -1593,7 +1765,8 @@ class OrderManagementApi:
|
|
1593
1765
|
'_request_timeout',
|
1594
1766
|
'_request_auth',
|
1595
1767
|
'_content_type',
|
1596
|
-
'_headers'
|
1768
|
+
'_headers',
|
1769
|
+
'opts'
|
1597
1770
|
]
|
1598
1771
|
)
|
1599
1772
|
|
@@ -1657,5 +1830,6 @@ class OrderManagementApi:
|
|
1657
1830
|
_return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
|
1658
1831
|
_preload_content=_params.get('_preload_content', True),
|
1659
1832
|
_request_timeout=_params.get('_request_timeout'),
|
1833
|
+
opts=_params.get('opts'),
|
1660
1834
|
collection_formats=_collection_formats,
|
1661
1835
|
_request_auth=_params.get('_request_auth'))
|