Learn R Programming

rb3 (version 0.0.12)

cotahist-extracts: Extract data from COTAHIST dataset

Description

Extracts specific data from COTAHIST dataset: stocks, funds, BDRs, ETFs, UNITs, options on stocks, options on indexes, ...

Usage

cotahist_equity_get(x)

cotahist_bdrs_get(x)

cotahist_units_get(x)

cotahist_etfs_get(x)

cotahist_fiis_get(x)

cotahist_fidcs_get(x)

cotahist_fiagros_get(x)

cotahist_indexes_get(x)

cotahist_equity_options_get(x)

cotahist_index_options_get(x)

cotahist_funds_options_get(x)

cotahist_get_symbols(x, symbols)

Value

a data.frame with prices, volume, traded quantities informations

Arguments

x

COTAHIST dataset returned from cotahist_get.

symbols

list of symbols to extract market data from cotahist

Examples

Run this code
if (FALSE) {
df <- cotahist_equity_get(x)
}
if (FALSE) {
df <- cotahist_brds_get(x)
}
if (FALSE) {
df <- cotahist_units_get(x)
}
if (FALSE) {
df <- cotahist_etfs_get(x)
}
if (FALSE) {
df <- cotahist_fiis_get(x)
}
if (FALSE) {
df <- cotahist_fidcs_get(x)
}
if (FALSE) {
df <- cotahist_fiagros_get(x)
}
if (FALSE) {
df <- cotahist_indexes_get(x)
}
if (FALSE) {
df <- cotahist_equity_options_get(x)
}
if (FALSE) {
df <- cotahist_index_options_get(x)
}
if (FALSE) {
df <- cotahist_funds_options_get(x)
}
if (FALSE) {
df <- cotahist_get_symbols(x, c("BBDC4", "ITSA4", "JHSF3"))
}

Run the code above in your browser using DataLab