Search Response
The instruments a SYMBOL_SEARCH keyword matched, or the message the API returned in place of them.
A response carries results or an error, never both. On success getErrorMessage is null and getBestMatches holds the matches; on failure the message is set and the match list is empty. Keywords that match nothing count as a success, not a failure: the list is empty and the error message stays null, so the list alone does not distinguish "no such symbol" from a rejected request.
Author
Sylvester Sefa-Yeboah
Since
1.8.0
Functions
Link copied to clipboard
Gets the matched instruments, most relevant first, as ranked by getMatchScore.
Link copied to clipboard
Gets the reason the search returned no results, as reported by the API.