belex function downloads historical financial time series
from the Belgrade Stock Exchange. One can specify which ticker
or index to download, from and to date.
a character string giving the name of the ticker or index to download. See the web page of the data provider http://belex.rs for information about the available ticker symbols and indexes. See below.
date of the start of the period to download. This must be in the following format: yyyy-mm-dd. Defaults to the first available data.
date of the end of the period to download. This must be in the following format: yyyy-mm-dd. Defaults to the last available data.
The name of the Belgrade Stock Exchange index is BELEX15 (from September 2005).
A list consists of five components:
data is a data frame with the following time series:
Date, Close, Transactions, Volume, Open, Low, High, Total Bid, Total Ask.
Milos Vilotic and Zlatko Kovacic
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
## Not run: Belex15 index from 2009-11-23 to 2012-05-15 belex15.data <- belex("belex15", "2009-11-23", "2012-05-15") All available data for ticker AIKB aikb.data <- belex("AIKB") Data for ticker NIIS from 2010-10-01 niis.data <- belex("NIIS", from = "2010-10-01") Data for ticker IMLK from beginning to 2010-05-12 imlk.data <- belex("IMLK", to = "2010-05-12") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.