lusid-sdk 2.1.405__py3-none-any.whl → 2.1.537__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 +142 -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 +2182 -63
- lusid/api/instrument_event_types_api.py +64 -63
- lusid/api/instrument_events_api.py +46 -45
- lusid/api/instruments_api.py +374 -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 +251 -90
- 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 +163 -162
- lusid/api/placements_api.py +37 -36
- lusid/api/portfolio_groups_api.py +235 -234
- lusid/api/portfolios_api.py +307 -309
- 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 +771 -328
- 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 +140 -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/applicable_instrument_event.py +7 -2
- lusid/models/asset_leg.py +1 -1
- lusid/models/basket.py +3 -3
- lusid/models/batch_update_user_review_for_comparison_result_request.py +81 -0
- lusid/models/batch_update_user_review_for_comparison_result_response.py +146 -0
- lusid/models/batch_upsert_dates_for_calendar_response.py +146 -0
- lusid/models/batch_upsert_portfolio_access_metadata_request.py +27 -17
- lusid/models/batch_upsert_portfolio_access_metadata_response.py +56 -16
- lusid/models/{metadata_key_value.py → batch_upsert_portfolio_access_metadata_response_item.py} +15 -9
- lusid/models/bond.py +3 -3
- lusid/models/bond_coupon_event.py +10 -5
- lusid/models/bond_default_event.py +3 -3
- lusid/models/bond_principal_event.py +10 -5
- lusid/models/bonus_issue_event.py +166 -0
- lusid/models/{component_rule.py → break_code_source.py} +17 -21
- lusid/models/call_on_intermediate_securities_event.py +139 -0
- 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 +6 -6
- lusid/models/cds_index.py +3 -3
- lusid/models/cdx_credit_event.py +6 -6
- lusid/models/change_interval.py +123 -0
- lusid/models/change_interval_with_order_management_detail.py +3 -3
- lusid/models/close_event.py +3 -3
- lusid/models/comparison_attribute_value_pair.py +71 -0
- lusid/models/complex_bond.py +3 -3
- lusid/models/component_transaction.py +10 -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_staging_rule_set_request.py +1 -6
- 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 +3 -3
- lusid/models/custodian_account_request.py +1 -1
- 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/delete_instrument_properties_response.py +7 -1
- lusid/models/delete_instrument_response.py +7 -1
- lusid/models/delete_instruments_response.py +22 -1
- lusid/models/deleted_entity_response.py +7 -1
- lusid/models/diary_entry_request.py +10 -1
- lusid/models/dividend_option_event.py +3 -3
- lusid/models/dividend_reinvestment_event.py +9 -4
- lusid/models/effective_range.py +71 -0
- lusid/models/equity.py +3 -3
- lusid/models/equity_option.py +22 -7
- lusid/models/equity_swap.py +3 -3
- lusid/models/exchange_traded_option.py +3 -3
- lusid/models/exchange_traded_option_contract_details.py +1 -1
- 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 +17 -10
- lusid/models/fee_request.py +20 -13
- 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 +3 -3
- 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_attribute_values.py +86 -0
- lusid/models/group_reconciliation_aggregate_comparison_rule_operand.py +1 -1
- lusid/models/group_reconciliation_comparison_result.py +148 -0
- lusid/models/group_reconciliation_core_attribute_values.py +86 -0
- lusid/models/group_reconciliation_core_comparison_rule_operand.py +1 -1
- lusid/models/group_reconciliation_date_pair.py +81 -0
- lusid/models/group_reconciliation_dates.py +78 -0
- 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/group_reconciliation_instance_id.py +71 -0
- lusid/models/group_reconciliation_result_statuses.py +89 -0
- lusid/models/group_reconciliation_result_types.py +96 -0
- lusid/models/group_reconciliation_review_statuses.py +96 -0
- lusid/models/group_reconciliation_run_details.py +76 -0
- lusid/models/group_reconciliation_run_request.py +75 -0
- lusid/models/{metadata_key_value_response.py → group_reconciliation_run_response.py} +20 -29
- lusid/models/group_reconciliation_summary.py +121 -0
- lusid/models/group_reconciliation_user_review.py +112 -0
- lusid/models/group_reconciliation_user_review_add.py +88 -0
- lusid/models/group_reconciliation_user_review_break_code.py +80 -0
- lusid/models/group_reconciliation_user_review_comment.py +80 -0
- lusid/models/group_reconciliation_user_review_match_key.py +80 -0
- lusid/models/group_reconciliation_user_review_remove.py +88 -0
- lusid/models/holding_contributor.py +11 -4
- lusid/models/holding_ids_request.py +69 -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 +17 -5
- lusid/models/instrument_event_holder.py +9 -1
- lusid/models/instrument_event_type.py +12 -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/intermediate_securities_distribution_event.py +140 -0
- 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 +102 -0
- lusid/models/mbs_interest_deferral_event.py +102 -0
- lusid/models/mbs_interest_shortfall_event.py +102 -0
- lusid/models/mbs_principal_event.py +102 -0
- lusid/models/mbs_principal_write_off_event.py +102 -0
- lusid/models/merger_event.py +22 -22
- lusid/models/new_instrument.py +1 -1
- lusid/models/open_event.py +3 -3
- lusid/models/option_exercise_cash_event.py +144 -0
- lusid/models/option_exercise_election.py +73 -0
- lusid/models/option_exercise_physical_event.py +149 -0
- lusid/models/output_transaction.py +9 -2
- lusid/models/paged_resource_list_of_group_reconciliation_comparison_result.py +113 -0
- 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_options.py +8 -2
- lusid/models/property_list.py +3 -3
- lusid/models/protection_payout_cash_flow_event.py +102 -0
- 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_change_interval.py +113 -0
- lusid/models/resource_list_of_output_transaction.py +113 -0
- lusid/models/return_zero_pv_options.py +69 -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/spin_off_event.py +3 -3
- 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/target_tax_lot.py +23 -2
- lusid/models/target_tax_lot_request.py +23 -2
- lusid/models/tender_event.py +172 -0
- lusid/models/term_deposit.py +3 -3
- lusid/models/total_return_swap.py +4 -4
- lusid/models/transaction.py +9 -2
- lusid/models/transaction_date_windows.py +85 -0
- lusid/models/transaction_price.py +3 -3
- lusid/models/transaction_price_type.py +2 -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/update_staging_rule_set_request.py +1 -6
- 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.405.dist-info → lusid_sdk-2.1.537.dist-info}/METADATA +118 -26
- {lusid_sdk-2.1.405.dist-info → lusid_sdk-2.1.537.dist-info}/RECORD +294 -226
- {lusid_sdk-2.1.405.dist-info → lusid_sdk-2.1.537.dist-info}/WHEEL +0 -0
@@ -30,6 +30,8 @@ from lusid.models.allocation_service_run_response import AllocationServiceRunRes
|
|
30
30
|
from lusid.models.block_and_orders_create_request import BlockAndOrdersCreateRequest
|
31
31
|
from lusid.models.book_transactions_request import BookTransactionsRequest
|
32
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
|
33
35
|
from lusid.models.cancel_orders_response import CancelOrdersResponse
|
34
36
|
from lusid.models.cancel_placements_response import CancelPlacementsResponse
|
35
37
|
from lusid.models.move_orders_to_different_blocks_request import MoveOrdersToDifferentBlocksRequest
|
@@ -50,6 +52,7 @@ from lusid.exceptions import ( # noqa: F401
|
|
50
52
|
ApiTypeError,
|
51
53
|
ApiValueError
|
52
54
|
)
|
55
|
+
from lusid.extensions.configuration_options import ConfigurationOptions
|
53
56
|
|
54
57
|
|
55
58
|
class OrderManagementApi:
|
@@ -89,10 +92,9 @@ class OrderManagementApi:
|
|
89
92
|
:type apply_fees_and_commission: bool
|
90
93
|
:param async_req: Whether to execute the request asynchronously.
|
91
94
|
:type async_req: bool, optional
|
92
|
-
:param _request_timeout:
|
93
|
-
|
94
|
-
|
95
|
-
(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
|
96
98
|
:return: Returns the result object.
|
97
99
|
If the method is called asynchronously,
|
98
100
|
returns the request thread.
|
@@ -131,10 +133,9 @@ class OrderManagementApi:
|
|
131
133
|
:param _return_http_data_only: response data instead of ApiResponse
|
132
134
|
object with status code, headers, etc
|
133
135
|
:type _return_http_data_only: bool, optional
|
134
|
-
:param _request_timeout:
|
135
|
-
|
136
|
-
|
137
|
-
(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
|
138
139
|
:param _request_auth: set to override the auth_settings for an a single
|
139
140
|
request; this effectively ignores the authentication
|
140
141
|
in the spec for a single request.
|
@@ -160,7 +161,8 @@ class OrderManagementApi:
|
|
160
161
|
'_request_timeout',
|
161
162
|
'_request_auth',
|
162
163
|
'_content_type',
|
163
|
-
'_headers'
|
164
|
+
'_headers',
|
165
|
+
'opts'
|
164
166
|
]
|
165
167
|
)
|
166
168
|
|
@@ -227,6 +229,7 @@ class OrderManagementApi:
|
|
227
229
|
_return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
|
228
230
|
_preload_content=_params.get('_preload_content', True),
|
229
231
|
_request_timeout=_params.get('_request_timeout'),
|
232
|
+
opts=_params.get('opts'),
|
230
233
|
collection_formats=_collection_formats,
|
231
234
|
_request_auth=_params.get('_request_auth'))
|
232
235
|
|
@@ -253,10 +256,9 @@ class OrderManagementApi:
|
|
253
256
|
:type request_body: Dict[str, ResourceId]
|
254
257
|
:param async_req: Whether to execute the request asynchronously.
|
255
258
|
:type async_req: bool, optional
|
256
|
-
:param _request_timeout:
|
257
|
-
|
258
|
-
|
259
|
-
(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
|
260
262
|
:return: Returns the result object.
|
261
263
|
If the method is called asynchronously,
|
262
264
|
returns the request thread.
|
@@ -293,10 +295,9 @@ class OrderManagementApi:
|
|
293
295
|
:param _return_http_data_only: response data instead of ApiResponse
|
294
296
|
object with status code, headers, etc
|
295
297
|
:type _return_http_data_only: bool, optional
|
296
|
-
:param _request_timeout:
|
297
|
-
|
298
|
-
|
299
|
-
(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
|
300
301
|
:param _request_auth: set to override the auth_settings for an a single
|
301
302
|
request; this effectively ignores the authentication
|
302
303
|
in the spec for a single request.
|
@@ -321,7 +322,8 @@ class OrderManagementApi:
|
|
321
322
|
'_request_timeout',
|
322
323
|
'_request_auth',
|
323
324
|
'_content_type',
|
324
|
-
'_headers'
|
325
|
+
'_headers',
|
326
|
+
'opts'
|
325
327
|
]
|
326
328
|
)
|
327
329
|
|
@@ -385,6 +387,165 @@ class OrderManagementApi:
|
|
385
387
|
_return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
|
386
388
|
_preload_content=_params.get('_preload_content', True),
|
387
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'),
|
388
549
|
collection_formats=_collection_formats,
|
389
550
|
_request_auth=_params.get('_request_auth'))
|
390
551
|
|
@@ -411,10 +572,9 @@ class OrderManagementApi:
|
|
411
572
|
:type request_body: Dict[str, ResourceId]
|
412
573
|
:param async_req: Whether to execute the request asynchronously.
|
413
574
|
:type async_req: bool, optional
|
414
|
-
:param _request_timeout:
|
415
|
-
|
416
|
-
|
417
|
-
(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
|
418
578
|
:return: Returns the result object.
|
419
579
|
If the method is called asynchronously,
|
420
580
|
returns the request thread.
|
@@ -451,10 +611,9 @@ class OrderManagementApi:
|
|
451
611
|
:param _return_http_data_only: response data instead of ApiResponse
|
452
612
|
object with status code, headers, etc
|
453
613
|
:type _return_http_data_only: bool, optional
|
454
|
-
:param _request_timeout:
|
455
|
-
|
456
|
-
|
457
|
-
(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
|
458
617
|
:param _request_auth: set to override the auth_settings for an a single
|
459
618
|
request; this effectively ignores the authentication
|
460
619
|
in the spec for a single request.
|
@@ -479,7 +638,8 @@ class OrderManagementApi:
|
|
479
638
|
'_request_timeout',
|
480
639
|
'_request_auth',
|
481
640
|
'_content_type',
|
482
|
-
'_headers'
|
641
|
+
'_headers',
|
642
|
+
'opts'
|
483
643
|
]
|
484
644
|
)
|
485
645
|
|
@@ -543,6 +703,7 @@ class OrderManagementApi:
|
|
543
703
|
_return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
|
544
704
|
_preload_content=_params.get('_preload_content', True),
|
545
705
|
_request_timeout=_params.get('_request_timeout'),
|
706
|
+
opts=_params.get('opts'),
|
546
707
|
collection_formats=_collection_formats,
|
547
708
|
_request_auth=_params.get('_request_auth'))
|
548
709
|
|
@@ -569,10 +730,9 @@ class OrderManagementApi:
|
|
569
730
|
:type block_and_orders_create_request: BlockAndOrdersCreateRequest
|
570
731
|
:param async_req: Whether to execute the request asynchronously.
|
571
732
|
:type async_req: bool, optional
|
572
|
-
:param _request_timeout:
|
573
|
-
|
574
|
-
|
575
|
-
(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
|
576
736
|
:return: Returns the result object.
|
577
737
|
If the method is called asynchronously,
|
578
738
|
returns the request thread.
|
@@ -609,10 +769,9 @@ class OrderManagementApi:
|
|
609
769
|
:param _return_http_data_only: response data instead of ApiResponse
|
610
770
|
object with status code, headers, etc
|
611
771
|
:type _return_http_data_only: bool, optional
|
612
|
-
:param _request_timeout:
|
613
|
-
|
614
|
-
|
615
|
-
(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
|
616
775
|
:param _request_auth: set to override the auth_settings for an a single
|
617
776
|
request; this effectively ignores the authentication
|
618
777
|
in the spec for a single request.
|
@@ -637,7 +796,8 @@ class OrderManagementApi:
|
|
637
796
|
'_request_timeout',
|
638
797
|
'_request_auth',
|
639
798
|
'_content_type',
|
640
|
-
'_headers'
|
799
|
+
'_headers',
|
800
|
+
'opts'
|
641
801
|
]
|
642
802
|
)
|
643
803
|
|
@@ -701,6 +861,7 @@ class OrderManagementApi:
|
|
701
861
|
_return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
|
702
862
|
_preload_content=_params.get('_preload_content', True),
|
703
863
|
_request_timeout=_params.get('_request_timeout'),
|
864
|
+
opts=_params.get('opts'),
|
704
865
|
collection_formats=_collection_formats,
|
705
866
|
_request_auth=_params.get('_request_auth'))
|
706
867
|
|
@@ -731,10 +892,9 @@ class OrderManagementApi:
|
|
731
892
|
:type as_at: datetime
|
732
893
|
:param async_req: Whether to execute the request asynchronously.
|
733
894
|
:type async_req: bool, optional
|
734
|
-
:param _request_timeout:
|
735
|
-
|
736
|
-
|
737
|
-
(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
|
738
898
|
:return: Returns the result object.
|
739
899
|
If the method is called asynchronously,
|
740
900
|
returns the request thread.
|
@@ -775,10 +935,9 @@ class OrderManagementApi:
|
|
775
935
|
:param _return_http_data_only: response data instead of ApiResponse
|
776
936
|
object with status code, headers, etc
|
777
937
|
:type _return_http_data_only: bool, optional
|
778
|
-
:param _request_timeout:
|
779
|
-
|
780
|
-
|
781
|
-
(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
|
782
941
|
:param _request_auth: set to override the auth_settings for an a single
|
783
942
|
request; this effectively ignores the authentication
|
784
943
|
in the spec for a single request.
|
@@ -805,7 +964,8 @@ class OrderManagementApi:
|
|
805
964
|
'_request_timeout',
|
806
965
|
'_request_auth',
|
807
966
|
'_content_type',
|
808
|
-
'_headers'
|
967
|
+
'_headers',
|
968
|
+
'opts'
|
809
969
|
]
|
810
970
|
)
|
811
971
|
|
@@ -872,6 +1032,7 @@ class OrderManagementApi:
|
|
872
1032
|
_return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
|
873
1033
|
_preload_content=_params.get('_preload_content', True),
|
874
1034
|
_request_timeout=_params.get('_request_timeout'),
|
1035
|
+
opts=_params.get('opts'),
|
875
1036
|
collection_formats=_collection_formats,
|
876
1037
|
_request_auth=_params.get('_request_auth'))
|
877
1038
|
|
@@ -898,10 +1059,9 @@ class OrderManagementApi:
|
|
898
1059
|
:type move_orders_to_different_blocks_request: MoveOrdersToDifferentBlocksRequest
|
899
1060
|
:param async_req: Whether to execute the request asynchronously.
|
900
1061
|
:type async_req: bool, optional
|
901
|
-
:param _request_timeout:
|
902
|
-
|
903
|
-
|
904
|
-
(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
|
905
1065
|
:return: Returns the result object.
|
906
1066
|
If the method is called asynchronously,
|
907
1067
|
returns the request thread.
|
@@ -938,10 +1098,9 @@ class OrderManagementApi:
|
|
938
1098
|
:param _return_http_data_only: response data instead of ApiResponse
|
939
1099
|
object with status code, headers, etc
|
940
1100
|
:type _return_http_data_only: bool, optional
|
941
|
-
:param _request_timeout:
|
942
|
-
|
943
|
-
|
944
|
-
(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
|
945
1104
|
:param _request_auth: set to override the auth_settings for an a single
|
946
1105
|
request; this effectively ignores the authentication
|
947
1106
|
in the spec for a single request.
|
@@ -966,7 +1125,8 @@ class OrderManagementApi:
|
|
966
1125
|
'_request_timeout',
|
967
1126
|
'_request_auth',
|
968
1127
|
'_content_type',
|
969
|
-
'_headers'
|
1128
|
+
'_headers',
|
1129
|
+
'opts'
|
970
1130
|
]
|
971
1131
|
)
|
972
1132
|
|
@@ -1030,6 +1190,7 @@ class OrderManagementApi:
|
|
1030
1190
|
_return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
|
1031
1191
|
_preload_content=_params.get('_preload_content', True),
|
1032
1192
|
_request_timeout=_params.get('_request_timeout'),
|
1193
|
+
opts=_params.get('opts'),
|
1033
1194
|
collection_formats=_collection_formats,
|
1034
1195
|
_request_auth=_params.get('_request_auth'))
|
1035
1196
|
|
@@ -1056,10 +1217,9 @@ class OrderManagementApi:
|
|
1056
1217
|
:type place_blocks_request: PlaceBlocksRequest
|
1057
1218
|
:param async_req: Whether to execute the request asynchronously.
|
1058
1219
|
:type async_req: bool, optional
|
1059
|
-
:param _request_timeout:
|
1060
|
-
|
1061
|
-
|
1062
|
-
(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
|
1063
1223
|
:return: Returns the result object.
|
1064
1224
|
If the method is called asynchronously,
|
1065
1225
|
returns the request thread.
|
@@ -1096,10 +1256,9 @@ class OrderManagementApi:
|
|
1096
1256
|
:param _return_http_data_only: response data instead of ApiResponse
|
1097
1257
|
object with status code, headers, etc
|
1098
1258
|
:type _return_http_data_only: bool, optional
|
1099
|
-
:param _request_timeout:
|
1100
|
-
|
1101
|
-
|
1102
|
-
(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
|
1103
1262
|
:param _request_auth: set to override the auth_settings for an a single
|
1104
1263
|
request; this effectively ignores the authentication
|
1105
1264
|
in the spec for a single request.
|
@@ -1124,7 +1283,8 @@ class OrderManagementApi:
|
|
1124
1283
|
'_request_timeout',
|
1125
1284
|
'_request_auth',
|
1126
1285
|
'_content_type',
|
1127
|
-
'_headers'
|
1286
|
+
'_headers',
|
1287
|
+
'opts'
|
1128
1288
|
]
|
1129
1289
|
)
|
1130
1290
|
|
@@ -1188,6 +1348,7 @@ class OrderManagementApi:
|
|
1188
1348
|
_return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
|
1189
1349
|
_preload_content=_params.get('_preload_content', True),
|
1190
1350
|
_request_timeout=_params.get('_request_timeout'),
|
1351
|
+
opts=_params.get('opts'),
|
1191
1352
|
collection_formats=_collection_formats,
|
1192
1353
|
_request_auth=_params.get('_request_auth'))
|
1193
1354
|
|
@@ -1216,10 +1377,9 @@ class OrderManagementApi:
|
|
1216
1377
|
:type allocation_algorithm: str
|
1217
1378
|
:param async_req: Whether to execute the request asynchronously.
|
1218
1379
|
:type async_req: bool, optional
|
1219
|
-
:param _request_timeout:
|
1220
|
-
|
1221
|
-
|
1222
|
-
(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
|
1223
1383
|
:return: Returns the result object.
|
1224
1384
|
If the method is called asynchronously,
|
1225
1385
|
returns the request thread.
|
@@ -1258,10 +1418,9 @@ class OrderManagementApi:
|
|
1258
1418
|
:param _return_http_data_only: response data instead of ApiResponse
|
1259
1419
|
object with status code, headers, etc
|
1260
1420
|
:type _return_http_data_only: bool, optional
|
1261
|
-
:param _request_timeout:
|
1262
|
-
|
1263
|
-
|
1264
|
-
(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
|
1265
1424
|
:param _request_auth: set to override the auth_settings for an a single
|
1266
1425
|
request; this effectively ignores the authentication
|
1267
1426
|
in the spec for a single request.
|
@@ -1287,7 +1446,8 @@ class OrderManagementApi:
|
|
1287
1446
|
'_request_timeout',
|
1288
1447
|
'_request_auth',
|
1289
1448
|
'_content_type',
|
1290
|
-
'_headers'
|
1449
|
+
'_headers',
|
1450
|
+
'opts'
|
1291
1451
|
]
|
1292
1452
|
)
|
1293
1453
|
|
@@ -1354,6 +1514,7 @@ class OrderManagementApi:
|
|
1354
1514
|
_return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
|
1355
1515
|
_preload_content=_params.get('_preload_content', True),
|
1356
1516
|
_request_timeout=_params.get('_request_timeout'),
|
1517
|
+
opts=_params.get('opts'),
|
1357
1518
|
collection_formats=_collection_formats,
|
1358
1519
|
_request_auth=_params.get('_request_auth'))
|
1359
1520
|
|
@@ -1380,10 +1541,9 @@ class OrderManagementApi:
|
|
1380
1541
|
:type request_body: Dict[str, OrderUpdateRequest]
|
1381
1542
|
:param async_req: Whether to execute the request asynchronously.
|
1382
1543
|
:type async_req: bool, optional
|
1383
|
-
:param _request_timeout:
|
1384
|
-
|
1385
|
-
|
1386
|
-
(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
|
1387
1547
|
:return: Returns the result object.
|
1388
1548
|
If the method is called asynchronously,
|
1389
1549
|
returns the request thread.
|
@@ -1420,10 +1580,9 @@ class OrderManagementApi:
|
|
1420
1580
|
:param _return_http_data_only: response data instead of ApiResponse
|
1421
1581
|
object with status code, headers, etc
|
1422
1582
|
:type _return_http_data_only: bool, optional
|
1423
|
-
:param _request_timeout:
|
1424
|
-
|
1425
|
-
|
1426
|
-
(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
|
1427
1586
|
:param _request_auth: set to override the auth_settings for an a single
|
1428
1587
|
request; this effectively ignores the authentication
|
1429
1588
|
in the spec for a single request.
|
@@ -1448,7 +1607,8 @@ class OrderManagementApi:
|
|
1448
1607
|
'_request_timeout',
|
1449
1608
|
'_request_auth',
|
1450
1609
|
'_content_type',
|
1451
|
-
'_headers'
|
1610
|
+
'_headers',
|
1611
|
+
'opts'
|
1452
1612
|
]
|
1453
1613
|
)
|
1454
1614
|
|
@@ -1512,6 +1672,7 @@ class OrderManagementApi:
|
|
1512
1672
|
_return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
|
1513
1673
|
_preload_content=_params.get('_preload_content', True),
|
1514
1674
|
_request_timeout=_params.get('_request_timeout'),
|
1675
|
+
opts=_params.get('opts'),
|
1515
1676
|
collection_formats=_collection_formats,
|
1516
1677
|
_request_auth=_params.get('_request_auth'))
|
1517
1678
|
|
@@ -1538,10 +1699,9 @@ class OrderManagementApi:
|
|
1538
1699
|
:type request_body: Dict[str, PlacementUpdateRequest]
|
1539
1700
|
:param async_req: Whether to execute the request asynchronously.
|
1540
1701
|
:type async_req: bool, optional
|
1541
|
-
:param _request_timeout:
|
1542
|
-
|
1543
|
-
|
1544
|
-
(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
|
1545
1705
|
:return: Returns the result object.
|
1546
1706
|
If the method is called asynchronously,
|
1547
1707
|
returns the request thread.
|
@@ -1578,10 +1738,9 @@ class OrderManagementApi:
|
|
1578
1738
|
:param _return_http_data_only: response data instead of ApiResponse
|
1579
1739
|
object with status code, headers, etc
|
1580
1740
|
:type _return_http_data_only: bool, optional
|
1581
|
-
:param _request_timeout:
|
1582
|
-
|
1583
|
-
|
1584
|
-
(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
|
1585
1744
|
:param _request_auth: set to override the auth_settings for an a single
|
1586
1745
|
request; this effectively ignores the authentication
|
1587
1746
|
in the spec for a single request.
|
@@ -1606,7 +1765,8 @@ class OrderManagementApi:
|
|
1606
1765
|
'_request_timeout',
|
1607
1766
|
'_request_auth',
|
1608
1767
|
'_content_type',
|
1609
|
-
'_headers'
|
1768
|
+
'_headers',
|
1769
|
+
'opts'
|
1610
1770
|
]
|
1611
1771
|
)
|
1612
1772
|
|
@@ -1670,5 +1830,6 @@ class OrderManagementApi:
|
|
1670
1830
|
_return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
|
1671
1831
|
_preload_content=_params.get('_preload_content', True),
|
1672
1832
|
_request_timeout=_params.get('_request_timeout'),
|
1833
|
+
opts=_params.get('opts'),
|
1673
1834
|
collection_formats=_collection_formats,
|
1674
1835
|
_request_auth=_params.get('_request_auth'))
|