Hi,
I'm very new in R, so maybe my question may result very trivial, but I hope
you can help me. I have two data bases, one is a portfolio that posses the
following information:
Stocks names
Id
Number of Stocks or Position
This portfolio has 16 companies each one with a different id or key
The other data base has:
Id Date Last Low High Volume
The second data base has about 38 different companies, and they are organize
one after another.
What I want is to take from the second data base, the prices of the
companies that my portfolio contains, selecting by Id without using any
loop. There is already a function in R that allows me to execute this?
And if it's possible, if I have a specific date (e.g today) of my portfolio
and I want to pull out from that date until the oldest one o until another
date in the past, what can I do to perform this simultaneously with the
last query? What time series structure do you recomend?
Any advice or documentation where I can find either the function or the
programming code to perform such queries, will be really appreciate.
One last thing, there is any documentation where i can find how to translate
Matlab code into R code reffering financial and portfolio functions.
I will really appreciate any help you can provide,
--
Manuel Serna Cortés
Estudiante de Economía y Negocios Internacionales
Universidad Icesi
[[alternative HTML version deleted]]
_______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-sig-finance-- Subscriber-posting only.
-- If you want to post, subscribe first.