股票10档接口如何获取数据-步骤

股票10档接口如何获取数据-步骤如下:

1、library(RCurl);

2、 library(XML);

3、 library(plyr);

5、 raw <- getURL("http://biz.finance.sina.com.cn/stock/flash_hq/kline_data.php?symbol=sh600000&end_date=20121231&begin_date=20111231");

6、 raw;

7、 do.call(rbind, xmlToList(raw))。

猜你喜欢

转载自blog.csdn.net/m0_73646496/article/details/127389327