Displaying 5 results from an estimated 5 matches for "getreturn".
Did you mean:
getreturns
2008 Aug 12
1
[RODBC] date attribute in sqlQuery
Hello R users,
I would like to use an integer and a date as attributes in sqlQuery,
and these arguments
are defined in my function.
Here is my function:
GetReturn<-function(code,date)
{
channel<-odbcConnect("db","user1","password")
ssql<-paste("select * from TABLE Where PF_CODE =",code,"and PF_DATE=",date)
mydata<-sqlQuery(channel,ssql)
mydata
}
Actually, the channel is open but the query on t...
2007 Apr 24
2
Log-Returns
Ein eingebundener Text mit undefiniertem Zeichensatz wurde abgetrennt.
Name: nicht verf?gbar
URL: https://stat.ethz.ch/pipermail/r-help/attachments/20070424/c6ce561b/attachment.pl
2008 Sep 04
0
Any function to calculate returns
Hi,
Sorry if this may be a simple question. Is there any function to calculate returns (percentage or non-percentage) directly like the function getReturns() in S Finmetrics?
Thanks.
Best Regards,
wy
**********************************************************
The information provided in this e-mail is confidential and is for the sole use of the recipient. It may not be disclosed, copied or distributed in any form without the express permission of...
2016 Apr 22
0
non-numeric argument to binary operator problem in stock analysis
...ols(Potf, from="2011-01-01", env=myenv)ts<-do.call(merge,eapply(myenv, Ad))
#we allocate equal weights to every stocksstocks <- c('IBM'=.20, 'KO'=.20, 'C'=.20, 'TSLA'=.20, 'F'=.20)#get Monthly Expected Return and Standard Deviationreturns <-getReturns(names(stocks),freq = "month",start = "2011-01-01")
[[alternative HTML version deleted]]
2007 Feb 04
2
Download stock prices
gReetings:
Is there any way to download a (or a sample of a) crossection of stock market prices? Or is it possible to use get.hist.quote with a *wild card*?
Thanks,
mihai
Mihai Nica
170 East Griffith St. G5
Jackson, MS 39201
601-914-0361
____________________________________________________________________________________
8:00? 8:25? 8:40? Find a flick in no time
[[alternative HTML