Learn R Programming

fundManageR (version 0.5.02030319)

get_data_dtcc_trades: DTCC trades by date and product

Description

This function returns information on derivatives trades cleared by the The Depository Trust & Clearing Corporation [DTCC] for specified dates and product types.

Usage

get_data_dtcc_trades(assets = NULL, include_today = FALSE,
  start_date = NULL, end_date = NULL, nest_data = TRUE,
  return_message = TRUE)

Arguments

assets

type of DTCC cleared financial product

  • NULL: returns all product types (default)

  • COMMODITIES: Commodities

  • CREDITS: Credit Default Swaps

  • EQUITIES: Equities

  • FOREX: Foreign Exchange

  • RATES: Interest Rates

include_today

include today's trades

start_date

date starting, must be in year-day-format

end_date

date ending, must be in year-month-day format

nest_data

TRUE return nested data frame

return_message

TRUE return a message after data import

Value

where nest_data is TRUE a nested data_frame by asset and action where nest_data is FALSE a data_frame

nested data_frame or data_frame if nest_data = FALSE

where nest_data is TRUE a nested data_frame by asset, where nest_data is FALSE a data_frame

References

The Depository Trust & Clearing Corporation

The Depository Trust & Clearing Corporation

See Also

Other DTCC: get_data_dtcc_most_recent_trades

Other transaction data: get_data_dtcc_most_recent_trades, get_data_nareit_mergers_acquisitions, get_data_sec_securities_metrics_by_exchange

Examples

Run this code
# NOT RUN {
get_data_dtcc_trades()
get_data_dtcc_trades(start_date = "2017-01-16")
get_data_dtcc_trades(assets = c('credits', 'equities'), include_today = TRUE, start_date = '2017-01-10', end_date = Sys.Date(), nest_data = FALSE)
# }

Run the code above in your browser using DataLab