
quant.fans.provider.StockIndexDataProvider Maven / Gradle / Ivy
The newest version!
package quant.fans.provider;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import quant.fans.common.Utils;
import quant.fans.downloader.Downloader;
import java.util.Date;
import java.util.List;
import java.util.Map;
/**
* 获取股票指标数据
* 上证指数
* 深证成指
* 创业板指
* 中小板指
* 上证50
* 中证500
* 沪深300
* 纳斯达克
* 道琼斯
* 标普指数
*/
public class StockIndexDataProvider {
private static String stockIndexURL = "http://hq.sinajs.cn/rn=%s&list=s_sh000001,s_sz399001,s_sz399006,s_sz399005,s_sh000016,s_sh000905,s_sz399300"; //纳斯达克:gb_ixic,道琼斯:gb_dji,标普500:gb_inx
public static List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy