TR_Field: TR_Field

Description Usage Arguments Examples

Description

This is a helper function to build the field for the get_data function Returns a dictionary that can directly passed to get_data

Usage

1
2
TR_Field(field_name, params = NULL, sort_dir = "asc",
  sort_priority = NULL)

Arguments

field_name:

string

params:

dictionary containing the parameters for the field passed in the argument field_name

sort_dir:

string. Indicate the sort direction. Possible values are 'asc' or 'desc'. The default value is 'asc'

sort_priority:

integer. Gives a piority to the field for the sorting. The highest priority is 0 (zero). the default value is None

Examples

1
2
3
> TR_Field('tr.revenue')
> TR_Field('tr.open','asc',1)
> TR_Field('TR.GrossProfit',list('Scale': 6, 'Curn': 'EUR'),'asc',0)

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