Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
package quant.fans.tools;
import com.google.common.collect.Lists;
import com.google.gson.Gson;
import quant.fans.downloader.Downloader;
import java.util.List;
import java.util.Map;
/**
* author: eryk
* mail: [email protected]
* date: 15-8-15.
*/
public class Suggest {
private static final String suggestURL = "http://app.finance.ifeng.com/hq/suggest_v2.php?t=stock&q=%s";
public static final String NAME = "n";
public static final String CODE = "s";
public static final String PIN_YIN = "p";
public static final String TYPE = "t";
/**
* 输入中文或者英文片段查询股票,例如:中国,282等关键词
* @param query query field
* @return stock name and code
*/
public static List