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 SOAP 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?
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: