API Support Forum
OEC API > API Support > How to use OEC.API.SymbolLookupCriteria
Author Topic: How to use OEC.API.SymbolLookupCriteria
(2 messages, Page 1 of 1)
Moderators: VPfau
TLau471
Posts: 24
Joined: Aug 27, 2013


Posted: Mar 25, 2019 @ 01:09 AM             Msg. 1 of 2
When I send the following on 25th Mar 2019

With aBunchOfES
.SearchText = "GGC"
.Mode = OEC.Data.SymbolLookupMode.SymbolStartsWith
End With

GGCJ9 (Apr 2019) is not returned. Why is this so? Please advise.
TLau
SRuscak
Posts: 5
Joined: Aug 24, 2017


Posted: Mar 25, 2019 @ 12:20 PM             Msg. 2 of 2
Symbol Lookup is used for fast text-based lookups, so it will return only a subset of the total results. Probably your query is using the default of 10 results and you can get GGCJ9 by setting DesiredResultCount = 50