get_symbology: get_symbology

Description Usage Arguments Details Value Examples

Description

Returns a list of instrument names converted into another instrument code.

Usage

1
2
get_symbology(symbol, from_symbol_type = "RIC", to_symbol_type = NULL,
  raw_ouput = FALSE, debug = FALSE)

Arguments

symbol:

string or list of strings Single instrument or list of instruments to convert.

from_symbol_type:

string

to_symbol_type:

string or list Instrument code to convert to. Possible values: 'CUSIP', 'ISIN', 'SEDOL', 'RIC', 'ticker'

raw_output:

boolean Set this parameter to True to get the data in json format if set to False, the function will return a data frame The default value is False

debug:

bool When set to True, the json request and response are printed.

Details

For example: convert SEDOL instrument names to RIC names

Value

: DataFrame containing the converted symbols

Examples

1
2
3
4
5
6
7
8
9
--------
library(eikon_r)
set_app_id('YOUR_APP_ID')
> get_symbology(["MSFT.O", "GOOG.O", "IBM.N"], from_symbol_type="RIC", to_symbol_type="ISIN")
> print(ISIN_codes)
ISIN
MSFT.O  US5949181045
GOOG.O  US02079K1079
IBM.N   US4592001014

ahmedmohamedali/eikonapir documentation built on May 10, 2019, 7:35 a.m.