import_data {bolsec}R Documentation

Imports daily data of varying securities.

Description

Primary function that imports daily data of securities presenting the highest and lowest price variations in the Bolivian Securities Exchange.

Usage

  import_data(verbose = TRUE)

Arguments

verbose

Logical. If TRUE, display messages about the data import process. Default is TRUE.

Value

TICKER SYMBOL

This column lists the code names of each traded security.

ISSUER NAME

This column lists the company names that issue each traded security.

PRICE

This column lists today's prices of each traded security.

RATE

This column lists the percentage interest rate of each traded security.

VAR.

This column lists the price variations between yesterday and today for each traded security.

The function returns a data frame with the above columns. If no data is available, the function returns NULL.

Author(s)

Alvaro Ignacio Tapia

References

The Bolivian Stock Exchange (Bolsa Boliviana de Valores), based in La Paz, Bolivia, offers trading of equities, indexes, gold, and local commodities.

Examples

  # Import market data
  data <- import_data()
  head(data)

[Package bolsec version 0.1.1 Index]