lusid-sdk 2.1.913__py3-none-any.whl → 2.1.915__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/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.913.dist-info → lusid_sdk-2.1.915.dist-info}/METADATA +3 -3
- {lusid_sdk-2.1.913.dist-info → lusid_sdk-2.1.915.dist-info}/RECORD +332 -332
- {lusid_sdk-2.1.913.dist-info → lusid_sdk-2.1.915.dist-info}/WHEEL +0 -0
@@ -29,11 +29,11 @@ class CreditSpreadCurveData(ComplexMarketData):
|
|
29
29
|
"""
|
30
30
|
base_date: datetime = Field(..., alias="baseDate", description="EffectiveAt date of the quoted rates")
|
31
31
|
dom_ccy: StrictStr = Field(...,alias="domCcy", description="Domestic currency of the curve")
|
32
|
-
tenors: conlist(StrictStr) = Field(..., description="The tenors for which the rates apply
|
32
|
+
tenors: conlist(StrictStr) = Field(..., description="The tenors for which the rates apply For more information on tenors, see [knowledge base article KA-02097](https://support.lusid.com/knowledgebase/article/KA-02097)")
|
33
33
|
spreads: conlist(Union[StrictFloat, StrictInt]) = Field(..., description="Par spread quotes corresponding to the tenors.")
|
34
34
|
recovery_rate: Union[StrictFloat, StrictInt] = Field(..., alias="recoveryRate", description="The recovery rate in default.")
|
35
|
-
reference_date: Optional[datetime] = Field(None, alias="referenceDate", description="If tenors are provided, this is the date against which the tenors will be resolved.
|
36
|
-
maturities: Optional[conlist(datetime)] = Field(None, description="The maturity dates for which the rates apply.
|
35
|
+
reference_date: Optional[datetime] = Field(None, alias="referenceDate", description="If tenors are provided, this is the date against which the tenors will be resolved. This is of importance to CDX spread quotes, which are usually quoted in tenors relative to the CDX start date. In this case, the ReferenceDate would be equal to the CDX start date, and the BaseDate would be the date for which the spreads are valid. If not provided, this defaults to the BaseDate of the curve.")
|
36
|
+
maturities: Optional[conlist(datetime)] = Field(None, description="The maturity dates for which the rates apply. Either tenors or maturities should be provided, not both.")
|
37
37
|
lineage: Optional[StrictStr] = Field(None,alias="lineage", description="Description of the complex market data's lineage e.g. 'FundAccountant_GreenQuality'.")
|
38
38
|
market_data_options: Optional[MarketDataOptions] = Field(None, alias="marketDataOptions")
|
39
39
|
market_data_type: StrictStr = Field(...,alias="marketDataType", description="The available values are: DiscountFactorCurveData, EquityVolSurfaceData, FxVolSurfaceData, IrVolCubeData, OpaqueMarketData, YieldCurveData, FxForwardCurveData, FxForwardPipsCurveData, FxForwardTenorCurveData, FxForwardTenorPipsCurveData, FxForwardCurveByQuoteReference, CreditSpreadCurveData, EquityCurveByPricesData, ConstantVolatilitySurface")
|
@@ -24,15 +24,15 @@ from lusid.models.resource_id import ResourceId
|
|
24
24
|
|
25
25
|
class CreditSupportAnnex(BaseModel):
|
26
26
|
"""
|
27
|
-
Entity to capture the calculable and queryable methods and practices of determining and transferring collateral
|
27
|
+
Entity to capture the calculable and queryable methods and practices of determining and transferring collateral to a counterparty as part of margining of transactions. These typically come from a particular ISDA agreement that is in place between the two counterparties. # noqa: E501
|
28
28
|
"""
|
29
|
-
reference_currency: StrictStr = Field(...,alias="referenceCurrency", description="The base, or reference, currency against which MtM value and exposure should be calculated
|
29
|
+
reference_currency: StrictStr = Field(...,alias="referenceCurrency", description="The base, or reference, currency against which MtM value and exposure should be calculated and in which the CSA parameters are defined if the currency is not otherwise explicitly stated.")
|
30
30
|
collateral_currencies: conlist(StrictStr) = Field(..., alias="collateralCurrencies", description="The set of currencies within which it is acceptable to post cash collateral.")
|
31
|
-
isda_agreement_version: StrictStr = Field(...,alias="isdaAgreementVersion", description="The transactions will take place with reference to a particular ISDA master agreement. This
|
32
|
-
margin_call_frequency: StrictStr = Field(...,alias="marginCallFrequency", description="The tenor, e.g. daily (1D) or biweekly (2W), at which frequency a margin call will be made, calculations
|
31
|
+
isda_agreement_version: StrictStr = Field(...,alias="isdaAgreementVersion", description="The transactions will take place with reference to a particular ISDA master agreement. This will likely be either the ISDA 1992 or ISDA 2002 agremeents or ISDA close-out 2009.")
|
32
|
+
margin_call_frequency: StrictStr = Field(...,alias="marginCallFrequency", description="The tenor, e.g. daily (1D) or biweekly (2W), at which frequency a margin call will be made, calculations made and money transferred to readjust. The calculation might also require a specific time for valuation and notification.")
|
33
33
|
valuation_agent: StrictStr = Field(...,alias="valuationAgent", description="Are the calculations performed by the institutions's counterparty or the institution trading with them.")
|
34
|
-
threshold_amount: Union[StrictFloat, StrictInt] = Field(..., alias="thresholdAmount", description="At what level of exposure does collateral need to be posted. Will typically be zero for banks.
|
35
|
-
rounding_decimal_places: StrictInt = Field(..., alias="roundingDecimalPlaces", description="Where a calculation needs to be rounded to a specific number of decimal places,
|
34
|
+
threshold_amount: Union[StrictFloat, StrictInt] = Field(..., alias="thresholdAmount", description="At what level of exposure does collateral need to be posted. Will typically be zero for banks. Should be stated in reference currency")
|
35
|
+
rounding_decimal_places: StrictInt = Field(..., alias="roundingDecimalPlaces", description="Where a calculation needs to be rounded to a specific number of decimal places, this states the number that that requires.")
|
36
36
|
initial_margin_amount: Union[StrictFloat, StrictInt] = Field(..., alias="initialMarginAmount", description="The initial margin that is required. In the reference currency")
|
37
37
|
minimum_transfer_amount: Union[StrictFloat, StrictInt] = Field(..., alias="minimumTransferAmount", description="The minimum amount, in the reference currency, that must be transferred when required.")
|
38
38
|
id: ResourceId = Field(...)
|
lusid/models/curve_options.py
CHANGED
@@ -27,8 +27,8 @@ class CurveOptions(MarketDataOptions):
|
|
27
27
|
Options for configuring how ComplexMarketData representing a 'curve' is interpreted. # noqa: E501
|
28
28
|
"""
|
29
29
|
day_count_convention: Optional[StrictStr] = Field(None,alias="dayCountConvention", description="Day count convention of the curve. Defaults to \"Act360\".")
|
30
|
-
front_extrapolation_type: Optional[StrictStr] = Field(None,alias="frontExtrapolationType", description="What type of extrapolation is used to build the curve
|
31
|
-
back_extrapolation_type: Optional[StrictStr] = Field(None,alias="backExtrapolationType", description="What type of extrapolation is used to build the curve.
|
30
|
+
front_extrapolation_type: Optional[StrictStr] = Field(None,alias="frontExtrapolationType", description="What type of extrapolation is used to build the curve Imagine that the curve is facing the observer(you), then the \"front\" direction is the closest point on the curve onward. example: 0D tenor to past Defaults to \"Flat\". Supported string (enumeration) values are: [None, Flat, Linear].")
|
31
|
+
back_extrapolation_type: Optional[StrictStr] = Field(None,alias="backExtrapolationType", description="What type of extrapolation is used to build the curve. Imagine that the curve is facing the observer(you), then the \"back\" direction is the furthest point on the curve onward. example: 30Y tenor to infinity Defaults to \"Flat\". Supported string (enumeration) values are: [None, Flat, Linear].")
|
32
32
|
market_data_options_type: StrictStr = Field(...,alias="marketDataOptionsType", description="The available values are: CurveOptions")
|
33
33
|
additional_properties: Dict[str, Any] = {}
|
34
34
|
__properties = ["marketDataOptionsType", "dayCountConvention", "frontExtrapolationType", "backExtrapolationType"]
|
lusid/models/data_definition.py
CHANGED
@@ -23,12 +23,12 @@ from pydantic.v1 import StrictStr, Field, BaseModel, Field, StrictBool, StrictSt
|
|
23
23
|
|
24
24
|
class DataDefinition(BaseModel):
|
25
25
|
"""
|
26
|
-
When importing data from an external data source, in order for it to be reliable queryable, LUSID needs to know something about it.
|
26
|
+
When importing data from an external data source, in order for it to be reliable queryable, LUSID needs to know something about it. A data definition tells LUSID, what a given external data item is, what type it is and whether it in some way identifies items of data. Consider presenting LUSID with a list of dictionaries where each dictionary contains the same set of keys (names). Each data item pointed to by a key would be expected to be of the same type (integer, string, decimal etc.). To identify a particular dictionary from the list, a tuple of one or more of the items in the dictionary would make it unique. If only a single item is required then the # noqa: E501
|
27
27
|
"""
|
28
28
|
address: StrictStr = Field(...,alias="address", description="The internal address (LUSID native) of the unit in the provided data itself and corresponds to the external name of the data item")
|
29
29
|
name: Optional[StrictStr] = Field(None,alias="name", description="The name of the data item. This is the name that will appear")
|
30
|
-
data_type: Optional[StrictStr] = Field(None,alias="dataType", description="A member of the set of possible data types, that all data passed under that key is expected to be of.
|
31
|
-
key_type: Optional[StrictStr] = Field(None,alias="keyType", description="Is the item either a unique key for the dictionary, i.e. does it identify a unique index or conceptual 'row' within the list of dictionaries,
|
30
|
+
data_type: Optional[StrictStr] = Field(None,alias="dataType", description="A member of the set of possible data types, that all data passed under that key is expected to be of. Currently limited to one of [string, integer, decimal, result0d].")
|
31
|
+
key_type: Optional[StrictStr] = Field(None,alias="keyType", description="Is the item either a unique key for the dictionary, i.e. does it identify a unique index or conceptual 'row' within the list of dictionaries, or a partial key or is it simply a data item within that dictionary. Must be one of [Unique,PartOfUnique,Leaf, CompositeLeaf]")
|
32
32
|
allow_null: Optional[StrictBool] = Field(None, alias="allowNull", description="The path to the field must exist (unless AllowMissing is true) but the actual value is allowed to be null.")
|
33
33
|
allow_missing: Optional[StrictBool] = Field(None, alias="allowMissing", description="The path (or column) is allowed to be missing but if it is present it is not allowed to be null unless AllowNull is true.")
|
34
34
|
__properties = ["address", "name", "dataType", "keyType", "allowNull", "allowMissing"]
|
lusid/models/data_map_key.py
CHANGED
@@ -25,7 +25,7 @@ class DataMapKey(BaseModel):
|
|
25
25
|
"""
|
26
26
|
DataMapKey
|
27
27
|
"""
|
28
|
-
version: Optional[StrictStr] = Field(None,alias="version", description="The version of the mappings. It is possible that a client will wish to update mappings over time. The version identifies the MAJOR.MINOR.PATCH version
|
28
|
+
version: Optional[StrictStr] = Field(None,alias="version", description="The version of the mappings. It is possible that a client will wish to update mappings over time. The version identifies the MAJOR.MINOR.PATCH version of the mappings that the client assigns it.")
|
29
29
|
code: Optional[StrictStr] = Field(None,alias="code", description="A unique name to semantically identify the mapping set.")
|
30
30
|
__properties = ["version", "code"]
|
31
31
|
|
lusid/models/data_mapping.py
CHANGED
@@ -24,7 +24,7 @@ from lusid.models.data_definition import DataDefinition
|
|
24
24
|
|
25
25
|
class DataMapping(BaseModel):
|
26
26
|
"""
|
27
|
-
When importing data from an external source there are essentially three levels of interaction with LUSID.
|
27
|
+
When importing data from an external source there are essentially three levels of interaction with LUSID. (1) The data is a raw document that LUSID does not understand. You can store and retrieve it but it does not full interact with other documents inside LUSID (2) The data has a map from fields and paths to 'properties' in LUSID. In essence, LUSID can then treat the data as weakly typed (decimal, string) data that can be returned through queries and where various aggregation requests will then work. (3) The data is fully translatable into LUSID and understood, in some sense, natively. This means that it can be used for context sensitive calculations such as pricing or risk calculations. The data map object is designed to allow data to transition from step 1 to 2 and in some cases as an alternative for step 2 to 3. # noqa: E501
|
28
28
|
"""
|
29
29
|
data_definitions: Optional[conlist(DataDefinition)] = Field(None, alias="dataDefinitions", description="A map from LUSID item keys to data definitions that define the names, types and degree of uniqueness of data provided to LUSID in structured data stores.")
|
30
30
|
__properties = ["dataDefinitions"]
|
@@ -24,13 +24,13 @@ from lusid.models.address_key_filter import AddressKeyFilter
|
|
24
24
|
|
25
25
|
class DependencySourceFilter(BaseModel):
|
26
26
|
"""
|
27
|
-
Encapsulates parts of a market data rule relating not to the nature of the market data requested, but rather the nature of the thing (instrument/model) that is requesting it.
|
27
|
+
Encapsulates parts of a market data rule relating not to the nature of the market data requested, but rather the nature of the thing (instrument/model) that is requesting it. In the first instance, this includes the instrument type, asset class, and the currency of the underlying instrument. This can be used to differentiate requests for market data according to the source of the request. See MarketDataSpecificRule. # noqa: E501
|
28
28
|
"""
|
29
|
-
instrument_type: Optional[StrictStr] = Field(None,alias="instrumentType", description="Specify that a rule should only apply if the market data is requested by an instrument of a given instrument type.
|
30
|
-
asset_class: Optional[StrictStr] = Field(None,alias="assetClass", description="Specify that a rule should only apply if the market data is requested by an instrument of a given asset class.
|
31
|
-
dom_ccy: Optional[StrictStr] = Field(None,alias="domCcy", description="Specify that a rule should only apply if the market data is requested by an instrument with a given domestic currency.
|
32
|
-
long_or_short_indicator: Optional[StrictStr] = Field(None,alias="longOrShortIndicator", description="Specify that a rule should apply if the market data is requested by a model with a given long or short indicator.
|
33
|
-
address_key_filters: Optional[conlist(AddressKeyFilter)] = Field(None, alias="addressKeyFilters", description="Specify that a rule should apply if the market data is requested by an instrument with features or properties
|
29
|
+
instrument_type: Optional[StrictStr] = Field(None,alias="instrumentType", description="Specify that a rule should only apply if the market data is requested by an instrument of a given instrument type. If null, then no filtering on instrument type is applied.")
|
30
|
+
asset_class: Optional[StrictStr] = Field(None,alias="assetClass", description="Specify that a rule should only apply if the market data is requested by an instrument of a given asset class. If null, then no filtering on asset class is applied.")
|
31
|
+
dom_ccy: Optional[StrictStr] = Field(None,alias="domCcy", description="Specify that a rule should only apply if the market data is requested by an instrument with a given domestic currency. If null, then no filtering on currency is applied.")
|
32
|
+
long_or_short_indicator: Optional[StrictStr] = Field(None,alias="longOrShortIndicator", description="Specify that a rule should apply if the market data is requested by a model with a given long or short indicator. If none, then no filtering on LongOrShortIndicator is applied.")
|
33
|
+
address_key_filters: Optional[conlist(AddressKeyFilter)] = Field(None, alias="addressKeyFilters", description="Specify that a rule should apply if the market data is requested by an instrument with features or properties satisfying all the given address key filters. If an empty list is given, no additional filtering is done.")
|
34
34
|
__properties = ["instrumentType", "assetClass", "domCcy", "longOrShortIndicator", "addressKeyFilters"]
|
35
35
|
|
36
36
|
class Config:
|
lusid/models/dialect.py
CHANGED
@@ -26,7 +26,7 @@ from lusid.models.version import Version
|
|
26
26
|
|
27
27
|
class Dialect(BaseModel):
|
28
28
|
"""
|
29
|
-
The language/format of a translatable entity. Entities can be LUSID native or external and the Dialect describes
|
29
|
+
The language/format of a translatable entity. Entities can be LUSID native or external and the Dialect describes 1) the system that understands the entity and 2) applicable validation for the entity, in the form of a schema. # noqa: E501
|
30
30
|
"""
|
31
31
|
id: DialectId = Field(...)
|
32
32
|
var_schema: DialectSchema = Field(..., alias="schema")
|
lusid/models/dialect_schema.py
CHANGED
@@ -23,7 +23,7 @@ from pydantic.v1 import StrictStr, Field, BaseModel, Field, constr
|
|
23
23
|
|
24
24
|
class DialectSchema(BaseModel):
|
25
25
|
"""
|
26
|
-
A schema that a given document must obey. A representation of the validation of a particular Dialect,
|
26
|
+
A schema that a given document must obey. A representation of the validation of a particular Dialect, in a given language. # noqa: E501
|
27
27
|
"""
|
28
28
|
type: StrictStr = Field(...,alias="type", description="The type of schema this represents")
|
29
29
|
body: Optional[StrictStr] = Field(None,alias="body", description="The body of the schema")
|
@@ -24,10 +24,10 @@ from lusid.models.economic_dependency import EconomicDependency
|
|
24
24
|
|
25
25
|
class DiscountingDependency(EconomicDependency):
|
26
26
|
"""
|
27
|
-
For indicating a dependency on discounting for a given currency.
|
27
|
+
For indicating a dependency on discounting for a given currency. E.g Valuing a Bond with the Discounting model will declare a DiscountingDependency for the domestic currency of the bond to account for the time-value of the future cashFlows of the bond. # noqa: E501
|
28
28
|
"""
|
29
29
|
currency: StrictStr = Field(...,alias="currency", description="The currency that needs to be discounted.")
|
30
|
-
var_date: datetime = Field(..., alias="date", description="The effectiveDate of the entity that this is a dependency for.
|
30
|
+
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.")
|
31
31
|
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")
|
32
32
|
additional_properties: Dict[str, Any] = {}
|
33
33
|
__properties = ["dependencyType", "currency", "date"]
|
@@ -30,7 +30,7 @@ class DividendOptionEvent(InstrumentEvent):
|
|
30
30
|
"""
|
31
31
|
announcement_date: Optional[datetime] = Field(None, alias="announcementDate", description="Date on which the dividend was announced / declared.")
|
32
32
|
cash_elections: conlist(CashElection) = Field(..., alias="cashElections", description="CashElection for this DividendReinvestmentEvent")
|
33
|
-
ex_date: Optional[datetime] = Field(None, alias="exDate", description="The first business day on which the dividend is not owed to the buying party.
|
33
|
+
ex_date: Optional[datetime] = Field(None, alias="exDate", description="The first business day on which the dividend is not owed to the buying party. Typically this is T-1 from the RecordDate.")
|
34
34
|
payment_date: Optional[datetime] = Field(None, alias="paymentDate", description="The date the company pays out dividends to shareholders.")
|
35
35
|
record_date: Optional[datetime] = Field(None, alias="recordDate", description="Date you have to be the holder of record in order to participate in the tender.")
|
36
36
|
security_elections: conlist(SecurityElection) = Field(..., alias="securityElections", description="SecurityElection for this DividendReinvestmentEvent")
|
@@ -30,7 +30,7 @@ class DividendReinvestmentEvent(InstrumentEvent):
|
|
30
30
|
"""
|
31
31
|
announcement_date: Optional[datetime] = Field(None, alias="announcementDate", description="Date on which the dividend was announced / declared.")
|
32
32
|
cash_elections: conlist(CashElection) = Field(..., alias="cashElections", description="CashElection for this DividendReinvestmentEvent")
|
33
|
-
ex_date: Optional[datetime] = Field(None, alias="exDate", description="The first business day on which the dividend is not owed to the buying party.
|
33
|
+
ex_date: Optional[datetime] = Field(None, alias="exDate", description="The first business day on which the dividend is not owed to the buying party. Typically this is T-1 from the RecordDate.")
|
34
34
|
payment_date: Optional[datetime] = Field(None, alias="paymentDate", description="The date the company pays out dividends to shareholders.")
|
35
35
|
record_date: Optional[datetime] = Field(None, alias="recordDate", description="Date you have to be the holder of record in order to participate in the tender.")
|
36
36
|
security_elections: conlist(SecurityElection) = Field(..., alias="securityElections", description="SecurityElection for this DividendReinvestmentEvent")
|
@@ -26,7 +26,7 @@ class EarlyRedemptionElection(BaseModel):
|
|
26
26
|
EarlyRedemptionElection for EarlyRedemptionEvent # 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
|
|
@@ -27,12 +27,12 @@ class EarlyRedemptionEvent(InstrumentEvent):
|
|
27
27
|
"""
|
28
28
|
Early redemption as a consequence of a bond being called or putted. # noqa: E501
|
29
29
|
"""
|
30
|
-
effective_date: Optional[datetime] = Field(None, alias="effectiveDate", description="Date of redemption.
|
30
|
+
effective_date: Optional[datetime] = Field(None, alias="effectiveDate", description="Date of redemption. For internally generated European callables, this is set to the exercise date. For internally generated American callables, this is set to the start of the exercise period.")
|
31
31
|
currency: StrictStr = Field(...,alias="currency", description="Currency of the redemption.")
|
32
32
|
early_redemption_elections: conlist(EarlyRedemptionElection) = Field(..., alias="earlyRedemptionElections", description="EarlyRedemptionElection for the redemption. Used to trigger the redemption.")
|
33
33
|
redemption_percentage: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="redemptionPercentage", description="Percentage of the original issue that is redeemed, where 0.5 implies 50%. Defaults to 1 if not set. Must be between 0 and 1.")
|
34
34
|
price_per_unit: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="pricePerUnit", description="The price, or strike, that each unit is redeemed at.")
|
35
|
-
accrued_interest_per_unit: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="accruedInterestPerUnit", description="Unpaid accrued interest also repaid as part of the redemption, per unit.
|
35
|
+
accrued_interest_per_unit: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="accruedInterestPerUnit", description="Unpaid accrued interest also repaid as part of the redemption, per unit. Optional field. If left empty, will be resolved internally by calculating the accrued owed on the EffectiveDate. This process may require additional market data.")
|
36
36
|
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")
|
37
37
|
additional_properties: Dict[str, Any] = {}
|
38
38
|
__properties = ["instrumentEventType", "effectiveDate", "currency", "earlyRedemptionElections", "redemptionPercentage", "pricePerUnit", "accruedInterestPerUnit"]
|
@@ -24,7 +24,7 @@ import lusid.models
|
|
24
24
|
|
25
25
|
class EconomicDependency(BaseModel):
|
26
26
|
"""
|
27
|
-
Base class for representing economic dependencies.
|
27
|
+
Base class for representing economic dependencies. Economic dependencies are a way of indicating how one concept depends upon another. For example, when pricing an instrument with a particular model, that model will declare that it has an EconomicDependency for each bit of market data that it needs to complete the calculation. Concretely, a pricing an FxForward will declare a dependency on the exchange rate between the two currencies at the forward date. Another example is when data is included in a data-structure only by reference. Concretely, an object depending on a FlowConvention that is referenced only semantically via a FlowConventionName will declare a FlowConventionDependency so that the full data-structure of the referenced FlowConvention can be retrieved. For deserialization purposes, this class contains a discriminator EconomicDependencyType to indicate the derived type. # noqa: E501
|
28
28
|
"""
|
29
29
|
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")
|
30
30
|
__properties = ["dependencyType"]
|
lusid/models/equity.py
CHANGED
@@ -31,7 +31,7 @@ class Equity(LusidInstrument):
|
|
31
31
|
"""
|
32
32
|
identifiers: Optional[EquityAllOfIdentifiers] = None
|
33
33
|
dom_ccy: StrictStr = Field(...,alias="domCcy", description="The domestic currency of the instrument.")
|
34
|
-
lot_size: Optional[StrictInt] = Field(None, alias="lotSize", description="Deprecated: Use TradingConventions field instead
|
34
|
+
lot_size: Optional[StrictInt] = Field(None, alias="lotSize", description="Deprecated: Use TradingConventions field instead Equity LotSize, the minimum number of shares that can be bought at once. Optional, if set must be non-negative, if not set defaults to 1. Note this property does not impact valuation. From a LUSID analytics perspective, it is purely informational.")
|
35
35
|
time_zone_conventions: Optional[TimeZoneConventions] = Field(None, alias="timeZoneConventions")
|
36
36
|
trading_conventions: Optional[TradingConventions] = Field(None, alias="tradingConventions")
|
37
37
|
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,7 +28,7 @@ class EquityCurveByPricesData(ComplexMarketData):
|
|
28
28
|
Contains data (i.e. dates and prices + metadata) for building Equity curves # noqa: E501
|
29
29
|
"""
|
30
30
|
base_date: datetime = Field(..., alias="baseDate", description="EffectiveAt date of the provided prices")
|
31
|
-
dates: conlist(datetime) = Field(..., description="Dates provided for the forward price of the Equity at the corresponding price in Prices.
|
31
|
+
dates: conlist(datetime) = Field(..., description="Dates provided for the forward price of the Equity at the corresponding price in Prices. These dates should be in the future with respect to the BaseDate.")
|
32
32
|
lineage: Optional[StrictStr] = Field(None,alias="lineage", description="Description of the complex market data's lineage e.g. 'FundAccountant_GreenQuality'.")
|
33
33
|
prices: conlist(Union[StrictFloat, StrictInt]) = Field(..., description="Prices provided for the forward price of the Equity at the corresponding date in Dates.")
|
34
34
|
market_data_options: Optional[MarketDataOptions] = Field(None, alias="marketDataOptions")
|
@@ -24,12 +24,12 @@ from lusid.models.economic_dependency import EconomicDependency
|
|
24
24
|
|
25
25
|
class EquityCurveDependency(EconomicDependency):
|
26
26
|
"""
|
27
|
-
For indicating a dependency on an EquityCurve.
|
27
|
+
For indicating a dependency on an EquityCurve. E.g. When pricing an EquitySwap one may want to make predictions about the price of the underlying equity at future dates. If so, that model would declare an EquityCurve dependency so that it could obtain predictions from the EquityCurve. # noqa: E501
|
28
28
|
"""
|
29
29
|
market_identifier: StrictStr = Field(...,alias="marketIdentifier", description="Type of the code identifying the corresponding equity, e.g. ISIN or CUSIP")
|
30
30
|
code: StrictStr = Field(...,alias="code", description="The code identifying the corresponding equity, e.g. US0378331005 if the MarketIdentifier was set to ISIN")
|
31
31
|
curve_type: StrictStr = Field(...,alias="curveType", description="The curve type of the EquityCurve required. E.g. EquityCurveByPrices")
|
32
|
-
var_date: datetime = Field(..., alias="date", description="The effectiveDate of the entity that this is a dependency for.
|
32
|
+
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.")
|
33
33
|
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")
|
34
34
|
additional_properties: Dict[str, Any] = {}
|
35
35
|
__properties = ["dependencyType", "marketIdentifier", "code", "curveType", "date"]
|
@@ -26,7 +26,7 @@ class EquityModelOptions(ModelOptions):
|
|
26
26
|
"""
|
27
27
|
Model options for equity related pricing. # noqa: E501
|
28
28
|
"""
|
29
|
-
equity_forward_projection_type: StrictStr = Field(...,alias="equityForwardProjectionType", description="Determines how forward equity prices should be projected.
|
29
|
+
equity_forward_projection_type: StrictStr = Field(...,alias="equityForwardProjectionType", description="Determines how forward equity prices should be projected. Supported string (enumeration) values are: [FlatForwardCurveFromSpot, EquityCurveByPrices, ForwardProjectedFromRatesCurve].")
|
30
30
|
model_options_type: StrictStr = Field(...,alias="modelOptionsType", description="The available values are: Invalid, OpaqueModelOptions, EmptyModelOptions, IndexModelOptions, FxForwardModelOptions, FundingLegModelOptions, EquityModelOptions, CdsModelOptions")
|
31
31
|
additional_properties: Dict[str, Any] = {}
|
32
32
|
__properties = ["modelOptionsType", "equityForwardProjectionType"]
|
lusid/models/equity_option.py
CHANGED
@@ -31,19 +31,19 @@ class EquityOption(LusidInstrument):
|
|
31
31
|
start_date: datetime = Field(..., alias="startDate", description="The start date of the instrument. This is normally synonymous with the trade-date.")
|
32
32
|
option_maturity_date: datetime = Field(..., alias="optionMaturityDate", description="The maturity date of the option.")
|
33
33
|
option_settlement_date: Optional[datetime] = Field(None, alias="optionSettlementDate", description="The settlement date of the option.")
|
34
|
-
delivery_type: StrictStr = Field(...,alias="deliveryType", description="Is the option cash settled or physical delivery of option
|
35
|
-
option_type: StrictStr = Field(...,alias="optionType", description="Type of optionality for the option
|
34
|
+
delivery_type: StrictStr = Field(...,alias="deliveryType", description="Is the option cash settled or physical delivery of option Supported string (enumeration) values are: [Cash, Physical].")
|
35
|
+
option_type: StrictStr = Field(...,alias="optionType", description="Type of optionality for the option Supported string (enumeration) values are: [Call, Put].")
|
36
36
|
strike: Union[StrictFloat, StrictInt] = Field(..., description="The strike of the option.")
|
37
37
|
dom_ccy: StrictStr = Field(...,alias="domCcy", description="The domestic currency of the instrument.")
|
38
|
-
underlying_identifier: Optional[StrictStr] = Field(None,alias="underlyingIdentifier", description="The market identifier type of the underlying code, e.g RIC.
|
39
|
-
code: Optional[StrictStr] = Field(None,alias="code", description="The identifying code for the equity underlying, e.g. 'IBM.N'.
|
40
|
-
equity_option_type: Optional[StrictStr] = Field(None,alias="equityOptionType", description="Equity option types. E.g. Vanilla (default), RightsIssue, Warrant.
|
38
|
+
underlying_identifier: Optional[StrictStr] = Field(None,alias="underlyingIdentifier", description="The market identifier type of the underlying code, e.g RIC. Supported string (enumeration) values are: [LusidInstrumentId, Isin, Sedol, Cusip, ClientInternal, Figi, RIC, QuotePermId, REDCode, BBGId, ICECode]. Optional field, should be used in combination with the Code field. Not compatible with the Underlying field.")
|
39
|
+
code: Optional[StrictStr] = Field(None,alias="code", description="The identifying code for the equity underlying, e.g. 'IBM.N'. Optional field, should be used in combination with the UnderlyingIdentifier field. Not compatible with the Underlying field.")
|
40
|
+
equity_option_type: Optional[StrictStr] = Field(None,alias="equityOptionType", description="Equity option types. E.g. Vanilla (default), RightsIssue, Warrant. Supported string (enumeration) values are: [Vanilla, RightsIssue, Warrant].")
|
41
41
|
number_of_shares: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="numberOfShares", description="The amount of shares to exchange if the option is exercised.")
|
42
42
|
premium: Optional[Premium] = None
|
43
|
-
exercise_type: Optional[StrictStr] = Field(None,alias="exerciseType", description="Type of optionality that is present; European, American.
|
43
|
+
exercise_type: Optional[StrictStr] = Field(None,alias="exerciseType", description="Type of optionality that is present; European, American. Supported string (enumeration) values are: [European, American].")
|
44
44
|
underlying: Optional[LusidInstrument] = None
|
45
45
|
delivery_days: Optional[StrictInt] = Field(None, alias="deliveryDays", description="Number of business days between exercise date and settlement of the option payoff or underlying.")
|
46
|
-
business_day_convention: Optional[StrictStr] = Field(None,alias="businessDayConvention", description="Business day convention for option exercise date to settlement date calculation.
|
46
|
+
business_day_convention: Optional[StrictStr] = Field(None,alias="businessDayConvention", description="Business day convention for option exercise date to settlement date calculation. Supported string (enumeration) values are: [NoAdjustment, Previous, P, Following, F, ModifiedPrevious, MP, ModifiedFollowing, MF, HalfMonthModifiedFollowing, Nearest].")
|
47
47
|
settlement_calendars: Optional[conlist(StrictStr)] = Field(None, alias="settlementCalendars", description="Holiday calendars for option exercise date to settlement date calculation.")
|
48
48
|
time_zone_conventions: Optional[TimeZoneConventions] = Field(None, alias="timeZoneConventions")
|
49
49
|
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")
|
lusid/models/equity_swap.py
CHANGED
@@ -28,20 +28,20 @@ from lusid.models.time_zone_conventions import TimeZoneConventions
|
|
28
28
|
|
29
29
|
class EquitySwap(LusidInstrument):
|
30
30
|
"""
|
31
|
-
LUSID representation of an Equity Swap.
|
31
|
+
LUSID representation of an Equity Swap. 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 | EquityLeg | Cash flows relating to the performance of the underlying equity. | | 2 | FundingLeg | The funding leg of the swap. | | 3 | EquityDividendLeg | Cash flows relating to dividend payments on the underlying equity (optional). | | 4 | AdditionalPayments | Cash flows relating to any additional payments (optional). | # noqa: E501
|
32
32
|
"""
|
33
33
|
start_date: datetime = Field(..., alias="startDate", description="The start date of the EquitySwap.")
|
34
|
-
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
|
+
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.")
|
35
35
|
code: StrictStr = Field(...,alias="code", description="The code of the underlying.")
|
36
36
|
equity_flow_conventions: FlowConventions = Field(..., alias="equityFlowConventions")
|
37
37
|
funding_leg: InstrumentLeg = Field(..., alias="fundingLeg")
|
38
38
|
include_dividends: StrictBool = Field(..., alias="includeDividends", description="Dividend inclusion flag, if true dividends are included in the equity leg (total return).")
|
39
39
|
initial_price: Union[StrictFloat, StrictInt] = Field(..., alias="initialPrice", description="The initial equity price of the Equity Swap.")
|
40
|
-
notional_reset: StrictBool = Field(..., alias="notionalReset", description="Notional reset flag, if true the notional of the funding leg is reset at the start of every
|
40
|
+
notional_reset: StrictBool = Field(..., alias="notionalReset", description="Notional reset flag, if true the notional of the funding leg is reset at the start of every coupon to match the value of the equity leg (equity price at start of coupon times quantity).")
|
41
41
|
quantity: Union[StrictFloat, StrictInt] = Field(..., description="The quantity or number of shares in the Equity Swap.")
|
42
|
-
underlying_identifier: StrictStr = Field(...,alias="underlyingIdentifier", description="External market codes and identifiers for the EquitySwap, e.g. RIC.
|
43
|
-
equity_swap_dividend_payment_timing: Optional[StrictStr] = Field(None,alias="equitySwapDividendPaymentTiming", description="Determines how the payment of dividends is handled for the equity swap.
|
44
|
-
additional_payments: Optional[conlist(AdditionalPayment)] = Field(None, alias="additionalPayments", description="Optional additional payments at a given date e.g. to level off an uneven equity swap.
|
42
|
+
underlying_identifier: StrictStr = Field(...,alias="underlyingIdentifier", description="External market codes and identifiers for the EquitySwap, e.g. RIC. Supported string (enumeration) values are: [LusidInstrumentId, Isin, Sedol, Cusip, ClientInternal, Figi, RIC, QuotePermId, REDCode, BBGId, ICECode].")
|
43
|
+
equity_swap_dividend_payment_timing: Optional[StrictStr] = Field(None,alias="equitySwapDividendPaymentTiming", description="Determines how the payment of dividends is handled for the equity swap. Defaults to paying at the next Equity coupon date. Supported string (enumeration) values are: [PayAtNextEquityCouponDate, PayAtMaturityOfSwap, PayAtNextFundingLegCouponDate, PayAtPaymentDateOfDividendEvent].")
|
44
|
+
additional_payments: Optional[conlist(AdditionalPayment)] = Field(None, alias="additionalPayments", description="Optional additional payments at a given date e.g. to level off an uneven equity swap. The dates must be distinct and either all payments are Pay or all payments are Receive.")
|
45
45
|
time_zone_conventions: Optional[TimeZoneConventions] = Field(None, alias="timeZoneConventions")
|
46
46
|
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")
|
47
47
|
additional_properties: Dict[str, Any] = {}
|
@@ -24,12 +24,12 @@ from lusid.models.economic_dependency import EconomicDependency
|
|
24
24
|
|
25
25
|
class EquityVolDependency(EconomicDependency):
|
26
26
|
"""
|
27
|
-
Economic dependency required to price Equity derivative products that contain optionality.
|
27
|
+
Economic dependency required to price Equity derivative products that contain optionality. Equity Vol surface is a grid of implied volatilities for an array of strikes and tenors, derived from vanilla option prices in the market. # noqa: E501
|
28
28
|
"""
|
29
29
|
code: StrictStr = Field(...,alias="code", description="The code identifying the corresponding equity, e.g. US0378331005 if the MarketIdentifier was set to ISIN")
|
30
30
|
domestic_currency: StrictStr = Field(...,alias="domesticCurrency", description="The domestic currency of the instrument declaring this dependency.")
|
31
31
|
vol_type: StrictStr = Field(...,alias="volType", description="Volatility type e.g. \"LN\" and \"N\" for log-normal and normal volatility.")
|
32
|
-
var_date: datetime = Field(..., alias="date", description="The effectiveDate of the entity that this is a dependency for.
|
32
|
+
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.")
|
33
33
|
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")
|
34
34
|
additional_properties: Dict[str, Any] = {}
|
35
35
|
__properties = ["dependencyType", "code", "domesticCurrency", "volType", "date"]
|
lusid/models/event_date_range.py
CHANGED
@@ -23,7 +23,7 @@ from pydantic.v1 import StrictStr, Field, BaseModel
|
|
23
23
|
|
24
24
|
class EventDateRange(BaseModel):
|
25
25
|
"""
|
26
|
-
A standard representation of the effective date range for the event, used for display, filtering and windowing use cases.
|
26
|
+
A standard representation of the effective date range for the event, used for display, filtering and windowing use cases. The start and end values for the eventDateRange are mapped from the particular dates contained within the specific InstrumentEvent schema. Note that the start and end values may be identical for some types of events. # noqa: E501
|
27
27
|
"""
|
28
28
|
start: Optional[datetime] = None
|
29
29
|
end: Optional[datetime] = None
|
@@ -25,10 +25,10 @@ class ExDividendConfiguration(BaseModel):
|
|
25
25
|
"""
|
26
26
|
Configure the ex-dividend periods for the instrument. # noqa: E501
|
27
27
|
"""
|
28
|
-
use_business_days: Optional[StrictBool] = Field(None, alias="useBusinessDays", description="Is the ex-dividend period counted in business days or calendar days.
|
29
|
-
ex_dividend_days: StrictInt = Field(..., alias="exDividendDays", description="Number of days in the ex-dividend period.
|
28
|
+
use_business_days: Optional[StrictBool] = Field(None, alias="useBusinessDays", description="Is the ex-dividend period counted in business days or calendar days. Defaults to false if not set.")
|
29
|
+
ex_dividend_days: StrictInt = Field(..., alias="exDividendDays", description="Number of days in the ex-dividend period. If the settlement date falls in the ex-dividend period then the coupon paid is zero and the accrued interest is negative. If set, this must be a non-negative number. If not set, or set to 0, than there is no ex-dividend period.")
|
30
30
|
return_negative_accrued: Optional[StrictBool] = Field(None, alias="returnNegativeAccrued", description="Does the accrued interest go negative in the ex-dividend period, or does it go to zero.")
|
31
|
-
apply_thirty360_pay_delay: Optional[StrictBool] = Field(None, alias="applyThirty360PayDelay", description="Set this flag to true if the ex-dividend days represent a pay delay from the accrual end date in calendar
|
31
|
+
apply_thirty360_pay_delay: Optional[StrictBool] = Field(None, alias="applyThirty360PayDelay", description="Set this flag to true if the ex-dividend days represent a pay delay from the accrual end date in calendar days under the 30/360 day count convention. The typical use case for this flag are Mortgage Backed Securities with pay delay between 1 and 60 days, such as FreddieMac and FannieMae. If this flag is set, the useBusinessDays setting will be ignored. Defaults to false if not provided.")
|
32
32
|
__properties = ["useBusinessDays", "exDividendDays", "returnNegativeAccrued", "applyThirty360PayDelay"]
|
33
33
|
|
34
34
|
class Config:
|
@@ -27,7 +27,7 @@ from lusid.models.trading_conventions import TradingConventions
|
|
27
27
|
|
28
28
|
class ExchangeTradedOption(LusidInstrument):
|
29
29
|
"""
|
30
|
-
LUSID representation of an Exchange Traded Option.
|
30
|
+
LUSID representation of an Exchange Traded Option. Including, but not limited to, Equity Options, Bond Options, Index Options, Future Options, and Interest Rate Options. # 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
33
|
contract_details: ExchangeTradedOptionContractDetails = Field(..., alias="contractDetails")
|
@@ -24,23 +24,23 @@ from lusid.models.lusid_instrument import LusidInstrument
|
|
24
24
|
|
25
25
|
class ExchangeTradedOptionContractDetails(BaseModel):
|
26
26
|
"""
|
27
|
-
Most, if not all, information about contracts is standardised. See, e.g. https://www.cmegroup.com/ for
|
27
|
+
Most, if not all, information about contracts is standardised. See, e.g. https://www.cmegroup.com/ for common codes and similar data. This appears to be in common use by well known market information providers, e.g. Bloomberg and Refinitiv. There is a lot of overlap with this and FuturesContractDetails but as that is an established DTO we must duplicate a number of fields here # noqa: E501
|
28
28
|
"""
|
29
29
|
dom_ccy: StrictStr = Field(...,alias="domCcy", description="Currency in which the contract is paid.")
|
30
30
|
strike: Union[StrictFloat, StrictInt] = Field(..., description="The option strike, this can be negative for some options.")
|
31
31
|
contract_size: Union[StrictFloat, StrictInt] = Field(..., alias="contractSize", description="Size of a single contract. By default this should be set to 1000 if otherwise unknown and is defaulted to such.")
|
32
32
|
country: StrictStr = Field(...,alias="country", description="Country (code) for the exchange.")
|
33
|
-
delivery_type: StrictStr = Field(...,alias="deliveryType", description="The delivery type, cash or physical. An option on a future is physically settled if upon exercising the
|
33
|
+
delivery_type: StrictStr = Field(...,alias="deliveryType", description="The delivery type, cash or physical. An option on a future is physically settled if upon exercising the holder receives a future. Supported string (enumeration) values are: [Cash, Physical].")
|
34
34
|
description: StrictStr = Field(...,alias="description", description="Description of contract")
|
35
35
|
exchange_code: StrictStr = Field(...,alias="exchangeCode", description="Exchange code for contract. This can be any string to uniquely identify the exchange (e.g. Exchange Name, MIC, BBG code).")
|
36
36
|
exercise_date: datetime = Field(..., alias="exerciseDate", description="The last exercise date of the option.")
|
37
|
-
exercise_type: StrictStr = Field(...,alias="exerciseType", description="The exercise type, European, American or Bermudan.
|
37
|
+
exercise_type: StrictStr = Field(...,alias="exerciseType", description="The exercise type, European, American or Bermudan. Supported string (enumeration) values are: [European, Bermudan, American].")
|
38
38
|
option_code: StrictStr = Field(...,alias="optionCode", description="Option Contract Code, typically one or two letters, e.g. OG => Option on Gold.")
|
39
|
-
option_type: StrictStr = Field(...,alias="optionType", description="The option type, Call or Put.
|
39
|
+
option_type: StrictStr = Field(...,alias="optionType", description="The option type, Call or Put. Supported string (enumeration) values are: [Call, Put].")
|
40
40
|
underlying: LusidInstrument = Field(...)
|
41
41
|
underlying_code: StrictStr = Field(...,alias="underlyingCode", description="Code of the underlying, for an option on futures this should be the futures code.")
|
42
42
|
delivery_days: Optional[StrictInt] = Field(None, alias="deliveryDays", description="Number of business days between exercise date and settlement of the option payoff or underlying.")
|
43
|
-
business_day_convention: Optional[StrictStr] = Field(None,alias="businessDayConvention", description="The adjustment type to apply to dates that fall upon a non-business day, e.g. modified following or following.
|
43
|
+
business_day_convention: Optional[StrictStr] = Field(None,alias="businessDayConvention", description="The adjustment type to apply to dates that fall upon a non-business day, e.g. modified following or following. Supported string (enumeration) values are: [NoAdjustment, Previous, P, Following, F, ModifiedPrevious, MP, ModifiedFollowing, MF, HalfMonthModifiedFollowing, Nearest].")
|
44
44
|
settlement_calendars: Optional[conlist(StrictStr)] = Field(None, alias="settlementCalendars", description="An array of strings denoting calendars used in calculating the option settlement date.")
|
45
45
|
__properties = ["domCcy", "strike", "contractSize", "country", "deliveryType", "description", "exchangeCode", "exerciseDate", "exerciseType", "optionCode", "optionType", "underlying", "underlyingCode", "deliveryDays", "businessDayConvention", "settlementCalendars"]
|
46
46
|
|
lusid/models/execution.py
CHANGED
@@ -29,7 +29,7 @@ from lusid.models.version import Version
|
|
29
29
|
|
30
30
|
class Execution(BaseModel):
|
31
31
|
"""
|
32
|
-
The record of a number of executions against a single Placement (directly analogous to
|
32
|
+
The record of a number of executions against a single Placement (directly analogous to a partial or full fill against a street order). # noqa: E501
|
33
33
|
"""
|
34
34
|
id: ResourceId = Field(...)
|
35
35
|
placement_id: ResourceId = Field(..., alias="placementId")
|
lusid/models/exercise_event.py
CHANGED
@@ -25,7 +25,7 @@ from lusid.models.lusid_instrument import LusidInstrument
|
|
25
25
|
|
26
26
|
class ExerciseEvent(InstrumentEvent):
|
27
27
|
"""
|
28
|
-
Definition of an exercise event.
|
28
|
+
Definition of an exercise event. This is an event that occurs on transformation of an instrument owing to exercise. e.g. an option of some type into its underlying. # noqa: E501
|
29
29
|
"""
|
30
30
|
instrument: LusidInstrument = Field(...)
|
31
31
|
anchor_date: datetime = Field(..., alias="anchorDate", description="The date the exercise window starts, or point it takes effect on.")
|
@@ -28,7 +28,7 @@ class ExoticInstrument(LusidInstrument):
|
|
28
28
|
LUSID representation of a generic OTC Exotic Instrument that is not fully defined within other LUSID models. # noqa: E501
|
29
29
|
"""
|
30
30
|
instrument_format: InstrumentDefinitionFormat = Field(..., alias="instrumentFormat")
|
31
|
-
content: StrictStr = Field(...,alias="content", description="The original document received into the system. This format could potentially be anything though is most likely to be either Json or Xml. In the case where no other
|
31
|
+
content: StrictStr = Field(...,alias="content", description="The original document received into the system. This format could potentially be anything though is most likely to be either Json or Xml. In the case where no other interface is supported it is possible to fall back onto this. For example, a trade from an external client system. This may be recognized internally by Lusid or simply passed through to another vendor system.")
|
32
32
|
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")
|
33
33
|
additional_properties: Dict[str, Any] = {}
|
34
34
|
__properties = ["instrumentType", "instrumentFormat", "content"]
|
lusid/models/expiry_event.py
CHANGED
@@ -24,7 +24,7 @@ from lusid.models.instrument_event import InstrumentEvent
|
|
24
24
|
|
25
25
|
class ExpiryEvent(InstrumentEvent):
|
26
26
|
"""
|
27
|
-
Definition of an Expiry Event
|
27
|
+
Definition of an Expiry Event This is an event that describes the expiry of the instrument. # noqa: E501
|
28
28
|
"""
|
29
29
|
expiry_date: Optional[datetime] = Field(None, alias="expiryDate", description="Expiry 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/fixed_leg.py
CHANGED
@@ -30,7 +30,7 @@ class FixedLeg(InstrumentLeg):
|
|
30
30
|
LUSID representation of a Fixed Rate Leg. # 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.
|
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
34
|
leg_definition: LegDefinition = Field(..., alias="legDefinition")
|
35
35
|
notional: Union[StrictFloat, StrictInt] = Field(...)
|
36
36
|
overrides: Optional[FixedLegAllOfOverrides] = None
|
@@ -23,7 +23,7 @@ from pydantic.v1 import StrictStr, Field, BaseModel, Field, StrictFloat, StrictI
|
|
23
23
|
|
24
24
|
class FixedLegAllOfOverrides(BaseModel):
|
25
25
|
"""
|
26
|
-
Any overriding data for notionals, spreads or rates that would affect generation of a leg.
|
26
|
+
Any overriding data for notionals, spreads or rates that would affect generation of a leg. This supports the case where an amortisation schedule is given but otherwise generation is allowed as usual. # noqa: E501
|
27
27
|
"""
|
28
28
|
amortization: Optional[conlist(Union[StrictFloat, StrictInt])] = Field(None, alias="Amortization")
|
29
29
|
spreads: Optional[conlist(Union[StrictFloat, StrictInt])] = Field(None, alias="Spreads")
|
lusid/models/fixed_schedule.py
CHANGED
@@ -30,14 +30,14 @@ class FixedSchedule(Schedule):
|
|
30
30
|
Schedule for fixed coupon payments # noqa: E501
|
31
31
|
"""
|
32
32
|
start_date: datetime = Field(..., alias="startDate", description="Date from which LUSID starts generating the payment schedule.")
|
33
|
-
maturity_date: datetime = Field(..., alias="maturityDate", description="Last date of the payment generation schedule. May not necessarily be the maturity date
|
33
|
+
maturity_date: datetime = Field(..., alias="maturityDate", description="Last date of the payment generation schedule. May not necessarily be the maturity date of the underlying instrument (e.g. in case the instrument has multiple payment schedules).")
|
34
34
|
flow_conventions: Optional[FlowConventions] = Field(None, alias="flowConventions")
|
35
35
|
coupon_rate: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="couponRate", description="Coupon rate given as a fraction.")
|
36
36
|
convention_name: Optional[FlowConventionName] = Field(None, alias="conventionName")
|
37
|
-
ex_dividend_days: Optional[StrictInt] = Field(None, alias="exDividendDays", description="Optional. Number of calendar days in the ex-dividend period.
|
37
|
+
ex_dividend_days: Optional[StrictInt] = Field(None, alias="exDividendDays", description="Optional. Number of calendar days in the ex-dividend period. If the settlement date falls in the ex-dividend period then the coupon paid is zero and the accrued interest is negative. If set, this must be a non-negative number. If not set, or set to 0, then there is no ex-dividend period. NOTE: This field is deprecated. If you wish to set the ExDividendDays on a bond, please use the ExDividendConfiguration.")
|
38
38
|
notional: Optional[Union[StrictFloat, StrictInt]] = Field(None, description="Scaling factor, the quantity outstanding on which the rate will be paid.")
|
39
39
|
payment_currency: StrictStr = Field(...,alias="paymentCurrency", description="Payment currency. This does not have to be the same as the nominal bond or observation/reset currency.")
|
40
|
-
stub_type: Optional[StrictStr] = Field(None,alias="stubType", description="When a payment schedule doesn't have regular payment intervals just because of the
|
40
|
+
stub_type: Optional[StrictStr] = Field(None,alias="stubType", description="When a payment schedule doesn't have regular payment intervals just because of the first and/or last coupons of the schedule, we call those irregular coupons stubs. This configuration specifies what type of stub is used when building the schedule Supported values are: None = this is a regular payment schedule with no stubs. DO NOT use it with irregular schedules or you will get incorrect and unexpected behaviour. ShortFront = this is an irregular payment schedule where only the first coupon is irregular, and covers a payment period that is shorter than the regular payment period. ShortBack = this is an irregular payment schedule where only the last coupon is irregular, and covers a payment period that is shorter than the regular payment period. LongFront = this is an irregular payment schedule where only the first coupon is irregular, and covers a payment period that is longer than the regular payment period. LongBack = this is an irregular payment schedule where only the last coupon is irregular, and covers a payment period that is longer than the regular payment period. Both = this is an irregular payment schedule where both the first and the last coupons are irregular, and the length of these periods is calculated based on the first coupon payment date that should have been explicitly set.")
|
41
41
|
ex_dividend_configuration: Optional[ExDividendConfiguration] = Field(None, alias="exDividendConfiguration")
|
42
42
|
schedule_type: StrictStr = Field(...,alias="scheduleType", description="The available values are: FixedSchedule, FloatSchedule, OptionalitySchedule, StepSchedule, Exercise, FxRateSchedule, FxLinkedNotionalSchedule, BondConversionSchedule, Invalid")
|
43
43
|
additional_properties: Dict[str, Any] = {}
|