中国软件股票历史行情搜狐(乾照光电股票历史数据搜狐)
作者:锦鲤• 更新时间:2022-05-11 04:43:45 •
内容导航:
Q1:我想知道搜狐证券中如何查看所有股票行情
。。。。。。。。。。下个行情软件不快吗?
Q2:那个网站可以查出中国股市的历史行情走向图表
股票+
手机上就可以
Q3:请问怎样用Java获取股票行情历史数据?新浪、搜狐、百度财经都可以......
public class StockConnection {
public static void main(String[] args) {
URL ur = null;
try {
//搜狐股票行情历史接口
// ur = new URL("http://q.stock.sohu.com/hisHq?code=cn_300228&start=20130930&end=20131231&stat=1&order=D&period=d&callback=historySearchHandler&rt=jsonp");
//新浪股票行情历史接口
ur = new URL("http://biz.finance.sina.com.cn/stock/flash_hq/kline_data.php?&rand=random(10000)&symbol=sh600000&end_date=20150809&begin_date=20000101&type=plain");
HttpURLConnection uc = (HttpURLConnection) ur.openConnection();
BufferedReader reader = new BufferedReader(new InputStreamReader(ur.openStream(),"GBK"));
String line;
while((line = reader.readLine()) != null){
System.out.println(line);
}
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
}
Q4:搜狐股票历史数据接口
public class StockConnection {
public static void main(String[] args) {
URL ur = null;
try {
//搜狐行情历史接口
// ur = new URL(");
//新浪行情历史接口
ur = new URL("(10000)&symbol=sh600000&end_date=20150809&begin_date=20000101&type=plain");
HttpURLConnection uc = (HttpURLConnection) ur.openConnection();
BufferedReader reader = new BufferedReader(new InputStreamReader(ur.openStream(),"GBK"));
String line;
while((line = reader.readLine()) != null){
System.out.println(line);
}
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
}
Q5:如何查看股票历史数据
交易量只能当天看,个股涨跌幅看日K线就可以了啊,我现在也是用同花顺哟~~
Q6:搜狐股票历史数据接口
public class StockConnection {
public static void main(String[] args) {
URL ur = null;
try {
//搜狐行情历史接口
// ur = new URL(");
//新浪行情历史接口
ur = new URL("(10000)&symbol=sh600000&end_date=20150809&begin_date=20000101&type=plain");
HttpURLConnection uc = (HttpURLConnection) ur.openConnection();
BufferedReader reader = new BufferedReader(new InputStreamReader(ur.openStream(),"GBK"));
String line;
while((line = reader.readLine()) != null){
System.out.println(line);
}
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
}
Q7:开发炒股软件,从哪里获得股票数据
上交所和深交所
本文由锦鲤发布,不代表本站立场,转载联系作者并注明出处:/showinfo-3-48568-0.html