powered by
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 )
A list containing the insider transactions data.
The API token for authentication.
date from with format Y-m-d
to get the data only for Apple Inc (AAPL), use AAPL.US or AAPL ticker code.
the limit for entries per result, from 1 to 1000.
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)
Run the code above in your browser using DataLab