Search API not case sensitive

Dear Developer Community
i'm sharing with you an issue facing with Search API.
Indeed, using Sraech API, i want to find Options matching criteria below (given for example purpose):
- ExpiryDate:15/11/2024
- StrikePrice: 5200
- Ric starts with SPXw
the issue is that the Search Module (and also Search API) is not case sensitive and give me 2 options :
1- 1st one starts with SPXw
2- 2nd Option Starts with SPXWw
to resolve this, i'm wondering if is it possible to force a case sensitive match using Rsearch API
or if it's possible to use regex (for instance define search criteria as SPXw[0-9] to be able toi exclude option starting with SPXWw.
many thanks for you help and suggestion.
Answers
-
According to the documentation, the search API is case sensitive:
For example:response=search.Definition(
view = search.Views.EQUITY_DERIVATIVE_QUOTES,
filter = "ExpiryDateString xeq '15 Nov 2024' and startswith(RIC, 'SPXw') and StrikePrice eq 5200",
select = "_, ExpiryDate, StrikePrice",
top = 10000
).get_data()
response.data.d0 -
dear @nick.zincone
tanhk u for your help, it's the solution i have found to deal with case sensitive issue. there was an issue with server i wasn't able to connect to LSEG devlopers to share the solution found
such options are not shown in SRCH App, when i specify search criteria using start with filter, SRCH App define it as below (usint RIC eq 'SPXw*') that's is not case sensitive
response = search.Definition(
view = search.Views.EQUITY_QUOTES,
top = 10,
filter = "( SearchAllCategoryv2 eq 'Options' and RIC eq 'SPXw*' and ExpiryDate eq 2024-11-15 and StrikePrice eq 5200 and CallPutOption xeq 'Put')",
select = "DTSubjectName,AssetState,BusinessEntity,PI,SearchAllCategoryv3,SearchAllCategoryv2,SearchAllCategory,ExchangeName,CallPutOption,StrikePrice,ExpiryDate,RIC,UnderlyingQuoteRIC,UnderlyingIssuerName,UnderlyingRCSAssetCategoryLeaf"
).get_data()
response.data.df
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
- 685 Datastream
- 1.4K DSS
- 615 Eikon COM
- 5.2K Eikon Data APIs
- 10 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 252 ETA
- 556 WebSocket API
- 38 FX Venues
- 14 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 23 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 275 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 22 RDMS
- 1.9K Refinitiv Data Platform
- 652 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
- 104 UPA
- 193 TREP Infrastructure
- 228 TRKD
- 917 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 90 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛