lusid-sdk 2.1.752__py3-none-any.whl → 2.1.754__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/compounding.py +10 -3
- lusid/models/dependency_source_filter.py +1 -1
- lusid/models/quote_access_metadata_rule_id.py +1 -1
- lusid/models/quote_series_id.py +1 -1
- {lusid_sdk-2.1.752.dist-info → lusid_sdk-2.1.754.dist-info}/METADATA +1 -1
- {lusid_sdk-2.1.752.dist-info → lusid_sdk-2.1.754.dist-info}/RECORD +8 -8
- {lusid_sdk-2.1.752.dist-info → lusid_sdk-2.1.754.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.7607\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/compounding.py
CHANGED
@@ -27,11 +27,12 @@ class Compounding(BaseModel):
|
|
27
27
|
"""
|
28
28
|
averaging_method: Optional[StrictStr] = Field(None,alias="averagingMethod", description="Defines whether a weighted or unweighted average is used when calculating the average rate. It applies only when CompoundingMethod = ‘Averaging‘. Supported string (enumeration) values are: [Unweighted, Weighted].")
|
29
29
|
calculation_shift_method: Optional[StrictStr] = Field(None,alias="calculationShiftMethod", description="Defines which resets and day counts are used for the rate calculation Supported string (enumeration) values are: [Lookback, NoShift, ObservationPeriodShift, Lockout].")
|
30
|
-
compounding_method: StrictStr = Field(...,alias="compoundingMethod", description="If the interest rate is simple, compounded or using a pre-computed compounded index. Supported string (enumeration) values are: [Averaging, Compounding, CompoundedIndex].")
|
30
|
+
compounding_method: StrictStr = Field(...,alias="compoundingMethod", description="If the interest rate is simple, compounded or using a pre-computed compounded index. Supported string (enumeration) values are: [Averaging, Compounding, CompoundedIndex, NonCumulativeCompounding].")
|
31
31
|
reset_frequency: StrictStr = Field(...,alias="resetFrequency", description="The interest payment frequency. For more information on tenors, see [knowledge base article KA-02097](https://support.lusid.com/knowledgebase/article/KA-02097)")
|
32
32
|
shift: Optional[StrictInt] = Field(None, description="Defines the number of days to lockout or shift observation period by - should be a non-negative integer")
|
33
33
|
spread_compounding_method: Optional[StrictStr] = Field(None,alias="spreadCompoundingMethod", description="Defines how the computed leg spread is applied to compounded rate. It applies only when CompoundingMethod = ‘Compounding‘ or ‘CompoundedIndex‘. Available compounding methods: | Method | Description | | ------ | ----------- | | Straight | Compounding rate in each compound period includes the spread. | | Flat | Compounding rate does not include the spread, and the spread is used for simple interest in each compound period. | | SpreadExclusive | Compounding rate does not include the spread, and the spread is used for simple interest for whole accrual period. | The values \"IsdaCompounding\", \"NoCompounding\", \"IsdaFlatCompounding\", and \"None\" are accepted for compatibility with existing instruments and their use is discouraged. Supported string (enumeration) values are: [Straight, IsdaCompounding, NoCompounding, SpreadExclusive, IsdaFlatCompounding, Flat, None].")
|
34
|
-
|
34
|
+
rounding_precision: Optional[StrictInt] = Field(None, alias="roundingPrecision", description="Defines the number of decimal places the compounded rate (expressed as a decimal) should be rounded to. This is an optional field, leaving it blank will mean no rounding takes place in Compounding.")
|
35
|
+
__properties = ["averagingMethod", "calculationShiftMethod", "compoundingMethod", "resetFrequency", "shift", "spreadCompoundingMethod", "roundingPrecision"]
|
35
36
|
|
36
37
|
class Config:
|
37
38
|
"""Pydantic configuration"""
|
@@ -80,6 +81,11 @@ class Compounding(BaseModel):
|
|
80
81
|
if self.spread_compounding_method is None and "spread_compounding_method" in self.__fields_set__:
|
81
82
|
_dict['spreadCompoundingMethod'] = None
|
82
83
|
|
84
|
+
# set to None if rounding_precision (nullable) is None
|
85
|
+
# and __fields_set__ contains the field
|
86
|
+
if self.rounding_precision is None and "rounding_precision" in self.__fields_set__:
|
87
|
+
_dict['roundingPrecision'] = None
|
88
|
+
|
83
89
|
return _dict
|
84
90
|
|
85
91
|
@classmethod
|
@@ -97,6 +103,7 @@ class Compounding(BaseModel):
|
|
97
103
|
"compounding_method": obj.get("compoundingMethod"),
|
98
104
|
"reset_frequency": obj.get("resetFrequency"),
|
99
105
|
"shift": obj.get("shift"),
|
100
|
-
"spread_compounding_method": obj.get("spreadCompoundingMethod")
|
106
|
+
"spread_compounding_method": obj.get("spreadCompoundingMethod"),
|
107
|
+
"rounding_precision": obj.get("roundingPrecision")
|
101
108
|
})
|
102
109
|
return _obj
|
@@ -30,7 +30,7 @@ class DependencySourceFilter(BaseModel):
|
|
30
30
|
asset_class: Optional[StrictStr] = Field(None,alias="assetClass", description="Specify that a rule should only apply if the market data is requested by an instrument of a given asset class. If null, then no filtering on asset class is applied.")
|
31
31
|
dom_ccy: Optional[StrictStr] = Field(None,alias="domCcy", description="Specify that a rule should only apply if the market data is requested by an instrument with a given domestic currency. If null, then no filtering on currency is applied.")
|
32
32
|
long_or_short_indicator: Optional[StrictStr] = Field(None,alias="longOrShortIndicator", description="Specify that a rule should apply if the market data is requested by a model with a given long or short indicator. If none, then no filtering on LongOrShortIndicator is applied.")
|
33
|
-
address_key_filters: Optional[conlist(AddressKeyFilter)] = Field(None, alias="addressKeyFilters")
|
33
|
+
address_key_filters: Optional[conlist(AddressKeyFilter)] = Field(None, alias="addressKeyFilters", description="Specify that a rule should apply if the market data is requested by an instrument with features or properties satisfying all the given address key filters. If an empty list is given, no additional filtering is done.")
|
34
34
|
__properties = ["instrumentType", "assetClass", "domCcy", "longOrShortIndicator", "addressKeyFilters"]
|
35
35
|
|
36
36
|
class Config:
|
@@ -30,7 +30,7 @@ class QuoteAccessMetadataRuleId(BaseModel):
|
|
30
30
|
instrument_id: Optional[StrictStr] = Field(None,alias="instrumentId", description="The value of the instrument identifier that uniquely identifies the instrument that the quote is for, e.g. 'BBG00JX0P539'.")
|
31
31
|
instrument_id_type: Optional[StrictStr] = Field(None,alias="instrumentIdType", description="The type of instrument identifier used to uniquely identify the instrument that the quote is for, e.g. 'Figi'.")
|
32
32
|
quote_type: Optional[StrictStr] = Field(None,alias="quoteType", description="The type of the quote. This allows for quotes other than prices e.g. rates or spreads to be used.")
|
33
|
-
field: Optional[StrictStr] = Field(None,alias="field", description="The field of the quote e.g. bid, mid, ask etc. This should be consistent across a time series of quotes. The allowed values depend on the provider according to the following rules: Client : *Any value is accepted*; DataScope : 'bid', 'mid', 'ask'; Lusid : *Any value is accepted*; Edi : 'bid', 'mid', 'ask', 'open', 'close', 'last'; TraderMade : 'bid', 'mid', 'ask', 'open', 'close', 'high', 'low'; FactSet : 'bid', 'mid', 'ask', 'open', 'close'; SIX : 'bid', 'mid', 'ask', 'open', 'close', 'last', 'referencePrice', 'highPrice', 'lowPrice', 'maxRedemptionPrice', 'maxSubscriptionPrice', 'openPrice', 'bestBidPrice', 'lastBidPrice', 'bestAskPrice', 'lastAskPrice', 'finalSettlementOptions', 'finalSettlementFutures'; Bloomberg : 'bid', 'mid', 'ask', 'open', 'close', 'last'; Rimes : 'bid', 'mid', 'ask', 'open', 'close', 'last'; ICE : 'ask', 'bid'; LSEG : 'ASK', 'BID', 'MID_PRICE'")
|
33
|
+
field: Optional[StrictStr] = Field(None,alias="field", description="The field of the quote e.g. bid, mid, ask etc. This should be consistent across a time series of quotes. The allowed values depend on the provider according to the following rules: Client : *Any value is accepted*; DataScope : 'bid', 'mid', 'ask'; Lusid : *Any value is accepted*; Edi : 'bid', 'mid', 'ask', 'open', 'close', 'last'; TraderMade : 'bid', 'mid', 'ask', 'open', 'close', 'high', 'low'; FactSet : 'bid', 'mid', 'ask', 'open', 'close'; SIX : 'bid', 'mid', 'ask', 'open', 'close', 'last', 'referencePrice', 'highPrice', 'lowPrice', 'maxRedemptionPrice', 'maxSubscriptionPrice', 'openPrice', 'bestBidPrice', 'lastBidPrice', 'bestAskPrice', 'lastAskPrice', 'finalSettlementOptions', 'finalSettlementFutures', 'valuationPriceAmount'; Bloomberg : 'bid', 'mid', 'ask', 'open', 'close', 'last'; Rimes : 'bid', 'mid', 'ask', 'open', 'close', 'last'; ICE : 'ask', 'bid'; LSEG : 'ASK', 'BID', 'MID_PRICE'")
|
34
34
|
__properties = ["provider", "priceSource", "instrumentId", "instrumentIdType", "quoteType", "field"]
|
35
35
|
|
36
36
|
class Config:
|
lusid/models/quote_series_id.py
CHANGED
@@ -30,7 +30,7 @@ class QuoteSeriesId(BaseModel):
|
|
30
30
|
instrument_id: StrictStr = Field(...,alias="instrumentId", description="The value of the instrument identifier that uniquely identifies the instrument that the quote is for, e.g. 'BBG00JX0P539'.")
|
31
31
|
instrument_id_type: StrictStr = Field(...,alias="instrumentIdType", description="The type of instrument identifier used to uniquely identify the instrument that the quote is for, e.g. 'Figi'. The available values are: LusidInstrumentId, Figi, RIC, QuotePermId, Isin, CurrencyPair, ClientInternal, Sedol, Cusip")
|
32
32
|
quote_type: StrictStr = Field(...,alias="quoteType", description="The type of the quote. This allows for quotes other than prices e.g. rates or spreads to be used. The available values are: Price, Spread, Rate, LogNormalVol, NormalVol, ParSpread, IsdaSpread, Upfront, Index, Ratio, Delta, PoolFactor, InflationAssumption, DirtyPrice, PrincipalWriteOff, InterestDeferred, InterestShortfall")
|
33
|
-
field: StrictStr = Field(...,alias="field", description="The field of the quote e.g. bid, mid, ask etc. This should be consistent across a time series of quotes. The allowed values depend on the provider according to the following rules: Client : *Any value is accepted*; DataScope : 'bid', 'mid', 'ask'; Lusid : *Any value is accepted*; Edi : 'bid', 'mid', 'ask', 'open', 'close', 'last'; TraderMade : 'bid', 'mid', 'ask', 'open', 'close', 'high', 'low'; FactSet : 'bid', 'mid', 'ask', 'open', 'close'; SIX : 'bid', 'mid', 'ask', 'open', 'close', 'last', 'referencePrice', 'highPrice', 'lowPrice', 'maxRedemptionPrice', 'maxSubscriptionPrice', 'openPrice', 'bestBidPrice', 'lastBidPrice', 'bestAskPrice', 'lastAskPrice', 'finalSettlementOptions', 'finalSettlementFutures'; Bloomberg : 'bid', 'mid', 'ask', 'open', 'close', 'last'; Rimes : 'bid', 'mid', 'ask', 'open', 'close', 'last'; ICE : 'ask', 'bid'; LSEG : 'ASK', 'BID', 'MID_PRICE'")
|
33
|
+
field: StrictStr = Field(...,alias="field", description="The field of the quote e.g. bid, mid, ask etc. This should be consistent across a time series of quotes. The allowed values depend on the provider according to the following rules: Client : *Any value is accepted*; DataScope : 'bid', 'mid', 'ask'; Lusid : *Any value is accepted*; Edi : 'bid', 'mid', 'ask', 'open', 'close', 'last'; TraderMade : 'bid', 'mid', 'ask', 'open', 'close', 'high', 'low'; FactSet : 'bid', 'mid', 'ask', 'open', 'close'; SIX : 'bid', 'mid', 'ask', 'open', 'close', 'last', 'referencePrice', 'highPrice', 'lowPrice', 'maxRedemptionPrice', 'maxSubscriptionPrice', 'openPrice', 'bestBidPrice', 'lastBidPrice', 'bestAskPrice', 'lastAskPrice', 'finalSettlementOptions', 'finalSettlementFutures', 'valuationPriceAmount'; Bloomberg : 'bid', 'mid', 'ask', 'open', 'close', 'last'; Rimes : 'bid', 'mid', 'ask', 'open', 'close', 'last'; ICE : 'ask', 'bid'; LSEG : 'ASK', 'BID', 'MID_PRICE'")
|
34
34
|
__properties = ["provider", "priceSource", "instrumentId", "instrumentIdType", "quoteType", "field"]
|
35
35
|
|
36
36
|
@validator('instrument_id_type')
|
@@ -74,7 +74,7 @@ lusid/api/translation_api.py,sha256=xpRuTfwQvYBlWe6r_L2EI_uVpXqHFnEOim-i-kVQ85E,
|
|
74
74
|
lusid/api/workspace_api.py,sha256=RplAKcky_SrK0V3nhh2K0UmWGeXggr6RQ4-g9Hqy7hw,190986
|
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=eRVMhxQHxLZypgBOddjiZKXETye7LBzx7n7-a66sewk,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
|
@@ -293,7 +293,7 @@ lusid/models/composite_breakdown_request.py,sha256=x2YZ13OTN6jmQFLopzm1j24ya8DxG
|
|
293
293
|
lusid/models/composite_breakdown_response.py,sha256=E5UO9I5ABXAypRLr2JfyBnPiC5WeAu1LwOkFANMV-sM,4172
|
294
294
|
lusid/models/composite_dispersion.py,sha256=KIxrfrofL9SC7zrrY1-fZV9i1HPSjKbAqxZ-uyOVKm0,6759
|
295
295
|
lusid/models/composite_dispersion_response.py,sha256=IBuzbYe2nh49pGgebgpTzjrrLQkHTAMrFJu-V3aUim4,4385
|
296
|
-
lusid/models/compounding.py,sha256=
|
296
|
+
lusid/models/compounding.py,sha256=DP6ff5Mqems_3VtGD-X753qSxadOKPzUPG5Oiqnx7fk,6252
|
297
297
|
lusid/models/configuration_recipe.py,sha256=OzgndBBEnCd1FZjVMLc30lSZKyBfCdL1SZvi9S_Yw3w,5138
|
298
298
|
lusid/models/constant_volatility_surface.py,sha256=qzCo1b28RQJ44evk_3K8Qot7rWWCjNhz21bC1f8rue8,8404
|
299
299
|
lusid/models/constituents_adjustment_header.py,sha256=kqDrjVNDMJDetKqWG9-LTe_C88NafQVTyIogZp6fW6M,3465
|
@@ -405,7 +405,7 @@ lusid/models/delete_modes.py,sha256=AIBsUUhXwkC7yJcJGV5Ry8JpCKjfvCyNCBdg39_Ax7g,
|
|
405
405
|
lusid/models/delete_relation_request.py,sha256=cQWTwFhc4Rln7uy1pdhB2Gk5KmURXLfE4pXbDwmkrl4,2494
|
406
406
|
lusid/models/delete_relationship_request.py,sha256=_ufItTGicd4s0Ki19M09hgwMqUVH2VXmmgLa93Rj-iU,3542
|
407
407
|
lusid/models/deleted_entity_response.py,sha256=B11ZEZwBxb_PLgbykXdBdLo6Iu6O8OtzqG400MGNwII,5380
|
408
|
-
lusid/models/dependency_source_filter.py,sha256=
|
408
|
+
lusid/models/dependency_source_filter.py,sha256=4GKl5zFqKpWH4ob8beEW7AgSQ97NffrxUXVeRZZU8ec,5939
|
409
409
|
lusid/models/deposit_close_event.py,sha256=3OY0R6ln20MvqrfUIlopj77TkCpvY478Z611O63iXy4,10274
|
410
410
|
lusid/models/deposit_interest_payment_event.py,sha256=Npm8lm6U2d_7-v1pRIvwznirAyJ02XhmiWoKz3xDT_8,10704
|
411
411
|
lusid/models/described_address_key.py,sha256=UHxYHgYe3uM-6rQSTCzeEqft0ngze4TdCc-JesxCp_I,2932
|
@@ -904,11 +904,11 @@ lusid/models/query_trade_tickets_request.py,sha256=L_ewkx18rkMhzVBKbhYAsJBtOvku2
|
|
904
904
|
lusid/models/queryable_key.py,sha256=J2k4FMn34zWg9M8ttfS4EH1TOHFN-0U_4hlgy3rYup4,8451
|
905
905
|
lusid/models/quote.py,sha256=CHugRXD9w1Dvn_QVX5WnY3MUx-tVqFBWhYckQrZ2U_E,4707
|
906
906
|
lusid/models/quote_access_metadata_rule.py,sha256=0dWPOxmpEzTznMSWjqgXKf506A-VF_10-qt6dFqYatY,3411
|
907
|
-
lusid/models/quote_access_metadata_rule_id.py,sha256=
|
907
|
+
lusid/models/quote_access_metadata_rule_id.py,sha256=cc93VUpMugRQYvdYLweSoA1QF3kErltpYhjai9DaGgU,5849
|
908
908
|
lusid/models/quote_dependency.py,sha256=OM9lo-nq1ytDmafBJ9P5d8TSPc3Z9A5FIdJA0nq08rg,7802
|
909
909
|
lusid/models/quote_id.py,sha256=w0SLJOhCtOB9GM2eFKdjeYerX3efm017Q_0UkhMSHh4,2628
|
910
910
|
lusid/models/quote_instrument_id_type.py,sha256=xLx1GjV_zFUIJcpw2JmCyWmzd9QR6S7ORFajcjtAHBw,886
|
911
|
-
lusid/models/quote_series_id.py,sha256=
|
911
|
+
lusid/models/quote_series_id.py,sha256=eBPfRVY7SY1_dq_X1nizUzkcjYGIJBs3LR4ItNkHYXk,12265
|
912
912
|
lusid/models/quote_type.py,sha256=18LUYnfqUvhGJ0utX4QZIDjmZGXxHT1_3dooUPVi5OI,1088
|
913
913
|
lusid/models/raw_vendor_event.py,sha256=OPUs4Mt5_83L9ew40wINz6ZH1Dpbh3muxKg0wiJ9SWI,11069
|
914
914
|
lusid/models/re_open_period_diary_entry_request.py,sha256=cbx4lBx2lCXSe2eaVTSMaDhWcPmBCg5WchApthismAc,2620
|
@@ -1293,6 +1293,6 @@ lusid/models/workspace_update_request.py,sha256=ihKnBY685hfgs9uoyAXQNt1w7iOF-6Jc
|
|
1293
1293
|
lusid/models/yield_curve_data.py,sha256=I1ZSWxHMgUxj9OQt6i9a4S91KB4_XtmrfFxpN_PV3YQ,9561
|
1294
1294
|
lusid/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
1295
1295
|
lusid/rest.py,sha256=HQT__5LQEMu6_1sLKvYj-DI4FH1DJXBIPYfZCTTyrY4,13431
|
1296
|
-
lusid_sdk-2.1.
|
1297
|
-
lusid_sdk-2.1.
|
1298
|
-
lusid_sdk-2.1.
|
1296
|
+
lusid_sdk-2.1.754.dist-info/METADATA,sha256=jukb8ZqXxRsdcTvcHGPTF8Bh7u-gM9n9CiLq2PdiNLg,219946
|
1297
|
+
lusid_sdk-2.1.754.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
1298
|
+
lusid_sdk-2.1.754.dist-info/RECORD,,
|
File without changes
|