If I specify the following request, I get a list of 32 items...
requestUrl = "https://hosted.datascopeapi.reuters.com/RestApi/v1/Search/FuturesAndOptionsSearch" requestHeaders={ "Prefer":"respond-async", "Content-Type":"application/json", "Authorization": "token " + token } requestBody={ "SearchRequest": { "AssetStatus": "Active", "FileCodes": None, "CurrencyCodes": None, "ExchangeCodes": ["NYM"], "FuturesAndOptionsType": "FuturesOnOptions", "StrikePrice": { "@odata.type": "#ThomsonReuters.Dss.Api.Search.NumericRangeComparison", "From": 49.99, "To": 50.01 }, "ExpirationDate": { "@odata.type": "#ThomsonReuters.Dss.Api.Search.DateRangeComparison", "From": "2020-01-01T00:00:00.000Z", "To": "2020-01-30T00:00:00.000Z" }, "PutCall": None, "PreferredIdentifierType": "Ric" } }
if I change 2 things... Change the AssetStatus to "Inactive", and move the dates back one year, I get nothing back? How can that be?
requestUrl = "https://hosted.datascopeapi.reuters.com/RestApi/v1/Search/FuturesAndOptionsSearch" requestHeaders={ "Prefer":"respond-async", "Content-Type":"application/json", "Authorization": "token " + token } requestBody={ "SearchRequest": { "AssetStatus": "Inactive", "FileCodes": None, "CurrencyCodes": None, "ExchangeCodes": ["NYM"], "FuturesAndOptionsType": "FuturesOnOptions", "StrikePrice": { "@odata.type": "#ThomsonReuters.Dss.Api.Search.NumericRangeComparison", "From": 49.99, "To": 50.01 }, "ExpirationDate": { "@odata.type": "#ThomsonReuters.Dss.Api.Search.DateRangeComparison", "From": "2019-01-01T00:00:00.000Z", "To": "2019-01-30T00:00:00.000Z" }, "PutCall": None, "PreferredIdentifierType": "Ric" } }