由买买提看人间百态

topics

全部话题 - 话题: newdates
(共0页)
b****5
发帖数: 449
1
部分截图吧
for (i in 1:Lindex){
newPriceMatrix[,i]=price[,index[i]]
newMDY[i]= mdy[index[i]]
newDates[i]=dates[index[i]]
}
newMDY = as.numeric(newMDY)
newDates = as.Date(newDates,origin='1970-01-01')
maxDropsTickers=data.frame(matrix(rep(0,nPick*length(index)),nrow=nPick))
maxRisesTickers=data.frame(matrix(rep(0,nPick*length(index)),nrow=nPick))
我自己以前写过不少这种点子,比如连续跌N天买入,买52week high,momentum,mean
-reversion很多策略。和你们说下吧。
连跌N天买入,52 week high,卵用都没有。
有用的是啥?SP500的非能源股票,其他啥都可以,在跌到52 week low以后如果
volat... 阅读全帖
w****e
发帖数: 1883
2
啥狗屁程序?

:部分截图吧
:for (i in 1:Lindex){
: newPriceMatrix[,i]=price[,index[i]]
: newMDY[i]= mdy[index[i]]
: newDates[i]=dates[index[i]]
:}
:newMDY = as.numeric(newMDY)
:newDates = as.Date(newDates,origin='1970-01-01')
:maxDropsTickers=data.frame(matrix(rep(0,nPick*length(index)),nrow=nPick))
:maxRisesTickers=data.frame(matrix(rep(0,nPick*length(index)),nrow=nPick))
:..........
s*********r
发帖数: 909
3
来自主题: Statistics版 - 【包子】SAS 日期变量问题
data b c;
set a;
newdate=input(date,mmddyy10.);
if index(date,"/")=0 then output b;
if newdate=. then output c;
run;
*data b will contain invalid date 11789;
*data c will contain invalid date 13/15/1996.
s*********r
发帖数: 909
4
来自主题: Statistics版 - 【包子】SAS 日期变量问题
or you can put all invalid date values in one data set.
data b;
set a;
newdate=input(date,mmddyy10.);
if index(date,"/")=0 or newdate=.;
run;
c**********e
发帖数: 2007
5
The char variable has format 02/06/1985.
I tried to use
newdate=input(olddate,date10.);
but does not work. Anybody has any idea? Thank you.
G**S
发帖数: 1108
6

The char variable has format 02/06/1985.
I tried to use
newdate=input(olddate,date10.);
input(olddate,mmddyy10.);
but does not work. Anybody has any idea? Thank you.
s*********r
发帖数: 909
7
来自主题: Statistics版 - 【包子】SAS 日期变量问题
newdate=input(date, mmddyy10.)
w*******y
发帖数: 60932
8
they just added the refills back on select phones
chrome://updatescan/content/diffPage.xul ?id=1803&tit le=Prepaid%2
0phones%3A%2 0Pay%20As%20 You%20Go%20f rom%20T-Mobile&url=h ttp%3A//www.
t-mobile.com/shop/phones/prepaid.aspx &oldDate=tod ay%20at%200% 3A58&
newDate =today%20at% 201%3A58&del ay=0
(共0页)