lusid-sdk 2.1.262__py3-none-any.whl → 2.1.264__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.
Potentially problematic release.
This version of lusid-sdk might be problematic. Click here for more details.
- lusid/configuration.py +1 -1
- lusid/models/model_selection.py +3 -3
- lusid/models/pricing_model.py +1 -0
- {lusid_sdk-2.1.262.dist-info → lusid_sdk-2.1.264.dist-info}/METADATA +3 -3
- {lusid_sdk-2.1.262.dist-info → lusid_sdk-2.1.264.dist-info}/RECORD +6 -6
- {lusid_sdk-2.1.262.dist-info → lusid_sdk-2.1.264.dist-info}/WHEEL +0 -0
lusid/configuration.py
CHANGED
|
@@ -373,7 +373,7 @@ class Configuration:
|
|
|
373
373
|
return "Python SDK Debug Report:\n"\
|
|
374
374
|
"OS: {env}\n"\
|
|
375
375
|
"Python Version: {pyversion}\n"\
|
|
376
|
-
"Version of the API: 0.11.
|
|
376
|
+
"Version of the API: 0.11.6697\n"\
|
|
377
377
|
"SDK Package Version: {package_version}".\
|
|
378
378
|
format(env=sys.platform, pyversion=sys.version, package_version=package_version)
|
|
379
379
|
|
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(..., description="The available values are: Lusid, RefinitivQps, RefinitivTracsWeb, VolMaster, IsdaCds, YieldBook, LusidCalc")
|
|
29
|
-
model: StrictStr = Field(..., description="The available values are: SimpleStatic, Discounting, VendorDefault, BlackScholes, ConstantTimeValueOfMoney, Bachelier, ForwardWithPoints, ForwardWithPointsUndiscounted, ForwardSpecifiedRate, ForwardSpecifiedRateUndiscounted, IndexNav, IndexPrice, InlinedIndex, ForwardFromCurve, ForwardFromCurveUndiscounted, BlackScholesDigital, BjerksundStensland1993, BondLookupPricer, FlexibleLoanPricer")
|
|
29
|
+
model: StrictStr = Field(..., 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")
|
|
30
30
|
__properties = ["library", "model"]
|
|
31
31
|
|
|
32
32
|
@validator('library')
|
|
@@ -39,8 +39,8 @@ class ModelSelection(BaseModel):
|
|
|
39
39
|
@validator('model')
|
|
40
40
|
def model_validate_enum(cls, value):
|
|
41
41
|
"""Validates the enum"""
|
|
42
|
-
if value not in ('SimpleStatic', 'Discounting', 'VendorDefault', 'BlackScholes', 'ConstantTimeValueOfMoney', 'Bachelier', 'ForwardWithPoints', 'ForwardWithPointsUndiscounted', 'ForwardSpecifiedRate', 'ForwardSpecifiedRateUndiscounted', 'IndexNav', 'IndexPrice', 'InlinedIndex', 'ForwardFromCurve', 'ForwardFromCurveUndiscounted', 'BlackScholesDigital', 'BjerksundStensland1993', 'BondLookupPricer', 'FlexibleLoanPricer'):
|
|
43
|
-
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')")
|
|
42
|
+
if value not in ('SimpleStatic', 'Discounting', 'VendorDefault', 'BlackScholes', 'ConstantTimeValueOfMoney', 'Bachelier', 'ForwardWithPoints', 'ForwardWithPointsUndiscounted', 'ForwardSpecifiedRate', 'ForwardSpecifiedRateUndiscounted', 'IndexNav', 'IndexPrice', 'InlinedIndex', 'ForwardFromCurve', 'ForwardFromCurveUndiscounted', 'BlackScholesDigital', 'BjerksundStensland1993', 'BondLookupPricer', 'FlexibleLoanPricer', 'CdsLookupPricer'):
|
|
43
|
+
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')")
|
|
44
44
|
return value
|
|
45
45
|
|
|
46
46
|
class Config:
|
lusid/models/pricing_model.py
CHANGED
|
@@ -48,6 +48,7 @@ class PricingModel(str, Enum):
|
|
|
48
48
|
BJERKSUNDSTENSLAND1993 = 'BjerksundStensland1993'
|
|
49
49
|
BONDLOOKUPPRICER = 'BondLookupPricer'
|
|
50
50
|
FLEXIBLELOANPRICER = 'FlexibleLoanPricer'
|
|
51
|
+
CDSLOOKUPPRICER = 'CdsLookupPricer'
|
|
51
52
|
|
|
52
53
|
@classmethod
|
|
53
54
|
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.264
|
|
4
4
|
Summary: LUSID API
|
|
5
5
|
Home-page: https://github.com/finbourne/lusid-sdk-python
|
|
6
6
|
License: MIT
|
|
@@ -29,8 +29,8 @@ FINBOURNE Technology
|
|
|
29
29
|
|
|
30
30
|
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
31
31
|
|
|
32
|
-
- API version: 0.11.
|
|
33
|
-
- Package version: 2.1.
|
|
32
|
+
- API version: 0.11.6697
|
|
33
|
+
- Package version: 2.1.264
|
|
34
34
|
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
|
35
35
|
For more information, please visit [https://www.finbourne.com](https://www.finbourne.com)
|
|
36
36
|
|
|
@@ -68,7 +68,7 @@ lusid/api/transaction_portfolios_api.py,sha256=7G5m6iTQXTKCc6ASdxnlVJjvFascHxEgD
|
|
|
68
68
|
lusid/api/translation_api.py,sha256=xTAaKEW96JTDIZBXCjxSguCa7Gz4oVd5jdObUE2egwo,20092
|
|
69
69
|
lusid/api_client.py,sha256=dF6l9RAsdxdQjf6Qn4ny6LB-QXlJmsscWiozCvyyBFA,30709
|
|
70
70
|
lusid/api_response.py,sha256=6-gnhty6lu8MMAERt3_kTVD7UxQgWFfcjgpcq6iN5IU,855
|
|
71
|
-
lusid/configuration.py,sha256=
|
|
71
|
+
lusid/configuration.py,sha256=JsfFUbqN10k2aDEW9pHPilEG5kLEWWbtRD1LYamM3Ls,14404
|
|
72
72
|
lusid/exceptions.py,sha256=HIQwgmQrszLlcVCLaqex8dO0laVuejUyOMz7U2ZWJ6s,5326
|
|
73
73
|
lusid/extensions/__init__.py,sha256=dzDHEzpn-9smd2-_UMWQzeyX6Ha4jGf6fnqx7qxKxNI,630
|
|
74
74
|
lusid/extensions/api_client.py,sha256=Ob06urm4Em3MLzgP_geyeeGsPCkU225msW_1kpIeABM,30567
|
|
@@ -565,7 +565,7 @@ lusid/models/model_options.py,sha256=MaLJVMOfpgwL_ZLIIrLbLwpC1lhZKNkzMOGlFlVFgSM
|
|
|
565
565
|
lusid/models/model_options_type.py,sha256=9vvfKHqvTqomRGVbnhsjA9hhCouD-acEgOeMK4OZ8AE,931
|
|
566
566
|
lusid/models/model_property.py,sha256=M8NkEirTngdA1ZPd0N3d4lr5-1vFMNF8HNW_ePHBMV4,3385
|
|
567
567
|
lusid/models/model_schema.py,sha256=i2_Wq4yUjd8nfDnU1HA7WvnLQZQ71jc0oI1GrUk6m_8,3861
|
|
568
|
-
lusid/models/model_selection.py,sha256=
|
|
568
|
+
lusid/models/model_selection.py,sha256=XfOXNyO6U0cLx3dU_VKYz16po7Cn1wGjPzdpmHl60Q8,4141
|
|
569
569
|
lusid/models/move_orders_to_different_blocks_request.py,sha256=g93gGwV0TqDF1dYM-S9j96BdCySKNrlVG7jlon23P88,2568
|
|
570
570
|
lusid/models/moved_order_to_different_block_response.py,sha256=21MpC1iuv21x3l3WxSOuTkPZveTT31hfcoiYNthUt3o,3162
|
|
571
571
|
lusid/models/movement_type.py,sha256=TzwVWgA0Y9AYA_Zp1S-6FbLibKf8V5J5-GOaV3EraZQ,1221
|
|
@@ -725,7 +725,7 @@ lusid/models/posting_module_rule.py,sha256=ts9EcdU97sCixCMSmZQuYTT1hkRm-sU_-wYK5
|
|
|
725
725
|
lusid/models/posting_module_rules_updated_response.py,sha256=qGQSPvvIjNJJr-F9YOXkQAEXYlsflzcaxMNzOX1tF3k,4288
|
|
726
726
|
lusid/models/premium.py,sha256=R2eYbrUmKAmxdWdmWGuUqg78Hm07y1iVBW7IRu4C92I,2200
|
|
727
727
|
lusid/models/pricing_context.py,sha256=E8B73sz2c6A2o4HykfbMMfaspv4F6gQfx4fjzDLr6EY,7264
|
|
728
|
-
lusid/models/pricing_model.py,sha256=
|
|
728
|
+
lusid/models/pricing_model.py,sha256=hQrGV0w4BhaIiRED3kW3I37UkRop05d3IGHHwyPoFq4,1487
|
|
729
729
|
lusid/models/pricing_options.py,sha256=ueSekxM9_XWSVd7uVELUtY86w-ul8WnLJR2gtTQm264,7961
|
|
730
730
|
lusid/models/processed_command.py,sha256=YJ13QMu5M7XCkOqabOvkh3d-w_7P_2VEgRkliLsjTn4,2970
|
|
731
731
|
lusid/models/property_definition.py,sha256=lcFiMp5z94xW5QY_6hHfpKyxUXW8gCuLUhGcf_cPBfw,17322
|
|
@@ -1094,6 +1094,6 @@ lusid/models/weighted_instruments.py,sha256=1y_y_vw4-LPsbkQx4FOzWdZc5fJnzhVkf1D3
|
|
|
1094
1094
|
lusid/models/yield_curve_data.py,sha256=SbxvdJ4-GWK9kpMdw4Fnxc7_kvIMwgsRsd_31UJn7nw,6330
|
|
1095
1095
|
lusid/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1096
1096
|
lusid/rest.py,sha256=TNUzQ3yLNT2L053EdR7R0vNzQh2J3TlYD1T56Dye0W0,10138
|
|
1097
|
-
lusid_sdk-2.1.
|
|
1098
|
-
lusid_sdk-2.1.
|
|
1099
|
-
lusid_sdk-2.1.
|
|
1097
|
+
lusid_sdk-2.1.264.dist-info/METADATA,sha256=LB7gT9ccVfKUNsMCojB3kpm0BB3G9l6EK0MXY77r3So,192500
|
|
1098
|
+
lusid_sdk-2.1.264.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
1099
|
+
lusid_sdk-2.1.264.dist-info/RECORD,,
|
|
File without changes
|