Description Usage Arguments Value Author(s) See Also Examples
getSymbolLookUp
returns an data frame.
The getSymbolLookUp API provides a list of all instruments based on the keyword being passed.
1 2 | getSymbolLookUp(keyword, limit = 10, exchanges = "NYSE,AMEX,NASDAQ,COMEX",
moreBestMatches = "true", moreBestMatchLimit = 4, fields = "")
|
keyword |
Required; The keyword on which the search needs to be made. |
limit |
optional; The number of results to be returned. |
exchanges |
optional; Valid exchange code. Multiple exchanges can be passed separated by a comma. Default NYSE,AMEX,NASDAQ,COMEX |
moreBestMatches |
optional; To get additional best match results. Boolean. Dafault = 'true'. |
moreBestMatchLimit |
optional; The number of additional best match results that should be returned. Default = 4 |
fields |
optional; The fields requested. A comma or semi-colon delimited string. |
data frame
Mario Pisa
https://www.barchart.com/ondemand/api/getSymbolLookUp
1 2 3 4 5 6 7 8 9 10 11 | getSymbolLookUp('GC', limit = 100, exchanges = 'COMEX')
getSymbolLookUp('Gold', limit = 100, exchanges = 'COMEX')
getSymbolLookUp('Gold', limit = 100, exchanges = 'CXMI')
getSymbolLookUp('Zinc', limit = 1000, exchanges = 'COMEX')
getSymbolLookUp('A', limit = 1000, exchanges = 'COMEX')
getSymbolLookUp('E-Mini', limit = 100, exchanges = 'CXMI')
getSymbolLookUp('E-Micro', limit = 100, exchanges = 'CXMI')
getSymbolLookUp('19', limit = 100, exchanges = 'CXMI')
getSymbolLookUp('19', limit = 100, exchanges = 'COMEX')
getSymbolLookUp('%', limit = 90000, exchanges = 'COMEX', moreBestMatches = 'true')
getSymbolLookUp('%', limit = 90000, exchanges = 'CXMI')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.