lusid-sdk 2.1.912__py3-none-any.whl → 2.1.914__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/api/abor_api.py +66 -66
- lusid/api/abor_configuration_api.py +32 -32
- lusid/api/address_key_definition_api.py +10 -10
- lusid/api/aggregated_returns_api.py +12 -12
- lusid/api/aggregation_api.py +10 -10
- lusid/api/allocations_api.py +24 -24
- lusid/api/amortisation_rule_sets_api.py +24 -24
- lusid/api/application_metadata_api.py +6 -6
- lusid/api/blocks_api.py +18 -18
- lusid/api/calendars_api.py +34 -34
- lusid/api/chart_of_accounts_api.py +122 -122
- lusid/api/check_definitions_api.py +38 -38
- lusid/api/complex_market_data_api.py +36 -36
- lusid/api/compliance_api.py +34 -34
- lusid/api/configuration_recipe_api.py +20 -20
- lusid/api/conventions_api.py +18 -18
- lusid/api/corporate_action_sources_api.py +32 -32
- lusid/api/counterparties_api.py +12 -12
- lusid/api/custom_data_models_api.py +16 -16
- lusid/api/custom_entities_api.py +40 -40
- lusid/api/custom_entity_definitions_api.py +10 -10
- lusid/api/custom_entity_types_api.py +10 -10
- lusid/api/cut_label_definitions_api.py +8 -8
- lusid/api/data_types_api.py +34 -34
- lusid/api/derived_transaction_portfolios_api.py +6 -6
- lusid/api/entities_api.py +20 -20
- lusid/api/executions_api.py +18 -18
- lusid/api/fee_types_api.py +8 -8
- lusid/api/fund_configuration_api.py +38 -38
- lusid/api/funds_api.py +139 -130
- lusid/api/group_reconciliations_api.py +84 -84
- lusid/api/identifier_definitions_api.py +30 -30
- lusid/api/instrument_event_types_api.py +40 -40
- lusid/api/instrument_events_api.py +34 -34
- lusid/api/instruments_api.py +138 -138
- lusid/api/investment_accounts_api.py +24 -24
- lusid/api/investor_records_api.py +26 -26
- lusid/api/legacy_compliance_api.py +46 -46
- lusid/api/legal_entities_api.py +114 -114
- lusid/api/order_graph_api.py +6 -6
- lusid/api/order_instructions_api.py +18 -18
- lusid/api/order_management_api.py +28 -28
- lusid/api/orders_api.py +18 -18
- lusid/api/packages_api.py +18 -18
- lusid/api/participations_api.py +18 -18
- lusid/api/persons_api.py +114 -114
- lusid/api/placements_api.py +18 -18
- lusid/api/portfolio_groups_api.py +156 -156
- lusid/api/portfolios_api.py +128 -128
- lusid/api/property_definitions_api.py +74 -74
- lusid/api/queryable_keys_api.py +6 -6
- lusid/api/quotes_api.py +36 -36
- lusid/api/reconciliations_api.py +42 -42
- lusid/api/reference_lists_api.py +8 -8
- lusid/api/reference_portfolio_api.py +30 -30
- lusid/api/relation_definitions_api.py +14 -14
- lusid/api/relationship_definitions_api.py +32 -32
- lusid/api/scopes_api.py +12 -12
- lusid/api/scripted_translation_api.py +22 -22
- lusid/api/search_api.py +28 -28
- lusid/api/sequences_api.py +20 -20
- lusid/api/staged_modifications_api.py +20 -20
- lusid/api/staging_rule_set_api.py +18 -18
- lusid/api/structured_result_data_api.py +38 -38
- lusid/api/system_configuration_api.py +20 -20
- lusid/api/tax_rule_sets_api.py +34 -34
- lusid/api/timelines_api.py +68 -68
- lusid/api/transaction_configuration_api.py +18 -18
- lusid/api/transaction_fees_api.py +42 -42
- lusid/api/transaction_portfolios_api.py +450 -450
- lusid/api/transfer_agency_api.py +2 -2
- lusid/api/translation_api.py +4 -4
- lusid/api/workspace_api.py +24 -24
- lusid/configuration.py +1 -1
- lusid/models/access_metadata_value.py +1 -1
- lusid/models/accumulation_event.py +1 -1
- lusid/models/additional_payment.py +1 -1
- lusid/models/address_definition.py +2 -2
- lusid/models/adjust_global_commitment_event.py +2 -2
- 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/aggregation_context.py +1 -1
- lusid/models/aggregation_options.py +3 -3
- lusid/models/allocation.py +1 -1
- lusid/models/amortisation_event.py +2 -2
- lusid/models/append_fx_forward_curve_by_quote_reference.py +1 -1
- lusid/models/asset_leg.py +2 -2
- lusid/models/basket.py +1 -1
- lusid/models/block.py +1 -1
- lusid/models/bond.py +5 -5
- lusid/models/bond_conversion_entry.py +3 -3
- lusid/models/bond_conversion_schedule.py +5 -5
- lusid/models/bond_coupon_event.py +1 -1
- lusid/models/bond_principal_event.py +1 -1
- lusid/models/bucketed_cash_flow_response.py +3 -3
- lusid/models/cancel_single_holding_adjustment_request.py +1 -1
- lusid/models/cap_floor.py +2 -2
- lusid/models/cash_and_security_offer_election.py +1 -1
- lusid/models/cash_dependency.py +2 -2
- lusid/models/cash_flow_event.py +1 -1
- lusid/models/cash_flow_lineage.py +2 -2
- lusid/models/cash_offer_election.py +1 -1
- lusid/models/cds_flow_conventions.py +5 -5
- lusid/models/cds_index.py +4 -4
- lusid/models/cds_protection_detail_specification.py +3 -3
- lusid/models/change_item.py +1 -1
- lusid/models/close_event.py +1 -1
- lusid/models/collateral.py +2 -2
- lusid/models/complex_bond.py +4 -4
- lusid/models/complex_market_data.py +1 -1
- lusid/models/complex_market_data_id.py +1 -1
- lusid/models/compounding.py +6 -6
- lusid/models/configuration_recipe.py +1 -1
- lusid/models/constant_volatility_surface.py +2 -2
- lusid/models/constituents_adjustment_header.py +1 -1
- lusid/models/contract_for_difference.py +6 -6
- lusid/models/conversion_event.py +9 -9
- lusid/models/corporate_action_transition_component_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/credit_default_swap.py +4 -4
- lusid/models/credit_premium_cash_flow_event.py +1 -1
- lusid/models/credit_rating.py +1 -1
- lusid/models/credit_spread_curve_data.py +3 -3
- lusid/models/credit_support_annex.py +6 -6
- lusid/models/curve_options.py +2 -2
- lusid/models/data_definition.py +3 -3
- lusid/models/data_map_key.py +1 -1
- lusid/models/data_mapping.py +1 -1
- lusid/models/dependency_source_filter.py +6 -6
- lusid/models/dialect.py +1 -1
- lusid/models/dialect_schema.py +1 -1
- lusid/models/discounting_dependency.py +2 -2
- lusid/models/dividend_option_event.py +1 -1
- lusid/models/dividend_reinvestment_event.py +1 -1
- lusid/models/early_redemption_election.py +1 -1
- lusid/models/early_redemption_event.py +2 -2
- lusid/models/economic_dependency.py +1 -1
- lusid/models/equity.py +1 -1
- lusid/models/equity_curve_by_prices_data.py +1 -1
- lusid/models/equity_curve_dependency.py +2 -2
- lusid/models/equity_model_options.py +1 -1
- lusid/models/equity_option.py +7 -7
- lusid/models/equity_swap.py +6 -6
- lusid/models/equity_vol_dependency.py +2 -2
- lusid/models/event_date_range.py +1 -1
- lusid/models/ex_dividend_configuration.py +3 -3
- lusid/models/exchange_traded_option.py +1 -1
- lusid/models/exchange_traded_option_contract_details.py +5 -5
- lusid/models/execution.py +1 -1
- lusid/models/exercise_event.py +1 -1
- lusid/models/exotic_instrument.py +1 -1
- lusid/models/expiry_event.py +1 -1
- lusid/models/fixed_leg.py +1 -1
- lusid/models/fixed_leg_all_of_overrides.py +1 -1
- lusid/models/fixed_schedule.py +3 -3
- lusid/models/flexible_deposit.py +2 -2
- lusid/models/flexible_loan.py +2 -2
- lusid/models/flexible_repo.py +10 -10
- lusid/models/flexible_repo_cash_flow_event.py +2 -2
- lusid/models/flexible_repo_collateral_event.py +2 -2
- lusid/models/flexible_repo_interest_payment_event.py +2 -2
- lusid/models/flexible_repo_partial_closure_event.py +5 -5
- lusid/models/float_schedule.py +5 -5
- lusid/models/floating_leg.py +1 -1
- lusid/models/flow_convention_name.py +1 -1
- lusid/models/flow_conventions.py +9 -9
- lusid/models/forward_rate_agreement.py +1 -1
- lusid/models/fund_calendar_entry.py +21 -1
- lusid/models/fund_share_class.py +4 -4
- lusid/models/fund_valuation_request.py +4 -4
- lusid/models/fund_valuation_schedule.py +4 -4
- lusid/models/funding_leg.py +3 -3
- lusid/models/future.py +4 -4
- lusid/models/future_expiry_event.py +1 -1
- lusid/models/future_mark_to_market_event.py +1 -1
- lusid/models/futures_contract_details.py +5 -5
- lusid/models/fx_conventions.py +1 -1
- lusid/models/fx_dependency.py +1 -1
- lusid/models/fx_forward.py +6 -6
- lusid/models/fx_forward_curve_by_quote_reference.py +3 -3
- lusid/models/fx_forward_model_options.py +1 -1
- lusid/models/fx_forward_settlement_event.py +6 -6
- lusid/models/fx_forward_tenor_curve_data.py +2 -2
- lusid/models/fx_forward_tenor_pips_curve_data.py +2 -2
- lusid/models/fx_forwards_dependency.py +3 -3
- lusid/models/fx_linked_notional_schedule.py +1 -1
- lusid/models/fx_option.py +8 -8
- lusid/models/fx_rate_schedule.py +1 -1
- lusid/models/fx_swap.py +2 -2
- lusid/models/fx_tenor_convention.py +1 -1
- lusid/models/fx_vol_dependency.py +2 -2
- lusid/models/get_reference_portfolio_constituents_response.py +1 -1
- lusid/models/group_of_market_data_key_rules.py +2 -2
- lusid/models/holding_context.py +1 -1
- lusid/models/holding_pricing_info.py +2 -2
- lusid/models/index_convention.py +4 -4
- lusid/models/index_projection_dependency.py +2 -2
- lusid/models/industry_classifier.py +1 -1
- lusid/models/inflation_index_conventions.py +4 -4
- lusid/models/inflation_leg.py +5 -5
- lusid/models/inflation_linked_bond.py +6 -6
- lusid/models/inflation_swap.py +3 -3
- lusid/models/informational_event.py +3 -3
- lusid/models/inline_valuation_request.py +6 -6
- lusid/models/inline_valuations_reconciliation_request.py +1 -1
- lusid/models/instrument_capabilities.py +1 -1
- lusid/models/instrument_definition_format.py +2 -2
- lusid/models/instrument_event.py +1 -1
- lusid/models/instrument_leg.py +1 -1
- lusid/models/interest_rate_swap.py +4 -4
- lusid/models/interest_rate_swaption.py +2 -2
- lusid/models/ir_vol_dependency.py +2 -2
- lusid/models/lapse_election.py +1 -1
- lusid/models/leg_definition.py +8 -8
- lusid/models/list_complex_market_data_with_meta_data_response.py +1 -1
- lusid/models/loan_facility.py +3 -3
- lusid/models/loan_facility_contract_rollover_event.py +2 -2
- lusid/models/loan_interest_repayment_event.py +2 -2
- lusid/models/loan_principal_repayment_event.py +3 -3
- lusid/models/lusid_instrument.py +1 -1
- lusid/models/lusid_trade_ticket.py +1 -1
- lusid/models/mark_to_market_conventions.py +1 -1
- lusid/models/market_context.py +4 -4
- lusid/models/market_context_suppliers.py +1 -1
- lusid/models/market_data_key_rule.py +7 -7
- lusid/models/market_data_options.py +1 -1
- lusid/models/market_data_specific_rule.py +6 -6
- lusid/models/market_data_type.py +1 -1
- lusid/models/market_options.py +1 -1
- lusid/models/market_quote.py +1 -1
- lusid/models/mastered_instrument.py +1 -1
- lusid/models/match_criterion.py +1 -1
- lusid/models/maturity_event.py +1 -1
- lusid/models/mbs_coupon_event.py +1 -1
- lusid/models/mbs_interest_deferral_event.py +1 -1
- lusid/models/mbs_interest_shortfall_event.py +1 -1
- lusid/models/mbs_principal_event.py +1 -1
- lusid/models/mbs_principal_write_off_event.py +1 -1
- lusid/models/model_options.py +1 -1
- lusid/models/model_selection.py +1 -1
- lusid/models/opaque_dependency.py +1 -1
- lusid/models/opaque_market_data.py +3 -3
- lusid/models/option_entry.py +1 -1
- lusid/models/option_exercise_cash_event.py +3 -3
- lusid/models/option_exercise_election.py +1 -1
- lusid/models/option_exercise_physical_event.py +3 -3
- lusid/models/optionality_schedule.py +2 -2
- lusid/models/order_flow_configuration.py +1 -1
- lusid/models/partial_closure_constituent.py +3 -3
- lusid/models/portfolio_result_data_key_rule.py +1 -1
- lusid/models/pre_trade_configuration.py +1 -1
- lusid/models/pricing_context.py +3 -3
- lusid/models/pricing_options.py +9 -9
- lusid/models/property_domain.py +1 -1
- lusid/models/property_reference_data_value.py +1 -1
- lusid/models/quote_dependency.py +1 -1
- lusid/models/quote_series_id.py +1 -1
- lusid/models/raw_vendor_event.py +1 -1
- lusid/models/recipe_value.py +1 -1
- lusid/models/reconcile_date_time_rule.py +1 -1
- lusid/models/reconcile_numeric_rule.py +1 -1
- lusid/models/reconcile_string_rule.py +1 -1
- lusid/models/reconciled_transaction.py +2 -2
- lusid/models/reconciliation_line.py +1 -1
- lusid/models/reconciliation_request.py +3 -3
- lusid/models/reconciliation_rule.py +1 -1
- lusid/models/relative_date_offset.py +2 -2
- lusid/models/repo.py +8 -8
- lusid/models/repo_cash_flow_event.py +4 -4
- lusid/models/repo_partial_closure_event.py +5 -5
- lusid/models/repurchase_offer_event.py +4 -4
- lusid/models/reset_event.py +1 -1
- lusid/models/result_data_key_rule.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_value_date_time_offset.py +1 -1
- lusid/models/result_value_decimal.py +1 -1
- lusid/models/result_value_int.py +1 -1
- lusid/models/return_zero_pv_options.py +1 -1
- lusid/models/rounding_convention.py +4 -4
- lusid/models/schedule.py +1 -1
- lusid/models/scrip_dividend_event.py +1 -1
- lusid/models/security_election.py +2 -2
- lusid/models/security_offer_election.py +1 -1
- lusid/models/side_configuration_data.py +1 -1
- lusid/models/side_configuration_data_request.py +1 -1
- lusid/models/simple_cash_flow_loan.py +2 -2
- lusid/models/simple_instrument.py +2 -2
- lusid/models/simple_rounding_convention.py +2 -2
- lusid/models/step_schedule.py +3 -3
- lusid/models/stock_dividend_event.py +1 -1
- lusid/models/structured_result_data.py +1 -1
- lusid/models/swap_cash_flow_event.py +1 -1
- lusid/models/swap_principal_event.py +1 -1
- lusid/models/tender_offer_election.py +1 -1
- lusid/models/term_deposit.py +1 -1
- lusid/models/term_deposit_interest_event.py +1 -1
- lusid/models/term_deposit_principal_event.py +1 -1
- lusid/models/time_zone_conventions.py +1 -1
- lusid/models/total_return_swap.py +3 -3
- lusid/models/trading_conventions.py +3 -3
- lusid/models/transaction_reconciliation_request_v2.py +3 -3
- lusid/models/transaction_settlement_instruction.py +5 -3
- lusid/models/translate_entities_inlined_request.py +1 -1
- lusid/models/translate_entities_request.py +1 -1
- lusid/models/translate_instrument_definitions_request.py +1 -1
- lusid/models/translate_trade_ticket_request.py +1 -1
- lusid/models/translation_input.py +1 -1
- lusid/models/trigger_event.py +1 -1
- lusid/models/typed_resource_id.py +2 -2
- lusid/models/unmatched_holding_method.py +1 -1
- lusid/models/upsert_cds_flow_conventions_request.py +1 -1
- lusid/models/upsert_counterparty_agreement_request.py +1 -1
- lusid/models/upsert_flow_conventions_request.py +1 -1
- lusid/models/upsert_fund_bookmark_request.py +3 -3
- lusid/models/upsert_index_convention_request.py +1 -1
- lusid/models/upsert_quote_request.py +1 -1
- lusid/models/upsert_recipe_request.py +1 -1
- lusid/models/valuation_request.py +5 -5
- lusid/models/valuation_schedule.py +5 -5
- lusid/models/valuations_reconciliation_request.py +2 -2
- lusid/models/vendor_model_rule.py +3 -3
- lusid/models/virtual_document.py +1 -1
- lusid/models/weighted_instrument.py +2 -2
- lusid/models/weighted_instrument_in_line_lookup_identifiers.py +1 -1
- {lusid_sdk-2.1.912.dist-info → lusid_sdk-2.1.914.dist-info}/METADATA +3 -3
- {lusid_sdk-2.1.912.dist-info → lusid_sdk-2.1.914.dist-info}/RECORD +333 -333
- {lusid_sdk-2.1.912.dist-info → lusid_sdk-2.1.914.dist-info}/WHEEL +0 -0
@@ -25,7 +25,7 @@ from lusid.models.reconciliation_left_right_address_key_pair import Reconciliati
|
|
25
25
|
|
26
26
|
class InlineValuationsReconciliationRequest(BaseModel):
|
27
27
|
"""
|
28
|
-
Specification for the reconciliation request. Left and Right hand sides are constructed. Each consists of a valuation of a inline set of instruments
|
28
|
+
Specification for the reconciliation request. Left and Right hand sides are constructed. Each consists of a valuation of a inline set of instruments using an inline aggregation request. The results of this can then be compared to each other. The difference, which is effectively a risk based difference allows comparison of the effects of changing a recipe, valuation date, or (though it may or may not make logical sense) a set of instruments. # noqa: E501
|
29
29
|
"""
|
30
30
|
left: InlineValuationRequest = Field(...)
|
31
31
|
right: InlineValuationRequest = Field(...)
|
@@ -26,7 +26,7 @@ from lusid.models.link import Link
|
|
26
26
|
|
27
27
|
class InstrumentCapabilities(BaseModel):
|
28
28
|
"""
|
29
|
-
Instrument capabilities containing useful information about the instrument and the model. This includes
|
29
|
+
Instrument capabilities containing useful information about the instrument and the model. This includes - features corresponding to the instrument i.e. Optionality:American, Other:InflationLinked - supported addresses (if model provided) i.e. Valuation/Pv, Valuation/DirtyPriceKey, Valuation/Accrued - economic dependencies (if model provided) i.e. Cash:USD, Fx:GBP.USD, Rates:GBP.GBPOIS # noqa: E501
|
30
30
|
"""
|
31
31
|
instrument_id: Optional[StrictStr] = Field(None,alias="instrumentId", description="The Lusid instrument id for the instrument e.g. 'LUID_00003D4X'.")
|
32
32
|
model: Optional[StrictStr] = Field(None,alias="model", description="The pricing model e.g. 'Discounting'.")
|
@@ -23,10 +23,10 @@ from pydantic.v1 import StrictStr, Field, BaseModel, Field, constr
|
|
23
23
|
|
24
24
|
class InstrumentDefinitionFormat(BaseModel):
|
25
25
|
"""
|
26
|
-
What is the provenance of an instrument. This defines who creates/owns it, what format it is in (e.g. a proprietary format or a common and known one)
|
26
|
+
What is the provenance of an instrument. This defines who creates/owns it, what format it is in (e.g. a proprietary format or a common and known one) and what the version of that is. # noqa: E501
|
27
27
|
"""
|
28
28
|
source_system: StrictStr = Field(...,alias="sourceSystem", description="which source system does the format originate from")
|
29
|
-
vendor: StrictStr = Field(...,alias="vendor", description="An instrument will potentially have been created by any number of different organisations. Some will be understood completely (e.g. LUSID's), some won't.
|
29
|
+
vendor: StrictStr = Field(...,alias="vendor", description="An instrument will potentially have been created by any number of different organisations. Some will be understood completely (e.g. LUSID's), some won't. The provenance of an instrument indicates who \"owns\" the associated format.")
|
30
30
|
version: StrictStr = Field(...,alias="version", description="Version of the document. Would be preferable to avoid the need, but LUSID will not control other organisations' trade formats.")
|
31
31
|
__properties = ["sourceSystem", "vendor", "version"]
|
32
32
|
|
lusid/models/instrument_event.py
CHANGED
@@ -24,7 +24,7 @@ import lusid.models
|
|
24
24
|
|
25
25
|
class InstrumentEvent(BaseModel):
|
26
26
|
"""
|
27
|
-
Base class for representing instrument events in LUSID, such as dividends, stock splits, and option exercises.
|
27
|
+
Base class for representing instrument events in LUSID, such as dividends, stock splits, and option exercises. This base class should not be directly instantiated; each supported InstrumentEventType has a corresponding inherited class. # noqa: E501
|
28
28
|
"""
|
29
29
|
instrument_event_type: StrictStr = Field(...,alias="instrumentEventType", description="The Type of Event. The available values are: TransitionEvent, InformationalEvent, OpenEvent, CloseEvent, StockSplitEvent, BondDefaultEvent, CashDividendEvent, AmortisationEvent, CashFlowEvent, ExerciseEvent, ResetEvent, TriggerEvent, RawVendorEvent, InformationalErrorEvent, BondCouponEvent, DividendReinvestmentEvent, AccumulationEvent, BondPrincipalEvent, DividendOptionEvent, MaturityEvent, FxForwardSettlementEvent, ExpiryEvent, ScripDividendEvent, StockDividendEvent, ReverseStockSplitEvent, CapitalDistributionEvent, SpinOffEvent, MergerEvent, FutureExpiryEvent, SwapCashFlowEvent, SwapPrincipalEvent, CreditPremiumCashFlowEvent, CdsCreditEvent, CdxCreditEvent, MbsCouponEvent, MbsPrincipalEvent, BonusIssueEvent, MbsPrincipalWriteOffEvent, MbsInterestDeferralEvent, MbsInterestShortfallEvent, TenderEvent, CallOnIntermediateSecuritiesEvent, IntermediateSecuritiesDistributionEvent, OptionExercisePhysicalEvent, OptionExerciseCashEvent, ProtectionPayoutCashFlowEvent, TermDepositInterestEvent, TermDepositPrincipalEvent, EarlyRedemptionEvent, FutureMarkToMarketEvent, AdjustGlobalCommitmentEvent, ContractInitialisationEvent, DrawdownEvent, LoanInterestRepaymentEvent, UpdateDepositAmountEvent, LoanPrincipalRepaymentEvent, DepositInterestPaymentEvent, DepositCloseEvent, LoanFacilityContractRolloverEvent, RepurchaseOfferEvent, RepoPartialClosureEvent, RepoCashFlowEvent, FlexibleRepoInterestPaymentEvent, FlexibleRepoCashFlowEvent, FlexibleRepoCollateralEvent, ConversionEvent, FlexibleRepoPartialClosureEvent, FlexibleRepoFullClosureEvent")
|
30
30
|
__properties = ["instrumentEventType"]
|
lusid/models/instrument_leg.py
CHANGED
@@ -25,7 +25,7 @@ import lusid.models
|
|
25
25
|
|
26
26
|
class InstrumentLeg(LusidInstrument):
|
27
27
|
"""
|
28
|
-
Base class for representing instrument legs in LUSID.
|
28
|
+
Base class for representing instrument legs in LUSID. An instrument leg describes a set of cashflows that are paid at a set of points in time according to some set of conventions. This base class should not be directly instantiated; only its inheritors should be used. # noqa: E501
|
29
29
|
"""
|
30
30
|
instrument_type: StrictStr = Field(...,alias="instrumentType", description="The available values are: QuotedSecurity, InterestRateSwap, FxForward, Future, ExoticInstrument, FxOption, CreditDefaultSwap, InterestRateSwaption, Bond, EquityOption, FixedLeg, FloatingLeg, BespokeCashFlowsLeg, Unknown, TermDeposit, ContractForDifference, EquitySwap, CashPerpetual, CapFloor, CashSettled, CdsIndex, Basket, FundingLeg, FxSwap, ForwardRateAgreement, SimpleInstrument, Repo, Equity, ExchangeTradedOption, ReferenceInstrument, ComplexBond, InflationLinkedBond, InflationSwap, SimpleCashFlowLoan, TotalReturnSwap, InflationLeg, FundShareClass, FlexibleLoan, UnsettledCash, Cash, MasteredInstrument, LoanFacility, FlexibleDeposit, FlexibleRepo")
|
31
31
|
additional_properties: Dict[str, Any] = {}
|
@@ -27,14 +27,14 @@ from lusid.models.time_zone_conventions import TimeZoneConventions
|
|
27
27
|
|
28
28
|
class InterestRateSwap(LusidInstrument):
|
29
29
|
"""
|
30
|
-
LUSID representation of an Interest Rate Swap, including:
|
30
|
+
LUSID representation of an Interest Rate Swap, including: * Vanilla (single currency fixed-float non-amortising) * CrossCurrency (>1 currency is used by the swap legs) * Basis (single currency, floating-floating legs of different tenors) * Amortising (the swap has 1+ leg with amortised notional) This instrument has multiple legs, to see how legs are used in LUSID see [knowledge base article KA-02252](https://support.lusid.com/knowledgebase/article/KA-02252). | Leg Index | Leg Identifier | Description | | --------- | -------------- | ----------- | | 1 | Pay/Receive | Cash flows representing the pay/receive leg. | | 2 | Receive/Pay | Cash flows representing the receive/pay leg. | | 3 | AdditionalPayments | Cash flows relating to any additional payments (optional). | # noqa: E501
|
31
31
|
"""
|
32
32
|
start_date: datetime = Field(..., alias="startDate", description="The start date of the instrument. This is normally synonymous with the trade-date.")
|
33
|
-
maturity_date: datetime = Field(..., alias="maturityDate", description="The final maturity date of the instrument. This means the last date on which the instruments makes a payment of any amount.
|
34
|
-
is_non_deliverable: Optional[StrictBool] = Field(None, alias="isNonDeliverable", description="Is the contract an IRS of \"Non-Deliverable\" type, meaning a single payment in the settlement currency based on the difference between
|
33
|
+
maturity_date: datetime = Field(..., alias="maturityDate", description="The final maturity date of the instrument. This means the last date on which the instruments makes a payment of any amount. For the avoidance of doubt, that is not necessarily prior to its last sensitivity date for the purposes of risk; e.g. instruments such as Constant Maturity Swaps (CMS) often have sensitivities to rates that may well be observed or set prior to the maturity date, but refer to a termination date beyond it.")
|
34
|
+
is_non_deliverable: Optional[StrictBool] = Field(None, alias="isNonDeliverable", description="Is the contract an IRS of \"Non-Deliverable\" type, meaning a single payment in the settlement currency based on the difference between the fixed and floating rates.")
|
35
35
|
legs: conlist(InstrumentLeg) = Field(..., description="The set of instrument legs that define the swap instrument, these should be FloatingLeg or FixedLeg.")
|
36
36
|
settlement_ccy: Optional[StrictStr] = Field(None,alias="settlementCcy", description="Settlement currency if IRS is non-deliverable.")
|
37
|
-
additional_payments: Optional[conlist(AdditionalPayment)] = Field(None, alias="additionalPayments", description="Optional additional payments at a given date e.g. to level off an uneven fixed-floating swap.
|
37
|
+
additional_payments: Optional[conlist(AdditionalPayment)] = Field(None, alias="additionalPayments", description="Optional additional payments at a given date e.g. to level off an uneven fixed-floating swap. The dates must be distinct and either all payments are Pay or all payments are Receive.")
|
38
38
|
time_zone_conventions: Optional[TimeZoneConventions] = Field(None, alias="timeZoneConventions")
|
39
39
|
instrument_type: StrictStr = Field(...,alias="instrumentType", description="The available values are: QuotedSecurity, InterestRateSwap, FxForward, Future, ExoticInstrument, FxOption, CreditDefaultSwap, InterestRateSwaption, Bond, EquityOption, FixedLeg, FloatingLeg, BespokeCashFlowsLeg, Unknown, TermDeposit, ContractForDifference, EquitySwap, CashPerpetual, CapFloor, CashSettled, CdsIndex, Basket, FundingLeg, FxSwap, ForwardRateAgreement, SimpleInstrument, Repo, Equity, ExchangeTradedOption, ReferenceInstrument, ComplexBond, InflationLinkedBond, InflationSwap, SimpleCashFlowLoan, TotalReturnSwap, InflationLeg, FundShareClass, FlexibleLoan, UnsettledCash, Cash, MasteredInstrument, LoanFacility, FlexibleDeposit, FlexibleRepo")
|
40
40
|
additional_properties: Dict[str, Any] = {}
|
@@ -30,9 +30,9 @@ class InterestRateSwaption(LusidInstrument):
|
|
30
30
|
LUSID representation of an Interest Rate Swaption. # noqa: E501
|
31
31
|
"""
|
32
32
|
start_date: datetime = Field(..., alias="startDate", description="The start date of the instrument. This is normally synonymous with the trade-date.")
|
33
|
-
pay_or_receive_fixed: StrictStr = Field(...,alias="payOrReceiveFixed", description="Pay or Receive the fixed leg of the underlying swap.
|
33
|
+
pay_or_receive_fixed: StrictStr = Field(...,alias="payOrReceiveFixed", description="Pay or Receive the fixed leg of the underlying swap. Supported string (enumeration) values are: [Pay, Receive].")
|
34
34
|
premium: Optional[Premium] = None
|
35
|
-
delivery_method: StrictStr = Field(...,alias="deliveryMethod", description="How does the option settle
|
35
|
+
delivery_method: StrictStr = Field(...,alias="deliveryMethod", description="How does the option settle Supported string (enumeration) values are: [Cash, Physical].")
|
36
36
|
swap: InterestRateSwap = Field(...)
|
37
37
|
time_zone_conventions: Optional[TimeZoneConventions] = Field(None, alias="timeZoneConventions")
|
38
38
|
instrument_type: StrictStr = Field(...,alias="instrumentType", description="The available values are: QuotedSecurity, InterestRateSwap, FxForward, Future, ExoticInstrument, FxOption, CreditDefaultSwap, InterestRateSwaption, Bond, EquityOption, FixedLeg, FloatingLeg, BespokeCashFlowsLeg, Unknown, TermDeposit, ContractForDifference, EquitySwap, CashPerpetual, CapFloor, CashSettled, CdsIndex, Basket, FundingLeg, FxSwap, ForwardRateAgreement, SimpleInstrument, Repo, Equity, ExchangeTradedOption, ReferenceInstrument, ComplexBond, InflationLinkedBond, InflationSwap, SimpleCashFlowLoan, TotalReturnSwap, InflationLeg, FundShareClass, FlexibleLoan, UnsettledCash, Cash, MasteredInstrument, LoanFacility, FlexibleDeposit, FlexibleRepo")
|
@@ -24,11 +24,11 @@ from lusid.models.economic_dependency import EconomicDependency
|
|
24
24
|
|
25
25
|
class IrVolDependency(EconomicDependency):
|
26
26
|
"""
|
27
|
-
Economic dependency required to price interest rate products that contain optionality, for example swaptions.
|
27
|
+
Economic dependency required to price interest rate products that contain optionality, for example swaptions. For example, can indicate a dependency on an IrVolCubeData. # noqa: E501
|
28
28
|
"""
|
29
29
|
currency: StrictStr = Field(...,alias="currency", description="The domestic currency of the instrument declaring this dependency.")
|
30
30
|
vol_type: StrictStr = Field(...,alias="volType", description="Volatility type e.g. \"LN\" and \"N\" for log-normal and normal volatility.")
|
31
|
-
var_date: datetime = Field(..., alias="date", description="The effectiveDate of the entity that this is a dependency for.
|
31
|
+
var_date: datetime = Field(..., alias="date", description="The effectiveDate of the entity that this is a dependency for. Unless there is an obvious date this should be, like for a historic reset, then this is the valuation date.")
|
32
32
|
dependency_type: StrictStr = Field(...,alias="dependencyType", description="The available values are: OpaqueDependency, CashDependency, DiscountingDependency, EquityCurveDependency, EquityVolDependency, FxDependency, FxForwardsDependency, FxVolDependency, IndexProjectionDependency, IrVolDependency, QuoteDependency, Vendor, CalendarDependency, InflationFixingDependency")
|
33
33
|
additional_properties: Dict[str, Any] = {}
|
34
34
|
__properties = ["dependencyType", "currency", "volType", "date"]
|
lusid/models/lapse_election.py
CHANGED
@@ -26,7 +26,7 @@ class LapseElection(BaseModel):
|
|
26
26
|
Lapse election. # noqa: E501
|
27
27
|
"""
|
28
28
|
election_key: StrictStr = Field(...,alias="electionKey", description="Unique key associated to this election")
|
29
|
-
is_default: Optional[StrictBool] = Field(None, alias="isDefault", description="Is this election automatically applied in the absence of an election having been made.
|
29
|
+
is_default: Optional[StrictBool] = Field(None, alias="isDefault", description="Is this election automatically applied in the absence of an election having been made. May only be true for one election if multiple are provided.")
|
30
30
|
is_chosen: Optional[StrictBool] = Field(None, alias="isChosen", description="Is this the election that has been explicitly chosen from multiple options.")
|
31
31
|
__properties = ["electionKey", "isDefault", "isChosen"]
|
32
32
|
|
lusid/models/leg_definition.py
CHANGED
@@ -35,17 +35,17 @@ class LegDefinition(BaseModel):
|
|
35
35
|
conventions: Optional[FlowConventions] = None
|
36
36
|
index_convention: Optional[IndexConvention] = Field(None, alias="indexConvention")
|
37
37
|
index_convention_name: Optional[FlowConventionName] = Field(None, alias="indexConventionName")
|
38
|
-
notional_exchange_type: StrictStr = Field(...,alias="notionalExchangeType", description="what type of notional exchange does the leg have
|
39
|
-
pay_receive: StrictStr = Field(...,alias="payReceive", description="Is the leg to be paid or received
|
38
|
+
notional_exchange_type: StrictStr = Field(...,alias="notionalExchangeType", description="what type of notional exchange does the leg have Supported string (enumeration) values are: [None, Initial, Final, Both].")
|
39
|
+
pay_receive: StrictStr = Field(...,alias="payReceive", description="Is the leg to be paid or received Supported string (enumeration) values are: [Pay, Receive].")
|
40
40
|
rate_or_spread: Union[StrictFloat, StrictInt] = Field(..., alias="rateOrSpread", description="Is there either a fixed rate (non-zero) or spread to be paid over the value of the leg.")
|
41
|
-
reset_convention: Optional[StrictStr] = Field(None,alias="resetConvention", description="Control how resets are generated relative to swap payment convention(s).
|
42
|
-
stub_type: StrictStr = Field(...,alias="stubType", description="If a stub is required should it be at the front or back of the leg.
|
41
|
+
reset_convention: Optional[StrictStr] = Field(None,alias="resetConvention", description="Control how resets are generated relative to swap payment convention(s). Supported string (enumeration) values are: [InAdvance, InArrears].")
|
42
|
+
stub_type: StrictStr = Field(...,alias="stubType", description="If a stub is required should it be at the front or back of the leg. Supported string (enumeration) values are: [None, ShortFront, ShortBack, LongBack, LongFront, Both].")
|
43
43
|
compounding: Optional[Compounding] = None
|
44
44
|
amortisation: Optional[StepSchedule] = None
|
45
|
-
first_regular_payment_date: Optional[datetime] = Field(None, alias="firstRegularPaymentDate", description="Optional payment date of the first regular coupon.
|
46
|
-
first_coupon_type: Optional[StrictStr] = Field(None,alias="firstCouponType", description="Optional coupon type setting for the first coupon, can be used with Stub coupons.
|
47
|
-
last_regular_payment_date: Optional[datetime] = Field(None, alias="lastRegularPaymentDate", description="Optional payment date of the last regular coupon.
|
48
|
-
last_coupon_type: Optional[StrictStr] = Field(None,alias="lastCouponType", description="Optional coupon type setting for the last coupon, can be used with Stub coupons.
|
45
|
+
first_regular_payment_date: Optional[datetime] = Field(None, alias="firstRegularPaymentDate", description="Optional payment date of the first regular coupon. Must be greater than the StartDate. If set, the regular coupon schedule will be built such that the first regular coupon will end on this date. The start date of this coupon will be calculated as normal and a stub coupon will be created from the StartDate to the start of the first regular coupon.")
|
46
|
+
first_coupon_type: Optional[StrictStr] = Field(None,alias="firstCouponType", description="Optional coupon type setting for the first coupon, can be used with Stub coupons. If set to \"ProRata\" (the default), the coupon year fraction is calculated as normal, however if set to \"Full\" the year fraction is overwritten with the standard year fraction for a regular ful\" coupon. Note this does not use the day count convention but rather is defined directly from the tenor (i.e. a quarterly leg will be set to 0.25). Supported string (enumeration) values are: [ProRata, Full].")
|
47
|
+
last_regular_payment_date: Optional[datetime] = Field(None, alias="lastRegularPaymentDate", description="Optional payment date of the last regular coupon. Must be less than the Maturity date. If set, the regular coupon schedule will be built up to this date and the final coupon will be a stub between this date and the Maturity date.")
|
48
|
+
last_coupon_type: Optional[StrictStr] = Field(None,alias="lastCouponType", description="Optional coupon type setting for the last coupon, can be used with Stub coupons. If set to \"ProRata\" (the default), the coupon year fraction is calculated as normal, however if set to \"Full\" the year fraction is overwritten with the standard year fraction for a regular ful\" coupon. Note this does not use the day count convention but rather is defined directly from the tenor (i.e. a quarterly leg will be set to 0.25). Supported string (enumeration) values are: [ProRata, Full].")
|
49
49
|
fx_linked_notional_schedule: Optional[FxLinkedNotionalSchedule] = Field(None, alias="fxLinkedNotionalSchedule")
|
50
50
|
intermediate_notional_exchange: Optional[StrictBool] = Field(None, alias="intermediateNotionalExchange", description="Indicates whether there are intermediate notional exchanges.")
|
51
51
|
__properties = ["conventionName", "conventions", "indexConvention", "indexConventionName", "notionalExchangeType", "payReceive", "rateOrSpread", "resetConvention", "stubType", "compounding", "amortisation", "firstRegularPaymentDate", "firstCouponType", "lastRegularPaymentDate", "lastCouponType", "fxLinkedNotionalSchedule", "intermediateNotionalExchange"]
|
@@ -25,7 +25,7 @@ from lusid.models.complex_market_data_id import ComplexMarketDataId
|
|
25
25
|
|
26
26
|
class ListComplexMarketDataWithMetaDataResponse(BaseModel):
|
27
27
|
"""
|
28
|
-
Wraps a Finbourne.WebApi.Interface.Dto.ComplexMarketData.ComplexMarketData object with information that was retrieved from storage with it.
|
28
|
+
Wraps a Finbourne.WebApi.Interface.Dto.ComplexMarketData.ComplexMarketData object with information that was retrieved from storage with it. In particular, the scope that the data was stored in, and a <seealso cref=\"T:Finbourne.WebApi.Interface.Dto.ComplexMarketData.ComplexMarketDataId\" /> object identifying the market data in that scope. # noqa: E501
|
29
29
|
"""
|
30
30
|
scope: Optional[StrictStr] = Field(None,alias="scope", description="The scope that the listed ComplexMarketData entity is stored in.")
|
31
31
|
market_data_id: Optional[ComplexMarketDataId] = Field(None, alias="marketDataId")
|
lusid/models/loan_facility.py
CHANGED
@@ -26,13 +26,13 @@ from lusid.models.time_zone_conventions import TimeZoneConventions
|
|
26
26
|
|
27
27
|
class LoanFacility(LusidInstrument):
|
28
28
|
"""
|
29
|
-
Loan Facility. This is a very lightweight instrument which acts as a placeholder for the state that is built
|
29
|
+
Loan Facility. This is a very lightweight instrument which acts as a placeholder for the state that is built from the instrument events. The facility acts as an agreement between a single borrower and many lenders (investors). Several contracts may be drawn up to enable the lending of funds to the borrower. These contracts are modelled via FlexibleLoan instruments in LUSID. The instrument events on the facility may relate to the facility as a whole (for example to define a global commitment amount), or they may relate to a single contract (such as a paydown transaction on a particular contract). # noqa: E501
|
30
30
|
"""
|
31
31
|
start_date: datetime = Field(..., alias="startDate", description="The start date of the instrument. This is normally synonymous with the trade-date.")
|
32
|
-
maturity_date: datetime = Field(..., alias="maturityDate", description="The final maturity date of the instrument. This means the last date on which the instruments makes a payment of any amount.
|
32
|
+
maturity_date: datetime = Field(..., alias="maturityDate", description="The final maturity date of the instrument. This means the last date on which the instruments makes a payment of any amount. For the avoidance of doubt, that is not necessarily prior to its last sensitivity date for the purposes of risk; e.g. instruments such as Constant Maturity Swaps (CMS) often have sensitivities to rates that may well be observed or set prior to the maturity date, but refer to a termination date beyond it.")
|
33
33
|
dom_ccy: StrictStr = Field(...,alias="domCcy", description="The domestic currency of the instrument.")
|
34
34
|
initial_commitment: Union[StrictFloat, StrictInt] = Field(..., alias="initialCommitment", description="The initial commitment for the loan facility.")
|
35
|
-
loan_type: StrictStr = Field(...,alias="loanType", description="LoanType for this facility. The facility can either be a revolving or a
|
35
|
+
loan_type: StrictStr = Field(...,alias="loanType", description="LoanType for this facility. The facility can either be a revolving or a term loan. Supported string (enumeration) values are: [Revolver, TermLoan].")
|
36
36
|
schedules: conlist(Schedule) = Field(..., description="Repayment schedules for the loan.")
|
37
37
|
time_zone_conventions: Optional[TimeZoneConventions] = Field(None, alias="timeZoneConventions")
|
38
38
|
instrument_type: StrictStr = Field(...,alias="instrumentType", description="The available values are: QuotedSecurity, InterestRateSwap, FxForward, Future, ExoticInstrument, FxOption, CreditDefaultSwap, InterestRateSwaption, Bond, EquityOption, FixedLeg, FloatingLeg, BespokeCashFlowsLeg, Unknown, TermDeposit, ContractForDifference, EquitySwap, CashPerpetual, CapFloor, CashSettled, CdsIndex, Basket, FundingLeg, FxSwap, ForwardRateAgreement, SimpleInstrument, Repo, Equity, ExchangeTradedOption, ReferenceInstrument, ComplexBond, InflationLinkedBond, InflationSwap, SimpleCashFlowLoan, TotalReturnSwap, InflationLeg, FundShareClass, FlexibleLoan, UnsettledCash, Cash, MasteredInstrument, LoanFacility, FlexibleDeposit, FlexibleRepo")
|
@@ -28,8 +28,8 @@ class LoanFacilityContractRolloverEvent(InstrumentEvent):
|
|
28
28
|
Event for rolling over one or more FlexibleLoan contracts into one or more different FlexibleLoan contracts against the same facility. # noqa: E501
|
29
29
|
"""
|
30
30
|
var_date: Optional[datetime] = Field(None, alias="date", description="Effective date of the event.")
|
31
|
-
rollover_constituents: conlist(RolloverConstituent) = Field(..., alias="rolloverConstituents", description="Source and target contracts of the rollover. That is, a set of contracts and their respective changes to balance
|
32
|
-
with_interest: StrictBool = Field(..., alias="withInterest", description="If set to true, then active contracts whose balance is reduced by the rollover will have their accrued interest
|
31
|
+
rollover_constituents: conlist(RolloverConstituent) = Field(..., alias="rolloverConstituents", description="Source and target contracts of the rollover. That is, a set of contracts and their respective changes to balance Expect at least one contract to as the source of the rollover and at least one target contract.")
|
32
|
+
with_interest: StrictBool = Field(..., alias="withInterest", description="If set to true, then active contracts whose balance is reduced by the rollover will have their accrued interest repaid pro rata to the balance reduction.")
|
33
33
|
instrument_event_type: StrictStr = Field(...,alias="instrumentEventType", description="The Type of Event. The available values are: TransitionEvent, InformationalEvent, OpenEvent, CloseEvent, StockSplitEvent, BondDefaultEvent, CashDividendEvent, AmortisationEvent, CashFlowEvent, ExerciseEvent, ResetEvent, TriggerEvent, RawVendorEvent, InformationalErrorEvent, BondCouponEvent, DividendReinvestmentEvent, AccumulationEvent, BondPrincipalEvent, DividendOptionEvent, MaturityEvent, FxForwardSettlementEvent, ExpiryEvent, ScripDividendEvent, StockDividendEvent, ReverseStockSplitEvent, CapitalDistributionEvent, SpinOffEvent, MergerEvent, FutureExpiryEvent, SwapCashFlowEvent, SwapPrincipalEvent, CreditPremiumCashFlowEvent, CdsCreditEvent, CdxCreditEvent, MbsCouponEvent, MbsPrincipalEvent, BonusIssueEvent, MbsPrincipalWriteOffEvent, MbsInterestDeferralEvent, MbsInterestShortfallEvent, TenderEvent, CallOnIntermediateSecuritiesEvent, IntermediateSecuritiesDistributionEvent, OptionExercisePhysicalEvent, OptionExerciseCashEvent, ProtectionPayoutCashFlowEvent, TermDepositInterestEvent, TermDepositPrincipalEvent, EarlyRedemptionEvent, FutureMarkToMarketEvent, AdjustGlobalCommitmentEvent, ContractInitialisationEvent, DrawdownEvent, LoanInterestRepaymentEvent, UpdateDepositAmountEvent, LoanPrincipalRepaymentEvent, DepositInterestPaymentEvent, DepositCloseEvent, LoanFacilityContractRolloverEvent, RepurchaseOfferEvent, RepoPartialClosureEvent, RepoCashFlowEvent, FlexibleRepoInterestPaymentEvent, FlexibleRepoCashFlowEvent, FlexibleRepoCollateralEvent, ConversionEvent, FlexibleRepoPartialClosureEvent, FlexibleRepoFullClosureEvent")
|
34
34
|
additional_properties: Dict[str, Any] = {}
|
35
35
|
__properties = ["instrumentEventType", "date", "rolloverConstituents", "withInterest"]
|
@@ -30,8 +30,8 @@ class LoanInterestRepaymentEvent(InstrumentEvent):
|
|
30
30
|
payment_date: Optional[datetime] = Field(None, alias="paymentDate", description="Date that the interest is due to be paid.")
|
31
31
|
ex_date: Optional[datetime] = Field(None, alias="exDate", description="Date that the accrued interest is calculated up until.")
|
32
32
|
currency: StrictStr = Field(...,alias="currency", description="Currency of the repayment.")
|
33
|
-
fraction: Optional[Union[StrictFloat, StrictInt]] = Field(None, description="Fraction of the accrued on the holding to be repaid. Must be between 0 and 1, inclusive.
|
34
|
-
lapse_elections: Optional[conlist(LapseElection)] = Field(None, alias="lapseElections", description="Election for controlling whether the interest is paid automatically or not.
|
33
|
+
fraction: Optional[Union[StrictFloat, StrictInt]] = Field(None, description="Fraction of the accrued on the holding to be repaid. Must be between 0 and 1, inclusive. Defaults to 1 if not set.")
|
34
|
+
lapse_elections: Optional[conlist(LapseElection)] = Field(None, alias="lapseElections", description="Election for controlling whether the interest is paid automatically or not. Exactly one election must be provided.")
|
35
35
|
instrument_event_type: StrictStr = Field(...,alias="instrumentEventType", description="The Type of Event. The available values are: TransitionEvent, InformationalEvent, OpenEvent, CloseEvent, StockSplitEvent, BondDefaultEvent, CashDividendEvent, AmortisationEvent, CashFlowEvent, ExerciseEvent, ResetEvent, TriggerEvent, RawVendorEvent, InformationalErrorEvent, BondCouponEvent, DividendReinvestmentEvent, AccumulationEvent, BondPrincipalEvent, DividendOptionEvent, MaturityEvent, FxForwardSettlementEvent, ExpiryEvent, ScripDividendEvent, StockDividendEvent, ReverseStockSplitEvent, CapitalDistributionEvent, SpinOffEvent, MergerEvent, FutureExpiryEvent, SwapCashFlowEvent, SwapPrincipalEvent, CreditPremiumCashFlowEvent, CdsCreditEvent, CdxCreditEvent, MbsCouponEvent, MbsPrincipalEvent, BonusIssueEvent, MbsPrincipalWriteOffEvent, MbsInterestDeferralEvent, MbsInterestShortfallEvent, TenderEvent, CallOnIntermediateSecuritiesEvent, IntermediateSecuritiesDistributionEvent, OptionExercisePhysicalEvent, OptionExerciseCashEvent, ProtectionPayoutCashFlowEvent, TermDepositInterestEvent, TermDepositPrincipalEvent, EarlyRedemptionEvent, FutureMarkToMarketEvent, AdjustGlobalCommitmentEvent, ContractInitialisationEvent, DrawdownEvent, LoanInterestRepaymentEvent, UpdateDepositAmountEvent, LoanPrincipalRepaymentEvent, DepositInterestPaymentEvent, DepositCloseEvent, LoanFacilityContractRolloverEvent, RepurchaseOfferEvent, RepoPartialClosureEvent, RepoCashFlowEvent, FlexibleRepoInterestPaymentEvent, FlexibleRepoCashFlowEvent, FlexibleRepoCollateralEvent, ConversionEvent, FlexibleRepoPartialClosureEvent, FlexibleRepoFullClosureEvent")
|
36
36
|
additional_properties: Dict[str, Any] = {}
|
37
37
|
__properties = ["instrumentEventType", "paymentDate", "exDate", "currency", "fraction", "lapseElections"]
|
@@ -29,9 +29,9 @@ class LoanPrincipalRepaymentEvent(InstrumentEvent):
|
|
29
29
|
"""
|
30
30
|
payment_date: Optional[datetime] = Field(None, alias="paymentDate", description="Date that the Principal is due to be paid.")
|
31
31
|
currency: StrictStr = Field(...,alias="currency", description="Currency of the repayment.")
|
32
|
-
lapse_elections: Optional[conlist(LapseElection)] = Field(None, alias="lapseElections", description="Election for controlling whether the Principal is paid automatically or not.
|
33
|
-
fraction: Optional[Union[StrictFloat, StrictInt]] = Field(None, description="Fraction of the outstanding settled principal balance to be repaid. Must be between 0 and 1, inclusive.
|
34
|
-
amount: Optional[Union[StrictFloat, StrictInt]] = Field(None, description="Amount to be repaid (independent of the fraction).
|
32
|
+
lapse_elections: Optional[conlist(LapseElection)] = Field(None, alias="lapseElections", description="Election for controlling whether the Principal is paid automatically or not. Exactly one election must be provided.")
|
33
|
+
fraction: Optional[Union[StrictFloat, StrictInt]] = Field(None, description="Fraction of the outstanding settled principal balance to be repaid. Must be between 0 and 1, inclusive. Defaults to 1 if not set. Ignored if the field Amount is set to a value different than zero.")
|
34
|
+
amount: Optional[Union[StrictFloat, StrictInt]] = Field(None, description="Amount to be repaid (independent of the fraction). This field is not used at all if not set or set to 0, in this case the fraction field will be used instead. Otherwise, the fraction field is ignored.")
|
35
35
|
instrument_event_type: StrictStr = Field(...,alias="instrumentEventType", description="The Type of Event. The available values are: TransitionEvent, InformationalEvent, OpenEvent, CloseEvent, StockSplitEvent, BondDefaultEvent, CashDividendEvent, AmortisationEvent, CashFlowEvent, ExerciseEvent, ResetEvent, TriggerEvent, RawVendorEvent, InformationalErrorEvent, BondCouponEvent, DividendReinvestmentEvent, AccumulationEvent, BondPrincipalEvent, DividendOptionEvent, MaturityEvent, FxForwardSettlementEvent, ExpiryEvent, ScripDividendEvent, StockDividendEvent, ReverseStockSplitEvent, CapitalDistributionEvent, SpinOffEvent, MergerEvent, FutureExpiryEvent, SwapCashFlowEvent, SwapPrincipalEvent, CreditPremiumCashFlowEvent, CdsCreditEvent, CdxCreditEvent, MbsCouponEvent, MbsPrincipalEvent, BonusIssueEvent, MbsPrincipalWriteOffEvent, MbsInterestDeferralEvent, MbsInterestShortfallEvent, TenderEvent, CallOnIntermediateSecuritiesEvent, IntermediateSecuritiesDistributionEvent, OptionExercisePhysicalEvent, OptionExerciseCashEvent, ProtectionPayoutCashFlowEvent, TermDepositInterestEvent, TermDepositPrincipalEvent, EarlyRedemptionEvent, FutureMarkToMarketEvent, AdjustGlobalCommitmentEvent, ContractInitialisationEvent, DrawdownEvent, LoanInterestRepaymentEvent, UpdateDepositAmountEvent, LoanPrincipalRepaymentEvent, DepositInterestPaymentEvent, DepositCloseEvent, LoanFacilityContractRolloverEvent, RepurchaseOfferEvent, RepoPartialClosureEvent, RepoCashFlowEvent, FlexibleRepoInterestPaymentEvent, FlexibleRepoCashFlowEvent, FlexibleRepoCollateralEvent, ConversionEvent, FlexibleRepoPartialClosureEvent, FlexibleRepoFullClosureEvent")
|
36
36
|
additional_properties: Dict[str, Any] = {}
|
37
37
|
__properties = ["instrumentEventType", "paymentDate", "currency", "lapseElections", "fraction", "amount"]
|
lusid/models/lusid_instrument.py
CHANGED
@@ -24,7 +24,7 @@ import lusid.models
|
|
24
24
|
|
25
25
|
class LusidInstrument(BaseModel):
|
26
26
|
"""
|
27
|
-
Base class in the hierarchy for representing the full economic definition of instruments in LUSID.
|
27
|
+
Base class in the hierarchy for representing the full economic definition of instruments in LUSID. These definitions are used to provide instrument analytics such as PV, accrual, cash flows, and risk. This base class should not be directly instantiated; each supported InstrumentType has a corresponding inherited class. # noqa: E501
|
28
28
|
"""
|
29
29
|
instrument_type: StrictStr = Field(...,alias="instrumentType", description="The available values are: QuotedSecurity, InterestRateSwap, FxForward, Future, ExoticInstrument, FxOption, CreditDefaultSwap, InterestRateSwaption, Bond, EquityOption, FixedLeg, FloatingLeg, BespokeCashFlowsLeg, Unknown, TermDeposit, ContractForDifference, EquitySwap, CashPerpetual, CapFloor, CashSettled, CdsIndex, Basket, FundingLeg, FxSwap, ForwardRateAgreement, SimpleInstrument, Repo, Equity, ExchangeTradedOption, ReferenceInstrument, ComplexBond, InflationLinkedBond, InflationSwap, SimpleCashFlowLoan, TotalReturnSwap, InflationLeg, FundShareClass, FlexibleLoan, UnsettledCash, Cash, MasteredInstrument, LoanFacility, FlexibleDeposit, FlexibleRepo")
|
30
30
|
__properties = ["instrumentType"]
|
@@ -35,7 +35,7 @@ class LusidTradeTicket(BaseModel):
|
|
35
35
|
transaction_date: StrictStr = Field(...,alias="transactionDate", description="Transaction Date. Date at which transaction is known.")
|
36
36
|
settlement_date: StrictStr = Field(...,alias="settlementDate", description="Transaction settlement. Date at which transaction is finalised and realised into the system.")
|
37
37
|
total_consideration: CurrencyAndAmount = Field(..., alias="totalConsideration")
|
38
|
-
units: Union[StrictFloat, StrictInt] = Field(..., description="Number of units in the transaction. For an OTC this is somewhat interchangeable with the quantity booked in the
|
38
|
+
units: Union[StrictFloat, StrictInt] = Field(..., description="Number of units in the transaction. For an OTC this is somewhat interchangeable with the quantity booked in the instrument. As M x N or N x M are equivalent it is advised a client chooses one approach and sticks to it. Arguably either the unit or holding is best unitised.")
|
39
39
|
instrument_identifiers: Dict[str, StrictStr] = Field(..., alias="instrumentIdentifiers", description="Identifiers for the instrument.")
|
40
40
|
instrument_scope: Optional[StrictStr] = Field(None,alias="instrumentScope", description="Scope of instrument")
|
41
41
|
instrument_name: Optional[StrictStr] = Field(None,alias="instrumentName", description="Name of instrument")
|
@@ -23,7 +23,7 @@ from pydantic.v1 import StrictStr, Field, BaseModel, Field, constr
|
|
23
23
|
|
24
24
|
class MarkToMarketConventions(BaseModel):
|
25
25
|
"""
|
26
|
-
A set of conventions for mark to market. Mark to market is a method
|
26
|
+
A set of conventions for mark to market. Mark to market is a method that values financial instruments based on current market prices, reflecting their current value, rather than historical cost. # noqa: E501
|
27
27
|
"""
|
28
28
|
calendar_code: Optional[StrictStr] = Field(None,alias="calendarCode", description="The calendar to use when generating mark to market cashflows and events.")
|
29
29
|
__properties = ["calendarCode"]
|
lusid/models/market_context.py
CHANGED
@@ -28,13 +28,13 @@ from lusid.models.market_options import MarketOptions
|
|
28
28
|
|
29
29
|
class MarketContext(BaseModel):
|
30
30
|
"""
|
31
|
-
Market context node. This defines how LUSID processes parts of a request that require resolution of market data such as instrument prices or
|
31
|
+
Market context node. This defines how LUSID processes parts of a request that require resolution of market data such as instrument prices or Fx rates. It controls where the data is loaded from and which sources take precedence. # noqa: E501
|
32
32
|
"""
|
33
|
-
market_rules: Optional[conlist(MarketDataKeyRule)] = Field(None, alias="marketRules", description="The set of rules that define how to resolve particular use cases. These can be relatively general or specific in nature.
|
33
|
+
market_rules: Optional[conlist(MarketDataKeyRule)] = Field(None, alias="marketRules", description="The set of rules that define how to resolve particular use cases. These can be relatively general or specific in nature. Nominally any number are possible and will be processed in order where applicable. However, there is evidently a potential for increased computational cost where many rules must be applied to resolve data. Ensuring that portfolios are structured in such a way as to reduce the number of rules required is therefore sensible.")
|
34
34
|
suppliers: Optional[MarketContextSuppliers] = None
|
35
35
|
options: Optional[MarketOptions] = None
|
36
|
-
specific_rules: Optional[conlist(MarketDataSpecificRule)] = Field(None, alias="specificRules", description="Extends market data key rules to be able to catch dependencies depending on where the dependency comes from, as opposed to what the dependency is asking for.
|
37
|
-
grouped_market_rules: Optional[conlist(GroupOfMarketDataKeyRules)] = Field(None, alias="groupedMarketRules", description="The list of groups of rules that will be used in market data resolution.
|
36
|
+
specific_rules: Optional[conlist(MarketDataSpecificRule)] = Field(None, alias="specificRules", description="Extends market data key rules to be able to catch dependencies depending on where the dependency comes from, as opposed to what the dependency is asking for. Using two specific rules, one could instruct rates curves requested by bonds to be retrieved from a different scope than rates curves requested by swaps. WARNING: The use of specific rules impacts performance. Where possible, one should use MarketDataKeyRules only.")
|
37
|
+
grouped_market_rules: Optional[conlist(GroupOfMarketDataKeyRules)] = Field(None, alias="groupedMarketRules", description="The list of groups of rules that will be used in market data resolution. Rules given within a group will, if the group is being used to resolve data, all be applied with the results of those individual resolution attempts combined into a single result. The method for combining results is determined by the operation detailed in the GroupOfMarketDataKeyRules. Notes: - When resolving MarketData, MarketRules will be applied first followed by GroupedMarketRules if data could not be found using only the MarketRules provided. - GroupedMarketRules can only be used for resolving data from the QuoteStore. Caution: As every rule in a given group will be applied in resolution if the group is applied, groups are computationally expensive for market data resolution. Therefore, heuristically, rule groups should be kept as small as possible.")
|
38
38
|
__properties = ["marketRules", "suppliers", "options", "specificRules", "groupedMarketRules"]
|
39
39
|
|
40
40
|
class Config:
|
@@ -23,7 +23,7 @@ from pydantic.v1 import StrictStr, Field, BaseModel, Field, StrictStr
|
|
23
23
|
|
24
24
|
class MarketContextSuppliers(BaseModel):
|
25
25
|
"""
|
26
|
-
It is possible to control which supplier is used for a given asset class.
|
26
|
+
It is possible to control which supplier is used for a given asset class. This field is deprecated in favour of market data rules, which subsumes its functionality. # noqa: E501
|
27
27
|
"""
|
28
28
|
commodity: Optional[StrictStr] = Field(None,alias="Commodity")
|
29
29
|
credit: Optional[StrictStr] = Field(None,alias="Credit")
|
@@ -23,19 +23,19 @@ from pydantic.v1 import StrictStr, Field, BaseModel, Field, StrictBool, StrictSt
|
|
23
23
|
|
24
24
|
class MarketDataKeyRule(BaseModel):
|
25
25
|
"""
|
26
|
-
When performing analytics, instruments and models have dependencies on market data.
|
26
|
+
When performing analytics, instruments and models have dependencies on market data. A market data key rule essentially tells lusid to \"resolve dependencies matching the pattern 'X' using data of the form 'Y'\". The parameter 'X' is defined by the key of the key rule, and might specify \"all USD rates curves\" or \"all RIC-based prices\". The parameter 'Y' is defined by the remaining fields of the key rule, and allows the user to configure things such as where to look for data, what sort of data should be looked for (e.g. bid/mid/ask), and how old the data is allowed to be. # noqa: E501
|
27
27
|
"""
|
28
|
-
key: StrictStr = Field(...,alias="key", description="A dot-separated string that defines a pattern for matching market data dependencies.
|
28
|
+
key: StrictStr = Field(...,alias="key", description="A dot-separated string that defines a pattern for matching market data dependencies. The form of the string depends on the type of the dependency; see below for basic types and the Knowledge Base for further info. Quote lookup: \"Quote.{CodeType}.*\" e.g. \"Quote.RIC.*\" refers to 'any RIC quote' Fx rates: \"Fx.CurrencyPair.*\", which refers to 'any FX rate' Discounting curves: \"Rates.{Currency}.{Currency}OIS e.g. \"Rates.USD.USDOIS\" refers to the OIS USD discounting curve For non-fx and non-quote rules, trailing parameters can be replaced by the wildcard character '*'. e.g. \"Rates.*.*\" matches any dependency on a discounting curve.")
|
29
29
|
supplier: StrictStr = Field(...,alias="supplier", description="The market data supplier (where the data comes from)")
|
30
30
|
data_scope: StrictStr = Field(...,alias="dataScope", description="The scope in which the data should be found when using this rule.")
|
31
31
|
quote_type: StrictStr = Field(...,alias="quoteType", description="The available values are: Price, Spread, Rate, LogNormalVol, NormalVol, ParSpread, IsdaSpread, Upfront, Index, Ratio, Delta, PoolFactor, InflationAssumption, DirtyPrice, PrincipalWriteOff, InterestDeferred, InterestShortfall, ConstituentWeightFactor")
|
32
|
-
field: Optional[StrictStr] = Field(None,alias="field", description="The conceptual qualification for the field, typically 'bid', 'mid' (default), or 'ask', but can also be 'open', 'close', etc.
|
33
|
-
quote_interval: Optional[StrictStr] = Field(None,alias="quoteInterval", description="Shorthand for the time interval used to select market data. This must be a dot-separated string
|
32
|
+
field: Optional[StrictStr] = Field(None,alias="field", description="The conceptual qualification for the field, typically 'bid', 'mid' (default), or 'ask', but can also be 'open', 'close', etc. When resolving quotes from LUSID's database, only quotes whose Field is identical to the Field specified here will be accepted as market data. When resolving data from an external supplier, the Field must be one of a defined set for the given supplier. Note: Applies to the retrieval of quotes only. Has no impact on the resolution of complex market data.")
|
33
|
+
quote_interval: Optional[StrictStr] = Field(None,alias="quoteInterval", description="Shorthand for the time interval used to select market data. This must be a dot-separated string nominating a start and end date, for example '5D.0D' to look back 5 days from today (0 days ago). The syntax is <i>int</i><i>char</i>.<i>int</i><i>char</i>, where <i>char</i> is one of D(ay), Bd(business day), W(eek), M(onth) or Y(ear). Business days are calculated using the calendars specified on the Valuation Request. If no calendar is provided in the request, then it will default to only skipping weekends. For example, if the valuation date is a Monday, then a quote interval of \"1Bd\" would behave as \"3D\", looking back to the Friday. Data with effectiveAt on the weekend will still be found in that window.")
|
34
34
|
as_at: Optional[datetime] = Field(None, alias="asAt", description="Deprecated field which no longer has any effect on market data resolution.")
|
35
35
|
price_source: Optional[StrictStr] = Field(None,alias="priceSource", description="The source of the quote. For a given provider/supplier of market data there may be an additional qualifier, e.g. the exchange or bank that provided the quote")
|
36
|
-
mask: Optional[StrictStr] = Field(None,alias="mask", description="Allows for partial or complete override of the market asset resolved for a dependency
|
37
|
-
source_system: Optional[StrictStr] = Field(None,alias="sourceSystem", description="If set, this parameter will seek an external source of market data.
|
38
|
-
fall_through_on_access_denied: Optional[StrictBool] = Field(None, alias="fallThroughOnAccessDenied", description="When a user attempts to use a rule to access data to which they are not entitled,
|
36
|
+
mask: Optional[StrictStr] = Field(None,alias="mask", description="Allows for partial or complete override of the market asset resolved for a dependency Either a named override or a dot separated string (A.B.C.D.*). e.g. for Rates curve 'EUR.*' will replace the resolve MarketAsset 'GBP/12M', 'GBP/3M' with the EUR equivalent, if there are no wildcards in the mask, the mask is taken as the MarketAsset for any dependency matching the rule.")
|
37
|
+
source_system: Optional[StrictStr] = Field(None,alias="sourceSystem", description="If set, this parameter will seek an external source of market data. Optional and, if omitted, will default to \"Lusid\". This means that data will be retrieved from the LUSID Quote Store and LUSID Complex Market Data Store. This can be set to \"MarketDataOverrides\" if Supplier is set to \"Client\".")
|
38
|
+
fall_through_on_access_denied: Optional[StrictBool] = Field(None, alias="fallThroughOnAccessDenied", description="When a user attempts to use a rule to access data to which they are not entitled, the rule will fail to resolve any market data. By default, such an access denied failure will stop any further attempts to resolve market data. This is so that differently entitled users always receive the same market data from market data resolution, if they have sufficient entitlements to retrieve the required data. If set to true, then an access denied failure will not stop further market data resolution, and resolution will continue with the next specified MarketDataKeyRule. Optional, and defaults to false.")
|
39
39
|
__properties = ["key", "supplier", "dataScope", "quoteType", "field", "quoteInterval", "asAt", "priceSource", "mask", "sourceSystem", "fallThroughOnAccessDenied"]
|
40
40
|
|
41
41
|
@validator('quote_type')
|
@@ -24,7 +24,7 @@ import lusid.models
|
|
24
24
|
|
25
25
|
class MarketDataOptions(BaseModel):
|
26
26
|
"""
|
27
|
-
Base class for representing market data options in LUSID.
|
27
|
+
Base class for representing market data options in LUSID. Abstractly, these are any options that one should be able to specify for ComplexMarketData entities. For example, CurveOptions allows one to decide how the data provided in a discountFactorCurve is interpolated. This base class should not be directly instantiated; each supported MarketDataOptionsType has a corresponding inherited class. # noqa: E501
|
28
28
|
"""
|
29
29
|
market_data_options_type: StrictStr = Field(...,alias="marketDataOptionsType", description="The available values are: CurveOptions")
|
30
30
|
__properties = ["marketDataOptionsType"]
|
@@ -24,20 +24,20 @@ from lusid.models.dependency_source_filter import DependencySourceFilter
|
|
24
24
|
|
25
25
|
class MarketDataSpecificRule(BaseModel):
|
26
26
|
"""
|
27
|
-
Extends market data key rules to be able to catch dependencies depending on where the dependency comes from, as opposed to what the dependency is asking for.
|
27
|
+
Extends market data key rules to be able to catch dependencies depending on where the dependency comes from, as opposed to what the dependency is asking for. For example, a market data rule might instruct all rates curves to be retrieved from a particular scope. This class gives the ability to set different behaviour depending on what is requesting the rates curve. Using two specific rules, one could instruct rates curves requested by bonds to be retrieved from a different scope than rates curves requested by swaps. # noqa: E501
|
28
28
|
"""
|
29
29
|
key: StrictStr = Field(...,alias="key", description="The market data key pattern which this is a rule for. A dot separated string (A.B.C.D.*)")
|
30
30
|
supplier: StrictStr = Field(...,alias="supplier", description="The market data supplier (where the data comes from)")
|
31
31
|
data_scope: StrictStr = Field(...,alias="dataScope", description="The scope in which the data should be found when using this rule.")
|
32
32
|
quote_type: StrictStr = Field(...,alias="quoteType", description="The available values are: Price, Spread, Rate, LogNormalVol, NormalVol, ParSpread, IsdaSpread, Upfront, Index, Ratio, Delta, PoolFactor, InflationAssumption, DirtyPrice, PrincipalWriteOff, InterestDeferred, InterestShortfall, ConstituentWeightFactor")
|
33
|
-
field: StrictStr = Field(...,alias="field", description="The conceptual qualification for the field, such as bid, mid, or ask.
|
34
|
-
quote_interval: Optional[StrictStr] = Field(None,alias="quoteInterval", description="Shorthand for the time interval used to select market data. This must be a dot-separated string
|
33
|
+
field: StrictStr = Field(...,alias="field", description="The conceptual qualification for the field, such as bid, mid, or ask. The field must be one of a defined set for the given supplier, in the same way as it is for the Finbourne.WebApi.Interface.Dto.Quotes.QuoteSeriesId")
|
34
|
+
quote_interval: Optional[StrictStr] = Field(None,alias="quoteInterval", description="Shorthand for the time interval used to select market data. This must be a dot-separated string nominating a start and end date, for example '5D.0D' to look back 5 days from today (0 days ago). The syntax is <i>int</i><i>char</i>.<i>int</i><i>char</i>, where <i>char</i> is one of D(ay), W(eek), M(onth) or Y(ear).")
|
35
35
|
as_at: Optional[datetime] = Field(None, alias="asAt", description="Deprecated field which no longer has any effect on market data resolution.")
|
36
36
|
price_source: Optional[StrictStr] = Field(None,alias="priceSource", description="The source of the quote. For a given provider/supplier of market data there may be an additional qualifier, e.g. the exchange or bank that provided the quote")
|
37
|
-
mask: Optional[StrictStr] = Field(None,alias="mask", description="Allows for partial or complete override of the market asset resolved for a dependency
|
37
|
+
mask: Optional[StrictStr] = Field(None,alias="mask", description="Allows for partial or complete override of the market asset resolved for a dependency Either a named override or a dot separated string (A.B.C.D.*). e.g. for Rates curve 'EUR.*' will replace the resolve MarketAsset 'GBP/12M', 'GBP/3M' with the EUR equivalent, if there are no wildcards in the mask, the mask is taken as the MarketAsset for any dependency matching the rule.")
|
38
38
|
dependency_source_filter: DependencySourceFilter = Field(..., alias="dependencySourceFilter")
|
39
|
-
source_system: Optional[StrictStr] = Field(None,alias="sourceSystem", description="Determines from where LUSID should attempt to find the data. Optional and, if omitted, will default to \"Lusid\".
|
40
|
-
fall_through_on_access_denied: Optional[StrictBool] = Field(None, alias="fallThroughOnAccessDenied", description="When a user attempts to use a rule to access data to which they are not entitled,
|
39
|
+
source_system: Optional[StrictStr] = Field(None,alias="sourceSystem", description="Determines from where LUSID should attempt to find the data. Optional and, if omitted, will default to \"Lusid\". This means that data will be retrieved from the Quotes store and the ComplexMarketData store. These can be populated using the Quotes and ComplexMarketData endpoints.")
|
40
|
+
fall_through_on_access_denied: Optional[StrictBool] = Field(None, alias="fallThroughOnAccessDenied", description="When a user attempts to use a rule to access data to which they are not entitled, the rule will fail to resolve any market data. By default, such an access denied failure will stop any further attempts to resolve market data. This is so that differently entitled users always receive the same market data from market data resolution, if they have sufficient entitlements to retrieve the required data. If set to true, then an access denied failure will not stop further market data resolution, and resolution will continue with the next specified MarketDataKeyRule. Optional, and defaults to false.")
|
41
41
|
__properties = ["key", "supplier", "dataScope", "quoteType", "field", "quoteInterval", "asAt", "priceSource", "mask", "dependencySourceFilter", "sourceSystem", "fallThroughOnAccessDenied"]
|
42
42
|
|
43
43
|
@validator('quote_type')
|
lusid/models/market_data_type.py
CHANGED
@@ -23,7 +23,7 @@ from aenum import Enum, no_arg
|
|
23
23
|
|
24
24
|
class MarketDataType(str, Enum):
|
25
25
|
"""
|
26
|
-
The format of the complex market data stored. Complex market data is used to store any
|
26
|
+
The format of the complex market data stored. Complex market data is used to store any data which requires more context than just a simple single point as is the case with a quote. Examples of such complex market data are Discount Curve and Volatility Surfaces.
|
27
27
|
"""
|
28
28
|
|
29
29
|
"""
|
lusid/models/market_options.py
CHANGED
@@ -23,7 +23,7 @@ from pydantic.v1 import StrictStr, Field, BaseModel, Field, StrictBool, constr,
|
|
23
23
|
|
24
24
|
class MarketOptions(BaseModel):
|
25
25
|
"""
|
26
|
-
The set of options that control miscellaneous and default market resolution behaviour.
|
26
|
+
The set of options that control miscellaneous and default market resolution behaviour. These are aimed at a 'crude' level of control for those who do not wish to fine tune the way that data is resolved. For clients who wish to simply match instruments to prices this is quite possibly sufficient. For those wishing to control market data sources according to requirements based on accuracy or timeliness it is not. In more advanced cases the options should largely be ignored and rules specified per source. Be aware that where no specified rule matches the final fallback is on to the logic implied here. # noqa: E501
|
27
27
|
"""
|
28
28
|
default_supplier: Optional[StrictStr] = Field(None,alias="defaultSupplier", description="The default supplier of data. This controls which 'dialect' is used to find particular market data. e.g. one supplier might address data by RIC, another by PermId")
|
29
29
|
default_instrument_code_type: Optional[StrictStr] = Field(None,alias="defaultInstrumentCodeType", description="When instrument quotes are searched for, what identifier should be used by default")
|
lusid/models/market_quote.py
CHANGED
@@ -23,7 +23,7 @@ from pydantic.v1 import StrictStr, Field, BaseModel, Field, StrictFloat, StrictI
|
|
23
23
|
|
24
24
|
class MarketQuote(BaseModel):
|
25
25
|
"""
|
26
|
-
The market quote for an observable which will be used to calibrate the market data,
|
26
|
+
The market quote for an observable which will be used to calibrate the market data, including the format of the quote. e.g. a volatility quote for a specific strike and expiry the par rate of a swap This is a slimmed down version of a full Quote that can be stored in our QuoteStore to remove lineage, price source etc. for ease of use when creating complex market data. # noqa: E501
|
27
27
|
"""
|
28
28
|
quote_type: StrictStr = Field(...,alias="quoteType", description="The available values are: Price, Spread, Rate, LogNormalVol, NormalVol, ParSpread, IsdaSpread, Upfront, Index, Ratio, Delta, PoolFactor, InflationAssumption, DirtyPrice, PrincipalWriteOff, InterestDeferred, InterestShortfall, ConstituentWeightFactor")
|
29
29
|
value: Union[StrictFloat, StrictInt] = Field(..., description="Numeric value of the quote")
|
@@ -32,7 +32,7 @@ class MasteredInstrument(LusidInstrument):
|
|
32
32
|
mastered_lusid_instrument_id: Optional[StrictStr] = Field(None,alias="masteredLusidInstrumentId", description="Luid of the Instrument that Mastered Instrument points to - read only field")
|
33
33
|
mastered_name: Optional[StrictStr] = Field(None,alias="masteredName", description="Name of the Instrument that Mastered Instrument points to - read only field")
|
34
34
|
mastered_scope: Optional[StrictStr] = Field(None,alias="masteredScope", description="Scope of the Instrument that Mastered Instrument points to - read only field")
|
35
|
-
mastered_asset_class: Optional[StrictStr] = Field(None,alias="masteredAssetClass", description="Asset class of the underlying mastered instrument - read only field
|
35
|
+
mastered_asset_class: Optional[StrictStr] = Field(None,alias="masteredAssetClass", description="Asset class of the underlying mastered instrument - read only field Supported string (enumeration) values are: [InterestRates, FX, Inflation, Equities, Credit, Commodities, Money].")
|
36
36
|
instrument_type: StrictStr = Field(...,alias="instrumentType", description="The available values are: QuotedSecurity, InterestRateSwap, FxForward, Future, ExoticInstrument, FxOption, CreditDefaultSwap, InterestRateSwaption, Bond, EquityOption, FixedLeg, FloatingLeg, BespokeCashFlowsLeg, Unknown, TermDeposit, ContractForDifference, EquitySwap, CashPerpetual, CapFloor, CashSettled, CdsIndex, Basket, FundingLeg, FxSwap, ForwardRateAgreement, SimpleInstrument, Repo, Equity, ExchangeTradedOption, ReferenceInstrument, ComplexBond, InflationLinkedBond, InflationSwap, SimpleCashFlowLoan, TotalReturnSwap, InflationLeg, FundShareClass, FlexibleLoan, UnsettledCash, Cash, MasteredInstrument, LoanFacility, FlexibleDeposit, FlexibleRepo")
|
37
37
|
additional_properties: Dict[str, Any] = {}
|
38
38
|
__properties = ["instrumentType", "identifiers", "masteredDomCcy", "masteredInstrumentType", "masteredLusidInstrumentId", "masteredName", "masteredScope", "masteredAssetClass"]
|
lusid/models/match_criterion.py
CHANGED
@@ -24,7 +24,7 @@ import lusid.models
|
|
24
24
|
|
25
25
|
class MatchCriterion(BaseModel):
|
26
26
|
"""
|
27
|
-
A condition to be evaluated.
|
27
|
+
A condition to be evaluated. Each supported CriterionType has a corresponding schema. # noqa: E501
|
28
28
|
"""
|
29
29
|
criterion_type: StrictStr = Field(...,alias="criterionType", description="The available values are: PropertyValueEquals, PropertyValueIn, SubHoldingKeyValueEquals")
|
30
30
|
__properties = ["criterionType"]
|
lusid/models/maturity_event.py
CHANGED
@@ -24,7 +24,7 @@ from lusid.models.instrument_event import InstrumentEvent
|
|
24
24
|
|
25
25
|
class MaturityEvent(InstrumentEvent):
|
26
26
|
"""
|
27
|
-
Definition of a Maturity Event
|
27
|
+
Definition of a Maturity Event This is an event that describes the maturity of the instrument. # noqa: E501
|
28
28
|
"""
|
29
29
|
maturity_date: Optional[datetime] = Field(None, alias="maturityDate", description="Maturity date of the instrument")
|
30
30
|
instrument_event_type: StrictStr = Field(...,alias="instrumentEventType", description="The Type of Event. The available values are: TransitionEvent, InformationalEvent, OpenEvent, CloseEvent, StockSplitEvent, BondDefaultEvent, CashDividendEvent, AmortisationEvent, CashFlowEvent, ExerciseEvent, ResetEvent, TriggerEvent, RawVendorEvent, InformationalErrorEvent, BondCouponEvent, DividendReinvestmentEvent, AccumulationEvent, BondPrincipalEvent, DividendOptionEvent, MaturityEvent, FxForwardSettlementEvent, ExpiryEvent, ScripDividendEvent, StockDividendEvent, ReverseStockSplitEvent, CapitalDistributionEvent, SpinOffEvent, MergerEvent, FutureExpiryEvent, SwapCashFlowEvent, SwapPrincipalEvent, CreditPremiumCashFlowEvent, CdsCreditEvent, CdxCreditEvent, MbsCouponEvent, MbsPrincipalEvent, BonusIssueEvent, MbsPrincipalWriteOffEvent, MbsInterestDeferralEvent, MbsInterestShortfallEvent, TenderEvent, CallOnIntermediateSecuritiesEvent, IntermediateSecuritiesDistributionEvent, OptionExercisePhysicalEvent, OptionExerciseCashEvent, ProtectionPayoutCashFlowEvent, TermDepositInterestEvent, TermDepositPrincipalEvent, EarlyRedemptionEvent, FutureMarkToMarketEvent, AdjustGlobalCommitmentEvent, ContractInitialisationEvent, DrawdownEvent, LoanInterestRepaymentEvent, UpdateDepositAmountEvent, LoanPrincipalRepaymentEvent, DepositInterestPaymentEvent, DepositCloseEvent, LoanFacilityContractRolloverEvent, RepurchaseOfferEvent, RepoPartialClosureEvent, RepoCashFlowEvent, FlexibleRepoInterestPaymentEvent, FlexibleRepoCashFlowEvent, FlexibleRepoCollateralEvent, ConversionEvent, FlexibleRepoPartialClosureEvent, FlexibleRepoFullClosureEvent")
|
lusid/models/mbs_coupon_event.py
CHANGED
@@ -24,7 +24,7 @@ from lusid.models.instrument_event import InstrumentEvent
|
|
24
24
|
|
25
25
|
class MbsCouponEvent(InstrumentEvent):
|
26
26
|
"""
|
27
|
-
Definition of an MBS Coupon Event
|
27
|
+
Definition of an MBS Coupon Event This is an event that describes the occurence of a cashflow due to a mortgage-backed security coupon payment. # noqa: E501
|
28
28
|
"""
|
29
29
|
ex_date: Optional[datetime] = Field(None, alias="exDate", description="The ex date (entitlement date) of the coupon")
|
30
30
|
payment_date: Optional[datetime] = Field(None, alias="paymentDate", description="The payment date of the coupon")
|
@@ -24,7 +24,7 @@ from lusid.models.instrument_event import InstrumentEvent
|
|
24
24
|
|
25
25
|
class MbsInterestDeferralEvent(InstrumentEvent):
|
26
26
|
"""
|
27
|
-
Definition of an MBS Interest Deferral Event
|
27
|
+
Definition of an MBS Interest Deferral Event This is an event that describes the occurence of a cashflow due to unpaid interest that was deferred and capitalised into the outstanding principal balance of a mortgage-backed security. # noqa: E501
|
28
28
|
"""
|
29
29
|
ex_date: Optional[datetime] = Field(None, alias="exDate", description="The ex date (entitlement date) of the interest payment, usually several weeks prior to the payment date")
|
30
30
|
payment_date: Optional[datetime] = Field(None, alias="paymentDate", description="The payment date of the interest that is deferred and capitalised")
|
@@ -24,7 +24,7 @@ from lusid.models.instrument_event import InstrumentEvent
|
|
24
24
|
|
25
25
|
class MbsInterestShortfallEvent(InstrumentEvent):
|
26
26
|
"""
|
27
|
-
Definition of an MBS Interest Shortfall Event
|
27
|
+
Definition of an MBS Interest Shortfall Event This is an event that describes the occurence of a cashflow due to unpaid interest that was deferred and not capitalised into the outstanding principal balance of a mortgage-backed security. # noqa: E501
|
28
28
|
"""
|
29
29
|
ex_date: Optional[datetime] = Field(None, alias="exDate", description="The ex date (entitlement date) of the interest payment, usually several weeks prior to the payment date")
|
30
30
|
payment_date: Optional[datetime] = Field(None, alias="paymentDate", description="The payment date of the interest")
|
@@ -24,7 +24,7 @@ from lusid.models.instrument_event import InstrumentEvent
|
|
24
24
|
|
25
25
|
class MbsPrincipalEvent(InstrumentEvent):
|
26
26
|
"""
|
27
|
-
Definition of an MBS Principal Event
|
27
|
+
Definition of an MBS Principal Event This is an event that describes the occurence of a cashflow due to a mortgage-backed security principal payment. # noqa: E501
|
28
28
|
"""
|
29
29
|
ex_date: Optional[datetime] = Field(None, alias="exDate", description="The ex date (entitlement date) of the principal payment, usually several weeks prior to the payment date")
|
30
30
|
payment_date: Optional[datetime] = Field(None, alias="paymentDate", description="The payment date of the principal")
|
@@ -24,7 +24,7 @@ from lusid.models.instrument_event import InstrumentEvent
|
|
24
24
|
|
25
25
|
class MbsPrincipalWriteOffEvent(InstrumentEvent):
|
26
26
|
"""
|
27
|
-
Definition of an MBS Principal Write Off Event
|
27
|
+
Definition of an MBS Principal Write Off Event This is an event that describes the occurence of a cashflow due to a mortgage-backed security principal write off. # noqa: E501
|
28
28
|
"""
|
29
29
|
ex_date: Optional[datetime] = Field(None, alias="exDate", description="The ex date (entitlement date) of the principal payment, usually several weeks prior to the payment date")
|
30
30
|
payment_date: Optional[datetime] = Field(None, alias="paymentDate", description="The payment date of the principal that is written off")
|
lusid/models/model_options.py
CHANGED
@@ -24,7 +24,7 @@ import lusid.models
|
|
24
24
|
|
25
25
|
class ModelOptions(BaseModel):
|
26
26
|
"""
|
27
|
-
Base class for representing model options in LUSID, which provide config for instrument analytics.
|
27
|
+
Base class for representing model options in LUSID, which provide config for instrument analytics. This base class should not be directly instantiated; each supported ModelOptionsType has a corresponding inherited class. # noqa: E501
|
28
28
|
"""
|
29
29
|
model_options_type: StrictStr = Field(...,alias="modelOptionsType", description="The available values are: Invalid, OpaqueModelOptions, EmptyModelOptions, IndexModelOptions, FxForwardModelOptions, FundingLegModelOptions, EquityModelOptions, CdsModelOptions")
|
30
30
|
__properties = ["modelOptionsType"]
|