分析家数据下载?股票分析家下载网站
分析家软件 如何能够直接使用 通达信的数据接口
分析家免费接口文件提取码: 7443121703162219文件提取链接: *pickup.chinamofile*/7443121703162219分析家金通证券接口-其实就是“HelloWorld”,不过里面IP地址不错,速度相当快,不喜欢安装的可以只用它的IP地址“HelloWorld.exe”“Stock.dll”(网上下载的!)这两个文件,替换原先的,实盘接收感觉快!有兴趣的朋友可以自己试!周五闲来无事,用了一下“HelloWorld”,用后才发现,除了1,2等少数几个ip地址速度还可以,其他的就象“老牛拉破车一样”慢,太让人伤心了!这让我想起第一次在macd贴此帖子,有朋友就说:“又一批ip地址,不好用了,这不是吃饱了“撑”的吗?”,现在想来,不无道理啊!所以这次没有公布我知道的所有ip地址,留作以后吧!此次对ip地址作了较大改动!!!!!!!为什么最后留有5个空的ip地址那?那是让朋友们自己添加用的!朋友们可以把本配置文件里速度快的ip地址或本地及附近地区好的复制到空格区内,点一下“保存设置”按钮就可以了,实盘接收估计5个够了,当然这是给新手准备的!!!
开发炒股软件,从哪里获得股票数据
目前市场上有很多股票行情交易软件,各种软件提供了丰富的分析和展示功能,而且基本上是免费的。但这些数据都是在线的、无法统一地下载到本地进行分析,于是上网找了些资料,有的是将程序到新浪搜狐的财经频道或其他财经类网站抓取并分析网页,这种方法*作性不强而且准确率较低,遇到广告或网页变动时风险较大。于是找到了Sina股票数据接口,这个接口是通过在IE端输入”*hq.sinajs*/list=”+相应股票代码网站返回一个文件形式的数据,也可以通过JS获取该文件中的变量得到想要的数据字符串。
以大秦铁路(股票代码:601006)为例,如果要获取它的最新行情,只需访问新浪的股票数据接口:*hq.sinajs*/list=sh601006这个url会返回一串文本,例如:
var hq_str_sh601006=”大秦铁路, 27.55, 27.25, 26.91, 27.55, 26.20, 26.91, 26.92,
22114263, 589824680, 4695, 26.91, 57590, 26.90, 14700, 26.89, 14300,
26.88, 15100, 26.87, 3100, 26.92, 8900, 26.93, 14230, 26.94, 25150, 26.95, 15220, 26.96, 2008-01-11, 15:05:32″;
这个字符串由许多数据拼接在一起,不同含义的数据用逗号隔开了,按照程序员的思路,顺序号从0开始。
0:”大秦铁路”,股票名字;
1:”27.55″,今日开盘价;
2:”27.25″,昨日收盘价;
3:”26.91″,当前价格;
4:”27.55″,今日最高价;
5:”26.20″,今日最低价;
6:”26.91″,竞买价,即“买一”报价;
7:”26.92″,竞卖价,即“卖一”报价;
8:”22114263″,成交的股票数,由于股票交易以一百股为基本单位,所以在使用时,通常把该值除以一百;
9:”589824680″,成交金额,单位为“元”,为了一目了然,通常以“万元”为成交金额的单位,所以通常把该值除以一万;
10:”4695″,“买一”申请4695股,即47手;
11:”26.91″,“买一”报价;
12:”57590″,“买二”
13:”26.90″,“买二”
14:”14700″,“买三”
15:”26.89″,“买三”
16:”14300″,“买四”
17:”26.88″,“买四”
18:”15100″,“买五”
19:”26.87″,“买五”
20:”3100″,“卖一”申报3100股,即31手;
21:”26.92″,“卖一”报价
(22, 23),(24, 25),(26,27),(28, 29)分别为“卖二”至“卖四的情况”
30:”2008-01-11″,日期;
31:”15:05:32″,时间;
相应地,也可以获得深市相关股票信息,但是这种方法的弊病是只能获得最新的或者是当天的股票数据,无法将历史数据导入到数据库,当然,你也可以以某一天为起始点自己重新创造历史数据。所以继续寻找其他网站接口,终于找到了雅虎财经网站,它提供的接口可以直接把股票历史数据导成Excel,真实太方便了!直接在浏览器地址中数据网址即可*table.finance.yahoo*/table.csv?s=股票代码,但是如果手动输入再逐一下载保存简直是太麻烦了,光上证股票就800多个,估计刚手动下载完就又开盘了还得重新下载。所以我的思路是,1、利用多线程方法下载股票文件。2、将这些文件统一导入数据库。
1.1文件下载类:
import j*a.io.*;
import j*a*.*;
import j*a.util.List;
import fatowen.stocksystem.sysconfig.data.DownLoadVO;
public class HttpDownFile{
private static int BUFFER_SIZE= 8096;
/**根据URL下载文件并保存
*@param destUrl String
*@param fileName String
*@throws Exception
*/
public void s*eToFile(String destUrl, String fileName) throws IOException{
FileOutputStream fos= null;
BufferedInputStream bis= null;
HttpURLConnection httpUrl= null;
URL url= null;
byte[] buf= new byte[BUFFER_SIZE];
int size= 0;
url= new URL(destUrl);
httpUrl=(HttpURLConnection) url.openConnection();
httpUrl.connect();
bis= new BufferedInputStream(httpUrl.getInputStream());
fos= new FileOutputStream(fileName);
while((size= bis.read(buf))!=-1)
fos.write(buf, 0, size);
fos.close();
bis.close();
httpUrl.disconnect();
}
}
1.2多线程实现下载类:
import j*a.util.ArrayList;
import j*a.util.List;
public class HisDataAddThread extends Thread{
boolean runFlag= true;
List myParamList= null;
String downLoadData=””;
String baseUrl=”*table.finance.yahoo*/table.csv?s=”;
String result=””;
String s*ePath=””;
public HisDataAddThread(List paramList,String s*ePath){
this.myParamList= paramList;
this.s*ePath= s*ePath;
}
public void run(){
while(runFlag){
downLoadData= PublicDataUtil.getDownLoadData(myParamList);
if(!Lib.isEmpty(downLoadData)){
HttpDownFile oInstance= new HttpDownFile();
try{
oInstance.s*eToFile(baseUrl+ downLoadData, s*ePath+ downLoadData+”.csv”);
}catch(Exception err){
System.out.println(err.toString());
}
}else{
runFlag= false;
}
try{
Thread.sleep(1000);
} catch(InterruptedException e){
e.printStackTrace();
}
}
}
public List getFailureList(){
return failureList;
}
public void setFailureList(List failureList){
this.failureList= failureList;
}
public List getSuccessList(){
return successList;
}
public void setSuccessList(List successList){
this.successList= successList;
}
}
2.将下载完的文件统一保存到数据库工具类
import j*a.io.BufferedReader;
import j*a.io.File;
import j*a.io.FileReader;
import j*a.io.IOException;
import j*a.util.ArrayList;
import j*a.util.Iterator;
import j*a.util.List;
public class CSVUtitl{
private BufferedReader bufferedreader= null;
private List list= new ArrayList();
public CSVUtitl(){
}
public CSVUtitl(String filename) throws IOException{
bufferedreader= new BufferedReader(new FileReader(filename));
String stemp;
while((stemp= bufferedreader.readLine())!= null){
list.add(stemp);
}
}
public List getList() throws IOException{
return list;
}
//得到csv文件的行数
public int getRowNum(){
return list.size();
}
//得到csv文件的列数
public int getColNum(){
if(!list.toString().equals(“[]”)){
//csv文件中,每列之间的是用','来分隔的
if(list.get(0).toString().contains(“,”)){
return list.get(0).toString().split(“,”).length;
}else if(list.get(0).toString().trim().length()!= 0){
return 1;
}else{
return 0;
}
}else{
return 0;
}
}
//取得指定行的值
public String getRow(int index){
if(this.list.size()!= 0)
return(String) list.get(index);
else
return null;
}
//取得指定列的值
public String getCol(int index){
if(this.getColNum()== 0){
return null;
}
StringBuffer scol= new StringBuffer();
String temp= null;
int colnum= this.getColNum();
if(colnum> 1){
for(Iterator it= list.iterator(); it.hasNext();){
temp= it.next().toString();
scol= scol.append(temp.split(“,”)[index]+”,”);
}
}else{
for(Iterator it= list.iterator(); it.hasNext();){
temp= it.next().toString();
scol= scol.append(temp+”,”);
}
}
String str=new String(scol.toString());
str= str.substring(0, str.length()- 1);
return str;
}
//取得指定行,指定列的值
public String getString(int row, int col){
String temp= null;
int colnum= this.getColNum();
if(colnum> 1){
temp= list.get(row).toString().split(“,”)[col];
}else if(colnum== 1){
temp= list.get(row).toString();
}else{
temp= null;
}
return temp;
}
public void CsvClose() throws IOException{
this.bufferedreader.close();
}
public void run(String filename) throws IOException{
CSVUtitl cu= new CSVUtitl(filename);
for(int i=0;i<cu.getRowNum();i++){
String SSCCTag= formatData(cu.getString(i,1));//得到第i行.第一列的数据.
String SiteName= formatData(cu.getString(i,2));//得到第i行.第二列的数据.
String StationId= formatData(cu.getString(i,3));
//将数据保存到数据库中
……
……
……
}
cu.CsvClose();
}
public String formatData(String baseData){
String result= null;
if(!””.equals(baseData)&& baseData!= null){
if(baseData.length()> 1){
result= baseData.substring(1,baseData.length());
result= result.substring(0, result.length()-1);
}else{
result= baseData;
}
}else{
result=””;
}
return result.trim();
}
public static void main(String[] args) throws IOException{
CSVUtitl test= new CSVUtitl();
try{
File path= new File(“e:\\data”);
File[] f= path.listFiles();
List l= new ArrayList();
for(int i=0;i<f.length;i++){
if(f[i].getName().endsWith(“.csv”))
l.add(f[i]); *2cto*
}
Iterator it= l.iterator();
while(it.hasNext()){
File ff=(File)it.next();
test.run(path.toString()+File.separator+ff.getName());
}
}catch(Exception e){
}
}
}
股票分析家下载网站
1. **shuguang518*/soft/fxj2006.rar
分析家2006*版
2. **4b8*/softwaer/SCSetupFxj60.rar
数畅网络正版分析家2006专用
数畅网络*补丁粘到按装数畅网络的文件夹
3. **li20*/thread-453314-1-3.html
关于分析家2006网络版使用外接数据接口的设置方法!
4. *download.fxj**/index.asp
分析家历史数据下载
5. *bbs.my288*/dispbbs.asp?boardid=9&id=1578
数畅的详细使用方法
还有一个更爽的方法,就是安装银江分析家2006版专用接口,全面支持分析家2006版,包括在动态显示牌和图形上显示信息地雷、支持分笔数据,几乎和分析家2006版原版接口一样。
而且是一步到位安装:
**li20*/thread-471436-1-1.html
分析股票技术的软件有那些呢
1.新源股票分析 V6.0
免费的系统软件,数据下载较为方便,不需有用户名和密
*skycn*/soft/11158.html
2.股票数据下载专家 DownData 1.03
是一款完全免费的股票数据、资讯、技术交流的工具软件。提供分析家、指南针、乾隆LHB
*onlinedown*/soft/13364.htm
3.新源股票分析 6.0
免费的系统软件,数据下载较为方便,不需有用户名和密码即可获得最新数据。。
*onlinedown*/soft/1743.htm
4.同花顺2005实时股票行情分析软件 V4.30.40
同花顺2005是的一款功能非常强大的免费网上证券交易分析软件,该系统由国内最大的
download.21cn*/list.php?id=53129
5.证旺股票信息库 1.09免费普及版
证券数据导入标准数据库的程序从常用的股票分析软件如”分析家”,”飞狐交易师”,”钱龙”,”
*onlinedown*/soft/409.htm
6.股票数据下载专家 DownData V1.03
是一款完全免费的股票数据、资讯、技术交流的工具软件。提供分析家、指南针、乾隆
download.21cn*/list.php?id=23436
7. eValuate 1.0.2
长线股票及其红利与收入的免费分析器。
download.enet**/html/010662000072902.html
8. QuoteWatch- Catch the W*e 4.00
个人股票和资金管理和分析软件,免费共享使得个人投资者可以经济地获得并使用。
download.enet**/html/010141999072201.html
本文链接:http://www.loijie.com/html/87959235.html
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。