- Check empty files download.
- Improved error handling in
read_marketdata
. - Improved checks in
test-company.R
with exception handling for empty downloaded files. - Removed tidyselect warnings in
scraper-company.R
.
- Corrected BUG: function
company_cash_dividends_get
does not return all cash dividends - Implemented new option in templates:
verifyssl
. It defaults to TRUE, always use ssl, but when it is FALSE an option is set in httr to skip ssl verification. - Corrected
futures_get
andfutures_mget
to handle equity futures
- functions
company_cash_dividends_get
,company_info_get
,company_stock_dividends_get
,company_subscriptions_get
to get company's informations
- function
index_get
to download historical data from B3 indexes (Issue #39) - added option
rb3.silent
(defaults toFALSE
) hide alert messages and progress bar - added option
rb3.clear.cache
(defaults toFALSE
) remove files with invalid content from cache folder - new templates
GetPortfolioDay_IndexStatistics
historical time series for B3 indexes
- new vignette: B3 Indexes
- changed
futures_get
andmaturity2date
to use calendarBrazil/BMF
maturity2date
has a new argument refdate, it must be passed when converting old maturities like JAN0, FEV0, ...
- updated documentation
- functions
code2month
andmaturity2date
now accept old 4 characters maturity code, before 2006 - new function
cotahist_options_by_symbol_superset
joins options data, equity data and interest rates for each option for a given symbol (Issue #50) - corrected BUG in cache system, avoid caching NULL returns (Issue #52)
- corrected BUG cdi_get and idi_get use do_cache = FALSE (Issue #51)
- updated documentation
- the cache creates a folder with the template to organize files inside the cache folder.
read_marketdata
lost the argumentcachedir
, the RDS file with parsed data is saved in the directory of the given file.- Pass
do_cache = FALSE
to not save the RDS file, it defaults toTRUE
.
- Pass
- corrected BUG in
COTAHIST_YEARLY
, it uses cache wrongly (Issue #44) - corrected BUG due to change in fixedincome - function
rates
was renamed toimplied_rate
- added locale
en
to templates:COTAHIST_*
- new templates
NegociosIntraday
intraday listed market tradesNegociosBalcao
intraday OTC (Debentures) tradesNegociosBTB
intraday lending trades
- imports organized (using importFrom in NAMESPACE)
- added option
rb3.cachedir
to set default cache directory in order to use cached files across multiple sessions
- fixed tests for yc_get().
- updated to bizdays version 0.1.10 (use of load_builtin_calendars - Issue #31).
- changes to ropensci process: added more tests to improve test coverage, functions renamed, codemeta and Contributing.md.
- new templates
GetStockIndex
to get the composition of B3 indexes.GetTheoricalPortfolio
to get composition and weights of B3 indexes.GetPortfolioDay
to get composition, weights and segments of B3 indexes.CenariosCurva
for scenarios of term structures of interest rates.CenariosPrecoReferencia
for reference prices scenarios.IndexReport
indexes daily market data.PriceReport
daily prices and market data.GetListedSupplementCompany
supplement data for listed companies.GetDetailsCompany
to get companies details (name, codeCVM, ...).GetListedCashDividends
to get list of cash dividends.
- new functions for yield curves
yc_ipca_get
andyc_ipca_mget
for real interest ratesyc_usd_get
andyc_usd_mget
for USD interest rates in Brazil
- new functions for cotahist
cotahist_get_symbols
to get stocks by a list of symbolscotahist_etfs_get
,cotahist_fiis_get
,cotahist_fidcs_get
,cotahist_fiagros_get
- function
cotahist_funds_get
has been replaced by these ones.
- new functions to get indexes information (composition, weights and positions)
index_comp_get
returns the index compositionindex_weights_get
returns the index weightsindex_by_segment_get
returns indexes assets grouped by segmentsindexes_get
lists the available indexesindexes_last_update
returns the date when the indexes have been updatedindexreport_get
andindexreport_mget
download index report data
- Superset datasets
cotahist_equity_options_superset
joins options data, equity data and interest rates for each option - this is useful to run option and volatility models.yc_superset
,yc_usd_superset
,yc_ipca_superset
mark futures maturities in yield curve.
- changes for ropensci process, replaced
sapply
withpurrr::map_xxx
. - improved class Filename, added new methods.
- added argument
destdir = NULL
toconvert_to
function. - created functions
yc_get
/yc_mget
andfutures_get
/futures_mget
(Issue #26). - improved
fields
creation (Issue #27). - added downloader/reader for
GetStockIndex
, JSON file with relations between stocks and indexes.
- first release