lusid-sdk 1.1.73__py3-none-any.whl → 1.1.75__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- lusid/__init__.py +13 -2
- lusid/__version__.py +1 -1
- lusid/api/address_key_definition_api.py +4 -4
- lusid/api/aggregation_api.py +4 -4
- lusid/api/allocations_api.py +5 -5
- lusid/api/application_metadata_api.py +4 -4
- lusid/api/blocks_api.py +5 -5
- lusid/api/calendars_api.py +13 -13
- lusid/api/complex_market_data_api.py +4 -4
- lusid/api/compliance_api.py +12 -12
- lusid/api/configuration_recipe_api.py +5 -5
- lusid/api/corporate_action_sources_api.py +9 -9
- lusid/api/counterparties_api.py +9 -9
- lusid/api/custom_entities_api.py +12 -12
- lusid/api/custom_entity_definitions_api.py +5 -5
- lusid/api/custom_entity_types_api.py +5 -5
- lusid/api/cut_label_definitions_api.py +6 -6
- lusid/api/data_types_api.py +8 -8
- lusid/api/derived_transaction_portfolios_api.py +3 -3
- lusid/api/entities_api.py +2 -2
- lusid/api/executions_api.py +5 -5
- lusid/api/instruments_api.py +17 -17
- lusid/api/legal_entities_api.py +18 -18
- lusid/api/order_graph_api.py +4 -4
- lusid/api/order_management_api.py +151 -2
- lusid/api/orders_api.py +5 -5
- lusid/api/participations_api.py +5 -5
- lusid/api/persons_api.py +18 -18
- lusid/api/placements_api.py +5 -5
- lusid/api/portfolio_groups_api.py +26 -26
- lusid/api/portfolios_api.py +25 -25
- lusid/api/property_definitions_api.py +11 -11
- lusid/api/quotes_api.py +6 -6
- lusid/api/reconciliations_api.py +10 -10
- lusid/api/reference_lists_api.py +5 -5
- lusid/api/reference_portfolio_api.py +5 -5
- lusid/api/relationship_definitions_api.py +6 -6
- lusid/api/relationships_api.py +3 -3
- lusid/api/schemas_api.py +5 -5
- lusid/api/scopes_api.py +3 -3
- lusid/api/scripted_translation_api.py +9 -9
- lusid/api/search_api.py +5 -5
- lusid/api/sequences_api.py +5 -5
- lusid/api/structured_result_data_api.py +3 -3
- lusid/api/system_configuration_api.py +3 -3
- lusid/api/transaction_portfolios_api.py +280 -25
- lusid/api_client.py +2 -2
- lusid/configuration.py +3 -3
- lusid/exceptions.py +1 -1
- lusid/models/__init__.py +12 -1
- lusid/models/a2_b_breakdown.py +1 -1
- lusid/models/a2_b_category.py +1 -1
- lusid/models/a2_b_data_record.py +1 -1
- lusid/models/a2_b_movement_record.py +1 -1
- lusid/models/access_controlled_action.py +1 -1
- lusid/models/access_controlled_resource.py +1 -1
- lusid/models/access_metadata_operation.py +1 -1
- lusid/models/access_metadata_value.py +1 -1
- lusid/models/accumulation_event.py +1 -1
- lusid/models/accumulation_event_all_of.py +1 -1
- lusid/models/action_id.py +1 -1
- lusid/models/action_result_of_portfolio.py +1 -1
- lusid/models/add_business_days_to_date_request.py +1 -1
- lusid/models/add_business_days_to_date_response.py +1 -1
- lusid/models/additional_payment.py +1 -1
- lusid/models/address_definition.py +1 -1
- lusid/models/address_key_compliance_parameter.py +1 -1
- lusid/models/address_key_compliance_parameter_all_of.py +1 -1
- lusid/models/address_key_definition.py +1 -1
- lusid/models/address_key_filter.py +1 -1
- lusid/models/address_key_list.py +1 -1
- lusid/models/address_key_list_all_of.py +1 -1
- lusid/models/address_key_list_compliance_parameter.py +1 -1
- lusid/models/address_key_list_compliance_parameter_all_of.py +1 -1
- lusid/models/address_key_option_definition.py +1 -1
- lusid/models/adjust_holding.py +1 -1
- lusid/models/adjust_holding_for_date_request.py +1 -1
- lusid/models/adjust_holding_request.py +1 -1
- lusid/models/aggregate_spec.py +1 -1
- lusid/models/aggregated_return.py +1 -1
- lusid/models/aggregated_returns_dispersion_request.py +1 -1
- lusid/models/aggregated_returns_request.py +1 -1
- lusid/models/aggregated_returns_response.py +1 -1
- lusid/models/aggregation_context.py +1 -1
- lusid/models/aggregation_measure_failure_detail.py +1 -1
- lusid/models/aggregation_options.py +1 -1
- lusid/models/aggregation_query.py +1 -1
- lusid/models/allocation.py +1 -1
- lusid/models/allocation_request.py +1 -1
- lusid/models/allocation_set_request.py +1 -1
- lusid/models/amortisation_event.py +1 -1
- lusid/models/amortisation_event_all_of.py +1 -1
- lusid/models/annul_quotes_response.py +1 -1
- lusid/models/annul_single_structured_data_response.py +1 -1
- lusid/models/annul_structured_data_response.py +1 -1
- lusid/models/asset_leg.py +1 -1
- lusid/models/barrier.py +1 -1
- lusid/models/basket.py +1 -1
- lusid/models/basket_all_of.py +1 -1
- lusid/models/basket_identifier.py +1 -1
- lusid/models/batch_adjust_holdings_response.py +1 -1
- lusid/models/batch_upsert_instrument_properties_response.py +1 -1
- lusid/models/batch_upsert_portfolio_transactions_response.py +1 -1
- lusid/models/batch_upsert_property_definition_properties_response.py +1 -1
- lusid/models/block.py +1 -1
- lusid/models/block_and_orders.py +174 -0
- lusid/models/block_and_orders_create_request.py +152 -0
- lusid/models/block_and_orders_request.py +422 -0
- lusid/models/block_request.py +1 -1
- lusid/models/block_set_request.py +1 -1
- lusid/models/blocked_order_request.py +412 -0
- lusid/models/bond.py +1 -1
- lusid/models/bond_all_of.py +1 -1
- lusid/models/bond_coupon_event.py +1 -1
- lusid/models/bond_coupon_event_all_of.py +1 -1
- lusid/models/bond_default_event.py +1 -1
- lusid/models/bond_default_event_all_of.py +1 -1
- lusid/models/bond_principal_event.py +1 -1
- lusid/models/bond_principal_event_all_of.py +1 -1
- lusid/models/bool_compliance_parameter.py +1 -1
- lusid/models/bool_compliance_parameter_all_of.py +1 -1
- lusid/models/bool_list_compliance_parameter.py +1 -1
- lusid/models/branch_step.py +1 -1
- lusid/models/branch_step_all_of.py +1 -1
- lusid/models/calendar.py +1 -1
- lusid/models/calendar_date.py +1 -1
- lusid/models/calendar_dependency.py +1 -1
- lusid/models/calendar_dependency_all_of.py +1 -1
- lusid/models/cap_floor.py +1 -1
- lusid/models/cap_floor_all_of.py +1 -1
- lusid/models/cash_dependency.py +1 -1
- lusid/models/cash_dependency_all_of.py +1 -1
- lusid/models/cash_dividend_event.py +1 -1
- lusid/models/cash_dividend_event_all_of.py +1 -1
- lusid/models/cash_election.py +1 -1
- lusid/models/cash_flow_event.py +1 -1
- lusid/models/cash_flow_event_all_of.py +1 -1
- lusid/models/cash_flow_lineage.py +1 -1
- lusid/models/cash_flow_value.py +1 -1
- lusid/models/cash_flow_value_all_of.py +1 -1
- lusid/models/cash_flow_value_set.py +1 -1
- lusid/models/cash_flow_value_set_all_of.py +1 -1
- lusid/models/cash_ladder_record.py +1 -1
- lusid/models/cash_perpetual.py +1 -1
- lusid/models/cash_perpetual_all_of.py +1 -1
- lusid/models/cds_flow_conventions.py +4 -4
- lusid/models/cds_index.py +1 -1
- lusid/models/cds_index_all_of.py +1 -1
- lusid/models/cds_protection_detail_specification.py +1 -1
- lusid/models/change.py +1 -1
- lusid/models/change_history.py +1 -1
- lusid/models/change_item.py +1 -1
- lusid/models/close_event.py +1 -1
- lusid/models/close_event_all_of.py +1 -1
- lusid/models/complete_portfolio.py +1 -1
- lusid/models/complete_relationship.py +1 -1
- lusid/models/complex_bond.py +1 -1
- lusid/models/complex_bond_all_of.py +1 -1
- lusid/models/complex_market_data.py +1 -1
- lusid/models/complex_market_data_id.py +1 -1
- lusid/models/compliance_parameter.py +1 -1
- lusid/models/compliance_rule_breakdown.py +1 -1
- lusid/models/compliance_rule_breakdown_request.py +1 -1
- lusid/models/compliance_rule_response.py +1 -1
- lusid/models/compliance_rule_result_detail.py +1 -1
- lusid/models/compliance_rule_result_portfolio_detail.py +1 -1
- lusid/models/compliance_rule_result_v2.py +1 -1
- lusid/models/compliance_run_info_v2.py +1 -1
- lusid/models/compliance_step.py +1 -1
- lusid/models/compliance_summary_rule_result.py +1 -1
- lusid/models/compliance_summary_rule_result_request.py +1 -1
- lusid/models/compliance_template.py +1 -1
- lusid/models/compliance_template_parameter.py +1 -1
- lusid/models/compliance_template_variation.py +1 -1
- lusid/models/composite_breakdown.py +1 -1
- lusid/models/composite_breakdown_request.py +1 -1
- lusid/models/composite_breakdown_response.py +1 -1
- lusid/models/composite_dispersion.py +1 -1
- lusid/models/composite_dispersion_response.py +1 -1
- lusid/models/compounding.py +4 -4
- lusid/models/configuration_recipe.py +2 -32
- lusid/models/constant_volatility_surface.py +1 -1
- lusid/models/constant_volatility_surface_all_of.py +1 -1
- lusid/models/constituents_adjustment_header.py +1 -1
- lusid/models/contract_for_difference.py +1 -1
- lusid/models/contract_for_difference_all_of.py +1 -1
- lusid/models/corporate_action.py +1 -1
- lusid/models/corporate_action_source.py +1 -1
- lusid/models/corporate_action_transition.py +1 -1
- lusid/models/corporate_action_transition_component.py +1 -1
- lusid/models/corporate_action_transition_component_request.py +1 -1
- lusid/models/corporate_action_transition_request.py +1 -1
- lusid/models/counterparty_agreement.py +1 -1
- lusid/models/counterparty_risk_information.py +1 -1
- lusid/models/counterparty_signatory.py +1 -1
- lusid/models/create_address_key_definition_request.py +1 -1
- lusid/models/create_calendar_request.py +1 -1
- lusid/models/create_corporate_action_source_request.py +1 -1
- lusid/models/create_custom_entity_type_request.py +1 -1
- lusid/models/create_cut_label_definition_request.py +1 -1
- lusid/models/create_data_type_request.py +1 -1
- lusid/models/create_date_request.py +1 -1
- lusid/models/create_derived_property_definition_request.py +1 -1
- lusid/models/create_derived_transaction_portfolio_request.py +1 -1
- lusid/models/create_portfolio_details.py +1 -1
- lusid/models/create_portfolio_group_request.py +1 -1
- lusid/models/create_property_definition_request.py +1 -1
- lusid/models/create_reference_portfolio_request.py +1 -1
- lusid/models/create_relationship_definition_request.py +1 -1
- lusid/models/create_relationship_request.py +1 -1
- lusid/models/create_sequence_request.py +1 -1
- lusid/models/create_transaction_portfolio_request.py +1 -1
- lusid/models/create_unit_definition.py +1 -1
- lusid/models/credit_default_swap.py +1 -1
- lusid/models/credit_default_swap_all_of.py +1 -1
- lusid/models/credit_rating.py +1 -1
- lusid/models/credit_spread_curve_data.py +4 -4
- lusid/models/credit_spread_curve_data_all_of.py +4 -4
- lusid/models/credit_support_annex.py +1 -1
- lusid/models/currency_and_amount.py +1 -1
- lusid/models/custodian_account.py +1 -1
- lusid/models/custom_entity_definition.py +1 -1
- lusid/models/custom_entity_definition_request.py +1 -1
- lusid/models/custom_entity_field.py +1 -1
- lusid/models/custom_entity_field_definition.py +1 -1
- lusid/models/custom_entity_id.py +1 -1
- lusid/models/custom_entity_request.py +1 -1
- lusid/models/custom_entity_response.py +1 -1
- lusid/models/custom_entity_type.py +1 -1
- lusid/models/cut_label_definition.py +1 -1
- lusid/models/cut_local_time.py +1 -1
- lusid/models/data_type.py +1 -1
- lusid/models/data_type_summary.py +1 -1
- lusid/models/date_attributes.py +1 -1
- lusid/models/date_range.py +1 -1
- lusid/models/date_time_compliance_parameter.py +1 -1
- lusid/models/date_time_compliance_parameter_all_of.py +1 -1
- lusid/models/date_time_list_compliance_parameter.py +1 -1
- lusid/models/day_of_week.py +1 -1
- lusid/models/decimal_compliance_parameter.py +1 -1
- lusid/models/decimal_compliance_parameter_all_of.py +1 -1
- lusid/models/decimal_list.py +1 -1
- lusid/models/decimal_list_all_of.py +1 -1
- lusid/models/decimal_list_compliance_parameter.py +1 -1
- lusid/models/decorated_compliance_run_summary.py +1 -1
- lusid/models/delete_instrument_properties_response.py +1 -1
- lusid/models/delete_instrument_response.py +1 -1
- lusid/models/delete_instruments_response.py +1 -1
- lusid/models/delete_relationship_request.py +1 -1
- lusid/models/deleted_entity_response.py +1 -1
- lusid/models/dependency_source_filter.py +1 -1
- lusid/models/dialect.py +1 -1
- lusid/models/dialect_id.py +1 -1
- lusid/models/dialect_schema.py +1 -1
- lusid/models/discount_factor_curve_data.py +1 -1
- lusid/models/discount_factor_curve_data_all_of.py +1 -1
- lusid/models/discounting_dependency.py +1 -1
- lusid/models/discounting_dependency_all_of.py +1 -1
- lusid/models/dividend_option_event.py +1 -1
- lusid/models/dividend_option_event_all_of.py +1 -1
- lusid/models/dividend_reinvestment_event.py +1 -1
- lusid/models/dividend_reinvestment_event_all_of.py +1 -1
- lusid/models/economic_dependency.py +1 -1
- lusid/models/economic_dependency_with_complex_market_data.py +1 -1
- lusid/models/economic_dependency_with_quote.py +1 -1
- lusid/models/empty_model_options.py +1 -1
- lusid/models/empty_model_options_all_of.py +1 -1
- lusid/models/entity_identifier.py +1 -1
- lusid/models/equity.py +33 -2
- lusid/models/equity_all_of.py +33 -2
- lusid/models/equity_all_of_identifiers.py +1 -1
- lusid/models/equity_curve_by_prices_data.py +1 -1
- lusid/models/equity_curve_by_prices_data_all_of.py +1 -1
- lusid/models/equity_curve_dependency.py +1 -1
- lusid/models/equity_curve_dependency_all_of.py +1 -1
- lusid/models/equity_model_options.py +1 -1
- lusid/models/equity_model_options_all_of.py +1 -1
- lusid/models/equity_option.py +1 -1
- lusid/models/equity_option_all_of.py +1 -1
- lusid/models/equity_swap.py +1 -1
- lusid/models/equity_swap_all_of.py +1 -1
- lusid/models/equity_vol_dependency.py +1 -1
- lusid/models/equity_vol_dependency_all_of.py +1 -1
- lusid/models/equity_vol_surface_data.py +1 -1
- lusid/models/equity_vol_surface_data_all_of.py +1 -1
- lusid/models/error_detail.py +1 -1
- lusid/models/event_date_range.py +1 -1
- lusid/models/ex_dividend_configuration.py +1 -1
- lusid/models/exchange_traded_option.py +1 -1
- lusid/models/exchange_traded_option_all_of.py +1 -1
- lusid/models/exchange_traded_option_contract_details.py +1 -1
- lusid/models/execution.py +1 -1
- lusid/models/execution_request.py +1 -1
- lusid/models/execution_set_request.py +1 -1
- lusid/models/exercise_event.py +1 -1
- lusid/models/exercise_event_all_of.py +1 -1
- lusid/models/exotic_instrument.py +1 -1
- lusid/models/exotic_instrument_all_of.py +1 -1
- lusid/models/expanded_group.py +1 -1
- lusid/models/field_definition.py +1 -1
- lusid/models/field_schema.py +1 -1
- lusid/models/field_value.py +1 -1
- lusid/models/file_response.py +1 -1
- lusid/models/filter_predicate_compliance_parameter.py +1 -1
- lusid/models/filter_predicate_compliance_parameter_all_of.py +1 -1
- lusid/models/filter_step.py +1 -1
- lusid/models/fixed_leg.py +1 -1
- lusid/models/fixed_leg_all_of.py +1 -1
- lusid/models/fixed_leg_all_of_overrides.py +1 -1
- lusid/models/floating_leg.py +1 -1
- lusid/models/floating_leg_all_of.py +1 -1
- lusid/models/flow_convention_name.py +4 -4
- lusid/models/flow_conventions.py +4 -4
- lusid/models/forward_rate_agreement.py +1 -1
- lusid/models/forward_rate_agreement_all_of.py +1 -1
- lusid/models/funding_leg.py +1 -1
- lusid/models/funding_leg_all_of.py +1 -1
- lusid/models/future.py +1 -1
- lusid/models/future_all_of.py +1 -1
- lusid/models/futures_contract_details.py +1 -1
- lusid/models/fx_conventions.py +216 -0
- lusid/models/fx_dependency.py +1 -1
- lusid/models/fx_dependency_all_of.py +1 -1
- lusid/models/fx_forward.py +1 -1
- lusid/models/fx_forward_all_of.py +1 -1
- lusid/models/fx_forward_curve_by_quote_reference.py +4 -4
- lusid/models/fx_forward_curve_by_quote_reference_all_of.py +4 -4
- lusid/models/fx_forward_curve_data.py +1 -1
- lusid/models/fx_forward_curve_data_all_of.py +1 -1
- lusid/models/fx_forward_model_options.py +1 -1
- lusid/models/fx_forward_model_options_all_of.py +1 -1
- lusid/models/fx_forward_pips_curve_data.py +1 -1
- lusid/models/fx_forward_pips_curve_data_all_of.py +1 -1
- lusid/models/fx_forward_tenor_curve_data.py +4 -4
- lusid/models/fx_forward_tenor_curve_data_all_of.py +4 -4
- lusid/models/fx_forward_tenor_pips_curve_data.py +4 -4
- lusid/models/fx_forward_tenor_pips_curve_data_all_of.py +4 -4
- lusid/models/fx_forwards_dependency.py +1 -1
- lusid/models/fx_forwards_dependency_all_of.py +1 -1
- lusid/models/fx_linked_notional_schedule.py +273 -0
- lusid/models/fx_linked_notional_schedule_all_of.py +273 -0
- lusid/models/fx_option.py +1 -1
- lusid/models/fx_option_all_of.py +1 -1
- lusid/models/fx_swap.py +1 -1
- lusid/models/fx_swap_all_of.py +1 -1
- lusid/models/fx_tenor_convention.py +1 -1
- lusid/models/fx_vol_dependency.py +1 -1
- lusid/models/fx_vol_dependency_all_of.py +1 -1
- lusid/models/fx_vol_surface_data.py +1 -1
- lusid/models/get_complex_market_data_response.py +1 -1
- lusid/models/get_counterparty_agreement_response.py +1 -1
- lusid/models/get_credit_support_annex_response.py +1 -1
- lusid/models/get_instruments_response.py +1 -1
- lusid/models/get_quotes_response.py +1 -1
- lusid/models/get_recipe_response.py +1 -1
- lusid/models/get_reference_portfolio_constituents_response.py +1 -1
- lusid/models/group_by_step.py +1 -1
- lusid/models/group_filter_predicate_compliance_parameter.py +1 -1
- lusid/models/group_filter_step.py +1 -1
- lusid/models/group_filter_step_all_of.py +1 -1
- lusid/models/group_of_market_data_key_rules.py +1 -1
- lusid/models/holding_adjustment.py +1 -1
- lusid/models/holding_adjustment_with_date.py +1 -1
- lusid/models/holding_context.py +1 -1
- lusid/models/holding_contributor.py +144 -0
- lusid/models/holdings_adjustment.py +1 -1
- lusid/models/holdings_adjustment_header.py +1 -1
- lusid/models/i_unit_definition_dto.py +1 -1
- lusid/models/id_selector_definition.py +1 -1
- lusid/models/identifier_part_schema.py +1 -1
- lusid/models/index_convention.py +4 -4
- lusid/models/index_model_options.py +1 -1
- lusid/models/index_model_options_all_of.py +1 -1
- lusid/models/index_projection_dependency.py +1 -1
- lusid/models/index_projection_dependency_all_of.py +1 -1
- lusid/models/industry_classifier.py +1 -1
- lusid/models/inflation_fixing_dependency.py +1 -1
- lusid/models/inflation_fixing_dependency_all_of.py +1 -1
- lusid/models/inflation_index_conventions.py +7 -7
- lusid/models/inflation_leg.py +1 -1
- lusid/models/inflation_leg_all_of.py +1 -1
- lusid/models/inflation_linked_bond.py +1 -1
- lusid/models/inflation_linked_bond_all_of.py +1 -1
- lusid/models/inflation_swap.py +1 -1
- lusid/models/inflation_swap_all_of.py +1 -1
- lusid/models/informational_error_event.py +1 -1
- lusid/models/informational_error_event_all_of.py +1 -1
- lusid/models/informational_event.py +1 -1
- lusid/models/informational_event_all_of.py +1 -1
- lusid/models/inline_valuation_request.py +1 -1
- lusid/models/inline_valuations_reconciliation_request.py +1 -1
- lusid/models/input_transition.py +1 -1
- lusid/models/instrument.py +1 -1
- lusid/models/instrument_definition.py +1 -1
- lusid/models/instrument_definition_format.py +1 -1
- lusid/models/instrument_event.py +1 -1
- lusid/models/instrument_event_configuration.py +1 -1
- lusid/models/instrument_event_holder.py +1 -1
- lusid/models/instrument_id_type_descriptor.py +1 -1
- lusid/models/instrument_id_value.py +1 -1
- lusid/models/instrument_leg.py +1 -1
- lusid/models/instrument_leg_all_of.py +1 -1
- lusid/models/instrument_list.py +1 -1
- lusid/models/instrument_list_all_of.py +1 -1
- lusid/models/instrument_list_compliance_parameter.py +1 -1
- lusid/models/instrument_match.py +1 -1
- lusid/models/instrument_models.py +1 -1
- lusid/models/instrument_properties.py +1 -1
- lusid/models/instrument_search_property.py +1 -1
- lusid/models/interest_rate_swap.py +1 -1
- lusid/models/interest_rate_swap_all_of.py +1 -1
- lusid/models/interest_rate_swaption.py +1 -1
- lusid/models/interest_rate_swaption_all_of.py +1 -1
- lusid/models/ir_vol_cube_data.py +1 -1
- lusid/models/ir_vol_cube_data_all_of.py +1 -1
- lusid/models/ir_vol_dependency.py +1 -1
- lusid/models/ir_vol_dependency_all_of.py +1 -1
- lusid/models/is_business_day_response.py +1 -1
- lusid/models/label_value_set.py +1 -1
- lusid/models/leg_definition.py +64 -5
- lusid/models/legal_entity.py +1 -1
- lusid/models/level_step.py +1 -1
- lusid/models/life_cycle_event_lineage.py +1 -1
- lusid/models/life_cycle_event_value.py +1 -1
- lusid/models/life_cycle_event_value_all_of.py +1 -1
- lusid/models/lineage_member.py +1 -1
- lusid/models/link.py +1 -1
- lusid/models/list_aggregation_reconciliation.py +1 -1
- lusid/models/list_aggregation_response.py +1 -1
- lusid/models/loan_period.py +1 -1
- lusid/models/look_up_pricing_model_options.py +1 -1
- lusid/models/look_up_pricing_model_options_all_of.py +1 -1
- lusid/models/lusid_instrument.py +1 -1
- lusid/models/lusid_problem_details.py +1 -1
- lusid/models/lusid_unique_id.py +1 -1
- lusid/models/lusid_validation_problem_details.py +1 -1
- lusid/models/mapped_string.py +1 -1
- lusid/models/mapping.py +1 -1
- lusid/models/mapping_rule.py +1 -1
- lusid/models/market_context.py +1 -1
- lusid/models/market_context_suppliers.py +1 -1
- lusid/models/market_data_key_rule.py +1 -1
- lusid/models/market_data_options.py +1 -1
- lusid/models/market_data_overrides.py +1 -1
- lusid/models/market_data_specific_rule.py +1 -1
- lusid/models/market_options.py +1 -1
- lusid/models/market_quote.py +1 -1
- lusid/models/maturity_event.py +1 -1
- lusid/models/maturity_event_all_of.py +1 -1
- lusid/models/metric_value.py +1 -1
- lusid/models/model_options.py +1 -1
- lusid/models/model_property.py +1 -1
- lusid/models/model_selection.py +1 -1
- lusid/models/next_value_in_sequence_response.py +1 -1
- lusid/models/opaque_dependency.py +1 -1
- lusid/models/opaque_dependency_all_of.py +1 -1
- lusid/models/opaque_market_data.py +1 -1
- lusid/models/opaque_market_data_all_of.py +1 -1
- lusid/models/opaque_model_options.py +1 -1
- lusid/models/opaque_model_options_all_of.py +1 -1
- lusid/models/open_event.py +1 -1
- lusid/models/open_event_all_of.py +1 -1
- lusid/models/operation.py +1 -1
- lusid/models/order.py +1 -1
- lusid/models/order_by_spec.py +1 -1
- lusid/models/order_flow_configuration.py +1 -1
- lusid/models/order_graph_block.py +1 -1
- lusid/models/order_graph_block_allocation_detail.py +1 -1
- lusid/models/order_graph_block_allocation_synopsis.py +1 -1
- lusid/models/order_graph_block_execution_detail.py +1 -1
- lusid/models/order_graph_block_execution_synopsis.py +1 -1
- lusid/models/order_graph_block_order_detail.py +1 -1
- lusid/models/order_graph_block_order_synopsis.py +1 -1
- lusid/models/order_graph_block_placement_detail.py +1 -1
- lusid/models/order_graph_block_placement_synopsis.py +1 -1
- lusid/models/order_graph_placement.py +1 -1
- lusid/models/order_graph_placement_allocation_detail.py +1 -1
- lusid/models/order_graph_placement_allocation_synopsis.py +1 -1
- lusid/models/order_graph_placement_child_placement_detail.py +1 -1
- lusid/models/order_graph_placement_execution_detail.py +1 -1
- lusid/models/order_graph_placement_execution_synopsis.py +1 -1
- lusid/models/order_graph_placement_order_detail.py +1 -1
- lusid/models/order_graph_placement_order_synopsis.py +1 -1
- lusid/models/order_graph_placement_placement_synopsis.py +1 -1
- lusid/models/order_request.py +1 -1
- lusid/models/order_set_request.py +1 -1
- lusid/models/otc_confirmation.py +1 -1
- lusid/models/output_transaction.py +1 -1
- lusid/models/output_transition.py +1 -1
- lusid/models/paged_resource_list_of_address_key_definition.py +1 -1
- lusid/models/paged_resource_list_of_allocation.py +1 -1
- lusid/models/paged_resource_list_of_block.py +1 -1
- lusid/models/paged_resource_list_of_calendar.py +1 -1
- lusid/models/paged_resource_list_of_compliance_rule_response.py +1 -1
- lusid/models/paged_resource_list_of_compliance_run_info_v2.py +1 -1
- lusid/models/paged_resource_list_of_compliance_template.py +1 -1
- lusid/models/paged_resource_list_of_corporate_action_source.py +1 -1
- lusid/models/paged_resource_list_of_custom_entity_definition.py +1 -1
- lusid/models/paged_resource_list_of_custom_entity_response.py +1 -1
- lusid/models/paged_resource_list_of_custom_entity_type.py +1 -1
- lusid/models/paged_resource_list_of_cut_label_definition.py +1 -1
- lusid/models/paged_resource_list_of_data_type_summary.py +1 -1
- lusid/models/paged_resource_list_of_dialect_id.py +1 -1
- lusid/models/paged_resource_list_of_execution.py +1 -1
- lusid/models/paged_resource_list_of_instrument.py +1 -1
- lusid/models/paged_resource_list_of_instrument_event_holder.py +1 -1
- lusid/models/paged_resource_list_of_legal_entity.py +1 -1
- lusid/models/paged_resource_list_of_order.py +1 -1
- lusid/models/paged_resource_list_of_order_graph_block.py +1 -1
- lusid/models/paged_resource_list_of_order_graph_placement.py +1 -1
- lusid/models/paged_resource_list_of_participation.py +1 -1
- lusid/models/paged_resource_list_of_person.py +1 -1
- lusid/models/paged_resource_list_of_placement.py +1 -1
- lusid/models/paged_resource_list_of_portfolio_group.py +1 -1
- lusid/models/paged_resource_list_of_portfolio_group_search_result.py +1 -1
- lusid/models/paged_resource_list_of_portfolio_search_result.py +1 -1
- lusid/models/paged_resource_list_of_property_definition_search_result.py +1 -1
- lusid/models/paged_resource_list_of_reference_list_response.py +1 -1
- lusid/models/paged_resource_list_of_relationship_definition.py +1 -1
- lusid/models/paged_resource_list_of_sequence_definition.py +1 -1
- lusid/models/paged_resource_list_of_translation_script_id.py +1 -1
- lusid/models/paged_resource_list_of_virtual_row.py +1 -1
- lusid/models/participation.py +1 -1
- lusid/models/participation_request.py +1 -1
- lusid/models/participation_set_request.py +1 -1
- lusid/models/performance_return.py +1 -1
- lusid/models/performance_returns_metric.py +1 -1
- lusid/models/perpetual_property.py +1 -1
- lusid/models/person.py +1 -1
- lusid/models/place_blocks_request.py +1 -1
- lusid/models/placement.py +1 -1
- lusid/models/placement_request.py +1 -1
- lusid/models/placement_set_request.py +1 -1
- lusid/models/portfolio.py +1 -1
- lusid/models/portfolio_cash_flow.py +1 -1
- lusid/models/portfolio_cash_ladder.py +1 -1
- lusid/models/portfolio_details.py +1 -1
- lusid/models/portfolio_entity_id.py +1 -1
- lusid/models/portfolio_group.py +1 -1
- lusid/models/portfolio_group_id_compliance_parameter.py +1 -1
- lusid/models/portfolio_group_id_list.py +1 -1
- lusid/models/portfolio_group_id_list_all_of.py +1 -1
- lusid/models/portfolio_group_id_list_compliance_parameter.py +1 -1
- lusid/models/portfolio_group_properties.py +1 -1
- lusid/models/portfolio_group_search_result.py +1 -1
- lusid/models/portfolio_holding.py +1 -1
- lusid/models/portfolio_id_compliance_parameter.py +1 -1
- lusid/models/portfolio_id_list.py +1 -1
- lusid/models/portfolio_id_list_compliance_parameter.py +1 -1
- lusid/models/portfolio_properties.py +1 -1
- lusid/models/portfolio_reconciliation_request.py +1 -1
- lusid/models/portfolio_result_data_key_rule.py +1 -1
- lusid/models/portfolio_result_data_key_rule_all_of.py +1 -1
- lusid/models/portfolio_return_breakdown.py +1 -1
- lusid/models/portfolio_search_result.py +1 -1
- lusid/models/portfolios_reconciliation_request.py +1 -1
- lusid/models/premium.py +1 -1
- lusid/models/pricing_context.py +1 -1
- lusid/models/pricing_options.py +1 -1
- lusid/models/processed_command.py +1 -1
- lusid/models/property_definition.py +1 -1
- lusid/models/property_definition_search_result.py +1 -1
- lusid/models/property_filter.py +1 -1
- lusid/models/property_interval.py +1 -1
- lusid/models/property_key_compliance_parameter.py +1 -1
- lusid/models/property_key_compliance_parameter_all_of.py +1 -1
- lusid/models/property_key_list_compliance_parameter.py +1 -1
- lusid/models/property_schema.py +1 -1
- lusid/models/property_value.py +1 -1
- lusid/models/quote.py +1 -1
- lusid/models/quote_dependency.py +1 -1
- lusid/models/quote_dependency_all_of.py +1 -1
- lusid/models/quote_id.py +1 -1
- lusid/models/quote_series_id.py +1 -1
- lusid/models/raw_vendor_event.py +1 -1
- lusid/models/raw_vendor_event_all_of.py +1 -1
- lusid/models/realised_gain_loss.py +1 -1
- lusid/models/recombine_step.py +1 -1
- lusid/models/reconcile_date_time_rule.py +1 -1
- lusid/models/reconcile_date_time_rule_all_of.py +1 -1
- lusid/models/reconcile_numeric_rule.py +1 -1
- lusid/models/reconcile_numeric_rule_all_of.py +1 -1
- lusid/models/reconcile_string_rule.py +1 -1
- lusid/models/reconcile_string_rule_all_of.py +1 -1
- lusid/models/reconciled_transaction.py +1 -1
- lusid/models/reconciliation_break.py +1 -1
- lusid/models/reconciliation_left_right_address_key_pair.py +1 -1
- lusid/models/reconciliation_line.py +1 -1
- lusid/models/reconciliation_request.py +1 -1
- lusid/models/reconciliation_response.py +1 -1
- lusid/models/reconciliation_rule.py +1 -1
- lusid/models/reference_data.py +1 -1
- lusid/models/reference_instrument.py +1 -1
- lusid/models/reference_instrument_all_of.py +1 -1
- lusid/models/reference_list.py +1 -1
- lusid/models/reference_list_request.py +1 -1
- lusid/models/reference_list_response.py +1 -1
- lusid/models/reference_portfolio_constituent.py +1 -1
- lusid/models/reference_portfolio_constituent_request.py +1 -1
- lusid/models/related_entity.py +1 -1
- lusid/models/relation.py +1 -1
- lusid/models/relationship.py +1 -1
- lusid/models/relationship_definition.py +1 -1
- lusid/models/relative_date_offset.py +181 -0
- lusid/models/repo.py +1 -1
- lusid/models/repo_all_of.py +1 -1
- lusid/models/reset_event.py +1 -1
- lusid/models/reset_event_all_of.py +1 -1
- lusid/models/resource_id.py +1 -1
- lusid/models/resource_list_of_access_controlled_resource.py +1 -1
- lusid/models/resource_list_of_access_metadata_value_of.py +1 -1
- lusid/models/resource_list_of_address_key_definition.py +1 -1
- lusid/models/resource_list_of_aggregation_query.py +1 -1
- lusid/models/resource_list_of_allocation.py +1 -1
- lusid/models/resource_list_of_block.py +1 -1
- lusid/models/resource_list_of_block_and_orders.py +266 -0
- lusid/models/resource_list_of_calendar_date.py +1 -1
- lusid/models/resource_list_of_change.py +1 -1
- lusid/models/resource_list_of_change_history.py +1 -1
- lusid/models/resource_list_of_constituents_adjustment_header.py +1 -1
- lusid/models/resource_list_of_corporate_action.py +1 -1
- lusid/models/resource_list_of_data_type.py +1 -1
- lusid/models/resource_list_of_execution.py +1 -1
- lusid/models/resource_list_of_get_counterparty_agreement_response.py +1 -1
- lusid/models/resource_list_of_get_credit_support_annex_response.py +1 -1
- lusid/models/resource_list_of_get_recipe_response.py +1 -1
- lusid/models/resource_list_of_holdings_adjustment_header.py +1 -1
- lusid/models/resource_list_of_i_unit_definition_dto.py +1 -1
- lusid/models/resource_list_of_instrument_id_type_descriptor.py +1 -1
- lusid/models/resource_list_of_legal_entity.py +1 -1
- lusid/models/resource_list_of_mapping.py +1 -1
- lusid/models/resource_list_of_order.py +1 -1
- lusid/models/resource_list_of_participation.py +1 -1
- lusid/models/resource_list_of_performance_return.py +1 -1
- lusid/models/resource_list_of_person.py +1 -1
- lusid/models/resource_list_of_placement.py +1 -1
- lusid/models/resource_list_of_portfolio.py +1 -1
- lusid/models/resource_list_of_portfolio_cash_flow.py +1 -1
- lusid/models/resource_list_of_portfolio_cash_ladder.py +1 -1
- lusid/models/resource_list_of_processed_command.py +1 -1
- lusid/models/resource_list_of_property.py +1 -1
- lusid/models/resource_list_of_property_definition.py +1 -1
- lusid/models/resource_list_of_property_interval.py +1 -1
- lusid/models/resource_list_of_quote.py +1 -1
- lusid/models/resource_list_of_reconciliation_break.py +1 -1
- lusid/models/resource_list_of_relation.py +1 -1
- lusid/models/resource_list_of_relationship.py +1 -1
- lusid/models/resource_list_of_scope_definition.py +1 -1
- lusid/models/resource_list_of_string.py +1 -1
- lusid/models/resource_list_of_value_type.py +1 -1
- lusid/models/response_meta_data.py +1 -1
- lusid/models/result_data_key_rule.py +1 -1
- lusid/models/result_data_key_rule_all_of.py +1 -1
- lusid/models/result_data_schema.py +1 -1
- lusid/models/result_key_rule.py +1 -1
- lusid/models/result_value.py +1 -1
- lusid/models/result_value0_d.py +1 -1
- lusid/models/result_value0_d_all_of.py +1 -1
- lusid/models/result_value_bool.py +1 -1
- lusid/models/result_value_bool_all_of.py +1 -1
- lusid/models/result_value_currency.py +1 -1
- lusid/models/result_value_currency_all_of.py +1 -1
- lusid/models/result_value_date_time_offset.py +1 -1
- lusid/models/result_value_date_time_offset_all_of.py +1 -1
- lusid/models/result_value_decimal.py +1 -1
- lusid/models/result_value_decimal_all_of.py +1 -1
- lusid/models/result_value_dictionary.py +1 -1
- lusid/models/result_value_dictionary_all_of.py +1 -1
- lusid/models/result_value_int.py +1 -1
- lusid/models/result_value_int_all_of.py +1 -1
- lusid/models/result_value_string.py +1 -1
- lusid/models/result_value_string_all_of.py +1 -1
- lusid/models/rounding_configuration.py +1 -1
- lusid/models/rounding_configuration_component.py +1 -1
- lusid/models/rounding_convention.py +1 -1
- lusid/models/schedule.py +6 -5
- lusid/models/schema.py +1 -1
- lusid/models/scope_definition.py +1 -1
- lusid/models/script_map_reference.py +1 -1
- lusid/models/security_election.py +1 -1
- lusid/models/sequence_definition.py +1 -1
- lusid/models/set_legal_entity_identifiers_request.py +1 -1
- lusid/models/set_legal_entity_properties_request.py +1 -1
- lusid/models/set_person_identifiers_request.py +1 -1
- lusid/models/set_person_properties_request.py +1 -1
- lusid/models/side_configuration_data.py +1 -1
- lusid/models/simple_cash_flow_loan.py +1 -1
- lusid/models/simple_cash_flow_loan_all_of.py +1 -1
- lusid/models/simple_instrument.py +1 -1
- lusid/models/simple_instrument_all_of.py +1 -1
- lusid/models/step_schedule.py +5 -5
- lusid/models/step_schedule_all_of.py +5 -5
- lusid/models/stock_split_event.py +1 -1
- lusid/models/stock_split_event_all_of.py +1 -1
- lusid/models/stream.py +1 -1
- lusid/models/string_compliance_parameter.py +1 -1
- lusid/models/string_list.py +1 -1
- lusid/models/string_list_compliance_parameter.py +1 -1
- lusid/models/target_tax_lot.py +1 -1
- lusid/models/target_tax_lot_request.py +1 -1
- lusid/models/term_deposit.py +1 -1
- lusid/models/term_deposit_all_of.py +1 -1
- lusid/models/total_return_swap.py +1 -1
- lusid/models/total_return_swap_all_of.py +1 -1
- lusid/models/touch.py +1 -1
- lusid/models/transaction.py +1 -1
- lusid/models/transaction_configuration_data.py +1 -1
- lusid/models/transaction_configuration_data_request.py +1 -1
- lusid/models/transaction_configuration_movement_data.py +1 -1
- lusid/models/transaction_configuration_movement_data_request.py +1 -1
- lusid/models/transaction_configuration_type_alias.py +1 -1
- lusid/models/transaction_price.py +1 -1
- lusid/models/transaction_property_mapping.py +1 -1
- lusid/models/transaction_property_mapping_request.py +1 -1
- lusid/models/transaction_query_parameters.py +1 -1
- lusid/models/transaction_reconciliation_request.py +1 -1
- lusid/models/transaction_request.py +1 -1
- lusid/models/transaction_set_configuration_data.py +1 -1
- lusid/models/transactions_reconciliations_response.py +1 -1
- lusid/models/transition_event.py +1 -1
- lusid/models/transition_event_all_of.py +1 -1
- lusid/models/translate_entities_inlined_request.py +1 -1
- lusid/models/translate_entities_request.py +1 -1
- lusid/models/translate_entities_response.py +1 -1
- lusid/models/translation_context.py +1 -1
- lusid/models/translation_input.py +1 -1
- lusid/models/translation_result.py +1 -1
- lusid/models/translation_script.py +1 -1
- lusid/models/translation_script_id.py +1 -1
- lusid/models/trigger_event.py +1 -1
- lusid/models/trigger_event_all_of.py +1 -1
- lusid/models/typed_resource_id.py +1 -1
- lusid/models/units_ratio.py +1 -1
- lusid/models/update_calendar_request.py +1 -1
- lusid/models/update_custom_entity_definition_request.py +1 -1
- lusid/models/update_custom_entity_type_request.py +1 -1
- lusid/models/update_cut_label_definition_request.py +1 -1
- lusid/models/update_data_type_request.py +1 -1
- lusid/models/update_derived_property_definition_request.py +1 -1
- lusid/models/update_instrument_identifier_request.py +1 -1
- lusid/models/update_portfolio_group_request.py +1 -1
- lusid/models/update_portfolio_request.py +1 -1
- lusid/models/update_property_definition_request.py +1 -1
- lusid/models/update_relationship_definition_request.py +1 -1
- lusid/models/update_unit_request.py +1 -1
- lusid/models/upsert_complex_market_data_request.py +1 -1
- lusid/models/upsert_compliance_rule_request.py +1 -1
- lusid/models/upsert_compliance_run_summary_request.py +1 -1
- lusid/models/upsert_compliance_run_summary_result.py +1 -1
- lusid/models/upsert_corporate_action_request.py +1 -1
- lusid/models/upsert_corporate_actions_response.py +1 -1
- lusid/models/upsert_counterparty_agreement_request.py +1 -1
- lusid/models/upsert_credit_support_annex_request.py +1 -1
- lusid/models/upsert_custom_entities_response.py +1 -1
- lusid/models/upsert_custom_entity_access_metadata_request.py +1 -1
- lusid/models/upsert_dialect_request.py +1 -1
- lusid/models/upsert_instrument_event_request.py +1 -1
- lusid/models/upsert_instrument_events_response.py +1 -1
- lusid/models/upsert_instrument_properties_response.py +1 -1
- lusid/models/upsert_instrument_property_request.py +1 -1
- lusid/models/upsert_instruments_response.py +1 -1
- lusid/models/upsert_legal_entities_response.py +1 -1
- lusid/models/upsert_legal_entity_access_metadata_request.py +1 -1
- lusid/models/upsert_legal_entity_request.py +1 -1
- lusid/models/upsert_person_access_metadata_request.py +1 -1
- lusid/models/upsert_person_request.py +1 -1
- lusid/models/upsert_portfolio_access_metadata_request.py +1 -1
- lusid/models/upsert_portfolio_group_access_metadata_request.py +1 -1
- lusid/models/upsert_portfolio_transactions_response.py +1 -1
- lusid/models/upsert_quote_request.py +1 -1
- lusid/models/upsert_quotes_response.py +1 -1
- lusid/models/upsert_recipe_request.py +1 -1
- lusid/models/upsert_reference_portfolio_constituents_request.py +1 -1
- lusid/models/upsert_reference_portfolio_constituents_response.py +1 -1
- lusid/models/upsert_returns_response.py +1 -1
- lusid/models/upsert_single_structured_data_response.py +1 -1
- lusid/models/upsert_structured_data_response.py +1 -1
- lusid/models/upsert_transaction_properties_response.py +1 -1
- lusid/models/upsert_translation_script_request.py +1 -1
- lusid/models/user.py +1 -1
- lusid/models/valuation_request.py +1 -1
- lusid/models/valuation_schedule.py +44 -8
- lusid/models/valuations_reconciliation_request.py +1 -1
- lusid/models/value_type.py +1 -1
- lusid/models/vendor_model_rule.py +1 -1
- lusid/models/version.py +1 -1
- lusid/models/version_summary_dto.py +1 -1
- lusid/models/versioned_resource_list_of_a2_b_data_record.py +1 -1
- lusid/models/versioned_resource_list_of_a2_b_movement_record.py +1 -1
- lusid/models/versioned_resource_list_of_holding_contributor.py +296 -0
- lusid/models/versioned_resource_list_of_output_transaction.py +1 -1
- lusid/models/versioned_resource_list_of_portfolio_holding.py +1 -1
- lusid/models/versioned_resource_list_of_transaction.py +1 -1
- lusid/models/virtual_row.py +1 -1
- lusid/models/weekend_mask.py +1 -1
- lusid/models/weighted_instrument.py +1 -1
- lusid/models/weighted_instrument_in_line_lookup_identifiers.py +1 -1
- lusid/models/weighted_instruments.py +1 -1
- lusid/models/yield_curve_data.py +1 -1
- lusid/models/yield_curve_data_all_of.py +1 -1
- lusid/rest.py +1 -1
- {lusid_sdk-1.1.73.dist-info → lusid_sdk-1.1.75.dist-info}/METADATA +1 -1
- lusid_sdk-1.1.75.dist-info/RECORD +821 -0
- lusid_sdk-1.1.73.dist-info/RECORD +0 -810
- {lusid_sdk-1.1.73.dist-info → lusid_sdk-1.1.75.dist-info}/WHEEL +0 -0
- {lusid_sdk-1.1.73.dist-info → lusid_sdk-1.1.75.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,422 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
"""
|
4
|
+
LUSID API
|
5
|
+
|
6
|
+
FINBOURNE Technology # noqa: E501
|
7
|
+
|
8
|
+
The version of the OpenAPI document: 1.1.75
|
9
|
+
Contact: info@finbourne.com
|
10
|
+
Generated by: https://openapi-generator.tech
|
11
|
+
"""
|
12
|
+
|
13
|
+
|
14
|
+
try:
|
15
|
+
from inspect import getfullargspec
|
16
|
+
except ImportError:
|
17
|
+
from inspect import getargspec as getfullargspec
|
18
|
+
import pprint
|
19
|
+
import re # noqa: F401
|
20
|
+
import six
|
21
|
+
|
22
|
+
from lusid.configuration import Configuration
|
23
|
+
|
24
|
+
|
25
|
+
class BlockAndOrdersRequest(object):
|
26
|
+
"""NOTE: This class is auto generated by OpenAPI Generator.
|
27
|
+
Ref: https://openapi-generator.tech
|
28
|
+
|
29
|
+
Do not edit the class manually.
|
30
|
+
"""
|
31
|
+
|
32
|
+
"""
|
33
|
+
Attributes:
|
34
|
+
openapi_types (dict): The key is attribute name
|
35
|
+
and the value is attribute type.
|
36
|
+
attribute_map (dict): The key is attribute name
|
37
|
+
and the value is json key in definition.
|
38
|
+
required_map (dict): The key is attribute name
|
39
|
+
and the value is whether it is 'required' or 'optional'.
|
40
|
+
"""
|
41
|
+
openapi_types = {
|
42
|
+
'block_id': 'ResourceId',
|
43
|
+
'orders': 'list[BlockedOrderRequest]',
|
44
|
+
'block_properties': 'dict(str, PerpetualProperty)',
|
45
|
+
'instrument_identifiers': 'dict(str, str)',
|
46
|
+
'side': 'str',
|
47
|
+
'type': 'str',
|
48
|
+
'time_in_force': 'str',
|
49
|
+
'date': 'datetime',
|
50
|
+
'limit_price': 'CurrencyAndAmount',
|
51
|
+
'stop_price': 'CurrencyAndAmount'
|
52
|
+
}
|
53
|
+
|
54
|
+
attribute_map = {
|
55
|
+
'block_id': 'blockId',
|
56
|
+
'orders': 'orders',
|
57
|
+
'block_properties': 'blockProperties',
|
58
|
+
'instrument_identifiers': 'instrumentIdentifiers',
|
59
|
+
'side': 'side',
|
60
|
+
'type': 'type',
|
61
|
+
'time_in_force': 'timeInForce',
|
62
|
+
'date': 'date',
|
63
|
+
'limit_price': 'limitPrice',
|
64
|
+
'stop_price': 'stopPrice'
|
65
|
+
}
|
66
|
+
|
67
|
+
required_map = {
|
68
|
+
'block_id': 'required',
|
69
|
+
'orders': 'required',
|
70
|
+
'block_properties': 'optional',
|
71
|
+
'instrument_identifiers': 'required',
|
72
|
+
'side': 'required',
|
73
|
+
'type': 'optional',
|
74
|
+
'time_in_force': 'optional',
|
75
|
+
'date': 'optional',
|
76
|
+
'limit_price': 'optional',
|
77
|
+
'stop_price': 'optional'
|
78
|
+
}
|
79
|
+
|
80
|
+
def __init__(self, block_id=None, orders=None, block_properties=None, instrument_identifiers=None, side=None, type=None, time_in_force=None, date=None, limit_price=None, stop_price=None, local_vars_configuration=None): # noqa: E501
|
81
|
+
"""BlockAndOrdersRequest - a model defined in OpenAPI"
|
82
|
+
|
83
|
+
:param block_id: (required)
|
84
|
+
:type block_id: lusid.ResourceId
|
85
|
+
:param orders: An order which belongs to a block. Fields common to both entities (such as instrument) should be derived from the block. (required)
|
86
|
+
:type orders: list[lusid.BlockedOrderRequest]
|
87
|
+
:param block_properties: Client-defined properties associated with this block.
|
88
|
+
:type block_properties: dict[str, lusid.PerpetualProperty]
|
89
|
+
:param instrument_identifiers: The instrument ordered. (required)
|
90
|
+
:type instrument_identifiers: dict(str, str)
|
91
|
+
:param side: The client's representation of the block's side (buy, sell, short, etc) (required)
|
92
|
+
:type side: str
|
93
|
+
:param type: The block order's type (examples: Limit, Market, ...)
|
94
|
+
:type type: str
|
95
|
+
:param time_in_force: The block orders' time in force (examples: Day, GoodTilCancel, ...)
|
96
|
+
:type time_in_force: str
|
97
|
+
:param date: The date on which the block was made
|
98
|
+
:type date: datetime
|
99
|
+
:param limit_price:
|
100
|
+
:type limit_price: lusid.CurrencyAndAmount
|
101
|
+
:param stop_price:
|
102
|
+
:type stop_price: lusid.CurrencyAndAmount
|
103
|
+
|
104
|
+
""" # noqa: E501
|
105
|
+
if local_vars_configuration is None:
|
106
|
+
local_vars_configuration = Configuration.get_default_copy()
|
107
|
+
self.local_vars_configuration = local_vars_configuration
|
108
|
+
|
109
|
+
self._block_id = None
|
110
|
+
self._orders = None
|
111
|
+
self._block_properties = None
|
112
|
+
self._instrument_identifiers = None
|
113
|
+
self._side = None
|
114
|
+
self._type = None
|
115
|
+
self._time_in_force = None
|
116
|
+
self._date = None
|
117
|
+
self._limit_price = None
|
118
|
+
self._stop_price = None
|
119
|
+
self.discriminator = None
|
120
|
+
|
121
|
+
self.block_id = block_id
|
122
|
+
self.orders = orders
|
123
|
+
self.block_properties = block_properties
|
124
|
+
self.instrument_identifiers = instrument_identifiers
|
125
|
+
self.side = side
|
126
|
+
self.type = type
|
127
|
+
self.time_in_force = time_in_force
|
128
|
+
if date is not None:
|
129
|
+
self.date = date
|
130
|
+
if limit_price is not None:
|
131
|
+
self.limit_price = limit_price
|
132
|
+
if stop_price is not None:
|
133
|
+
self.stop_price = stop_price
|
134
|
+
|
135
|
+
@property
|
136
|
+
def block_id(self):
|
137
|
+
"""Gets the block_id of this BlockAndOrdersRequest. # noqa: E501
|
138
|
+
|
139
|
+
|
140
|
+
:return: The block_id of this BlockAndOrdersRequest. # noqa: E501
|
141
|
+
:rtype: lusid.ResourceId
|
142
|
+
"""
|
143
|
+
return self._block_id
|
144
|
+
|
145
|
+
@block_id.setter
|
146
|
+
def block_id(self, block_id):
|
147
|
+
"""Sets the block_id of this BlockAndOrdersRequest.
|
148
|
+
|
149
|
+
|
150
|
+
:param block_id: The block_id of this BlockAndOrdersRequest. # noqa: E501
|
151
|
+
:type block_id: lusid.ResourceId
|
152
|
+
"""
|
153
|
+
if self.local_vars_configuration.client_side_validation and block_id is None: # noqa: E501
|
154
|
+
raise ValueError("Invalid value for `block_id`, must not be `None`") # noqa: E501
|
155
|
+
|
156
|
+
self._block_id = block_id
|
157
|
+
|
158
|
+
@property
|
159
|
+
def orders(self):
|
160
|
+
"""Gets the orders of this BlockAndOrdersRequest. # noqa: E501
|
161
|
+
|
162
|
+
An order which belongs to a block. Fields common to both entities (such as instrument) should be derived from the block. # noqa: E501
|
163
|
+
|
164
|
+
:return: The orders of this BlockAndOrdersRequest. # noqa: E501
|
165
|
+
:rtype: list[lusid.BlockedOrderRequest]
|
166
|
+
"""
|
167
|
+
return self._orders
|
168
|
+
|
169
|
+
@orders.setter
|
170
|
+
def orders(self, orders):
|
171
|
+
"""Sets the orders of this BlockAndOrdersRequest.
|
172
|
+
|
173
|
+
An order which belongs to a block. Fields common to both entities (such as instrument) should be derived from the block. # noqa: E501
|
174
|
+
|
175
|
+
:param orders: The orders of this BlockAndOrdersRequest. # noqa: E501
|
176
|
+
:type orders: list[lusid.BlockedOrderRequest]
|
177
|
+
"""
|
178
|
+
if self.local_vars_configuration.client_side_validation and orders is None: # noqa: E501
|
179
|
+
raise ValueError("Invalid value for `orders`, must not be `None`") # noqa: E501
|
180
|
+
|
181
|
+
self._orders = orders
|
182
|
+
|
183
|
+
@property
|
184
|
+
def block_properties(self):
|
185
|
+
"""Gets the block_properties of this BlockAndOrdersRequest. # noqa: E501
|
186
|
+
|
187
|
+
Client-defined properties associated with this block. # noqa: E501
|
188
|
+
|
189
|
+
:return: The block_properties of this BlockAndOrdersRequest. # noqa: E501
|
190
|
+
:rtype: dict[str, lusid.PerpetualProperty]
|
191
|
+
"""
|
192
|
+
return self._block_properties
|
193
|
+
|
194
|
+
@block_properties.setter
|
195
|
+
def block_properties(self, block_properties):
|
196
|
+
"""Sets the block_properties of this BlockAndOrdersRequest.
|
197
|
+
|
198
|
+
Client-defined properties associated with this block. # noqa: E501
|
199
|
+
|
200
|
+
:param block_properties: The block_properties of this BlockAndOrdersRequest. # noqa: E501
|
201
|
+
:type block_properties: dict[str, lusid.PerpetualProperty]
|
202
|
+
"""
|
203
|
+
|
204
|
+
self._block_properties = block_properties
|
205
|
+
|
206
|
+
@property
|
207
|
+
def instrument_identifiers(self):
|
208
|
+
"""Gets the instrument_identifiers of this BlockAndOrdersRequest. # noqa: E501
|
209
|
+
|
210
|
+
The instrument ordered. # noqa: E501
|
211
|
+
|
212
|
+
:return: The instrument_identifiers of this BlockAndOrdersRequest. # noqa: E501
|
213
|
+
:rtype: dict(str, str)
|
214
|
+
"""
|
215
|
+
return self._instrument_identifiers
|
216
|
+
|
217
|
+
@instrument_identifiers.setter
|
218
|
+
def instrument_identifiers(self, instrument_identifiers):
|
219
|
+
"""Sets the instrument_identifiers of this BlockAndOrdersRequest.
|
220
|
+
|
221
|
+
The instrument ordered. # noqa: E501
|
222
|
+
|
223
|
+
:param instrument_identifiers: The instrument_identifiers of this BlockAndOrdersRequest. # noqa: E501
|
224
|
+
:type instrument_identifiers: dict(str, str)
|
225
|
+
"""
|
226
|
+
if self.local_vars_configuration.client_side_validation and instrument_identifiers is None: # noqa: E501
|
227
|
+
raise ValueError("Invalid value for `instrument_identifiers`, must not be `None`") # noqa: E501
|
228
|
+
|
229
|
+
self._instrument_identifiers = instrument_identifiers
|
230
|
+
|
231
|
+
@property
|
232
|
+
def side(self):
|
233
|
+
"""Gets the side of this BlockAndOrdersRequest. # noqa: E501
|
234
|
+
|
235
|
+
The client's representation of the block's side (buy, sell, short, etc) # noqa: E501
|
236
|
+
|
237
|
+
:return: The side of this BlockAndOrdersRequest. # noqa: E501
|
238
|
+
:rtype: str
|
239
|
+
"""
|
240
|
+
return self._side
|
241
|
+
|
242
|
+
@side.setter
|
243
|
+
def side(self, side):
|
244
|
+
"""Sets the side of this BlockAndOrdersRequest.
|
245
|
+
|
246
|
+
The client's representation of the block's side (buy, sell, short, etc) # noqa: E501
|
247
|
+
|
248
|
+
:param side: The side of this BlockAndOrdersRequest. # noqa: E501
|
249
|
+
:type side: str
|
250
|
+
"""
|
251
|
+
if self.local_vars_configuration.client_side_validation and side is None: # noqa: E501
|
252
|
+
raise ValueError("Invalid value for `side`, must not be `None`") # noqa: E501
|
253
|
+
if (self.local_vars_configuration.client_side_validation and
|
254
|
+
side is not None and len(side) < 1):
|
255
|
+
raise ValueError("Invalid value for `side`, length must be greater than or equal to `1`") # noqa: E501
|
256
|
+
|
257
|
+
self._side = side
|
258
|
+
|
259
|
+
@property
|
260
|
+
def type(self):
|
261
|
+
"""Gets the type of this BlockAndOrdersRequest. # noqa: E501
|
262
|
+
|
263
|
+
The block order's type (examples: Limit, Market, ...) # noqa: E501
|
264
|
+
|
265
|
+
:return: The type of this BlockAndOrdersRequest. # noqa: E501
|
266
|
+
:rtype: str
|
267
|
+
"""
|
268
|
+
return self._type
|
269
|
+
|
270
|
+
@type.setter
|
271
|
+
def type(self, type):
|
272
|
+
"""Sets the type of this BlockAndOrdersRequest.
|
273
|
+
|
274
|
+
The block order's type (examples: Limit, Market, ...) # noqa: E501
|
275
|
+
|
276
|
+
:param type: The type of this BlockAndOrdersRequest. # noqa: E501
|
277
|
+
:type type: str
|
278
|
+
"""
|
279
|
+
|
280
|
+
self._type = type
|
281
|
+
|
282
|
+
@property
|
283
|
+
def time_in_force(self):
|
284
|
+
"""Gets the time_in_force of this BlockAndOrdersRequest. # noqa: E501
|
285
|
+
|
286
|
+
The block orders' time in force (examples: Day, GoodTilCancel, ...) # noqa: E501
|
287
|
+
|
288
|
+
:return: The time_in_force of this BlockAndOrdersRequest. # noqa: E501
|
289
|
+
:rtype: str
|
290
|
+
"""
|
291
|
+
return self._time_in_force
|
292
|
+
|
293
|
+
@time_in_force.setter
|
294
|
+
def time_in_force(self, time_in_force):
|
295
|
+
"""Sets the time_in_force of this BlockAndOrdersRequest.
|
296
|
+
|
297
|
+
The block orders' time in force (examples: Day, GoodTilCancel, ...) # noqa: E501
|
298
|
+
|
299
|
+
:param time_in_force: The time_in_force of this BlockAndOrdersRequest. # noqa: E501
|
300
|
+
:type time_in_force: str
|
301
|
+
"""
|
302
|
+
|
303
|
+
self._time_in_force = time_in_force
|
304
|
+
|
305
|
+
@property
|
306
|
+
def date(self):
|
307
|
+
"""Gets the date of this BlockAndOrdersRequest. # noqa: E501
|
308
|
+
|
309
|
+
The date on which the block was made # noqa: E501
|
310
|
+
|
311
|
+
:return: The date of this BlockAndOrdersRequest. # noqa: E501
|
312
|
+
:rtype: datetime
|
313
|
+
"""
|
314
|
+
return self._date
|
315
|
+
|
316
|
+
@date.setter
|
317
|
+
def date(self, date):
|
318
|
+
"""Sets the date of this BlockAndOrdersRequest.
|
319
|
+
|
320
|
+
The date on which the block was made # noqa: E501
|
321
|
+
|
322
|
+
:param date: The date of this BlockAndOrdersRequest. # noqa: E501
|
323
|
+
:type date: datetime
|
324
|
+
"""
|
325
|
+
|
326
|
+
self._date = date
|
327
|
+
|
328
|
+
@property
|
329
|
+
def limit_price(self):
|
330
|
+
"""Gets the limit_price of this BlockAndOrdersRequest. # noqa: E501
|
331
|
+
|
332
|
+
|
333
|
+
:return: The limit_price of this BlockAndOrdersRequest. # noqa: E501
|
334
|
+
:rtype: lusid.CurrencyAndAmount
|
335
|
+
"""
|
336
|
+
return self._limit_price
|
337
|
+
|
338
|
+
@limit_price.setter
|
339
|
+
def limit_price(self, limit_price):
|
340
|
+
"""Sets the limit_price of this BlockAndOrdersRequest.
|
341
|
+
|
342
|
+
|
343
|
+
:param limit_price: The limit_price of this BlockAndOrdersRequest. # noqa: E501
|
344
|
+
:type limit_price: lusid.CurrencyAndAmount
|
345
|
+
"""
|
346
|
+
|
347
|
+
self._limit_price = limit_price
|
348
|
+
|
349
|
+
@property
|
350
|
+
def stop_price(self):
|
351
|
+
"""Gets the stop_price of this BlockAndOrdersRequest. # noqa: E501
|
352
|
+
|
353
|
+
|
354
|
+
:return: The stop_price of this BlockAndOrdersRequest. # noqa: E501
|
355
|
+
:rtype: lusid.CurrencyAndAmount
|
356
|
+
"""
|
357
|
+
return self._stop_price
|
358
|
+
|
359
|
+
@stop_price.setter
|
360
|
+
def stop_price(self, stop_price):
|
361
|
+
"""Sets the stop_price of this BlockAndOrdersRequest.
|
362
|
+
|
363
|
+
|
364
|
+
:param stop_price: The stop_price of this BlockAndOrdersRequest. # noqa: E501
|
365
|
+
:type stop_price: lusid.CurrencyAndAmount
|
366
|
+
"""
|
367
|
+
|
368
|
+
self._stop_price = stop_price
|
369
|
+
|
370
|
+
def to_dict(self, serialize=False):
|
371
|
+
"""Returns the model properties as a dict"""
|
372
|
+
result = {}
|
373
|
+
|
374
|
+
def convert(x):
|
375
|
+
if hasattr(x, "to_dict"):
|
376
|
+
args = getfullargspec(x.to_dict).args
|
377
|
+
if len(args) == 1:
|
378
|
+
return x.to_dict()
|
379
|
+
else:
|
380
|
+
return x.to_dict(serialize)
|
381
|
+
else:
|
382
|
+
return x
|
383
|
+
|
384
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
385
|
+
value = getattr(self, attr)
|
386
|
+
attr = self.attribute_map.get(attr, attr) if serialize else attr
|
387
|
+
if isinstance(value, list):
|
388
|
+
result[attr] = list(map(
|
389
|
+
lambda x: convert(x),
|
390
|
+
value
|
391
|
+
))
|
392
|
+
elif isinstance(value, dict):
|
393
|
+
result[attr] = dict(map(
|
394
|
+
lambda item: (item[0], convert(item[1])),
|
395
|
+
value.items()
|
396
|
+
))
|
397
|
+
else:
|
398
|
+
result[attr] = convert(value)
|
399
|
+
|
400
|
+
return result
|
401
|
+
|
402
|
+
def to_str(self):
|
403
|
+
"""Returns the string representation of the model"""
|
404
|
+
return pprint.pformat(self.to_dict())
|
405
|
+
|
406
|
+
def __repr__(self):
|
407
|
+
"""For `print` and `pprint`"""
|
408
|
+
return self.to_str()
|
409
|
+
|
410
|
+
def __eq__(self, other):
|
411
|
+
"""Returns true if both objects are equal"""
|
412
|
+
if not isinstance(other, BlockAndOrdersRequest):
|
413
|
+
return False
|
414
|
+
|
415
|
+
return self.to_dict() == other.to_dict()
|
416
|
+
|
417
|
+
def __ne__(self, other):
|
418
|
+
"""Returns true if both objects are not equal"""
|
419
|
+
if not isinstance(other, BlockAndOrdersRequest):
|
420
|
+
return True
|
421
|
+
|
422
|
+
return self.to_dict() != other.to_dict()
|
lusid/models/block_request.py
CHANGED