Redian新闻
>
干货,有程序,负责任的和大家说不要追涨
avatar
干货,有程序,负责任的和大家说不要追涨# Stock
b*5
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以后如果
volatility突然减少并且横盘超过15天,可以买入。就只有这个,条件还苛刻的很。现
在BMY很符合这个,还有个TEVA算半吊子的,其他都没符合的。
老实说大多数点子都不赚钱,赚钱的很少,很难的,告诉你你没耐心,还是赚不了钱。
avatar
a*m
2
肯定不存在如此低维度分析的算法 可以稳定 beat 市场。
avatar
a*l
3
大牛能具体说说为啥不要追涨么
avatar
d*n
4
忘记哪个收费网站了,有很多选股公式可以自己编辑,也可以买别人的策略。可以back
test啥的。
在美国这些工具太多,能用这些工具赚钱不容易。
avatar
b*5
5
道理4个:
1. Overall too optimistic about the stock; once expectation not meet, crash
happens
2. Limited upside compared to benchmark
3. Funds are panic buying which is usually a big mistake
4. You don't know when to sell

【在 a**l 的大作中提到】
: 大牛能具体说说为啥不要追涨么
avatar
a*m
6
拿得住其实没问题
但股版好像都是做超级短线的
”趋势“稍不如意 很快就会割肉,哈哈
这种前提下 追高显然是危险的

【在 a**l 的大作中提到】
: 大牛能具体说说为啥不要追涨么
avatar
a*l
7
学习了

crash

【在 b****5 的大作中提到】
: 道理4个:
: 1. Overall too optimistic about the stock; once expectation not meet, crash
: happens
: 2. Limited upside compared to benchmark
: 3. Funds are panic buying which is usually a big mistake
: 4. You don't know when to sell

avatar
s*d
8
嗯 干货

crash
★ 发自iPhone App: ChineseWeb 11

【在 b****5 的大作中提到】
: 道理4个:
: 1. Overall too optimistic about the stock; once expectation not meet, crash
: happens
: 2. Limited upside compared to benchmark
: 3. Funds are panic buying which is usually a big mistake
: 4. You don't know when to sell

avatar
D*t
9
谢谢分享

【在 b****5 的大作中提到】
: 部分截图吧
: 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))

avatar
m*r
10

赞。谢谢分享。

【在 b****5 的大作中提到】
: 部分截图吧
: 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))

avatar
b*5
11
大家眼中只看到AMZN,GOOGL,NVDA,FB几个牛股。讲真只要来一个Miss,分分钟给你
跌崩。
momentum最可怕的问题在于downside太大了,一旦垮台根本不知道啥是底。
AAPL,DIS,NKE这种大家觉得稳不?之前也momentum很强,miss了就跌的没数。
近期的DLTR,ULTA,DG,之前的一堆Biotech,都是momentum,只要Miss了earning跌起
来刷刷的。
如果做个测试,追高momentum,回测可以亏得你哭出来。
大家天天骂的垃圾玩意,比如160垂死挣扎被人喷的BIDU,挣扎不已的MYL搞不好才是值
得买的股票。YMYD就是了。
avatar
a*m
12
amzn miss 无数次了
avatar
s*e
13
My program:
If (decide not to buy)
do not buy it
else
roll the dice.
avatar
b*5
14
总有个例啊……我就说一个general的情况。不然股票没法玩了。

【在 a***m 的大作中提到】
: amzn miss 无数次了
avatar
w*s
15
这是传说中的r么?
avatar
b*5
16
恩,最low比的R,天天被黑。
不过有自己的library,不用付钱买数据,写起来也简单。

【在 w******s 的大作中提到】
: 这是传说中的r么?
avatar
I*a
17
很高大上,
我啥也看不懂,非常葱白,
avatar
a*9
18
quantmod?

【在 b****5 的大作中提到】
: 恩,最low比的R,天天被黑。
: 不过有自己的library,不用付钱买数据,写起来也简单。

avatar
b*2
19
大牛啊。BMY可以买了吗?
avatar
a*g
20
大牛赶紧去华尔街, 年入过亿不是梦,分分钟公务机,penthouse, 白妞随便干
avatar
w*s
21
好好,以前lily 说应该学r 后来科密也说应该学r,一直没学过呢。

【在 b****5 的大作中提到】
: 恩,最low比的R,天天被黑。
: 不过有自己的library,不用付钱买数据,写起来也简单。

avatar
I*a
22
刚安装了Matlab,看样子得转学R

【在 w******s 的大作中提到】
: 好好,以前lily 说应该学r 后来科密也说应该学r,一直没学过呢。
avatar
w*s
23
装完r和我说一下,我告诉你听到的python 的好处。

【在 I***a 的大作中提到】
: 刚安装了Matlab,看样子得转学R
avatar
j*s
24
python有免费数据么

【在 w******s 的大作中提到】
: 装完r和我说一下,我告诉你听到的python 的好处。
avatar
w*s
25
我只是在用各种听到的buzz word 逗兔子。等他上了python的船我再找别的介绍给他。
免费数据实际上不太存在,没有free lunch。yahoo的也许可以算免费的给实验用,但
应该也有限制。对这类数据源应该是和语言没有关系吧。

【在 j**s 的大作中提到】
: python有免费数据么
avatar
t*t
26
lz是trump派来的吗?老头子就有BMY,去年老头拿了五万美元分红。
低位横盘超过十五天,这个说法太刻板了。
其实指标多而杂都不能说明问题。
有的人一根均线扫遍天下。
avatar
b*5
27
主要是有个Quantmod包可以直接调用 yahoo finance 和google finance的数据,包含
了market cap,volume,daily high,open,close,low 四个price。其他股票SEIC代
码什么的都可以有,很省事。
Python什么的我用的不熟练。R没其他几个快,处理大数据很不行,但测试下简单的点
子可以了。
至于要earning什么的数据,肯定得买了……估计要几万刀了,没有免费的午饭。

【在 w******s 的大作中提到】
: 我只是在用各种听到的buzz word 逗兔子。等他上了python的船我再找别的介绍给他。
: 免费数据实际上不太存在,没有free lunch。yahoo的也许可以算免费的给实验用,但
: 应该也有限制。对这类数据源应该是和语言没有关系吧。

avatar
b*5
28
嗯。屌丝包。

【在 a******9 的大作中提到】
: quantmod?
avatar
C*5
29
主要是主流的深度学习包没有支持R的。只有个mxnet支持R,不过还比较小众。

【在 b****5 的大作中提到】
: 主要是有个Quantmod包可以直接调用 yahoo finance 和google finance的数据,包含
: 了market cap,volume,daily high,open,close,low 四个price。其他股票SEIC代
: 码什么的都可以有,很省事。
: Python什么的我用的不熟练。R没其他几个快,处理大数据很不行,但测试下简单的点
: 子可以了。
: 至于要earning什么的数据,肯定得买了……估计要几万刀了,没有免费的午饭。

avatar
M*2
30
谢谢分享
有空玩玩

【在 b****5 的大作中提到】
: 部分截图吧
: 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))

avatar
w*e
31
啥狗屁程序?

:部分截图吧
: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))
:..........

【在 b****5 的大作中提到】
: 嗯。屌丝包。
avatar
j*g
32
收藏
avatar
s*e
33
data mining

【在 b****5 的大作中提到】
: 部分截图吧
: 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))

avatar
N*p
34
backtest 得先搞到bias free的数据 比如破产的、退市的、合并的换名字的, 还有
分红,都得有。。。
稳妥的strategy至少还得加上国债,最好再考虑黄金以及其他国家的指数
avatar
R*k
35
这荐股水准太次了!还程序化,公式化,连右侧交易都不懂,买点卖点纯粹瞎蒙,楼主
真是有够逗逼的。
avatar
s*e
36
大神,BMY 继续跌啊?这是要去 52 再盘整15天?
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。