powered by
Provides raw data from Commitment of Traders report
fmpc_cots_data( cots_sym = "all", startDate = Sys.Date() - 30, endDate = Sys.Date() )
COTS symbol that can be found in fmpc_cots_symbols. Default is 'all'. Date parameters are only valid with 'all'. Otherwise the full history is pulled.
fmpc_cots_symbols
filter start date in yyyy-mm-dd format.
filter end date in yyyy-mm-dd format.
a data frame of cots data
# NOT RUN { # } # NOT RUN { # Must set a valid API token fmpc_set_token('FMPAPIKEY') fmpc_cots_data() # }
Run the code above in your browser using DataLab