Class Query

java.lang.Object
com.studerw.tda.model.instrument.Query

public class Query extends Object

Query TDA for instruments , either using symbol, name, description, cusip, etc. Apparently the following instrument types are queryable: Instrument.AssetType.

The following QueryTypes can be made:

  • SYMBOL_SEARCH: retrieve an instrument using the exact symbol name or CUSIP
  • SYMBOL_REGEX: Retrieve instrument data for all symbols matching regex. For example XYZ.* will return all symbols beginning with XYZ
  • DESCRIPTION_SEARCH: Retrieve instrument data for instruments whose description contains the word supplied. Example: Bank will return all instruments with Bank in the description.
  • DESCRIPTION_REGEX: Search description with full regex support. For example XYZ.[A-C] returns all instruments whose descriptions contain a word beginning with XYZ followed by a character A through C.
See Also: