getSymbolLookUp: getSymbolLookup Barchart data.

Description Usage Arguments Value Author(s) See Also Examples

Description

getSymbolLookUp returns an data frame. The getSymbolLookUp API provides a list of all instruments based on the keyword being passed.

Usage

1
2
getSymbolLookUp(keyword, limit = 10, exchanges = "NYSE,AMEX,NASDAQ,COMEX",
  moreBestMatches = "true", moreBestMatchLimit = 4, fields = "")

Arguments

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.

Value

data frame

Author(s)

Mario Pisa

See Also

https://www.barchart.com/ondemand/api/getSymbolLookUp

Examples

 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')

mariope/RBarchart documentation built on June 24, 2019, 9:47 p.m.