get.Acciones {macrocol}R Documentation

Colombian Assets extraction

Description

Function to extract the price and volume time series of some Colombian assets from the "Bolsa de Valores de Colombia" (BVC). If it takes more than 5 minutes is because the BVC's Server is not correctly working and it is better to try later.

Usage

get.Acciones(accion = "BCOLOMBIA", verbose = FALSE)

Arguments

accion

The asset's ticket.
The assets available are:

  • Bancolombia: "BCOLOMBIA";

  • Ecopetrol: "ECOPETROL";

  • Exito: "EXITO";

  • Avianca: "AVIANCA";

  • Grupo Sura: "GRUPOSURA";

  • Grupo Aval: "GRUPOAVAL";

  • ETB: "ETB";

verbose

print the dates already extracted. Default FALSE. Default is "BCOLOMBIA".

Value

The dataframe with dates and the asset prices and volume.

Examples

## Not run: 
BCOLOMBIA <- get.Acciones("BCOLOMBIA");
ECOPETROL <- get.Acciones("ECOPETROL");
EXITO <- get.Acciones("EXITO");
AVIANCA <- get.Acciones("AVIANCA");

## End(Not run)

[Package macrocol version 0.1.0 Index]