how to create Instrument List in DSS based on the market
there is a way create the Instrument List in DSS based on the market, i.e. HK market, US market, so the on scheduled extraction can include all active products of the market in current every time ?
Best Answer
-
Hi @Eason
I believe that you can use filecode.
For example, filecode 1 is for HK stock exchange.
You can add the filecode "1" to your instrument list using DSS API.
And you can use the instrument list in your extraction request.
0
Answers
-
Hello @Eason,
You may wish to consult with Refinitiv content experts directly via Refinitiv Helpdesk Online -> Content -> DSS to have an authoritative answer on the best approach in terms of content to create such instrument list, first, and then refer to it from your code ( I am assuming you are looking to affect this requirement programmatically)
Going to discuss the possible approaches to covering the requirement (I am a developer), approaching it as "instruments per exchange".
One approach you can take, is use DSS GUI to:
- Create an Instrument List
- Search up the instruments, add them to list,
- Refer to the list programmatically, from code from that point.
The fully programmatic approach is:
1. Run a search and identify your instruments, there are several search options, would suggest to see which one works for your use case. If you are looking for equities, the convenient approach is EquitySearch request, for example on PAR:
{{protocol}}{{host}}{{api}}Search/EquitySearch
{
"SearchRequest": {
"AssetStatus": "Active",
"AssetCategoryCodes": null,
"SubTypeCodes": null,
"CurrencyCodes": null,
"CompanyName": null,
"Description": null,
"DomicileCodes": null,
"ExchangeCodes": [
"PAR"
],
"FairValueIndicator": null,
"FileCodes": null,
"GicsCodes": null,
"OrgId": null,
"Ticker": "UG",
"Identifier": null,
"IdentifierType": null,
"PreferredIdentifierType": null
}
}Another approach can be HistoricalCriteriaSearch
For example, on NYSE:
{{protocol}}{{host}}{{api}}Search/HistoricalCriteriaSearch
{
"Request": {
"RicPattern": ".N$",
"BondTypeCodes": null,
"ContributorIds": null,
"CountryCodes": null,
"CurrencyCodes": null,
"ExchangeCodes": null,
"FutureMonthCodes": null,
"InstrumentTypeCodes": null,
"OptionMonthCodes": null,
"OptionTypeCodes": null,
"CouponRate": null,
"StrikePrice": null,
"ExpiryDate": null,
"MaturityDate": null,
"Range": {
"Start": "2021-05-07T00:00:00.000Z",
"End": "2021-05-29T00:00:00.000Z"
}
}
}2. Once the instruments are identified, create instrument list and add the instruments identified to it. See REST API Tutorial 10: GUI control calls: immediate extract for detailed information on how to create instrument list and add instruments to it.
Hope this information helps
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
- 695 Datastream
- 1.5K DSS
- 631 Eikon COM
- 5.2K Eikon Data APIs
- 12 Electronic Trading
- 1 Generic FIX
- 7 Local Bank Node API
- 4 Trading API
- 2.9K Elektron
- 1.4K EMA
- 255 ETA
- 562 WebSocket API
- 39 FX Venues
- 15 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 25 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 281 Open PermID
- 46 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 23 RDMS
- 2K Refinitiv Data Platform
- 736 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
- 106 UPA
- 194 TREP Infrastructure
- 229 TRKD
- 918 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 96 Workspace SDK
- 11 Element Framework
- 5 Grid
- 19 World-Check Data File
- 1 Yield Book Analytics
- 48 中文论坛