DSS Composite extraction request give one Ric for each Instrument

I am using below extraction request which is currently giving just Instrument and one Ric market with the pricing option values. But somehow this logic is incorrect. Normally for one company(Instrument) there will be more than one markets. For example when i checked from the DSS gui for ISIN "CA0679011084", we received below markets:
How can i achieve this result using composite extraction request ? Below is my extraction request in which when i pass one ISIN "CA0679011084" its returning just one market :
CA0679011084,3348623,3420466,26.774204682,66732329.762991406,,,1779285869,
requestBody = {
"ExtractionRequest": {
"@odata.type": "#DataScope.Select.Api.Extractions.ExtractionRequests.CompositeExtractionRequest",
"ContentFieldNames": [
"ISIN","Average Volume - 30 Days","Average Volume - 90 Days","Close on Close Volatility - 90 Days","Dollar Daily Value Average - 30 Days","CESR Free Float","CRA Free Float","Outstanding Shares - Issue Shares Amount","Outstanding Shares - Other Shares Amount"
],
"IdentifierList": {
"@odata.type": "#DataScope.Select.Api.Extractions.ExtractionRequests.InstrumentIdentifierList",
"InstrumentIdentifiers": [{
"Identifier": "CA0679011084",
"IdentifierType": "Isin"
}]
},
"Condition": {
"ScalableCurrency": "true"
}
}
}
Below is my python code:composite_extratcion_request.txt
Best Answer
-
@rahul.deshmukh Hi Rahul, the screenshot at the top is from a DSS Search endpoint, therefore you get results as Search does not impact usage.
As the Composite is a Extraction and usage will be applicable, generally DSS selects a single RIC for use for Pricing fields to limit the results.
If you were wanting to get back records for all Sources probably what you are after is to have in the requestBody:
"InstrumentIdentifiers": [{
"Identifier": "CA0679011084",
"IdentifierType": "Isin",
"Source": "*",
}]RIC is a Pricing-level Identifier which already defines the Source. Using the ISIN with the Source using the * wildcard will expand the ISIN (instrument-level) to include all price sources (RICs).
Best regards,
Gareth
0
Answers
-
@Gurpreet Its regarding the same composite extraction request where i am just getting one market per ISIN which is incorrect...Can you please help here..thanks..0
-
@gteage thanks for the feedback...its working now and giving the result with all the markets for given Instrument0
-
@gteage currently for 630 Instruments i am getting almost more than 100k rows returned...I dont know if it also includes Valid and updated markets ...do i have to provide additional option in the extraction requeststo restrict the data with maybe valid and updated markets ?0
-
Hi Rahul, generally speaking Equity RICs when they are inactive get renamed with a end syntax of ^ for showing listed then a period code + year digit, eg. inactive/delisted RIC: SER1f.TBEA^H21 associated to ISIN: CA71677J1012, also the Trading Status of the quote should be be 0 (inactive) for RIC which contain the ^ syntax.
If you need a parameter that would only include the Active only you can explicitly set this in the validation options*: AllowInactiveInstruments option set to false limits to active 'valid' only, and true to include active/delisted, example attached Example.Request.txt - example attached does not allow inactive instruments.
(* I'm not sure but on testing without any Validation Options specified at all it appears that the default may be set to include the inactive RICs with ^ and Trading Status = 0.)
Best regards,
Gareth
0 -
I am getting as error as :
"AllowInactiveInstruments": false
NameError: name 'false' is not defined
May be its not allowed to use this option for composite extraction request?
"IdentifierList": {
"@odata.type": "#DataScope.Select.Api.Extractions.ExtractionRequests.InstrumentIdentifierList",
"InstrumentIdentifiers": [
{
"Identifier": "CA71677J1012",
"IdentifierType": "Isin",
"Source": "*"
}
],
"ValidationOptions": {
"AllowInactiveInstruments": false
},
"UseUserPreferencesForValidationOptions": false
},
"Condition": {
"ScalableCurrency": "true"
}0 -
@rahul.deshmukh Hi Rahul,
This worked for me as a request body (response from the 200 OK attached Example.Response.txt):
{
"ExtractionRequest": {
"@odata.type": "#DataScope.Select.Api.Extractions.ExtractionRequests.CompositeExtractionRequest",
"ContentFieldNames": [
"Issue PermID",
"Asset ID",
"Quote PermID",
"Quote ID",
"RIC",
"Exchange Code",
"Exchange Description",
"Trading Status"
],
"IdentifierList": {
"@odata.type": "#DataScope.Select.Api.Extractions.ExtractionRequests.InstrumentIdentifierList",
"InstrumentIdentifiers": [
{
"Identifier": "CA71677J1012",
"IdentifierType": "Isin",
"Source": "*"
}
],
"ValidationOptions": {
"AllowInactiveInstruments": false
},
"UseUserPreferencesForValidationOptions": false
},
"Condition": {
"ScalableCurrency": "true"
}
}
}0 -
@gteage thanks its working now and it also removed the markets which has ^ syntax
0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 684 Datastream
- 1.4K DSS
- 615 Eikon COM
- 5.2K Eikon Data APIs
- 10 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 250 ETA
- 555 WebSocket API
- 37 FX Venues
- 14 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 23 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 275 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 22 RDMS
- 1.9K Refinitiv Data Platform
- 643 Refinitiv Data Platform Libraries
- 4 LSEG Due Diligence
- LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 27 DACS Station
- 121 Open DACS
- 1.1K RFA
- 104 UPA
- 193 TREP Infrastructure
- 228 TRKD
- 915 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 90 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛