My requirement is to do a search for a particular instrument in few exchanges. But DSS /Search/InstrumentSearch gives symbols on every exchange available. Is there a way to limit the search based on exchanges?
For a deeper look into our DataScope Select REST API, look into:
Overview | Quickstart | Documentation | Downloads | Tutorials
My requirement is to do a search for a particular instrument in few exchanges. But DSS /Search/InstrumentSearch gives symbols on every exchange available. Is there a way to limit the search based on exchanges?
Hello @dilan.cse
Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?
If yes, please click the 'Accept' text next to the reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.
Thanks,
AHS
Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.
Thanks,
AHS
InstrumentSearch request doesn't support ExchangeCodes property. Therefore, you are unable to specify it in the request. Therefore, you need to filter it in the response.
Otherwise, you can use other searches, such as Search/EquitySearch, and Search/FuturesAndOptionsSearch that can specify ExchangeCodes in the request.
{ "SearchRequest": { "AssetStatus": "Active", "AssetCategoryCodes": null, "SubTypeCodes": null, "CurrencyCodes": null, "CompanyName": "IBM", "Description": null, "DomicileCodes": null, "ExchangeCodes": ["NYS"], "FairValueIndicator": null, "FileCodes": null, "GicsCodes": null, "OrgId": null, "Ticker": null, "Identifier": null, "IdentifierType": null, "PreferredIdentifierType": null } }
For more information, please refer to: