lusid-sdk 2.1.758__py3-none-any.whl → 2.1.759__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
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.7641\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/future.py
CHANGED
@@ -33,7 +33,7 @@ class Future(LusidInstrument):
|
|
33
33
|
maturity_date: datetime = Field(..., alias="maturityDate", description="The final maturity date of the instrument. This means the last date on which the instruments makes a payment of any amount. For the avoidance of doubt, that is not necessarily prior to its last sensitivity date for the purposes of risk; e.g. instruments such as Constant Maturity Swaps (CMS) often have sensitivities to rates that may well be observed or set prior to the maturity date, but refer to a termination date beyond it.")
|
34
34
|
identifiers: Dict[str, StrictStr] = Field(..., description="External market codes and identifiers for the bond, e.g. ISIN.")
|
35
35
|
contract_details: FuturesContractDetails = Field(..., alias="contractDetails")
|
36
|
-
contracts: Optional[Union[StrictFloat, StrictInt]] = Field(
|
36
|
+
contracts: Optional[Union[StrictFloat, StrictInt]] = Field(1, description="The number of contracts held. This is optional and will default to 1 if not set. Instrument events will only work when this field is 1. We recommend not using this field and instead relying on the number of holdings to represent the number of futures contracts.")
|
37
37
|
mark_to_market_conventions: Optional[MarkToMarketConventions] = Field(None, alias="markToMarketConventions")
|
38
38
|
ref_spot_price: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="refSpotPrice", description="The reference spot price for the future at which the contract was entered into.")
|
39
39
|
underlying: Optional[LusidInstrument] = None
|
@@ -174,7 +174,7 @@ class Future(LusidInstrument):
|
|
174
174
|
"maturity_date": obj.get("maturityDate"),
|
175
175
|
"identifiers": obj.get("identifiers"),
|
176
176
|
"contract_details": FuturesContractDetails.from_dict(obj.get("contractDetails")) if obj.get("contractDetails") is not None else None,
|
177
|
-
"contracts": obj.get("contracts"),
|
177
|
+
"contracts": obj.get("contracts") if obj.get("contracts") is not None else 1,
|
178
178
|
"mark_to_market_conventions": MarkToMarketConventions.from_dict(obj.get("markToMarketConventions")) if obj.get("markToMarketConventions") is not None else None,
|
179
179
|
"ref_spot_price": obj.get("refSpotPrice"),
|
180
180
|
"underlying": LusidInstrument.from_dict(obj.get("underlying")) if obj.get("underlying") is not None else None,
|
@@ -74,7 +74,7 @@ lusid/api/translation_api.py,sha256=xpRuTfwQvYBlWe6r_L2EI_uVpXqHFnEOim-i-kVQ85E,
|
|
74
74
|
lusid/api/workspace_api.py,sha256=QmcywrL34lbVo4CbSwyyJDh0kRG7Gt91xrQB0ShqQQQ,106017
|
75
75
|
lusid/api_client.py,sha256=ewMTmf9SRurY8pYnUx9jy24RdldPCOa4US38pnrVxjA,31140
|
76
76
|
lusid/api_response.py,sha256=6-gnhty6lu8MMAERt3_kTVD7UxQgWFfcjgpcq6iN5IU,855
|
77
|
-
lusid/configuration.py,sha256=
|
77
|
+
lusid/configuration.py,sha256=D9HaB7BbhsBTAD4xkaQfmkwdXnZslM0L_rsTSIJmllQ,17972
|
78
78
|
lusid/exceptions.py,sha256=HIQwgmQrszLlcVCLaqex8dO0laVuejUyOMz7U2ZWJ6s,5326
|
79
79
|
lusid/extensions/__init__.py,sha256=dzDHEzpn-9smd2-_UMWQzeyX6Ha4jGf6fnqx7qxKxNI,630
|
80
80
|
lusid/extensions/api_client.py,sha256=GzygWg_h603QK1QS2HvAijuE2R1TnvoF6-Yg0CeM3ug,30943
|
@@ -497,7 +497,7 @@ lusid/models/fund_share_class.py,sha256=ZsQUZIb5O0K7tO0Z_BELdjx5K-cqH3Hiac-rNvZ-
|
|
497
497
|
lusid/models/fund_valuation_point_data.py,sha256=e4AoY_OBFZLpMvpoChDzm7oD-KUluVPcfeWH1VdalxQ,7042
|
498
498
|
lusid/models/funding_leg.py,sha256=g4LWvqfIPGKZvIFZEdKWv5fCbq93L2TnCXl39HaHW-4,10869
|
499
499
|
lusid/models/funding_leg_options.py,sha256=nNKvJJXO93OEfoOfFEYGgWC0eAg5TPB56N1TzgZx23c,6751
|
500
|
-
lusid/models/future.py,sha256=
|
500
|
+
lusid/models/future.py,sha256=HbfN2GSM3lO-cDw9hg0zYll0FN8jC3l5Eqvr-ThHSfQ,13928
|
501
501
|
lusid/models/future_expiry_event.py,sha256=-dUGekAty_H_JmbrvYjnK8P6tUv4qnD3-M9L-KJ-icw,11250
|
502
502
|
lusid/models/future_mark_to_market_event.py,sha256=_JYcRUaculZPu_CgERNH3_uZ4G_VYN3j4hamttRqksc,11326
|
503
503
|
lusid/models/futures_contract_details.py,sha256=aX3yWvdcWk9NCYSNdOrN9S1WXT-BbxjVRYOXokRguAo,8377
|
@@ -1297,6 +1297,6 @@ lusid/models/workspace_visibility.py,sha256=VZ-Pvk6dbKY4sapdquKcBPmV2IwmHc5-W_m9
|
|
1297
1297
|
lusid/models/yield_curve_data.py,sha256=I1ZSWxHMgUxj9OQt6i9a4S91KB4_XtmrfFxpN_PV3YQ,9561
|
1298
1298
|
lusid/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
1299
1299
|
lusid/rest.py,sha256=HQT__5LQEMu6_1sLKvYj-DI4FH1DJXBIPYfZCTTyrY4,13431
|
1300
|
-
lusid_sdk-2.1.
|
1301
|
-
lusid_sdk-2.1.
|
1302
|
-
lusid_sdk-2.1.
|
1300
|
+
lusid_sdk-2.1.759.dist-info/METADATA,sha256=TCSBbK6UOGoken7NRbl8kde9J7IVBwP8wiMdBAw3b0U,217772
|
1301
|
+
lusid_sdk-2.1.759.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
1302
|
+
lusid_sdk-2.1.759.dist-info/RECORD,,
|
File without changes
|