楼主: wqf_cufe
6953 17

[有偿编程] 如何解决quantmod下载数据有误的问题? [推广有奖]

11
马甲1号 发表于 2014-11-25 16:31:52
wqf_cufe 发表于 2014-11-21 00:18
我刚才试了一下,挺好用的这个wind接口。但是我读取不了里面的指标。麻烦你帮忙看看。

library(WindR) ...
做技术分析的话, 就用那个接口下交易数据(开-高-低-收-量-额)吧, 技术指标直接用quantmod自己算吧, 否则浪费流量...

12
venuschh 发表于 2015-3-1 22:00:28
wqf_cufe 发表于 2014-11-21 00:18
我刚才试了一下,挺好用的这个wind接口。但是我读取不了里面的指标。麻烦你帮忙看看。

library(WindR) ...
请问下 WindR的包是怎么下载的,貌似正常的下载方式不行

13
楊永列 发表于 2015-3-3 17:38:29

require(quantmode)
library(quantmod)

getSymbols("GS")                           #Goldman OHLC from yahoo


startDate = as.Date("2014-01-01")
endDate = as.Date("2015-03-02")

SZ002707<-getSymbols("002707.SZ",auto.assign=FALSE, from = startDate, to = endDate)
chartSeries(SZ002707, theme="white")

SZ002707.jpeg (167.76 KB)

R畫SZ002707

R畫SZ002707

14
楊永列 发表于 2015-3-3 17:39:07

require(quantmode)
library(quantmod)

getSymbols("GS")                           #Goldman OHLC from yahoo


startDate = as.Date("2014-01-01")
endDate = as.Date("2015-03-02")

SZ002707<-getSymbols("002707.SZ",auto.assign=FALSE, from = startDate, to = endDate)
chartSeries(SZ002707, theme="white")

15
楊永列 发表于 2015-3-3 17:42:26
getwd()
setwd("D:/104/BIGDATA/hw2")

require(quantmode)
library(quantmod)

getSymbols("GS")                           #Goldman OHLC from yahoo


startDate = as.Date("2014-01-01")
endDate = as.Date("2015-03-02")

SZ002707<-getSymbols("002707.SZ",auto.assign=FALSE, from = startDate, to = endDate)
chartSeries(SZ002707, theme="white")

chartSeries(SZ002707, theme="white",TA="addVo();addBBands();addCCI()")

16
楊永列 发表于 2015-3-3 17:44:12
getwd()
setwd("D:/104/BIGDATA/hw2")

require(quantmode)
library(quantmod)

getSymbols("GS")                           #Goldman OHLC from yahoo


startDate = as.Date("2014-01-01")
endDate = as.Date("2015-03-02")

SZ002707<-getSymbols("002707.SZ",auto.assign=FALSE, from = startDate, to = endDate)
chartSeries(SZ002707, theme="white")

chartSeries(SZ002707, theme="white",TA="addVo();addBBands();addCCI()")
已有 1 人评分论坛币 收起 理由
admin_kefu + 100 热心帮助其他会员

总评分: 论坛币 + 100   查看全部评分

17
墨名 发表于 2016-5-10 14:53:20
venuschh 发表于 2015-3-1 22:00
请问下 WindR的包是怎么下载的,貌似正常的下载方式不行
这个包不是在R官网提供的,需要登录wind软件,然后点击文件——修复插件——R插件,

18
ryoeng 在职认证  发表于 2016-5-11 20:30:42
提示: 作者被禁止或删除 内容自动屏蔽
签名被屏蔽

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2025-12-29 03:44