以文本方式查看主题 - 金字塔客服中心 - 专业程序化交易软件提供商 (http://www.weistock.com/bbs/index.asp) -- 金字塔软件问题提交 (http://www.weistock.com/bbs/list.asp?boardid=2) ---- GetReportDataByIndex问题 (http://www.weistock.com/bbs/dispbbs.asp?boardid=2&id=159915) |
-- 作者:lh1988 -- 发布时间:2017/11/28 9:03:07 -- GetReportDataByIndex问题
以下代码取出来的代码都是深证市场的股票 issue_Count = marketdata.GetReportCount("SH")
msgbox issue_Count
for i=0 to 2
\'财务数据
set report3 = marketdata.GetReportDataByIndex("SH",i)
issue_Code = report3.Label
msgbox issue_Code
之前还能取到上证的股票,现在取出来都是深证的股票,不知道怎么回事 |
-- 作者:yukizzc -- 发布时间:2017/11/28 9:12:23 -- issue_Code = report3.StockName
你输出名字就知道了 |
-- 作者:lh1988 -- 发布时间:2017/11/28 9:16:00 -- 哦 明白了,先输出的是上证的指数代码,看代码以为是深证股票呢 谢谢 |