lusid-sdk 2.1.935__py3-none-any.whl → 2.1.937__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/configuration.py +1 -1
- lusid/models/model_selection.py +3 -3
- lusid/models/pricing_model.py +1 -0
- {lusid_sdk-2.1.935.dist-info → lusid_sdk-2.1.937.dist-info}/METADATA +1 -1
- {lusid_sdk-2.1.935.dist-info → lusid_sdk-2.1.937.dist-info}/RECORD +6 -6
- {lusid_sdk-2.1.935.dist-info → lusid_sdk-2.1.937.dist-info}/WHEEL +0 -0
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.8249\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")
|
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")
|
30
30
|
__properties = ["library", "model"]
|
31
31
|
|
32
32
|
@validator('library')
|
@@ -143,8 +143,8 @@ class ModelSelection(BaseModel):
|
|
143
143
|
if "model" != "type":
|
144
144
|
return value
|
145
145
|
|
146
|
-
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'):
|
147
|
-
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')")
|
146
|
+
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'):
|
147
|
+
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')")
|
148
148
|
return value
|
149
149
|
|
150
150
|
class Config:
|
lusid/models/pricing_model.py
CHANGED
@@ -50,6 +50,7 @@ class PricingModel(str, Enum):
|
|
50
50
|
FLEXIBLELOANPRICER = 'FlexibleLoanPricer'
|
51
51
|
CDSLOOKUPPRICER = 'CdsLookupPricer'
|
52
52
|
LOANFACILITYPRICER = 'LoanFacilityPricer'
|
53
|
+
OVERRIDEONLYPRICER = 'OverrideOnlyPricer'
|
53
54
|
|
54
55
|
@classmethod
|
55
56
|
def from_json(cls, json_str: str) -> PricingModel:
|
@@ -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=8HPP24RR5oy2QdxY-pdjU_U_Ya0HM5SV3EWwXHbWD8M,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
|
@@ -740,7 +740,7 @@ lusid/models/model_options.py,sha256=x93cmLYrL7pjvzCZBNbd_wgL4SzDxJT7rv-pciEcKqk
|
|
740
740
|
lusid/models/model_options_type.py,sha256=ZboRtQJIsaGUMc45qeuMkd3JA-ObpD-GJvNEq3pEBvk,971
|
741
741
|
lusid/models/model_property.py,sha256=P0YK9YnVlfvxNbh0W9SKiBqQDiCb-3qA56lvI8iDMM4,4921
|
742
742
|
lusid/models/model_schema.py,sha256=o_3-Few9w88CC3O5HsI1nKcPqFj9eiMPZU--MwcsuwQ,4139
|
743
|
-
lusid/models/model_selection.py,sha256=
|
743
|
+
lusid/models/model_selection.py,sha256=yTBiEv66Gcltf4qCkchyHJGIrOKvABJ3Aj00d7QONBA,10557
|
744
744
|
lusid/models/move_orders_to_different_blocks_request.py,sha256=c4VNDkSHnrbANPvNAB4RYQPMu12CDE_0zItxOo1JtRA,2772
|
745
745
|
lusid/models/moved_order_to_different_block_response.py,sha256=jTxmkPXFzDU4f9_fk_H4GdybsaqbnK6n3dGnBhot2es,3394
|
746
746
|
lusid/models/movement_settlement_summary.py,sha256=o7YWjkVgSnGfb3n8-hCrvZ8SVSmhvTaF6068sZPxyiA,5019
|
@@ -934,7 +934,7 @@ lusid/models/previous_fund_valuation_point_data.py,sha256=uVk-5vy9fHp0oESwyTlj6B
|
|
934
934
|
lusid/models/previous_nav.py,sha256=kZZrYY44Q0K03DQX7GX5HBdLJfIWBQ1nLaK7jR6pzwc,2318
|
935
935
|
lusid/models/previous_share_class_breakdown.py,sha256=Q1szW58a2B5Awnj4jgjmflvlWE-zhzXuF3fXWH4SGks,3223
|
936
936
|
lusid/models/pricing_context.py,sha256=cQRPDqxE5q3MB2ahV4zOpT3fIx8_MXRmkqjCb27He1o,8580
|
937
|
-
lusid/models/pricing_model.py,sha256=
|
937
|
+
lusid/models/pricing_model.py,sha256=950kKLGCfqD5pr22XqN7vA46N9WbEDpJYsRcawzVteY,1579
|
938
938
|
lusid/models/pricing_options.py,sha256=iJxogHLxMpidFhFgW4MwoN6a5cRHYcMefi6G6PLjIuE,10842
|
939
939
|
lusid/models/processed_command.py,sha256=CqEkDhCprMS8DxwYCcTDdOx0ivoewyAipM-ThRllFyY,3215
|
940
940
|
lusid/models/property_definition.py,sha256=a8gHHtLY7foZQUs_hlqoyT6Utd9lD3dYV927PvBc8eg,36988
|
@@ -1385,6 +1385,6 @@ lusid/models/year_month_day.py,sha256=gwSoxFwlD_wffKdddo1wfvAcLq3Cht3FHQidiaHzAA
|
|
1385
1385
|
lusid/models/yield_curve_data.py,sha256=I1ZSWxHMgUxj9OQt6i9a4S91KB4_XtmrfFxpN_PV3YQ,9561
|
1386
1386
|
lusid/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
1387
1387
|
lusid/rest.py,sha256=HQT__5LQEMu6_1sLKvYj-DI4FH1DJXBIPYfZCTTyrY4,13431
|
1388
|
-
lusid_sdk-2.1.
|
1389
|
-
lusid_sdk-2.1.
|
1390
|
-
lusid_sdk-2.1.
|
1388
|
+
lusid_sdk-2.1.937.dist-info/METADATA,sha256=igD20XcjkzOhoeHvymzE_spVl7vA2BPw9YrDEJ2IAZk,231927
|
1389
|
+
lusid_sdk-2.1.937.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
1390
|
+
lusid_sdk-2.1.937.dist-info/RECORD,,
|
File without changes
|