Stock Symbol Search
Introduction
The function EClient.reqMatchingSymbols is available to search for stock contracts. The input can be either the first few letters of the ticker symbol, or for longer strings, a character sequence matching a word in the security name. For instance to search for the stock symbol ‘IBKR’, the input ‘I’ or ‘IB’ can be used, as well as the word ‘Interactive’. Up to 16 matching results are returned.
There must be an interval of at least 1 second between successive calls to reqMatchingSymbols.
Matching stock contracts are returned to EWrapper.symbolSamples with information about types of derivative contracts which exist (warrants, options, dutch warrants, futures).
Request Stock Contract Search
EClient.reqMatchingSymbols(reqId, pattern)
Requests matching stock symbols.
Request identifier used to track data.
Either start of ticker symbol or (for larger strings) company name.
Python
Java
C++
C#
VB.NET
Receive Searched Stock Contract
EWrapper.symbolSamples(reqID, contractDescription)
Returns array of sample contract descriptions.
Request identifier used to track data.
Provide an array of contract objects matching the requested description.

