Package 'bolsec'

Title: Bolivian Securities
Description: Provides data import and offers 3 daily snapshot functions from securities of varying prices traded on the Bolivian Securities Exchange, website <https://www.bbv.com.bo/>. The snapshots include a detailed list, scatter plot correlation, and descriptive statistics table for the securities.
Authors: Alvaro Tapia [aut, cre]
Maintainer: Alvaro Tapia <[email protected]>
License: GPL-3
Version: 0.1.1
Built: 2024-11-13 04:29:04 UTC
Source: https://github.com/cran/bolsec

Help Index


Plots correlation of varying securities.

Description

This daily scatter plot illustrates the correlation between rate and price variations of securities in the Bolivian Securities Exchange.

Usage

get_graph(data)

Arguments

data

A defined variable storing the daily data from the import_data function.

Value

ISSUER NAME

Above the scatter dots are the company names that issue each traded security.

COEFFICIENT

Red colored number with two decimals, representing the correlation of all traded securities.

VAR.

Lying on the x-axis, range of the price variations between yesterday and today from all traded securities.

RATE

Lying on the y-axis, range of the percentage interest rates of all traded securities.

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

data <- import_data()
get_graph(data)

Lists characteristics of varying securities.

Description

This daily list of securities presents the highest and lowest price variations in the Bolivian Securities Exchange.

Usage

get_list(data)

Arguments

data

A defined variable storing the daily data from the import_data function.

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 the 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.

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

data <- import_data()
get_list(data)

Descriptive statistics of varying securities.

Description

This daily chart exhibits the descriptive statistics of price, rate and price variation from securities in the Bolivian Securities Exchange.

Usage

get_stats(data)

Arguments

data

A defined variable storing the daily data from the import_data function.

Value

MEAN

This row displays the mean calculations of today's prices, rates, and price variations of all traded securities.

MEDIAN

This row displays the median calculations of today's prices, rates, and price variations of all traded securities.

ST. DEV.

This row displays the standard deviation calculations of today's prices, rates, and price variations of all traded securities.

MIN.

This row displays the minimum value of today's prices, rates, and price variations of all traded securities.

MAX.

This row displays the maximum value of today's prices, rates, and price variations of all traded securities.

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

data <- import_data()
get_stats(data)

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)