get_insider_transactions_data {eodhd} | R Documentation |
Get insider transactions data
Description
This function retrieves the insider transactions from the API.
Usage
get_insider_transactions_data(
api_token,
date_from = NULL,
date_to = NULL,
code = NULL,
limit = NULL
)
Arguments
api_token |
The API token for authentication. |
date_from |
date from with format Y-m-d |
date_to |
date from with format Y-m-d |
code |
to get the data only for Apple Inc (AAPL), use AAPL.US or AAPL ticker code. |
limit |
the limit for entries per result, from 1 to 1000. |
Value
A list containing the insider transactions data.
Examples
api_token <- "demo"
date_from <- "2017-09-10"
date_to <- "2017-09-12"
code <- "AAPL.US"
limit <- "150"
result <- get_insider_transactions_data(api_token, date_from, date_to, code, limit)
[Package eodhd version 1.0.4 Index]