View source: R/InsiderTransactionsAPI.R
get_insider_transactions_data | R Documentation |
This function retrieves the insider transactions from the API.
get_insider_transactions_data(
api_token,
date_from = NULL,
date_to = NULL,
code = NULL,
limit = NULL
)
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. |
A list containing the insider transactions data.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.