lusid-sdk 2.1.980__py3-none-any.whl → 2.1.982__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- lusid/api/property_definitions_api.py +1 -1
- lusid/configuration.py +1 -1
- lusid/models/model_selection.py +3 -3
- lusid/models/pricing_model.py +1 -0
- {lusid_sdk-2.1.980.dist-info → lusid_sdk-2.1.982.dist-info}/METADATA +2 -2
- {lusid_sdk-2.1.980.dist-info → lusid_sdk-2.1.982.dist-info}/RECORD +7 -7
- {lusid_sdk-2.1.980.dist-info → lusid_sdk-2.1.982.dist-info}/WHEEL +0 -0
@@ -903,7 +903,7 @@ class PropertyDefinitionsApi:
|
|
903
903
|
}
|
904
904
|
|
905
905
|
return self.api_client.call_api(
|
906
|
-
'/api/propertydefinitions/derived/$formulaExplanation', '
|
906
|
+
'/api/propertydefinitions/derived/$formulaExplanation', 'POST',
|
907
907
|
_path_params,
|
908
908
|
_query_params,
|
909
909
|
_header_params,
|
lusid/configuration.py
CHANGED
@@ -445,7 +445,7 @@ class Configuration:
|
|
445
445
|
return "Python SDK Debug Report:\n"\
|
446
446
|
"OS: {env}\n"\
|
447
447
|
"Python Version: {pyversion}\n"\
|
448
|
-
"Version of the API: 0.11.
|
448
|
+
"Version of the API: 0.11.8375\n"\
|
449
449
|
"SDK Package Version: {package_version}".\
|
450
450
|
format(env=sys.platform, pyversion=sys.version, package_version=package_version)
|
451
451
|
|
lusid/models/model_selection.py
CHANGED
@@ -26,7 +26,7 @@ class ModelSelection(BaseModel):
|
|
26
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
|
-
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, OverrideOnlyPricer")
|
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, OverrideOnlyPricer, FlexibleRepoSimplePricer")
|
30
30
|
__properties = ["library", "model"]
|
31
31
|
|
32
32
|
@validator('library')
|
@@ -147,8 +147,8 @@ class ModelSelection(BaseModel):
|
|
147
147
|
if "model" != "type":
|
148
148
|
return value
|
149
149
|
|
150
|
-
if value not in ('SimpleStatic', 'Discounting', 'VendorDefault', 'BlackScholes', 'ConstantTimeValueOfMoney', 'Bachelier', 'ForwardWithPoints', 'ForwardWithPointsUndiscounted', 'ForwardSpecifiedRate', 'ForwardSpecifiedRateUndiscounted', 'IndexNav', 'IndexPrice', 'InlinedIndex', 'ForwardFromCurve', 'ForwardFromCurveUndiscounted', 'BlackScholesDigital', 'BjerksundStensland1993', 'BondLookupPricer', 'FlexibleLoanPricer', 'CdsLookupPricer', 'LoanFacilityPricer', 'OverrideOnlyPricer'):
|
151
|
-
raise ValueError("must be one of enum values ('SimpleStatic', 'Discounting', 'VendorDefault', 'BlackScholes', 'ConstantTimeValueOfMoney', 'Bachelier', 'ForwardWithPoints', 'ForwardWithPointsUndiscounted', 'ForwardSpecifiedRate', 'ForwardSpecifiedRateUndiscounted', 'IndexNav', 'IndexPrice', 'InlinedIndex', 'ForwardFromCurve', 'ForwardFromCurveUndiscounted', 'BlackScholesDigital', 'BjerksundStensland1993', 'BondLookupPricer', 'FlexibleLoanPricer', 'CdsLookupPricer', 'LoanFacilityPricer', 'OverrideOnlyPricer')")
|
150
|
+
if value not in ('SimpleStatic', 'Discounting', 'VendorDefault', 'BlackScholes', 'ConstantTimeValueOfMoney', 'Bachelier', 'ForwardWithPoints', 'ForwardWithPointsUndiscounted', 'ForwardSpecifiedRate', 'ForwardSpecifiedRateUndiscounted', 'IndexNav', 'IndexPrice', 'InlinedIndex', 'ForwardFromCurve', 'ForwardFromCurveUndiscounted', 'BlackScholesDigital', 'BjerksundStensland1993', 'BondLookupPricer', 'FlexibleLoanPricer', 'CdsLookupPricer', 'LoanFacilityPricer', 'OverrideOnlyPricer', 'FlexibleRepoSimplePricer'):
|
151
|
+
raise ValueError("must be one of enum values ('SimpleStatic', 'Discounting', 'VendorDefault', 'BlackScholes', 'ConstantTimeValueOfMoney', 'Bachelier', 'ForwardWithPoints', 'ForwardWithPointsUndiscounted', 'ForwardSpecifiedRate', 'ForwardSpecifiedRateUndiscounted', 'IndexNav', 'IndexPrice', 'InlinedIndex', 'ForwardFromCurve', 'ForwardFromCurveUndiscounted', 'BlackScholesDigital', 'BjerksundStensland1993', 'BondLookupPricer', 'FlexibleLoanPricer', 'CdsLookupPricer', 'LoanFacilityPricer', 'OverrideOnlyPricer', 'FlexibleRepoSimplePricer')")
|
152
152
|
return value
|
153
153
|
|
154
154
|
class Config:
|
lusid/models/pricing_model.py
CHANGED
@@ -51,6 +51,7 @@ class PricingModel(str, Enum):
|
|
51
51
|
CDSLOOKUPPRICER = 'CdsLookupPricer'
|
52
52
|
LOANFACILITYPRICER = 'LoanFacilityPricer'
|
53
53
|
OVERRIDEONLYPRICER = 'OverrideOnlyPricer'
|
54
|
+
FLEXIBLEREPOSIMPLEPRICER = 'FlexibleRepoSimplePricer'
|
54
55
|
|
55
56
|
@classmethod
|
56
57
|
def from_json(cls, json_str: str) -> PricingModel:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: lusid-sdk
|
3
|
-
Version: 2.1.
|
3
|
+
Version: 2.1.982
|
4
4
|
Summary: LUSID API
|
5
5
|
Home-page: https://github.com/finbourne/lusid-sdk-python
|
6
6
|
License: MIT
|
@@ -493,7 +493,7 @@ Class | Method | HTTP request | Description
|
|
493
493
|
*PropertyDefinitionsApi* | [**create_property_definition**](docs/PropertyDefinitionsApi.md#create_property_definition) | **POST** /api/propertydefinitions | CreatePropertyDefinition: Create property definition
|
494
494
|
*PropertyDefinitionsApi* | [**delete_property_definition**](docs/PropertyDefinitionsApi.md#delete_property_definition) | **DELETE** /api/propertydefinitions/{domain}/{scope}/{code} | DeletePropertyDefinition: Delete property definition
|
495
495
|
*PropertyDefinitionsApi* | [**delete_property_definition_properties**](docs/PropertyDefinitionsApi.md#delete_property_definition_properties) | **POST** /api/propertydefinitions/{domain}/{scope}/{code}/properties/$delete | [EARLY ACCESS] DeletePropertyDefinitionProperties: Delete property definition properties
|
496
|
-
*PropertyDefinitionsApi* | [**get_derived_formula_explanation**](docs/PropertyDefinitionsApi.md#get_derived_formula_explanation) | **
|
496
|
+
*PropertyDefinitionsApi* | [**get_derived_formula_explanation**](docs/PropertyDefinitionsApi.md#get_derived_formula_explanation) | **POST** /api/propertydefinitions/derived/$formulaExplanation | [INTERNAL] GetDerivedFormulaExplanation: Get explanation of a derived property formula
|
497
497
|
*PropertyDefinitionsApi* | [**get_multiple_property_definitions**](docs/PropertyDefinitionsApi.md#get_multiple_property_definitions) | **GET** /api/propertydefinitions | GetMultiplePropertyDefinitions: Get multiple property definitions
|
498
498
|
*PropertyDefinitionsApi* | [**get_property_definition**](docs/PropertyDefinitionsApi.md#get_property_definition) | **GET** /api/propertydefinitions/{domain}/{scope}/{code} | GetPropertyDefinition: Get property definition
|
499
499
|
*PropertyDefinitionsApi* | [**get_property_definition_property_time_series**](docs/PropertyDefinitionsApi.md#get_property_definition_property_time_series) | **GET** /api/propertydefinitions/{domain}/{scope}/{code}/properties/time-series | [EARLY ACCESS] GetPropertyDefinitionPropertyTimeSeries: Get Property Definition Property Time Series
|
@@ -49,7 +49,7 @@ lusid/api/persons_api.py,sha256=SlNOfUj8ww6vBD-zQoisNNe45scWn1QNkDOZu8ostb4,2502
|
|
49
49
|
lusid/api/placements_api.py,sha256=LsjljDP59rUcpkkGG_hJX-HX06fFIeNnoVomsFpL-QY,45498
|
50
50
|
lusid/api/portfolio_groups_api.py,sha256=dnbfzVTb7Ytn2PjHW4KcQD7w9PK2Swjz1zpgPPdPXXA,371285
|
51
51
|
lusid/api/portfolios_api.py,sha256=noShU8FEhBz1FEIWc9WQMuPnk9mlhSmZuZcoKax8SCY,417537
|
52
|
-
lusid/api/property_definitions_api.py,sha256=
|
52
|
+
lusid/api/property_definitions_api.py,sha256=BSLa9E5QkhQlq1oOll4MDiAQjGjHMEED1UdKwNkCXaI,149143
|
53
53
|
lusid/api/queryable_keys_api.py,sha256=oZWb9BugLDEKmYay_DhuYu4B7pwEramzz5dBHiqgGsc,10297
|
54
54
|
lusid/api/quotes_api.py,sha256=39bA_DRmTQDsvQ16xHqiAb3aOAGCBOBbxKJ2M_C6mao,112799
|
55
55
|
lusid/api/reconciliations_api.py,sha256=3E0OpDv4f6Si8wF1HCEItx0wp27Ii_UHR5FG40f6F5Q,140586
|
@@ -80,7 +80,7 @@ lusid/api/translation_api.py,sha256=xpRuTfwQvYBlWe6r_L2EI_uVpXqHFnEOim-i-kVQ85E,
|
|
80
80
|
lusid/api/workspace_api.py,sha256=0pCNi3ZCRbIo0NXKa85XE7vtq0WV5YOKcQKvFlcLUaY,120708
|
81
81
|
lusid/api_client.py,sha256=ewMTmf9SRurY8pYnUx9jy24RdldPCOa4US38pnrVxjA,31140
|
82
82
|
lusid/api_response.py,sha256=6-gnhty6lu8MMAERt3_kTVD7UxQgWFfcjgpcq6iN5IU,855
|
83
|
-
lusid/configuration.py,sha256=
|
83
|
+
lusid/configuration.py,sha256=8yJbQ6yItn8hicgROmu3IodDoGf680wcc_DChhn6yNg,17980
|
84
84
|
lusid/exceptions.py,sha256=HIQwgmQrszLlcVCLaqex8dO0laVuejUyOMz7U2ZWJ6s,5326
|
85
85
|
lusid/extensions/__init__.py,sha256=dzDHEzpn-9smd2-_UMWQzeyX6Ha4jGf6fnqx7qxKxNI,630
|
86
86
|
lusid/extensions/api_client.py,sha256=GzygWg_h603QK1QS2HvAijuE2R1TnvoF6-Yg0CeM3ug,30943
|
@@ -744,7 +744,7 @@ lusid/models/model_options.py,sha256=krevpOZDFL7t-aaP-6SOa4-kMjwNhYKp8tA2v_nIK14
|
|
744
744
|
lusid/models/model_options_type.py,sha256=ZboRtQJIsaGUMc45qeuMkd3JA-ObpD-GJvNEq3pEBvk,971
|
745
745
|
lusid/models/model_property.py,sha256=P0YK9YnVlfvxNbh0W9SKiBqQDiCb-3qA56lvI8iDMM4,4921
|
746
746
|
lusid/models/model_schema.py,sha256=o_3-Few9w88CC3O5HsI1nKcPqFj9eiMPZU--MwcsuwQ,4139
|
747
|
-
lusid/models/model_selection.py,sha256=
|
747
|
+
lusid/models/model_selection.py,sha256=Z6JtIZ5STc8zN-GuSwwsmV_4KXyaxZRzXuBJkuZR9vo,10843
|
748
748
|
lusid/models/move_orders_to_different_blocks_request.py,sha256=c4VNDkSHnrbANPvNAB4RYQPMu12CDE_0zItxOo1JtRA,2772
|
749
749
|
lusid/models/moved_order_to_different_block_response.py,sha256=jTxmkPXFzDU4f9_fk_H4GdybsaqbnK6n3dGnBhot2es,3394
|
750
750
|
lusid/models/movement_settlement_summary.py,sha256=o7YWjkVgSnGfb3n8-hCrvZ8SVSmhvTaF6068sZPxyiA,5019
|
@@ -938,7 +938,7 @@ lusid/models/previous_fund_valuation_point_data.py,sha256=uVk-5vy9fHp0oESwyTlj6B
|
|
938
938
|
lusid/models/previous_nav.py,sha256=kZZrYY44Q0K03DQX7GX5HBdLJfIWBQ1nLaK7jR6pzwc,2318
|
939
939
|
lusid/models/previous_share_class_breakdown.py,sha256=Q1szW58a2B5Awnj4jgjmflvlWE-zhzXuF3fXWH4SGks,3223
|
940
940
|
lusid/models/pricing_context.py,sha256=cQRPDqxE5q3MB2ahV4zOpT3fIx8_MXRmkqjCb27He1o,8580
|
941
|
-
lusid/models/pricing_model.py,sha256=
|
941
|
+
lusid/models/pricing_model.py,sha256=nZYRanxmF4phtTnLEe0BGR4r2fN3yChH20jof4ptiMs,1637
|
942
942
|
lusid/models/pricing_options.py,sha256=iJxogHLxMpidFhFgW4MwoN6a5cRHYcMefi6G6PLjIuE,10842
|
943
943
|
lusid/models/primary_schedule.py,sha256=qzn7nC-CdUSQuLqfvuFtsUi2Y_s1ubIBdIEkjKBhlvo,2424
|
944
944
|
lusid/models/processed_command.py,sha256=CqEkDhCprMS8DxwYCcTDdOx0ivoewyAipM-ThRllFyY,3215
|
@@ -1395,6 +1395,6 @@ lusid/models/year_month_day.py,sha256=gwSoxFwlD_wffKdddo1wfvAcLq3Cht3FHQidiaHzAA
|
|
1395
1395
|
lusid/models/yield_curve_data.py,sha256=sifVmM0PAAB9wfI3aKf4dLbZS45bqiRv9ffZxQx7JRU,9663
|
1396
1396
|
lusid/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
1397
1397
|
lusid/rest.py,sha256=HQT__5LQEMu6_1sLKvYj-DI4FH1DJXBIPYfZCTTyrY4,13431
|
1398
|
-
lusid_sdk-2.1.
|
1399
|
-
lusid_sdk-2.1.
|
1400
|
-
lusid_sdk-2.1.
|
1398
|
+
lusid_sdk-2.1.982.dist-info/METADATA,sha256=gvmYlADwRwUgZdRVRJIPCytNbexHhGHlIxrtg3Rpbmo,234544
|
1399
|
+
lusid_sdk-2.1.982.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
1400
|
+
lusid_sdk-2.1.982.dist-info/RECORD,,
|
File without changes
|