Datascope GovCorpSearch API Active Instruments Less results than Datascope UI
I'm trying to mimick a search I am doing through datascope ui using datascope select api.
It is a bond search for corporate, active, aussie dollar.
I get 2000 records - however when I use Gov/Corp Search through the api - I get like 250 records.
One strange thing I find is that the AssetStatuses have no status for active on the api but do for the UI - somebody else raised this in another question - however it was mentioned that it was the old thompson reuters api rather than refinitiv. I'm calling the Refinitiv api and there seems to be no Active Status.
Also ideally I want callable and non-callable - should I pass null for that rather than true/false.
Why am I getting 250 through the api and over 2000 using the ui.
Payload and screenshot below.
Thanks,
Adam
Request
{
"SearchRequest": {
"AssetStatuses": [],
"CountryCode": null,
"Coupon": null,
"CurrencyCodes": [
"AUD"
],
"Group": {
"Agency": false,
"Government": false,
"Corporate": true,
"Supra": false
},
"MoodyRatingsCodes": [],
"StandardPoorsRatingsCodes": [],
"Callable": false,
"Convertable": false,
"Extendable": false,
"Putable": false,
"Sinkable": false,
"IssueDate": null,
"MaturityDate": null,
"NextPayDate": null,
"Ticker": null,
"IdentifierType": "Ric",
"PreferredIdentifierType": "Isin"
}}
Response Sample - first 2 of 250:
{
"@odata.context": https://selectapi.datascope.refinitiv.com/RestApi/v1/$metadata#Collection(DataScope.Select.Api.Content.ValidatedInstrument),
"value": [
{
"Identifier": "AU00000AZZG9",
"IdentifierType": "Isin",
"Source": "CPT",
"Key": "VjF8MHgwMDAzODYwMDgwYTJjNjYxfDB4MDAwNDA1MDAxY2UzMGJmNXxDUFR8R0NCRHx8fEd8QXxBVUFaWjEwMTM9fA",
"Description": "BNL 10.000 10/30/23 CVT DFTd",
"InstrumentType": "GovCorpBond",
"Status": "Valid"
},
{
"Identifier": "AU00000AZZG9",
"IdentifierType": "Isin",
"Source": "EJV",
"Key": "VjF8MHgwMDAzODYwMDgwYTJjNjYxfDB4MDAxMDJjMGRmZGVlMTMzMXxFSlZ8R0NCRHx8fEd8QXx8R09SUA",
"Description": "BNL 10.000 10/30/23 CVT DFTd",
"InstrumentType": "GovCorpBond",
"Status": "Valid"
},
],
"@odata.nextlink": "https://selectapi.datascope.refinitiv.com/RestApi/v1/Search/GovCorpSearch?$skiptoken='MjUw'"
}
Best Answer
-
I think the ACTIVE is a default value in the DSS REST API.
For example, if I set the AssetStatuses to [] and Ticker to DBSM, the API returns 567 records which is the same number on the DSS Web GUI when using "ACTIVE". These 567 entries don't have non-active items.
if I set the AssetStatuses to ["NAC"] and Ticker to DBSM, the API returns 3 records which is the same number on the DSS Web GUI when using "Not Active".
If I set the Status to "ACTIVE" and "Not Active" and Ticker to DBSM on DSS Web GUI, it returns 567 records. These 567 entries don't have non-active items. I think the "ACTIVE" overrides the "Not Active" on DSS Web GUI.
The type of the "Callable" property is boolean. You should set it to true or false.
0
Answers
-
I can answer my own question here. It limits the results to pages and there's a link at the bottom to get the next page.
Any comments on the active status though is it just ISS or is it ISS Plus other statuses?
Thanks,
Adam
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
- 690 Datastream
- 1.4K DSS
- 629 Eikon COM
- 5.2K Eikon Data APIs
- 11 Electronic Trading
- 1 Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 255 ETA
- 559 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
- 280 Open PermID
- 45 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 23 RDMS
- 2K Refinitiv Data Platform
- 716 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
- 95 Workspace SDK
- 11 Element Framework
- 5 Grid
- 19 World-Check Data File
- 1 Yield Book Analytics
- 48 中文论坛