lusid-sdk 2.1.967__py3-none-any.whl → 2.1.968__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.8347\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/quote_series_id.py
CHANGED
@@ -31,7 +31,8 @@ class QuoteSeriesId(BaseModel):
|
|
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, ConstituentWeightFactor")
|
33
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', 'close', 'high', 'low', 'open', 'primaryExchangeTradePrice', 'vwap', 'mid'; LSEG : 'ASK', 'BID', 'MID_PRICE'")
|
34
|
-
|
34
|
+
entity_unique_id: Optional[StrictStr] = Field(None,alias="entityUniqueId", description="The entity unique ID of the quote series. Together with the InstrumentId, EffectiveAt and AsAt this can uniquely identify a single quote. This field is readonly and cannot be provided on upsert.")
|
35
|
+
__properties = ["provider", "priceSource", "instrumentId", "instrumentIdType", "quoteType", "field", "entityUniqueId"]
|
35
36
|
|
36
37
|
@validator('instrument_id_type')
|
37
38
|
def instrument_id_type_validate_enum(cls, value):
|
@@ -181,6 +182,7 @@ class QuoteSeriesId(BaseModel):
|
|
181
182
|
"""Returns the dictionary representation of the model using alias"""
|
182
183
|
_dict = self.dict(by_alias=True,
|
183
184
|
exclude={
|
185
|
+
"entity_unique_id",
|
184
186
|
},
|
185
187
|
exclude_none=True)
|
186
188
|
# set to None if price_source (nullable) is None
|
@@ -188,6 +190,11 @@ class QuoteSeriesId(BaseModel):
|
|
188
190
|
if self.price_source is None and "price_source" in self.__fields_set__:
|
189
191
|
_dict['priceSource'] = None
|
190
192
|
|
193
|
+
# set to None if entity_unique_id (nullable) is None
|
194
|
+
# and __fields_set__ contains the field
|
195
|
+
if self.entity_unique_id is None and "entity_unique_id" in self.__fields_set__:
|
196
|
+
_dict['entityUniqueId'] = None
|
197
|
+
|
191
198
|
return _dict
|
192
199
|
|
193
200
|
@classmethod
|
@@ -205,6 +212,7 @@ class QuoteSeriesId(BaseModel):
|
|
205
212
|
"instrument_id": obj.get("instrumentId"),
|
206
213
|
"instrument_id_type": obj.get("instrumentIdType"),
|
207
214
|
"quote_type": obj.get("quoteType"),
|
208
|
-
"field": obj.get("field")
|
215
|
+
"field": obj.get("field"),
|
216
|
+
"entity_unique_id": obj.get("entityUniqueId")
|
209
217
|
})
|
210
218
|
return _obj
|
@@ -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=WM7AC1UQjDbYJSZnWhJy-ZqpyGs1KLmVQYaxVALsA5U,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
|
@@ -972,7 +972,7 @@ lusid/models/quote_access_metadata_rule_id.py,sha256=P0qZPdCTH1O8ZKwFIVG_lqV_xM-
|
|
972
972
|
lusid/models/quote_dependency.py,sha256=OM9lo-nq1ytDmafBJ9P5d8TSPc3Z9A5FIdJA0nq08rg,7802
|
973
973
|
lusid/models/quote_id.py,sha256=w0SLJOhCtOB9GM2eFKdjeYerX3efm017Q_0UkhMSHh4,2628
|
974
974
|
lusid/models/quote_instrument_id_type.py,sha256=xLx1GjV_zFUIJcpw2JmCyWmzd9QR6S7ORFajcjtAHBw,886
|
975
|
-
lusid/models/quote_series_id.py,sha256=
|
975
|
+
lusid/models/quote_series_id.py,sha256=sEV2_OBUeeHLCUZW5xDglfI3xpxPe_l94mFfB3EONuo,13077
|
976
976
|
lusid/models/quote_type.py,sha256=PcgNMkDIwcHRwNejD4cQOKdo-NQfRDXb1Cr25QQvAKY,1144
|
977
977
|
lusid/models/raw_vendor_event.py,sha256=Bn12F_No3U2JVkXxZ5kJGP8Xq0JtjND9TQ2d5-osJ7s,12013
|
978
978
|
lusid/models/re_open_period_diary_entry_request.py,sha256=cbx4lBx2lCXSe2eaVTSMaDhWcPmBCg5WchApthismAc,2620
|
@@ -1393,6 +1393,6 @@ lusid/models/year_month_day.py,sha256=gwSoxFwlD_wffKdddo1wfvAcLq3Cht3FHQidiaHzAA
|
|
1393
1393
|
lusid/models/yield_curve_data.py,sha256=I1ZSWxHMgUxj9OQt6i9a4S91KB4_XtmrfFxpN_PV3YQ,9561
|
1394
1394
|
lusid/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
1395
1395
|
lusid/rest.py,sha256=HQT__5LQEMu6_1sLKvYj-DI4FH1DJXBIPYfZCTTyrY4,13431
|
1396
|
-
lusid_sdk-2.1.
|
1397
|
-
lusid_sdk-2.1.
|
1398
|
-
lusid_sdk-2.1.
|
1396
|
+
lusid_sdk-2.1.968.dist-info/METADATA,sha256=1ymYKZitkwKTGIUMaAoNU_jH63nnApFN3P_oLewhAR4,234120
|
1397
|
+
lusid_sdk-2.1.968.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
1398
|
+
lusid_sdk-2.1.968.dist-info/RECORD,,
|
File without changes
|