lusid-sdk 2.1.913__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.
Files changed (332) hide show
  1. lusid/api/abor_api.py +66 -66
  2. lusid/api/abor_configuration_api.py +32 -32
  3. lusid/api/address_key_definition_api.py +10 -10
  4. lusid/api/aggregated_returns_api.py +12 -12
  5. lusid/api/aggregation_api.py +10 -10
  6. lusid/api/allocations_api.py +24 -24
  7. lusid/api/amortisation_rule_sets_api.py +24 -24
  8. lusid/api/application_metadata_api.py +6 -6
  9. lusid/api/blocks_api.py +18 -18
  10. lusid/api/calendars_api.py +34 -34
  11. lusid/api/chart_of_accounts_api.py +122 -122
  12. lusid/api/check_definitions_api.py +38 -38
  13. lusid/api/complex_market_data_api.py +36 -36
  14. lusid/api/compliance_api.py +34 -34
  15. lusid/api/configuration_recipe_api.py +20 -20
  16. lusid/api/conventions_api.py +18 -18
  17. lusid/api/corporate_action_sources_api.py +32 -32
  18. lusid/api/counterparties_api.py +12 -12
  19. lusid/api/custom_data_models_api.py +16 -16
  20. lusid/api/custom_entities_api.py +40 -40
  21. lusid/api/custom_entity_definitions_api.py +10 -10
  22. lusid/api/custom_entity_types_api.py +10 -10
  23. lusid/api/cut_label_definitions_api.py +8 -8
  24. lusid/api/data_types_api.py +34 -34
  25. lusid/api/derived_transaction_portfolios_api.py +6 -6
  26. lusid/api/entities_api.py +20 -20
  27. lusid/api/executions_api.py +18 -18
  28. lusid/api/fee_types_api.py +8 -8
  29. lusid/api/fund_configuration_api.py +38 -38
  30. lusid/api/funds_api.py +139 -130
  31. lusid/api/group_reconciliations_api.py +84 -84
  32. lusid/api/identifier_definitions_api.py +30 -30
  33. lusid/api/instrument_event_types_api.py +40 -40
  34. lusid/api/instrument_events_api.py +34 -34
  35. lusid/api/instruments_api.py +138 -138
  36. lusid/api/investment_accounts_api.py +24 -24
  37. lusid/api/investor_records_api.py +26 -26
  38. lusid/api/legacy_compliance_api.py +46 -46
  39. lusid/api/legal_entities_api.py +114 -114
  40. lusid/api/order_graph_api.py +6 -6
  41. lusid/api/order_instructions_api.py +18 -18
  42. lusid/api/order_management_api.py +28 -28
  43. lusid/api/orders_api.py +18 -18
  44. lusid/api/packages_api.py +18 -18
  45. lusid/api/participations_api.py +18 -18
  46. lusid/api/persons_api.py +114 -114
  47. lusid/api/placements_api.py +18 -18
  48. lusid/api/portfolio_groups_api.py +156 -156
  49. lusid/api/portfolios_api.py +128 -128
  50. lusid/api/property_definitions_api.py +74 -74
  51. lusid/api/queryable_keys_api.py +6 -6
  52. lusid/api/quotes_api.py +36 -36
  53. lusid/api/reconciliations_api.py +42 -42
  54. lusid/api/reference_lists_api.py +8 -8
  55. lusid/api/reference_portfolio_api.py +30 -30
  56. lusid/api/relation_definitions_api.py +14 -14
  57. lusid/api/relationship_definitions_api.py +32 -32
  58. lusid/api/scopes_api.py +12 -12
  59. lusid/api/scripted_translation_api.py +22 -22
  60. lusid/api/search_api.py +28 -28
  61. lusid/api/sequences_api.py +20 -20
  62. lusid/api/staged_modifications_api.py +20 -20
  63. lusid/api/staging_rule_set_api.py +18 -18
  64. lusid/api/structured_result_data_api.py +38 -38
  65. lusid/api/system_configuration_api.py +20 -20
  66. lusid/api/tax_rule_sets_api.py +34 -34
  67. lusid/api/timelines_api.py +68 -68
  68. lusid/api/transaction_configuration_api.py +18 -18
  69. lusid/api/transaction_fees_api.py +42 -42
  70. lusid/api/transaction_portfolios_api.py +450 -450
  71. lusid/api/transfer_agency_api.py +2 -2
  72. lusid/api/translation_api.py +4 -4
  73. lusid/api/workspace_api.py +24 -24
  74. lusid/configuration.py +1 -1
  75. lusid/models/access_metadata_value.py +1 -1
  76. lusid/models/accumulation_event.py +1 -1
  77. lusid/models/additional_payment.py +1 -1
  78. lusid/models/address_definition.py +2 -2
  79. lusid/models/adjust_global_commitment_event.py +2 -2
  80. lusid/models/adjust_holding_for_date_request.py +1 -1
  81. lusid/models/adjust_holding_request.py +1 -1
  82. lusid/models/aggregate_spec.py +1 -1
  83. lusid/models/aggregation_context.py +1 -1
  84. lusid/models/aggregation_options.py +3 -3
  85. lusid/models/allocation.py +1 -1
  86. lusid/models/amortisation_event.py +2 -2
  87. lusid/models/append_fx_forward_curve_by_quote_reference.py +1 -1
  88. lusid/models/asset_leg.py +2 -2
  89. lusid/models/basket.py +1 -1
  90. lusid/models/block.py +1 -1
  91. lusid/models/bond.py +5 -5
  92. lusid/models/bond_conversion_entry.py +3 -3
  93. lusid/models/bond_conversion_schedule.py +5 -5
  94. lusid/models/bond_coupon_event.py +1 -1
  95. lusid/models/bond_principal_event.py +1 -1
  96. lusid/models/bucketed_cash_flow_response.py +3 -3
  97. lusid/models/cancel_single_holding_adjustment_request.py +1 -1
  98. lusid/models/cap_floor.py +2 -2
  99. lusid/models/cash_and_security_offer_election.py +1 -1
  100. lusid/models/cash_dependency.py +2 -2
  101. lusid/models/cash_flow_event.py +1 -1
  102. lusid/models/cash_flow_lineage.py +2 -2
  103. lusid/models/cash_offer_election.py +1 -1
  104. lusid/models/cds_flow_conventions.py +5 -5
  105. lusid/models/cds_index.py +4 -4
  106. lusid/models/cds_protection_detail_specification.py +3 -3
  107. lusid/models/change_item.py +1 -1
  108. lusid/models/close_event.py +1 -1
  109. lusid/models/collateral.py +2 -2
  110. lusid/models/complex_bond.py +4 -4
  111. lusid/models/complex_market_data.py +1 -1
  112. lusid/models/complex_market_data_id.py +1 -1
  113. lusid/models/compounding.py +6 -6
  114. lusid/models/configuration_recipe.py +1 -1
  115. lusid/models/constant_volatility_surface.py +2 -2
  116. lusid/models/constituents_adjustment_header.py +1 -1
  117. lusid/models/contract_for_difference.py +6 -6
  118. lusid/models/conversion_event.py +9 -9
  119. lusid/models/corporate_action_transition_component_request.py +1 -1
  120. lusid/models/counterparty_agreement.py +1 -1
  121. lusid/models/counterparty_risk_information.py +1 -1
  122. lusid/models/counterparty_signatory.py +1 -1
  123. lusid/models/credit_default_swap.py +4 -4
  124. lusid/models/credit_premium_cash_flow_event.py +1 -1
  125. lusid/models/credit_rating.py +1 -1
  126. lusid/models/credit_spread_curve_data.py +3 -3
  127. lusid/models/credit_support_annex.py +6 -6
  128. lusid/models/curve_options.py +2 -2
  129. lusid/models/data_definition.py +3 -3
  130. lusid/models/data_map_key.py +1 -1
  131. lusid/models/data_mapping.py +1 -1
  132. lusid/models/dependency_source_filter.py +6 -6
  133. lusid/models/dialect.py +1 -1
  134. lusid/models/dialect_schema.py +1 -1
  135. lusid/models/discounting_dependency.py +2 -2
  136. lusid/models/dividend_option_event.py +1 -1
  137. lusid/models/dividend_reinvestment_event.py +1 -1
  138. lusid/models/early_redemption_election.py +1 -1
  139. lusid/models/early_redemption_event.py +2 -2
  140. lusid/models/economic_dependency.py +1 -1
  141. lusid/models/equity.py +1 -1
  142. lusid/models/equity_curve_by_prices_data.py +1 -1
  143. lusid/models/equity_curve_dependency.py +2 -2
  144. lusid/models/equity_model_options.py +1 -1
  145. lusid/models/equity_option.py +7 -7
  146. lusid/models/equity_swap.py +6 -6
  147. lusid/models/equity_vol_dependency.py +2 -2
  148. lusid/models/event_date_range.py +1 -1
  149. lusid/models/ex_dividend_configuration.py +3 -3
  150. lusid/models/exchange_traded_option.py +1 -1
  151. lusid/models/exchange_traded_option_contract_details.py +5 -5
  152. lusid/models/execution.py +1 -1
  153. lusid/models/exercise_event.py +1 -1
  154. lusid/models/exotic_instrument.py +1 -1
  155. lusid/models/expiry_event.py +1 -1
  156. lusid/models/fixed_leg.py +1 -1
  157. lusid/models/fixed_leg_all_of_overrides.py +1 -1
  158. lusid/models/fixed_schedule.py +3 -3
  159. lusid/models/flexible_deposit.py +2 -2
  160. lusid/models/flexible_loan.py +2 -2
  161. lusid/models/flexible_repo.py +10 -10
  162. lusid/models/flexible_repo_cash_flow_event.py +2 -2
  163. lusid/models/flexible_repo_collateral_event.py +2 -2
  164. lusid/models/flexible_repo_interest_payment_event.py +2 -2
  165. lusid/models/flexible_repo_partial_closure_event.py +5 -5
  166. lusid/models/float_schedule.py +5 -5
  167. lusid/models/floating_leg.py +1 -1
  168. lusid/models/flow_convention_name.py +1 -1
  169. lusid/models/flow_conventions.py +9 -9
  170. lusid/models/forward_rate_agreement.py +1 -1
  171. lusid/models/fund_calendar_entry.py +21 -1
  172. lusid/models/fund_share_class.py +4 -4
  173. lusid/models/fund_valuation_request.py +4 -4
  174. lusid/models/fund_valuation_schedule.py +4 -4
  175. lusid/models/funding_leg.py +3 -3
  176. lusid/models/future.py +4 -4
  177. lusid/models/future_expiry_event.py +1 -1
  178. lusid/models/future_mark_to_market_event.py +1 -1
  179. lusid/models/futures_contract_details.py +5 -5
  180. lusid/models/fx_conventions.py +1 -1
  181. lusid/models/fx_dependency.py +1 -1
  182. lusid/models/fx_forward.py +6 -6
  183. lusid/models/fx_forward_curve_by_quote_reference.py +3 -3
  184. lusid/models/fx_forward_model_options.py +1 -1
  185. lusid/models/fx_forward_settlement_event.py +6 -6
  186. lusid/models/fx_forward_tenor_curve_data.py +2 -2
  187. lusid/models/fx_forward_tenor_pips_curve_data.py +2 -2
  188. lusid/models/fx_forwards_dependency.py +3 -3
  189. lusid/models/fx_linked_notional_schedule.py +1 -1
  190. lusid/models/fx_option.py +8 -8
  191. lusid/models/fx_rate_schedule.py +1 -1
  192. lusid/models/fx_swap.py +2 -2
  193. lusid/models/fx_tenor_convention.py +1 -1
  194. lusid/models/fx_vol_dependency.py +2 -2
  195. lusid/models/get_reference_portfolio_constituents_response.py +1 -1
  196. lusid/models/group_of_market_data_key_rules.py +2 -2
  197. lusid/models/holding_context.py +1 -1
  198. lusid/models/holding_pricing_info.py +2 -2
  199. lusid/models/index_convention.py +4 -4
  200. lusid/models/index_projection_dependency.py +2 -2
  201. lusid/models/industry_classifier.py +1 -1
  202. lusid/models/inflation_index_conventions.py +4 -4
  203. lusid/models/inflation_leg.py +5 -5
  204. lusid/models/inflation_linked_bond.py +6 -6
  205. lusid/models/inflation_swap.py +3 -3
  206. lusid/models/informational_event.py +3 -3
  207. lusid/models/inline_valuation_request.py +6 -6
  208. lusid/models/inline_valuations_reconciliation_request.py +1 -1
  209. lusid/models/instrument_capabilities.py +1 -1
  210. lusid/models/instrument_definition_format.py +2 -2
  211. lusid/models/instrument_event.py +1 -1
  212. lusid/models/instrument_leg.py +1 -1
  213. lusid/models/interest_rate_swap.py +4 -4
  214. lusid/models/interest_rate_swaption.py +2 -2
  215. lusid/models/ir_vol_dependency.py +2 -2
  216. lusid/models/lapse_election.py +1 -1
  217. lusid/models/leg_definition.py +8 -8
  218. lusid/models/list_complex_market_data_with_meta_data_response.py +1 -1
  219. lusid/models/loan_facility.py +3 -3
  220. lusid/models/loan_facility_contract_rollover_event.py +2 -2
  221. lusid/models/loan_interest_repayment_event.py +2 -2
  222. lusid/models/loan_principal_repayment_event.py +3 -3
  223. lusid/models/lusid_instrument.py +1 -1
  224. lusid/models/lusid_trade_ticket.py +1 -1
  225. lusid/models/mark_to_market_conventions.py +1 -1
  226. lusid/models/market_context.py +4 -4
  227. lusid/models/market_context_suppliers.py +1 -1
  228. lusid/models/market_data_key_rule.py +7 -7
  229. lusid/models/market_data_options.py +1 -1
  230. lusid/models/market_data_specific_rule.py +6 -6
  231. lusid/models/market_data_type.py +1 -1
  232. lusid/models/market_options.py +1 -1
  233. lusid/models/market_quote.py +1 -1
  234. lusid/models/mastered_instrument.py +1 -1
  235. lusid/models/match_criterion.py +1 -1
  236. lusid/models/maturity_event.py +1 -1
  237. lusid/models/mbs_coupon_event.py +1 -1
  238. lusid/models/mbs_interest_deferral_event.py +1 -1
  239. lusid/models/mbs_interest_shortfall_event.py +1 -1
  240. lusid/models/mbs_principal_event.py +1 -1
  241. lusid/models/mbs_principal_write_off_event.py +1 -1
  242. lusid/models/model_options.py +1 -1
  243. lusid/models/model_selection.py +1 -1
  244. lusid/models/opaque_dependency.py +1 -1
  245. lusid/models/opaque_market_data.py +3 -3
  246. lusid/models/option_entry.py +1 -1
  247. lusid/models/option_exercise_cash_event.py +3 -3
  248. lusid/models/option_exercise_election.py +1 -1
  249. lusid/models/option_exercise_physical_event.py +3 -3
  250. lusid/models/optionality_schedule.py +2 -2
  251. lusid/models/order_flow_configuration.py +1 -1
  252. lusid/models/partial_closure_constituent.py +3 -3
  253. lusid/models/portfolio_result_data_key_rule.py +1 -1
  254. lusid/models/pre_trade_configuration.py +1 -1
  255. lusid/models/pricing_context.py +3 -3
  256. lusid/models/pricing_options.py +9 -9
  257. lusid/models/property_domain.py +1 -1
  258. lusid/models/property_reference_data_value.py +1 -1
  259. lusid/models/quote_dependency.py +1 -1
  260. lusid/models/quote_series_id.py +1 -1
  261. lusid/models/raw_vendor_event.py +1 -1
  262. lusid/models/recipe_value.py +1 -1
  263. lusid/models/reconcile_date_time_rule.py +1 -1
  264. lusid/models/reconcile_numeric_rule.py +1 -1
  265. lusid/models/reconcile_string_rule.py +1 -1
  266. lusid/models/reconciled_transaction.py +2 -2
  267. lusid/models/reconciliation_line.py +1 -1
  268. lusid/models/reconciliation_request.py +3 -3
  269. lusid/models/reconciliation_rule.py +1 -1
  270. lusid/models/relative_date_offset.py +2 -2
  271. lusid/models/repo.py +8 -8
  272. lusid/models/repo_cash_flow_event.py +4 -4
  273. lusid/models/repo_partial_closure_event.py +5 -5
  274. lusid/models/repurchase_offer_event.py +4 -4
  275. lusid/models/reset_event.py +1 -1
  276. lusid/models/result_data_key_rule.py +1 -1
  277. lusid/models/result_data_schema.py +1 -1
  278. lusid/models/result_key_rule.py +1 -1
  279. lusid/models/result_value.py +1 -1
  280. lusid/models/result_value0_d.py +1 -1
  281. lusid/models/result_value_date_time_offset.py +1 -1
  282. lusid/models/result_value_decimal.py +1 -1
  283. lusid/models/result_value_int.py +1 -1
  284. lusid/models/return_zero_pv_options.py +1 -1
  285. lusid/models/rounding_convention.py +4 -4
  286. lusid/models/schedule.py +1 -1
  287. lusid/models/scrip_dividend_event.py +1 -1
  288. lusid/models/security_election.py +2 -2
  289. lusid/models/security_offer_election.py +1 -1
  290. lusid/models/side_configuration_data.py +1 -1
  291. lusid/models/side_configuration_data_request.py +1 -1
  292. lusid/models/simple_cash_flow_loan.py +2 -2
  293. lusid/models/simple_instrument.py +2 -2
  294. lusid/models/simple_rounding_convention.py +2 -2
  295. lusid/models/step_schedule.py +3 -3
  296. lusid/models/stock_dividend_event.py +1 -1
  297. lusid/models/structured_result_data.py +1 -1
  298. lusid/models/swap_cash_flow_event.py +1 -1
  299. lusid/models/swap_principal_event.py +1 -1
  300. lusid/models/tender_offer_election.py +1 -1
  301. lusid/models/term_deposit.py +1 -1
  302. lusid/models/term_deposit_interest_event.py +1 -1
  303. lusid/models/term_deposit_principal_event.py +1 -1
  304. lusid/models/time_zone_conventions.py +1 -1
  305. lusid/models/total_return_swap.py +3 -3
  306. lusid/models/trading_conventions.py +3 -3
  307. lusid/models/transaction_reconciliation_request_v2.py +3 -3
  308. lusid/models/translate_entities_inlined_request.py +1 -1
  309. lusid/models/translate_entities_request.py +1 -1
  310. lusid/models/translate_instrument_definitions_request.py +1 -1
  311. lusid/models/translate_trade_ticket_request.py +1 -1
  312. lusid/models/translation_input.py +1 -1
  313. lusid/models/trigger_event.py +1 -1
  314. lusid/models/typed_resource_id.py +2 -2
  315. lusid/models/unmatched_holding_method.py +1 -1
  316. lusid/models/upsert_cds_flow_conventions_request.py +1 -1
  317. lusid/models/upsert_counterparty_agreement_request.py +1 -1
  318. lusid/models/upsert_flow_conventions_request.py +1 -1
  319. lusid/models/upsert_fund_bookmark_request.py +3 -3
  320. lusid/models/upsert_index_convention_request.py +1 -1
  321. lusid/models/upsert_quote_request.py +1 -1
  322. lusid/models/upsert_recipe_request.py +1 -1
  323. lusid/models/valuation_request.py +5 -5
  324. lusid/models/valuation_schedule.py +5 -5
  325. lusid/models/valuations_reconciliation_request.py +2 -2
  326. lusid/models/vendor_model_rule.py +3 -3
  327. lusid/models/virtual_document.py +1 -1
  328. lusid/models/weighted_instrument.py +2 -2
  329. lusid/models/weighted_instrument_in_line_lookup_identifiers.py +1 -1
  330. {lusid_sdk-2.1.913.dist-info → lusid_sdk-2.1.914.dist-info}/METADATA +3 -3
  331. {lusid_sdk-2.1.913.dist-info → lusid_sdk-2.1.914.dist-info}/RECORD +332 -332
  332. {lusid_sdk-2.1.913.dist-info → lusid_sdk-2.1.914.dist-info}/WHEEL +0 -0
@@ -23,7 +23,7 @@ from pydantic.v1 import StrictStr, Field, BaseModel, Field, StrictStr, validator
23
23
 
24
24
  class ModelSelection(BaseModel):
25
25
  """
26
- The combination of a library to use and a model in that library that defines which pricing code will evaluate instruments having a particular type/class. This allows us to control the model type and library for a given instrument. # noqa: E501
26
+ The combination of a library to use and a model in that library that defines which pricing code will evaluate instruments having a particular type/class. This allows us to control the model type and library for a given instrument. # noqa: E501
27
27
  """
28
28
  library: StrictStr = Field(...,alias="library", description="The available values are: Lusid, RefinitivQps, RefinitivTracsWeb, VolMaster, IsdaCds, YieldBook, LusidCalc")
29
29
  model: StrictStr = Field(...,alias="model", description="The available values are: SimpleStatic, Discounting, VendorDefault, BlackScholes, ConstantTimeValueOfMoney, Bachelier, ForwardWithPoints, ForwardWithPointsUndiscounted, ForwardSpecifiedRate, ForwardSpecifiedRateUndiscounted, IndexNav, IndexPrice, InlinedIndex, ForwardFromCurve, ForwardFromCurveUndiscounted, BlackScholesDigital, BjerksundStensland1993, BondLookupPricer, FlexibleLoanPricer, CdsLookupPricer, LoanFacilityPricer")
@@ -24,7 +24,7 @@ from lusid.models.economic_dependency import EconomicDependency
24
24
 
25
25
  class OpaqueDependency(EconomicDependency):
26
26
  """
27
- Represents a dependency that could not be understood as an externally exposed dependency. If this is an unexpected dependency, then please contact support. # noqa: E501
27
+ Represents a dependency that could not be understood as an externally exposed dependency. If this is an unexpected dependency, then please contact support. # 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
  additional_properties: Dict[str, Any] = {}
@@ -24,11 +24,11 @@ from lusid.models.complex_market_data import ComplexMarketData
24
24
 
25
25
  class OpaqueMarketData(ComplexMarketData):
26
26
  """
27
- A representation of an un-built piece of complex market data, to allow for passing through to the vendor library for building. The market data will usually be in some standard form such as XML or Json, representing a curve or surface. # noqa: E501
27
+ A representation of an un-built piece of complex market data, to allow for passing through to the vendor library for building. The market data will usually be in some standard form such as XML or Json, representing a curve or surface. # noqa: E501
28
28
  """
29
29
  document: StrictStr = Field(...,alias="document", description="The document as a string.")
30
- format: StrictStr = Field(...,alias="format", description="What format is the document stored in, e.g. Xml. Supported string (enumeration) values are: [Unknown, Xml, Json, Csv].")
31
- name: StrictStr = Field(...,alias="name", description="Internal name of document. This is not used for search, it is simply a designator that helps identify the document and could be anything (filename, ftp address or similar)")
30
+ format: StrictStr = Field(...,alias="format", description="What format is the document stored in, e.g. Xml. Supported string (enumeration) values are: [Unknown, Xml, Json, Csv].")
31
+ name: StrictStr = Field(...,alias="name", description="Internal name of document. This is not used for search, it is simply a designator that helps identify the document and could be anything (filename, ftp address or similar)")
32
32
  lineage: Optional[StrictStr] = Field(None,alias="lineage", description="Description of the complex market data's lineage e.g. 'FundAccountant_GreenQuality'.")
33
33
  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")
34
34
  additional_properties: Dict[str, Any] = {}
@@ -27,7 +27,7 @@ class OptionEntry(BaseModel):
27
27
  """
28
28
  strike: Union[StrictFloat, StrictInt] = Field(..., description="The strike on this date")
29
29
  var_date: datetime = Field(..., alias="date", description="The date at which the option can be actioned at this strike")
30
- end_date: Optional[datetime] = Field(None, alias="endDate", description="If American exercise, this is the end of the exercise period. Optional field. Defaults to the Date field if not set.")
30
+ end_date: Optional[datetime] = Field(None, alias="endDate", description="If American exercise, this is the end of the exercise period. Optional field. Defaults to the Date field if not set.")
31
31
  __properties = ["strike", "date", "endDate"]
32
32
 
33
33
  class Config:
@@ -30,11 +30,11 @@ class OptionExerciseCashEvent(InstrumentEvent):
30
30
  cash_flow_per_unit: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="cashFlowPerUnit", description="The cashflow per unit")
31
31
  exercise_date: Optional[datetime] = Field(None, alias="exerciseDate", description="The exercise date of the option.")
32
32
  delivery_date: Optional[datetime] = Field(None, alias="deliveryDate", description="The delivery date of the option.")
33
- exercise_type: StrictStr = Field(...,alias="exerciseType", description="The optionality type of the underlying option e.g. American, European. Supported string (enumeration) values are: [European, Bermudan, American].")
33
+ exercise_type: StrictStr = Field(...,alias="exerciseType", description="The optionality type of the underlying option e.g. American, European. Supported string (enumeration) values are: [European, Bermudan, American].")
34
34
  maturity_date: Optional[datetime] = Field(None, alias="maturityDate", description="The maturity date of the option.")
35
- moneyness: Optional[StrictStr] = Field(None,alias="moneyness", description="The moneyness of the option e.g. InTheMoney, OutOfTheMoney. Supported string (enumeration) values are: [InTheMoney, OutOfTheMoney, AtTheMoney].")
35
+ moneyness: Optional[StrictStr] = Field(None,alias="moneyness", description="The moneyness of the option e.g. InTheMoney, OutOfTheMoney. Supported string (enumeration) values are: [InTheMoney, OutOfTheMoney, AtTheMoney].")
36
36
  option_exercise_elections: Optional[conlist(OptionExerciseElection)] = Field(None, alias="optionExerciseElections", description="Option exercise election for this OptionExercisePhysicalEvent.")
37
- option_type: StrictStr = Field(...,alias="optionType", description="Type of optionality that is present e.g. call, put. Supported string (enumeration) values are: [Call, Put].")
37
+ option_type: StrictStr = Field(...,alias="optionType", description="Type of optionality that is present e.g. call, put. Supported string (enumeration) values are: [Call, Put].")
38
38
  start_date: Optional[datetime] = Field(None, alias="startDate", description="The start date of the option.")
39
39
  strike_currency: StrictStr = Field(...,alias="strikeCurrency", description="The strike currency of the equity option.")
40
40
  strike_per_unit: Union[StrictFloat, StrictInt] = Field(..., alias="strikePerUnit", description="The strike of the equity option times the number of shares to exchange if exercised.")
@@ -26,7 +26,7 @@ class OptionExerciseElection(BaseModel):
26
26
  Option exercise 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. May only be true for one election if multiple are provided.")
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
 
@@ -31,12 +31,12 @@ class OptionExercisePhysicalEvent(InstrumentEvent):
31
31
  """
32
32
  exercise_date: Optional[datetime] = Field(None, alias="exerciseDate", description="The exercise date of the option.")
33
33
  delivery_date: Optional[datetime] = Field(None, alias="deliveryDate", description="The delivery date of the option.")
34
- exercise_type: StrictStr = Field(...,alias="exerciseType", description="The optionality type of the underlying option e.g. American, European. Supported string (enumeration) values are: [European, Bermudan, American].")
34
+ exercise_type: StrictStr = Field(...,alias="exerciseType", description="The optionality type of the underlying option e.g. American, European. Supported string (enumeration) values are: [European, Bermudan, American].")
35
35
  maturity_date: Optional[datetime] = Field(None, alias="maturityDate", description="The maturity date of the option.")
36
- moneyness: Optional[StrictStr] = Field(None,alias="moneyness", description="The moneyness of the option e.g. InTheMoney, OutOfTheMoney. Supported string (enumeration) values are: [InTheMoney, OutOfTheMoney, AtTheMoney].")
36
+ moneyness: Optional[StrictStr] = Field(None,alias="moneyness", description="The moneyness of the option e.g. InTheMoney, OutOfTheMoney. Supported string (enumeration) values are: [InTheMoney, OutOfTheMoney, AtTheMoney].")
37
37
  new_instrument: NewInstrument = Field(..., alias="newInstrument")
38
38
  option_exercise_elections: Optional[conlist(OptionExerciseElection)] = Field(None, alias="optionExerciseElections", description="Option exercise election for this OptionExercisePhysicalEvent.")
39
- option_type: StrictStr = Field(...,alias="optionType", description="Type of optionality that is present e.g. call, put. Supported string (enumeration) values are: [Call, Put].")
39
+ option_type: StrictStr = Field(...,alias="optionType", description="Type of optionality that is present e.g. call, put. Supported string (enumeration) values are: [Call, Put].")
40
40
  start_date: Optional[datetime] = Field(None, alias="startDate", description="The trade date of the option.")
41
41
  strike_currency: StrictStr = Field(...,alias="strikeCurrency", description="The strike currency of the equity option.")
42
42
  strike_per_unit: Union[StrictFloat, StrictInt] = Field(..., alias="strikePerUnit", description="The strike of the equity option times the number of shares to exchange if exercised.")
@@ -27,9 +27,9 @@ class OptionalitySchedule(Schedule):
27
27
  """
28
28
  Optionality Schedule represents a class for creation of schedules for optionality (call, put) # noqa: E501
29
29
  """
30
- exercise_type: Optional[StrictStr] = Field(None,alias="exerciseType", description="The exercise type of the optionality schedule (American or European). For American type, the bond is perpetually callable from a given exercise date until it matures, or the next date in the schedule. For European type, the bond is only callable on a given exercise date. Supported string (enumeration) values are: [European, American].")
30
+ exercise_type: Optional[StrictStr] = Field(None,alias="exerciseType", description="The exercise type of the optionality schedule (American or European). For American type, the bond is perpetually callable from a given exercise date until it matures, or the next date in the schedule. For European type, the bond is only callable on a given exercise date. Supported string (enumeration) values are: [European, American].")
31
31
  option_entries: Optional[conlist(OptionEntry)] = Field(None, alias="optionEntries", description="The dates at which the bond call/put may be actioned, and associated strikes.")
32
- option_type: Optional[StrictStr] = Field(None,alias="optionType", description="Type of optionality for the schedule. Supported string (enumeration) values are: [Call, Put].")
32
+ option_type: Optional[StrictStr] = Field(None,alias="optionType", description="Type of optionality for the schedule. Supported string (enumeration) values are: [Call, Put].")
33
33
  schedule_type: StrictStr = Field(...,alias="scheduleType", description="The available values are: FixedSchedule, FloatSchedule, OptionalitySchedule, StepSchedule, Exercise, FxRateSchedule, FxLinkedNotionalSchedule, BondConversionSchedule, Invalid")
34
34
  additional_properties: Dict[str, Any] = {}
35
35
  __properties = ["scheduleType", "exerciseType", "optionEntries", "optionType"]
@@ -25,7 +25,7 @@ class OrderFlowConfiguration(BaseModel):
25
25
  """
26
26
  OrderFlowConfiguration
27
27
  """
28
- include_entity_types: StrictStr = Field(...,alias="includeEntityTypes", description="Controls whether Orders and Allocations orders are included in the Portfolio valuation. Valid values are None (to account for Transactions only), Allocations (to include Allocations and Transactions) and OrdersAndAllocations (to include Orders, Allocations and Transactions).")
28
+ include_entity_types: StrictStr = Field(...,alias="includeEntityTypes", description="Controls whether Orders and Allocations orders are included in the Portfolio valuation. Valid values are None (to account for Transactions only), Allocations (to include Allocations and Transactions) and OrdersAndAllocations (to include Orders, Allocations and Transactions).")
29
29
  __properties = ["includeEntityTypes"]
30
30
 
31
31
  class Config:
@@ -24,10 +24,10 @@ from lusid.models.new_instrument import NewInstrument
24
24
 
25
25
  class PartialClosureConstituent(BaseModel):
26
26
  """
27
- A single constituent of a partial closure event for a Flexible Repo. Contains details of the collateral being exchanged in the Instrument field, represented as a NewInstrument object, as well as the amount being exchanged and the type of that amount (Units or Percentage of current units). # noqa: E501
27
+ A single constituent of a partial closure event for a Flexible Repo. Contains details of the collateral being exchanged in the Instrument field, represented as a NewInstrument object, as well as the amount being exchanged and the type of that amount (Units or Percentage of current units). # noqa: E501
28
28
  """
29
- amount: Union[StrictFloat, StrictInt] = Field(..., description="If AmountType is set to Units, this field represents the number of units of the instrument being exchanged. If AmountType is set to Percentage, this field represents the percentage of the total repoed units of the instrument being exchanged. When defining a FlexibleRepoPartialClosureEvent the AmountType can be set to either Units or Percentage, where Units represents the number of units of the instrument being exchanged, and Percentage represents the percentage of the total repoed units of the instrument being exchanged in the context of the FlexibleRepo.")
30
- amount_type: StrictStr = Field(...,alias="amountType", description="The type of amount represented by the Amount field. I.e., does it represent a number of units or a percentage of the total repoed units of the instrument? When defining a FlexibleRepoPartialClosureEvent AmountType can be set to either Units or Percentage. Supported string (enumeration) values are: [Percentage, Units].")
29
+ amount: Union[StrictFloat, StrictInt] = Field(..., description="If AmountType is set to Units, this field represents the number of units of the instrument being exchanged. If AmountType is set to Percentage, this field represents the percentage of the total repoed units of the instrument being exchanged. When defining a FlexibleRepoPartialClosureEvent the AmountType can be set to either Units or Percentage, where Units represents the number of units of the instrument being exchanged, and Percentage represents the percentage of the total repoed units of the instrument being exchanged in the context of the FlexibleRepo.")
30
+ amount_type: StrictStr = Field(...,alias="amountType", description="The type of amount represented by the Amount field. I.e., does it represent a number of units or a percentage of the total repoed units of the instrument? When defining a FlexibleRepoPartialClosureEvent AmountType can be set to either Units or Percentage. Supported string (enumeration) values are: [Percentage, Units].")
31
31
  instrument: NewInstrument = Field(...)
32
32
  __properties = ["amount", "amountType", "instrument"]
33
33
 
@@ -29,7 +29,7 @@ class PortfolioResultDataKeyRule(ResultKeyRule):
29
29
  supplier: StrictStr = Field(...,alias="supplier", description="the result resource supplier (where the data comes from)")
30
30
  data_scope: StrictStr = Field(...,alias="dataScope", description="which is the scope in which the data should be found")
31
31
  document_code: StrictStr = Field(...,alias="documentCode", description="document code that defines which document is desired")
32
- quote_interval: Optional[StrictStr] = Field(None,alias="quoteInterval", description="Shorthand for the time interval used to select result data. This must be a dot-separated string specifying a start and end date, for example '5D.0D' to look back 5 days from today (0 days ago).")
32
+ quote_interval: Optional[StrictStr] = Field(None,alias="quoteInterval", description="Shorthand for the time interval used to select result data. This must be a dot-separated string specifying a start and end date, for example '5D.0D' to look back 5 days from today (0 days ago).")
33
33
  as_at: Optional[datetime] = Field(None, alias="asAt", description="The AsAt predicate specification.")
34
34
  portfolio_code: Optional[StrictStr] = Field(None,alias="portfolioCode")
35
35
  portfolio_scope: Optional[StrictStr] = Field(None,alias="portfolioScope")
@@ -25,7 +25,7 @@ class PreTradeConfiguration(BaseModel):
25
25
  """
26
26
  Specification object for the pre trade configuration parameters of a compliance run # noqa: E501
27
27
  """
28
- include_entity_types: StrictStr = Field(...,alias="includeEntityTypes", description="Controls whether Orders and Allocations orders are included in the Portfolio valuation done for this compliance run. Valid values are: None (to account for Transactions only), Allocations (to include Allocations and Transactions) and OrdersAndAllocations (to include Orders, Allocations and Transactions).")
28
+ include_entity_types: StrictStr = Field(...,alias="includeEntityTypes", description="Controls whether Orders and Allocations orders are included in the Portfolio valuation done for this compliance run. Valid values are: None (to account for Transactions only), Allocations (to include Allocations and Transactions) and OrdersAndAllocations (to include Orders, Allocations and Transactions).")
29
29
  __properties = ["includeEntityTypes"]
30
30
 
31
31
  class Config:
@@ -28,12 +28,12 @@ from lusid.models.vendor_model_rule import VendorModelRule
28
28
 
29
29
  class PricingContext(BaseModel):
30
30
  """
31
- Pricing context node. In order to price an instrument a number of configuration parameters are required to determine which (a) pricing model (ranging from a simple lookup of a market quote/price through to a Monte-Carlo simulation for the behaviour of its cashflows) (b) vendor library (Lusid internal models or those provided through an external Vendor such as Refinitiv (proprietary) or QuantLib (open source) are used in the pricing. In conjunction with these there are a number of parameters that govern the behaviour of these models. For example, in pricing an Fx volatility dependent product such as an Fx option, there are various parameters that affect model behaviour for the smile. In Lusid a distinction is made between those which are understood natively and those which are only held for use with a given vendor-model combination. The problem is that, unlike market quote data, there are few standards around model descriptions. Hence, apparently similar terminology can be mis-leading; for example in SABR models where the basic parameters are agreed upon but most practical models have used an approximation with adjustments where the parameters can have wildly different meanings. To avoid confusion or mis-behaviour in this area, where parameters are not understood to be interchangeable, they are only settable on a per-library per-model basis, essentially as opaque data that will be given to the Vendor library \"verbatim\" but not used with any other. # noqa: E501
31
+ Pricing context node. In order to price an instrument a number of configuration parameters are required to determine which (a) pricing model (ranging from a simple lookup of a market quote/price through to a Monte-Carlo simulation for the behaviour of its cashflows) (b) vendor library (Lusid internal models or those provided through an external Vendor such as Refinitiv (proprietary) or QuantLib (open source) are used in the pricing. In conjunction with these there are a number of parameters that govern the behaviour of these models. For example, in pricing an Fx volatility dependent product such as an Fx option, there are various parameters that affect model behaviour for the smile. In Lusid a distinction is made between those which are understood natively and those which are only held for use with a given vendor-model combination. The problem is that, unlike market quote data, there are few standards around model descriptions. Hence, apparently similar terminology can be mis-leading; for example in SABR models where the basic parameters are agreed upon but most practical models have used an approximation with adjustments where the parameters can have wildly different meanings. To avoid confusion or mis-behaviour in this area, where parameters are not understood to be interchangeable, they are only settable on a per-library per-model basis, essentially as opaque data that will be given to the Vendor library \"verbatim\" but not used with any other. # noqa: E501
32
32
  """
33
- model_rules: Optional[conlist(VendorModelRule)] = Field(None, alias="modelRules", description="The set of model rules that are available. There may be multiple rules for Vendors, but only one per model-instrument pair. Which of these preference sets is used depends upon the model choice selection if specified, or failing that the global default model specification in the options.")
33
+ model_rules: Optional[conlist(VendorModelRule)] = Field(None, alias="modelRules", description="The set of model rules that are available. There may be multiple rules for Vendors, but only one per model-instrument pair. Which of these preference sets is used depends upon the model choice selection if specified, or failing that the global default model specification in the options.")
34
34
  model_choice: Optional[Dict[str, ModelSelection]] = Field(None, alias="modelChoice", description="The choice of which model selection (vendor library, pricing model) to use in evaluation of a given instrument type.")
35
35
  options: Optional[PricingOptions] = None
36
- result_data_rules: Optional[conlist(ResultKeyRule)] = Field(None, alias="resultDataRules", description="Set of rules that control querying of unit results either for direct queries into aggregation or for overriding intermediate calculations. For example, a dirty price is made up from a clean price and the accrued interest. One might consider overriding the accrued interest calculated by a model (perhaps one wants to match an external value or simply disagrees with the calculated result) and use that in calculation of the dirty price.")
36
+ result_data_rules: Optional[conlist(ResultKeyRule)] = Field(None, alias="resultDataRules", description="Set of rules that control querying of unit results either for direct queries into aggregation or for overriding intermediate calculations. For example, a dirty price is made up from a clean price and the accrued interest. One might consider overriding the accrued interest calculated by a model (perhaps one wants to match an external value or simply disagrees with the calculated result) and use that in calculation of the dirty price.")
37
37
  holding_pricing_info: Optional[HoldingPricingInfo] = Field(None, alias="holdingPricingInfo")
38
38
  accrual_definition: Optional[StrictStr] = Field(None,alias="accrualDefinition", description="Determines which method to use for the calculation of accrued interest. Defaults to SOD.")
39
39
  __properties = ["modelRules", "modelChoice", "options", "resultDataRules", "holdingPricingInfo", "accrualDefinition"]
@@ -28,20 +28,20 @@ class PricingOptions(BaseModel):
28
28
  Options for controlling the default aspects and behaviour of the pricing engine. # noqa: E501
29
29
  """
30
30
  model_selection: Optional[ModelSelection] = Field(None, alias="modelSelection")
31
- use_instrument_type_to_determine_pricer: Optional[StrictBool] = Field(None, alias="useInstrumentTypeToDeterminePricer", description="If true then use the instrument type to set the default instrument pricer This applies where no more specific set of overrides are provided on a per-vendor and instrument basis.")
32
- allow_any_instruments_with_sec_uid_to_price_off_lookup: Optional[StrictBool] = Field(None, alias="allowAnyInstrumentsWithSecUidToPriceOffLookup", description="By default, one would not expect to price and exotic instrument, i.e. an instrument with a complicated instrument definition simply through looking up a price as there should be a better way of evaluating it. To override that behaviour and allow lookup for a price from the instrument identifier(s), set this to true.")
33
- allow_partially_successful_evaluation: Optional[StrictBool] = Field(None, alias="allowPartiallySuccessfulEvaluation", description="If true then a failure in task evaluation doesn't cause overall failure. results will be returned where they succeeded and annotation elsewhere")
34
- produce_separate_result_for_linear_otc_legs: Optional[StrictBool] = Field(None, alias="produceSeparateResultForLinearOtcLegs", description="If true (default), when pricing an Fx-Forward or Interest Rate Swap, Future and other linearly separable products, product two results, one for each leg rather than a single line result with the amalgamated/summed pv from both legs.")
35
- enable_use_of_cached_unit_results: Optional[StrictBool] = Field(None, alias="enableUseOfCachedUnitResults", description="If true, when pricing using a model or for an instrument that supports use of intermediate cached-results, use them. Default is that this caching is turned off.")
31
+ use_instrument_type_to_determine_pricer: Optional[StrictBool] = Field(None, alias="useInstrumentTypeToDeterminePricer", description="If true then use the instrument type to set the default instrument pricer This applies where no more specific set of overrides are provided on a per-vendor and instrument basis.")
32
+ allow_any_instruments_with_sec_uid_to_price_off_lookup: Optional[StrictBool] = Field(None, alias="allowAnyInstrumentsWithSecUidToPriceOffLookup", description="By default, one would not expect to price and exotic instrument, i.e. an instrument with a complicated instrument definition simply through looking up a price as there should be a better way of evaluating it. To override that behaviour and allow lookup for a price from the instrument identifier(s), set this to true.")
33
+ allow_partially_successful_evaluation: Optional[StrictBool] = Field(None, alias="allowPartiallySuccessfulEvaluation", description="If true then a failure in task evaluation doesn't cause overall failure. results will be returned where they succeeded and annotation elsewhere")
34
+ produce_separate_result_for_linear_otc_legs: Optional[StrictBool] = Field(None, alias="produceSeparateResultForLinearOtcLegs", description="If true (default), when pricing an Fx-Forward or Interest Rate Swap, Future and other linearly separable products, product two results, one for each leg rather than a single line result with the amalgamated/summed pv from both legs.")
35
+ enable_use_of_cached_unit_results: Optional[StrictBool] = Field(None, alias="enableUseOfCachedUnitResults", description="If true, when pricing using a model or for an instrument that supports use of intermediate cached-results, use them. Default is that this caching is turned off.")
36
36
  window_valuation_on_instrument_start_end: Optional[StrictBool] = Field(None, alias="windowValuationOnInstrumentStartEnd", description="If true, when valuing an instrument outside the period where it is 'alive' (the start-maturity window) it will return a valuation of zero")
37
- remove_contingent_cashflows_in_payment_diary: Optional[StrictBool] = Field(None, alias="removeContingentCashflowsInPaymentDiary", description="When creating a payment diary, should contingent cash payments (e.g. from exercise of a swaption into a swap) be included or not. i.e. Is exercise or default being assumed to happen or not.")
37
+ remove_contingent_cashflows_in_payment_diary: Optional[StrictBool] = Field(None, alias="removeContingentCashflowsInPaymentDiary", description="When creating a payment diary, should contingent cash payments (e.g. from exercise of a swaption into a swap) be included or not. i.e. Is exercise or default being assumed to happen or not.")
38
38
  use_child_sub_holding_keys_for_portfolio_expansion: Optional[StrictBool] = Field(None, alias="useChildSubHoldingKeysForPortfolioExpansion", description="Should fund constituents inherit subholding keys from the parent subholding keyb")
39
39
  validate_domestic_and_quote_currencies_are_consistent: Optional[StrictBool] = Field(None, alias="validateDomesticAndQuoteCurrenciesAreConsistent", description="Do we validate that the instrument domestic currency matches the quote currency (unless unknown/zzz) when using lookup pricing.")
40
40
  mbs_valuation_using_holding_current_face: Optional[StrictBool] = Field(None, alias="mbsValuationUsingHoldingCurrentFace")
41
- convert_srs_cash_flows_to_portfolio_currency: Optional[StrictBool] = Field(None, alias="convertSrsCashFlowsToPortfolioCurrency", description="In the case upserted structured result store (SRS) cashflows are not in the portfolio currency, set this parameter to True to convert said cashflows into the portfolio currency. By default, this flag is set to False and Lusid will not do any FX conversion. Please note that FX conversion is dependent on the data available in the quote store - ensure that all relevant FX quotes have been loaded for cashflow currency conversion.")
42
- conserved_quantity_for_lookthrough_expansion: Optional[StrictStr] = Field(None,alias="conservedQuantityForLookthroughExpansion", description="When performing lookthrough portfolio expansion with ScalingMethodology set to \"Sum\" or \"AbsoluteSum\", the quantity specified here will be conserved and apportioned to lookthrough constituents. For example, an equal-weighting index with 100 constituents can be modelled as a reference portfolio with 1% weights on each equity. When expanding a $9000 holding of that index into its constituents while conserving PV, we end up with $90 of each equity. The number of units of each equity held is then implied. Note that conservation of one quantity may imply non-conservation of others, especially when some constituents are OTCs. Allowed values are: \"PV\" (default), \"Exposure\".")
41
+ convert_srs_cash_flows_to_portfolio_currency: Optional[StrictBool] = Field(None, alias="convertSrsCashFlowsToPortfolioCurrency", description="In the case upserted structured result store (SRS) cashflows are not in the portfolio currency, set this parameter to True to convert said cashflows into the portfolio currency. By default, this flag is set to False and Lusid will not do any FX conversion. Please note that FX conversion is dependent on the data available in the quote store - ensure that all relevant FX quotes have been loaded for cashflow currency conversion.")
42
+ conserved_quantity_for_lookthrough_expansion: Optional[StrictStr] = Field(None,alias="conservedQuantityForLookthroughExpansion", description="When performing lookthrough portfolio expansion with ScalingMethodology set to \"Sum\" or \"AbsoluteSum\", the quantity specified here will be conserved and apportioned to lookthrough constituents. For example, an equal-weighting index with 100 constituents can be modelled as a reference portfolio with 1% weights on each equity. When expanding a $9000 holding of that index into its constituents while conserving PV, we end up with $90 of each equity. The number of units of each equity held is then implied. Note that conservation of one quantity may imply non-conservation of others, especially when some constituents are OTCs. Allowed values are: \"PV\" (default), \"Exposure\".")
43
43
  return_zero_pv: Optional[ReturnZeroPvOptions] = Field(None, alias="returnZeroPv")
44
- enable_leg_level_inference_for_custom_srs_columns: Optional[StrictBool] = Field(None, alias="enableLegLevelInferenceForCustomSrsColumns", description="When enabled, allows inference between leg-level and instrument-level data during portfolio valuation. If data is missing at one level, it may be inferred from the other level. For example, missing leg-level data may be inferred from existing leg-level and instrument- level data when ProduceSeparateResultForLinearOtcLegs is enabled, and vice versa. Explicitly provided data always takes precedence.")
44
+ enable_leg_level_inference_for_custom_srs_columns: Optional[StrictBool] = Field(None, alias="enableLegLevelInferenceForCustomSrsColumns", description="When enabled, allows inference between leg-level and instrument-level data during portfolio valuation. If data is missing at one level, it may be inferred from the other level. For example, missing leg-level data may be inferred from existing leg-level and instrument- level data when ProduceSeparateResultForLinearOtcLegs is enabled, and vice versa. Explicitly provided data always takes precedence.")
45
45
  __properties = ["modelSelection", "useInstrumentTypeToDeterminePricer", "allowAnyInstrumentsWithSecUidToPriceOffLookup", "allowPartiallySuccessfulEvaluation", "produceSeparateResultForLinearOtcLegs", "enableUseOfCachedUnitResults", "windowValuationOnInstrumentStartEnd", "removeContingentCashflowsInPaymentDiary", "useChildSubHoldingKeysForPortfolioExpansion", "validateDomesticAndQuoteCurrenciesAreConsistent", "mbsValuationUsingHoldingCurrentFace", "convertSrsCashFlowsToPortfolioCurrency", "conservedQuantityForLookthroughExpansion", "returnZeroPv", "enableLegLevelInferenceForCustomSrsColumns"]
46
46
 
47
47
  class Config:
@@ -23,7 +23,7 @@ from aenum import Enum, no_arg
23
23
 
24
24
  class PropertyDomain(str, Enum):
25
25
  """
26
- See https://wiki.finbourne.com/information/domain-model-properties Each domain refers to a logical set of properties which reside within it.
26
+ See https://wiki.finbourne.com/information/domain-model-properties Each domain refers to a logical set of properties which reside within it.
27
27
  """
28
28
 
29
29
  """
@@ -23,7 +23,7 @@ from pydantic.v1 import StrictStr, Field, BaseModel, Field, StrictFloat, StrictI
23
23
 
24
24
  class PropertyReferenceDataValue(BaseModel):
25
25
  """
26
- The ReferenceData relevant to the property. The ReferenceData is taken from the DataType on the PropertyDefinition that defines the Property. Only ReferenceData where the ReferenceData value matches the Property value is included. # noqa: E501
26
+ The ReferenceData relevant to the property. The ReferenceData is taken from the DataType on the PropertyDefinition that defines the Property. Only ReferenceData where the ReferenceData value matches the Property value is included. # noqa: E501
27
27
  """
28
28
  string_value: Optional[StrictStr] = Field(None,alias="stringValue")
29
29
  numeric_value: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="numericValue")
@@ -24,7 +24,7 @@ from lusid.models.economic_dependency import EconomicDependency
24
24
 
25
25
  class QuoteDependency(EconomicDependency):
26
26
  """
27
- For indicating a dependency on the value of an asset at a point in time. If the time is omitted, then the dependency is interpreted as the latest value with respect to anything observing it. E.g. An EquitySwap will declare a dependency on the current price of the underlying equity. # noqa: E501
27
+ For indicating a dependency on the value of an asset at a point in time. If the time is omitted, then the dependency is interpreted as the latest value with respect to anything observing it. E.g. An EquitySwap will declare a dependency on the current price of the underlying equity. # noqa: E501
28
28
  """
29
29
  market_identifier: StrictStr = Field(...,alias="marketIdentifier", description="Type of the code identifying the asset, 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")
@@ -23,7 +23,7 @@ from pydantic.v1 import StrictStr, Field, BaseModel, Field, StrictStr, constr, v
23
23
 
24
24
  class QuoteSeriesId(BaseModel):
25
25
  """
26
- The time invariant unique identifier of the quote. Combined with the effective datetime of the quote this uniquely identifies the quote. This can be thought of as a unique identifier for a time series of quotes. # noqa: E501
26
+ The time invariant unique identifier of the quote. Combined with the effective datetime of the quote this uniquely identifies the quote. This can be thought of as a unique identifier for a time series of quotes. # noqa: E501
27
27
  """
28
28
  provider: StrictStr = Field(...,alias="provider", description="The platform or vendor that provided the quote. The available values are: Client, DataScope, Lusid, Edi, TraderMade, FactSet, SIX, Bloomberg, Rimes, ICE, LSEG")
29
29
  price_source: Optional[StrictStr] = Field(None,alias="priceSource", description="The source or originator of the quote, e.g. a bank or financial institution.")
@@ -25,7 +25,7 @@ from lusid.models.life_cycle_event_value import LifeCycleEventValue
25
25
 
26
26
  class RawVendorEvent(InstrumentEvent):
27
27
  """
28
- A generic event derived from the economic definition of an instrument. This should be considered purely informational; any data provided by this event is not guaranteed to be processable by LUSID. # noqa: E501
28
+ A generic event derived from the economic definition of an instrument. This should be considered purely informational; any data provided by this event is not guaranteed to be processable by LUSID. # noqa: E501
29
29
  """
30
30
  effective_at: datetime = Field(..., alias="effectiveAt", description="The effective date of the event")
31
31
  event_value: LifeCycleEventValue = Field(..., alias="eventValue")
@@ -24,7 +24,7 @@ from lusid.models.from_recipe import FromRecipe
24
24
 
25
25
  class RecipeValue(BaseModel):
26
26
  """
27
- Recipe value represents a data that is then used to perform an atomic operation which is then used in composition of Configuration Recipe. This object either includes the data itself (in json form or as simple string) or is a reference where the data can be obtained from (from a Configuration Recipe say). Only one field is to be populated. # noqa: E501
27
+ Recipe value represents a data that is then used to perform an atomic operation which is then used in composition of Configuration Recipe. This object either includes the data itself (in json form or as simple string) or is a reference where the data can be obtained from (from a Configuration Recipe say). Only one field is to be populated. # noqa: E501
28
28
  """
29
29
  as_json: Optional[StrictStr] = Field(None,alias="asJson", description="Field to allow providing a potentially complex json value.")
30
30
  as_string: Optional[StrictStr] = Field(None,alias="asString", description="For simple value, a single input value, note complex nested objects are not allowed here.")
@@ -28,7 +28,7 @@ class ReconcileDateTimeRule(ReconciliationRule):
28
28
  Comparison of date time values # noqa: E501
29
29
  """
30
30
  comparison_type: StrictStr = Field(...,alias="comparisonType", description="The available values are: Exact, AbsoluteDifference")
31
- tolerance: Optional[Union[StrictFloat, StrictInt]] = Field(None, description="For a numeric type only (i.e. decimal, integer, date or datetime offset possibly controversially), this is the quantity used in the comparison. The units of the tolerance must be set appropriately for the item being compared. For a number such as a currency or amount that will be a simple quantity, for a DateTime or DateTimeOffset it should be days. If fewer than a single day then this should be passed as a fraction.")
31
+ tolerance: Optional[Union[StrictFloat, StrictInt]] = Field(None, description="For a numeric type only (i.e. decimal, integer, date or datetime offset possibly controversially), this is the quantity used in the comparison. The units of the tolerance must be set appropriately for the item being compared. For a number such as a currency or amount that will be a simple quantity, for a DateTime or DateTimeOffset it should be days. If fewer than a single day then this should be passed as a fraction.")
32
32
  applies_to: AggregateSpec = Field(..., alias="appliesTo")
33
33
  rule_type: StrictStr = Field(...,alias="ruleType", description="The available values are: ReconcileNumericRule, ReconcileDateTimeRule, ReconcileStringRule, ReconcileExact")
34
34
  additional_properties: Dict[str, Any] = {}
@@ -28,7 +28,7 @@ class ReconcileNumericRule(ReconciliationRule):
28
28
  ReconcileNumericRule
29
29
  """
30
30
  comparison_type: StrictStr = Field(...,alias="comparisonType", description="The available values are: Exact, AbsoluteDifference, RelativeDifference")
31
- tolerance: Optional[Union[StrictFloat, StrictInt]] = Field(None, description="For a numeric type only (i.e. decimal, integer, date or datetime offset possibly controversially), this is the quantity used in the comparison. The units of the tolerance must be set appropriately for the item being compared. For a number such as a currency or amount that will be a simple quantity, for a DateTime or DateTimeOffset it should be days. If fewer than a single day then this should be passed as a fraction.")
31
+ tolerance: Optional[Union[StrictFloat, StrictInt]] = Field(None, description="For a numeric type only (i.e. decimal, integer, date or datetime offset possibly controversially), this is the quantity used in the comparison. The units of the tolerance must be set appropriately for the item being compared. For a number such as a currency or amount that will be a simple quantity, for a DateTime or DateTimeOffset it should be days. If fewer than a single day then this should be passed as a fraction.")
32
32
  applies_to: AggregateSpec = Field(..., alias="appliesTo")
33
33
  rule_type: StrictStr = Field(...,alias="ruleType", description="The available values are: ReconcileNumericRule, ReconcileDateTimeRule, ReconcileStringRule, ReconcileExact")
34
34
  additional_properties: Dict[str, Any] = {}
@@ -28,7 +28,7 @@ class ReconcileStringRule(ReconciliationRule):
28
28
  Comparison of string values # noqa: E501
29
29
  """
30
30
  comparison_type: StrictStr = Field(...,alias="comparisonType", description="The available values are: Exact, Contains, CaseInsensitive, ContainsAnyCase, IsOneOf, IsOneOfCaseInsensitive")
31
- one_of_candidates: Optional[Dict[str, conlist(StrictStr)]] = Field(None, alias="oneOfCandidates", description="For cases of \"IsOneOf\" or \"IsOneOfCaseInsensitive\", a mapping from the left hand to side to lists of equivalent alternative values on the right hand side. Fuzzy matching of strings against one of a set. There can be cases where systems \"A\" and \"B\" might use different terms for the same logical entity. A common case would be comparison of something like a day count fraction where some convention like the \"actual 365\" convention might be represented as one of [\"A365\", \"Act365\", \"Actual365\"] or similar. This is to allow this kind of fuzzy matching of values. Note that as this is exhaustive comparison across sets it will be slow and should therefore be used sparingly.")
31
+ one_of_candidates: Optional[Dict[str, conlist(StrictStr)]] = Field(None, alias="oneOfCandidates", description="For cases of \"IsOneOf\" or \"IsOneOfCaseInsensitive\", a mapping from the left hand to side to lists of equivalent alternative values on the right hand side. Fuzzy matching of strings against one of a set. There can be cases where systems \"A\" and \"B\" might use different terms for the same logical entity. A common case would be comparison of something like a day count fraction where some convention like the \"actual 365\" convention might be represented as one of [\"A365\", \"Act365\", \"Actual365\"] or similar. This is to allow this kind of fuzzy matching of values. Note that as this is exhaustive comparison across sets it will be slow and should therefore be used sparingly.")
32
32
  applies_to: AggregateSpec = Field(..., alias="appliesTo")
33
33
  rule_type: StrictStr = Field(...,alias="ruleType", description="The available values are: ReconcileNumericRule, ReconcileDateTimeRule, ReconcileStringRule, ReconcileExact")
34
34
  additional_properties: Dict[str, Any] = {}
@@ -24,12 +24,12 @@ from lusid.models.transaction import Transaction
24
24
 
25
25
  class ReconciledTransaction(BaseModel):
26
26
  """
27
- Information about reconciled transactions. At least one of Finbourne.WebApi.Interface.Dto.Reconciliation.ReconciledTransaction.Left and Finbourne.WebApi.Interface.Dto.Reconciliation.ReconciledTransaction.Right will be populated. # noqa: E501
27
+ Information about reconciled transactions. At least one of Finbourne.WebApi.Interface.Dto.Reconciliation.ReconciledTransaction.Left and Finbourne.WebApi.Interface.Dto.Reconciliation.ReconciledTransaction.Right will be populated. # noqa: E501
28
28
  """
29
29
  left: Optional[Transaction] = None
30
30
  right: Optional[Transaction] = None
31
31
  percentage_match: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="percentageMatch", description="How good a match this is considered to be.")
32
- mapping_rule_set_results: Optional[conlist(StrictBool)] = Field(None, alias="mappingRuleSetResults", description="The result of each individual mapping rule result. Will only be present if both Finbourne.WebApi.Interface.Dto.Reconciliation.ReconciledTransaction.Left and Finbourne.WebApi.Interface.Dto.Reconciliation.ReconciledTransaction.Right are populated.")
32
+ mapping_rule_set_results: Optional[conlist(StrictBool)] = Field(None, alias="mappingRuleSetResults", description="The result of each individual mapping rule result. Will only be present if both Finbourne.WebApi.Interface.Dto.Reconciliation.ReconciledTransaction.Left and Finbourne.WebApi.Interface.Dto.Reconciliation.ReconciledTransaction.Right are populated.")
33
33
  __properties = ["left", "right", "percentageMatch", "mappingRuleSetResults"]
34
34
 
35
35
  class Config:
@@ -23,7 +23,7 @@ from pydantic.v1 import StrictStr, Field, BaseModel, Field
23
23
 
24
24
  class ReconciliationLine(BaseModel):
25
25
  """
26
- In evaluating a left and right hand side holding or valuation set, two data records result. These are then compared based on a set of rules. This results in either a match or failure to match. If there is a match both left and right will be present, otherwise one will not. A difference will be present if a match was calculated. The options used in comparison may result in elision of results where an exact or tolerable match is made. # noqa: E501
26
+ In evaluating a left and right hand side holding or valuation set, two data records result. These are then compared based on a set of rules. This results in either a match or failure to match. If there is a match both left and right will be present, otherwise one will not. A difference will be present if a match was calculated. The options used in comparison may result in elision of results where an exact or tolerable match is made. # noqa: E501
27
27
  """
28
28
  left: Optional[Dict[str, Any]] = Field(None, description="Left hand side of the comparison")
29
29
  right: Optional[Dict[str, Any]] = Field(None, description="Right hand side of the comparison")
@@ -26,13 +26,13 @@ from lusid.models.valuation_request import ValuationRequest
26
26
 
27
27
  class ReconciliationRequest(BaseModel):
28
28
  """
29
- Specification for the reconciliation request. Left and Right hand sides are constructed. Each consists of a valuation of a portfolio using an 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 portfolio. For instance, one might look at the difference in risk caused by the addition of transaction to a portfolio, or through changing the valuation methodology or system. # noqa: E501
29
+ Specification for the reconciliation request. Left and Right hand sides are constructed. Each consists of a valuation of a portfolio using an 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 portfolio. For instance, one might look at the difference in risk caused by the addition of transaction to a portfolio, or through changing the valuation methodology or system. # noqa: E501
30
30
  """
31
31
  left: ValuationRequest = Field(...)
32
32
  right: ValuationRequest = Field(...)
33
33
  left_to_right_mapping: Optional[conlist(ReconciliationLeftRightAddressKeyPair)] = Field(None, alias="leftToRightMapping", description="The mapping from property keys requested by left aggregation to property keys on right hand side")
34
- comparison_rules: Optional[conlist(ReconciliationRule)] = Field(None, alias="comparisonRules", description="The set of rules to be used in comparing values. These are the rules that determine what constitutes a match. The simplest is obviously an exact one-for-one comparison, but tolerances on numerical or date time values and case-insensitive string comparison are supported amongst other types.")
35
- preserve_keys: Optional[conlist(StrictStr)] = Field(None, alias="preserveKeys", description="List of keys to preserve (from rhs) in the diff. Used in conjunction with filtering/grouping. If two values are equal, for a given key then the value is elided from the results. Setting it here will preserve it (takes the values from the RHS and puts it into the line by line results).")
34
+ comparison_rules: Optional[conlist(ReconciliationRule)] = Field(None, alias="comparisonRules", description="The set of rules to be used in comparing values. These are the rules that determine what constitutes a match. The simplest is obviously an exact one-for-one comparison, but tolerances on numerical or date time values and case-insensitive string comparison are supported amongst other types.")
35
+ preserve_keys: Optional[conlist(StrictStr)] = Field(None, alias="preserveKeys", description="List of keys to preserve (from rhs) in the diff. Used in conjunction with filtering/grouping. If two values are equal, for a given key then the value is elided from the results. Setting it here will preserve it (takes the values from the RHS and puts it into the line by line results).")
36
36
  __properties = ["left", "right", "leftToRightMapping", "comparisonRules", "preserveKeys"]
37
37
 
38
38
  class Config:
@@ -24,7 +24,7 @@ import lusid.models
24
24
 
25
25
  class ReconciliationRule(BaseModel):
26
26
  """
27
- Base class for representing reconciliation rules in LUSID. Reconciliation rules describe how a comparison between two items in the reconciliation should be performed and what constitutes equality. This does not influence WHAT constitutes a match, but only whether once a line has been matched whether an item within it matches another item. If a rule is not given for an item, it will default to equality comparison. This base class should not be directly instantiated; each supported ReconciliationRuleType has a corresponding inherited class. # noqa: E501
27
+ Base class for representing reconciliation rules in LUSID. Reconciliation rules describe how a comparison between two items in the reconciliation should be performed and what constitutes equality. This does not influence WHAT constitutes a match, but only whether once a line has been matched whether an item within it matches another item. If a rule is not given for an item, it will default to equality comparison. This base class should not be directly instantiated; each supported ReconciliationRuleType has a corresponding inherited class. # noqa: E501
28
28
  """
29
29
  rule_type: StrictStr = Field(...,alias="ruleType", description="The available values are: ReconcileNumericRule, ReconcileDateTimeRule, ReconcileStringRule, ReconcileExact")
30
30
  __properties = ["ruleType"]
@@ -26,8 +26,8 @@ class RelativeDateOffset(BaseModel):
26
26
  Defines a date offset which is relative to some anchor date. # noqa: E501
27
27
  """
28
28
  days: StrictInt = Field(..., description="The number of days to add to the anchor date.")
29
- business_day_convention: StrictStr = Field(...,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].")
30
- day_type: Optional[StrictStr] = Field(None,alias="dayType", description="Indicates if consideration is given to whether a day is a good business day or not when calculating the offset date. Supported string (enumeration) values are: [Business, Calendar].")
29
+ business_day_convention: StrictStr = Field(...,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].")
30
+ day_type: Optional[StrictStr] = Field(None,alias="dayType", description="Indicates if consideration is given to whether a day is a good business day or not when calculating the offset date. Supported string (enumeration) values are: [Business, Calendar].")
31
31
  __properties = ["days", "businessDayConvention", "dayType"]
32
32
 
33
33
  class Config:
lusid/models/repo.py CHANGED
@@ -28,16 +28,16 @@ class Repo(LusidInstrument):
28
28
  LUSID representation of a sale and repurchase agreement, supporting haircut, margin or repo rate methods. # noqa: E501
29
29
  """
30
30
  start_date: datetime = Field(..., alias="startDate", description="The start date of the instrument. This is normally synonymous with the trade-date.")
31
- 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.")
31
+ 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.")
32
32
  dom_ccy: StrictStr = Field(...,alias="domCcy", description="The domestic currency of the instrument.")
33
- accrual_basis: StrictStr = Field(...,alias="accrualBasis", description="For calculation of interest, the accrual basis to be used. For more information on day counts, see [knowledge base article KA-01798](https://support.lusid.com/knowledgebase/article/KA-01798) Supported string (enumeration) values are: [Actual360, Act360, MoneyMarket, Actual365, Act365, Thirty360, ThirtyU360, Bond, ThirtyE360, EuroBond, ActualActual, ActAct, ActActIsda, ActActIsma, ActActIcma, OneOne, Act364, Act365F, Act365L, Act365_25, Act252, Bus252, NL360, NL365, ActActAFB, Act365Cad, ThirtyActIsda, Thirty365Isda, ThirtyEActIsda, ThirtyE360Isda, ThirtyE365Isda, ThirtyU360EOM].")
34
- collateral: Optional[conlist(LusidInstrument)] = Field(None, description="The actual collateral in the Repo. This property is for informational purposes only, Lusid pricing is not affected.")
33
+ accrual_basis: StrictStr = Field(...,alias="accrualBasis", description="For calculation of interest, the accrual basis to be used. For more information on day counts, see [knowledge base article KA-01798](https://support.lusid.com/knowledgebase/article/KA-01798) Supported string (enumeration) values are: [Actual360, Act360, MoneyMarket, Actual365, Act365, Thirty360, ThirtyU360, Bond, ThirtyE360, EuroBond, ActualActual, ActAct, ActActIsda, ActActIsma, ActActIcma, OneOne, Act364, Act365F, Act365L, Act365_25, Act252, Bus252, NL360, NL365, ActActAFB, Act365Cad, ThirtyActIsda, Thirty365Isda, ThirtyEActIsda, ThirtyE360Isda, ThirtyE365Isda, ThirtyU360EOM].")
34
+ collateral: Optional[conlist(LusidInstrument)] = Field(None, description="The actual collateral in the Repo. This property is for informational purposes only, Lusid pricing is not affected.")
35
35
  collateral_value: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="collateralValue", description="The full market value of the collateral in domestic currency, before any margin or haircut is applied.")
36
- haircut: Optional[Union[StrictFloat, StrictInt]] = Field(None, description="The haircut (or margin percentage) applied to the collateral, this should be a number between 0 and 1, i.e. for a 5% haircut this should be 0.05. This is defined as (CollateralValue - PurchasePrice) / CollateralValue. If this property is specified, so too must CollateralValue. While this property is optional, one, and only one, of PurchasePrice, Margin and Haircut must be specified.")
37
- margin: Optional[Union[StrictFloat, StrictInt]] = Field(None, description="The initial margin (or margin ratio) applied to the collateral, this should be a number greater than or equal to 1.0, i.e. for a 102% margin this should be 1.02. A value of 1.0 means no margin (100%). This is defined as CollateralValue / PurchasePrice. If this property is specified, so too must CollateralValue. While this property is optional, one, and only one, of PurchasePrice, Margin and Haircut must be specified.")
38
- purchase_price: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="purchasePrice", description="The price the collateral is initially purchased for, this property can be used to explicitly set the purchase price and not require collateral value and a margin or haircut. While this property is optional, one, and only one, of PurchasePrice, Margin and Haircut must be specified.")
39
- repo_rate: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="repoRate", description="The rate at which interest is to be accrue and be paid upon redemption of the collateral at maturity. This field is used to calculate the Repurchase price. While this property is optional, one, and only one, of the RepoRate and RepurchasePrice must be specified.")
40
- repurchase_price: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="repurchasePrice", description="The price at which the collateral is repurchased, this field is optional and can be explicitly set here or will be calculated from the PurchasePrice and RepoRate. One, and only one, of the RepoRate and RepurchasePrice must be specified.")
36
+ haircut: Optional[Union[StrictFloat, StrictInt]] = Field(None, description="The haircut (or margin percentage) applied to the collateral, this should be a number between 0 and 1, i.e. for a 5% haircut this should be 0.05. This is defined as (CollateralValue - PurchasePrice) / CollateralValue. If this property is specified, so too must CollateralValue. While this property is optional, one, and only one, of PurchasePrice, Margin and Haircut must be specified.")
37
+ margin: Optional[Union[StrictFloat, StrictInt]] = Field(None, description="The initial margin (or margin ratio) applied to the collateral, this should be a number greater than or equal to 1.0, i.e. for a 102% margin this should be 1.02. A value of 1.0 means no margin (100%). This is defined as CollateralValue / PurchasePrice. If this property is specified, so too must CollateralValue. While this property is optional, one, and only one, of PurchasePrice, Margin and Haircut must be specified.")
38
+ purchase_price: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="purchasePrice", description="The price the collateral is initially purchased for, this property can be used to explicitly set the purchase price and not require collateral value and a margin or haircut. While this property is optional, one, and only one, of PurchasePrice, Margin and Haircut must be specified.")
39
+ repo_rate: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="repoRate", description="The rate at which interest is to be accrue and be paid upon redemption of the collateral at maturity. This field is used to calculate the Repurchase price. While this property is optional, one, and only one, of the RepoRate and RepurchasePrice must be specified.")
40
+ repurchase_price: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="repurchasePrice", description="The price at which the collateral is repurchased, this field is optional and can be explicitly set here or will be calculated from the PurchasePrice and RepoRate. One, and only one, of the RepoRate and RepurchasePrice must be specified.")
41
41
  time_zone_conventions: Optional[TimeZoneConventions] = Field(None, alias="timeZoneConventions")
42
42
  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")
43
43
  additional_properties: Dict[str, Any] = {}
@@ -24,11 +24,11 @@ from lusid.models.instrument_event import InstrumentEvent
24
24
 
25
25
  class RepoCashFlowEvent(InstrumentEvent):
26
26
  """
27
- Event representing a repurchase agreement cashflow. For example, cashflow for a partial closure of the repurchase agreement. # noqa: E501
27
+ Event representing a repurchase agreement cashflow. For example, cashflow for a partial closure of the repurchase agreement. # noqa: E501
28
28
  """
29
- entitlement_date: Optional[datetime] = Field(None, alias="entitlementDate", description="The date on which the counterparties become entitled to exchange cash as part of a partial closure of the repurchase agreement. The date must be before or on the settlement date, and on or before the maturity date of the repo. This is a required field.")
30
- settlement_date: Optional[datetime] = Field(None, alias="settlementDate", description="The date on which the exchange of cash is settled. The date must be on or after the entitlement date, and on or before the maturity date of the repo. This is a required field.")
31
- cash_flow_per_unit: Union[StrictFloat, StrictInt] = Field(..., alias="cashFlowPerUnit", description="The amount of cash to be exchanged for each unit of the instrument held on the entitlement date.")
29
+ entitlement_date: Optional[datetime] = Field(None, alias="entitlementDate", description="The date on which the counterparties become entitled to exchange cash as part of a partial closure of the repurchase agreement. The date must be before or on the settlement date, and on or before the maturity date of the repo. This is a required field.")
30
+ settlement_date: Optional[datetime] = Field(None, alias="settlementDate", description="The date on which the exchange of cash is settled. The date must be on or after the entitlement date, and on or before the maturity date of the repo. This is a required field.")
31
+ cash_flow_per_unit: Union[StrictFloat, StrictInt] = Field(..., alias="cashFlowPerUnit", description="The amount of cash to be exchanged for each unit of the instrument held on the entitlement date.")
32
32
  currency: StrictStr = Field(...,alias="currency", description="The currency in which the cashflow is paid.")
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] = {}
@@ -24,12 +24,12 @@ from lusid.models.instrument_event import InstrumentEvent
24
24
 
25
25
  class RepoPartialClosureEvent(InstrumentEvent):
26
26
  """
27
- Event representing the partial closure of a repurchase agreement. Each event reduces the outstanding notional and generates a corresponding receive-leg cashflow. The final maturity cashflow is adjusted accordingly. If multiple events are created, their effects compound. Once the total repaid amount reaches the original purchase price, no further receive-leg cashflows are generated. Any event exceeding the remaining notional is marked with a diagnostic to indicate it is invalid due to excessive repayment. For example, for a repo with a 5% rate, 1% haircut and collateral value of 100 (purchase price = 99), a partial closure of cash amount 10 followed by one of 100 results in only the first event producing a cashflow. The second, exceeding the remaining balance, is ignored and flagged with a diagnostic. The remaining balance is settled at maturity of the repurchase agreement. # noqa: E501
27
+ Event representing the partial closure of a repurchase agreement. Each event reduces the outstanding notional and generates a corresponding receive-leg cashflow. The final maturity cashflow is adjusted accordingly. If multiple events are created, their effects compound. Once the total repaid amount reaches the original purchase price, no further receive-leg cashflows are generated. Any event exceeding the remaining notional is marked with a diagnostic to indicate it is invalid due to excessive repayment. For example, for a repo with a 5% rate, 1% haircut and collateral value of 100 (purchase price = 99), a partial closure of cash amount 10 followed by one of 100 results in only the first event producing a cashflow. The second, exceeding the remaining balance, is ignored and flagged with a diagnostic. The remaining balance is settled at maturity of the repurchase agreement. # noqa: E501
28
28
  """
29
- entitlement_date: Optional[datetime] = Field(None, alias="entitlementDate", description="The date on which the counterparties become entitled to exchange cash as part of a partial closure of the repurchase agreement. The date must be before or on the settlement date, and on or before the maturity date of the repo. This is a required field.")
30
- settlement_date: Optional[datetime] = Field(None, alias="settlementDate", description="The date on which the exchange of cash is settled. The date must be on or after the entitlement date, and on or before the maturity date of the repo. This is a required field.")
31
- cash_amount: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="cashAmount", description="The amount of cash to be exchanged as part of a partial closure of the repurchase agreement. It cannot be more than the initial amount of cash at the start of the repo.")
32
- cash_percentage: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="cashPercentage", description="Represents the proportion of cash exchanged, as a value between 0 and 1, relative to the total cash involved in the repurchase agreement. This value adjusts with each partial closure, because the total cash amount is reduced.")
29
+ entitlement_date: Optional[datetime] = Field(None, alias="entitlementDate", description="The date on which the counterparties become entitled to exchange cash as part of a partial closure of the repurchase agreement. The date must be before or on the settlement date, and on or before the maturity date of the repo. This is a required field.")
30
+ settlement_date: Optional[datetime] = Field(None, alias="settlementDate", description="The date on which the exchange of cash is settled. The date must be on or after the entitlement date, and on or before the maturity date of the repo. This is a required field.")
31
+ cash_amount: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="cashAmount", description="The amount of cash to be exchanged as part of a partial closure of the repurchase agreement. It cannot be more than the initial amount of cash at the start of the repo.")
32
+ cash_percentage: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="cashPercentage", description="Represents the proportion of cash exchanged, as a value between 0 and 1, relative to the total cash involved in the repurchase agreement. This value adjusts with each partial closure, because the total cash amount is reduced.")
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", "entitlementDate", "settlementDate", "cashAmount", "cashPercentage"]
@@ -27,16 +27,16 @@ from lusid.models.tender_offer_election import TenderOfferElection
27
27
 
28
28
  class RepurchaseOfferEvent(InstrumentEvent):
29
29
  """
30
- Representation of a repurchase offer corporate action. Represents an offer by the issuer to repurchase its own shares from a shareholder at a given price. # noqa: E501
30
+ Representation of a repurchase offer corporate action. Represents an offer by the issuer to repurchase its own shares from a shareholder at a given price. # noqa: E501
31
31
  """
32
32
  payment_date: Optional[datetime] = Field(None, alias="paymentDate", description="Payment date of the event.")
33
33
  market_deadline_date: Optional[datetime] = Field(None, alias="marketDeadlineDate", description="Date set by the issuer or by an agent of the issuer as the latest date to respond to the offer. Must be before or equal to the PaymentDate.")
34
34
  repurchase_quantity: Union[StrictFloat, StrictInt] = Field(..., alias="repurchaseQuantity", description="Quantity of the security to be repurchased.")
35
35
  cash_offer_elections: conlist(CashOfferElection) = Field(..., alias="cashOfferElections", description="List of possible CashOfferElections for this event. Only 1 should be provided.")
36
- lapse_elections: conlist(LapseElection) = Field(..., alias="lapseElections", description="List of possible LapseElections for this event. Only 1 should be provided. Allows the user to opt out of the offer.")
36
+ lapse_elections: conlist(LapseElection) = Field(..., alias="lapseElections", description="List of possible LapseElections for this event. Only 1 should be provided. Allows the user to opt out of the offer.")
37
37
  tender_offer_elections: conlist(TenderOfferElection) = Field(..., alias="tenderOfferElections", description="List of possible TenderOfferElections for this event. Only 1 should be provided.")
38
- proration_rate: Optional[Union[StrictFloat, StrictInt]] = Field(1, alias="prorationRate", description="The fraction used to calculate a proportional adjustment for RepurchaseQuantity when a full period is not used. Defaults to 1 if not set. Must be greater than 0 and less than or equal to 1.")
39
- response_deadline_date: Optional[datetime] = Field(None, alias="responseDeadlineDate", description="Date set by the account servicer as the latest date to respond to the offer. Optional. If set, must be before or equal to MarketDeadlineDate. Defaults to MarketDeadlineDate if not set.")
38
+ proration_rate: Optional[Union[StrictFloat, StrictInt]] = Field(1, alias="prorationRate", description="The fraction used to calculate a proportional adjustment for RepurchaseQuantity when a full period is not used. Defaults to 1 if not set. Must be greater than 0 and less than or equal to 1.")
39
+ response_deadline_date: Optional[datetime] = Field(None, alias="responseDeadlineDate", description="Date set by the account servicer as the latest date to respond to the offer. Optional. If set, must be before or equal to MarketDeadlineDate. Defaults to MarketDeadlineDate if not set.")
40
40
  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")
41
41
  additional_properties: Dict[str, Any] = {}
42
42
  __properties = ["instrumentEventType", "paymentDate", "marketDeadlineDate", "repurchaseQuantity", "cashOfferElections", "lapseElections", "tenderOfferElections", "prorationRate", "responseDeadlineDate"]
@@ -24,7 +24,7 @@ from lusid.models.instrument_event import InstrumentEvent
24
24
 
25
25
  class ResetEvent(InstrumentEvent):
26
26
  """
27
- Definition of a reset event. This is an event that describes a reset or fixing for an instrument such as the floating payment on a swap cash flow. # noqa: E501
27
+ Definition of a reset event. This is an event that describes a reset or fixing for an instrument such as the floating payment on a swap cash flow. # noqa: E501
28
28
  """
29
29
  value: Optional[Union[StrictFloat, StrictInt]] = Field(None, description="The quantity associated with the reset. This will only be populated if the information is known.")
30
30
  reset_type: StrictStr = Field(...,alias="resetType", description="The type of the reset; e.g. RIC, Currency-pair")
@@ -29,7 +29,7 @@ class ResultDataKeyRule(ResultKeyRule):
29
29
  supplier: StrictStr = Field(...,alias="supplier", description="the result resource supplier (where the data comes from)")
30
30
  data_scope: StrictStr = Field(...,alias="dataScope", description="which is the scope in which the data should be found")
31
31
  document_code: StrictStr = Field(...,alias="documentCode", description="document code that defines which document is desired")
32
- quote_interval: Optional[StrictStr] = Field(None,alias="quoteInterval", description="Shorthand for the time interval used to select result data. This must be a dot-separated string specifying a start and end date, for example '5D.0D' to look back 5 days from today (0 days ago).")
32
+ quote_interval: Optional[StrictStr] = Field(None,alias="quoteInterval", description="Shorthand for the time interval used to select result data. This must be a dot-separated string specifying a start and end date, for example '5D.0D' to look back 5 days from today (0 days ago).")
33
33
  as_at: Optional[datetime] = Field(None, alias="asAt", description="The AsAt predicate specification.")
34
34
  resource_key: StrictStr = Field(...,alias="resourceKey", description="The result data key that identifies the address pattern that this is a rule for")
35
35
  document_result_type: StrictStr = Field(...,alias="documentResultType")