[R-SIG-Finance] SIX Swiss Exchange

Stefan Grosse singularitaet at gmx.net
Mon Jul 5 18:22:03 CEST 2010


Am 05.07.2010 17:13, schrieb Samuel.Meichtry at bkw-fmb.ch:

> Is it possible to download data from "SIX Swiss Exchange" within Gnu R?

I don't know if there is a more elegant way but you could download the
per day csv data which seem to have a simple syntax, e.g.:
http://www.six-swiss-exchange.com/data/market/statistics/foreign_shares_2010-06-29.csv

with
?download.file
you can download the files and read them thereafter into R.

and the
?paste
command might help as well.

unfortunately you will have to program a little bit to get longer
periods but the structure of the csv's seems to be quite good so I'd say
it's not much effort.

Cheers
Stefan



More information about the R-SIG-Finance mailing list