找回密码
 注册
搜索
楼主: Diffusion

[灌水] 求助:需要一个能够提供实时全景数据的数据源

[复制链接]
发表于 2010-7-28 03:24 PM | 显示全部楼层


加5分鼓励一下.
Diffusion 发表于 2010-7-28 17:10


thanks a lot!
I have a long long way to go.........
回复 鲜花 鸡蛋

使用道具 举报

发表于 2010-7-28 06:05 PM | 显示全部楼层
回复 20# Diffusion


    Good job! The only concern about your approach is last price and volume might not in sync. If your screening criteria is not very time sensitive, it might be OK. Also, if you want to run screening in a few minutes before market close, you might not get your results before market closes.

By the way, comparing to the data source pro and con, IB only provides up to one year's historical data. TD has more. You can get free historical quotes from Yahoo and other places though.

IB has option and Futures data that TD does not have. IB has longer intra data prices history than TD.
回复 鲜花 鸡蛋

使用道具 举报

 楼主| 发表于 2010-7-28 06:22 PM | 显示全部楼层
回复  Diffusion


    Good job! The only concern about your approach is last price and volume mi ...
sd_engine 发表于 2010-7-28 20:05



     钱发完了,发朵

Yes, it could be out-of-sync.

I have no idea on the sensitiveness yet. The back testing was done on end-of-day data, so I want to be as close to market close as possible. Because I need to place order before market close, I guess I have to no choice but tolerate it...
回复 鲜花 鸡蛋

使用道具 举报

发表于 2010-7-28 09:52 PM | 显示全部楼层
回复 23# Diffusion

google finance is real time. it should be good enough.  open prices are various depend on different sources.  high/low/close are usually ok I think.   volume is not accurate though.

评分

1

查看全部评分

回复 鲜花 鸡蛋

使用道具 举报

 楼主| 发表于 2010-7-28 10:41 PM | 显示全部楼层
回复  Diffusion

google finance is real time. it should be good enough.  open prices are various  ...
Timber 发表于 2010-7-28 23:52



    Thx.

And just FYI, as I detected, IB reqMktDataEx() snapshot mode has a limitation of 100 symbols per second. But beside that, there is no problem to download 6000 snapshot within 1 min.

Also it appears that the volume IB provided doesn't match that from google, yahoo, etc. I think IB provides number of hands , so I need to multiply it by 100, but even that doesn't match the number from others. Does anyone see the same problem? Thanks.
回复 鲜花 鸡蛋

使用道具 举报

发表于 2010-7-29 09:29 AM | 显示全部楼层
回复 鲜花 鸡蛋

使用道具 举报

发表于 2010-7-29 02:10 PM | 显示全部楼层
回复 25# Diffusion

差不多就行了。各家数据都不大相同。
回复 鲜花 鸡蛋

使用道具 举报

 楼主| 发表于 2010-7-29 02:55 PM | 显示全部楼层
回复  Diffusion

差不多就行了。各家数据都不大相同。
Timber 发表于 2010-7-29 16:10



    I just found the quality of IB data is so bad. I didn't receive any data for about 50% of the 6000 symbols, though IB did complete 6000 symbols within 1 min.

I'll try with Google portfolio and post my findings here.
回复 鲜花 鸡蛋

使用道具 举报

发表于 2010-7-29 09:48 PM | 显示全部楼层
THanks for your info about IB.

You can also try Yahoo real time by parsing the quote page. I did it a while ago. Yahoo's page response very quick. I think Yahoo uses ajax to show real time quote so you might to dig a little bit deep to find how to get the quote.

Just curious, did you use multi-threading to pull quotes?
回复 鲜花 鸡蛋

使用道具 举报

 楼主| 发表于 2010-7-29 10:10 PM | 显示全部楼层
THanks for your info about IB.

You can also try Yahoo real time by parsing the quote page. I did  ...
sd_engine 发表于 2010-7-29 23:48



    Thx. Yahoo realtime is a paid service, right?

It's not multi-thread. It's event-driven but single thread. I use IB ActiveX interface, it requires a windows form as a container, and you just follow the event driven programming of windows form.
回复 鲜花 鸡蛋

使用道具 举报

发表于 2010-7-30 10:57 AM | 显示全部楼层
What tool did you use for coding, .NET or C++? There is a free third party's native C# API. It just had a new release this month. Here is the link: http://www.dinosaurtech.com/utilities/
回复 鲜花 鸡蛋

使用道具 举报

 楼主| 发表于 2010-7-30 11:20 AM | 显示全部楼层
What tool did you use for coding, .NET or C++? There is a free third party's native C# API. It just  ...
sd_engine 发表于 2010-7-30 12:57



I'm using VS 2005, C#. Thx for sharing. I'll be a little bit busy these days, maybe later on I'll have time to dig into the third party package. I just subscribed 7 days free trail of IQFeed, and need to spend some time to play with it. What I just discovered is that the volume from Google finance is 15 min delayed...
回复 鲜花 鸡蛋

使用道具 举报

发表于 2010-7-30 04:08 PM | 显示全部楼层
回复 28# Diffusion

I told you, it even doesn't have all S&P 500.
回复 鲜花 鸡蛋

使用道具 举报

 楼主| 发表于 2010-7-30 06:54 PM | 显示全部楼层
回复  Diffusion

I told you, it even doesn't have all S&P 500.
Timber 发表于 2010-7-30 18:08



    Yes. What's astonished me is that even for AAPL, during the first 2 trading hours, IB returns no data...
回复 鲜花 鸡蛋

使用道具 举报

 楼主| 发表于 2010-8-2 10:47 AM | 显示全部楼层
Update: IQFeed has good data quality and download a snapshot for 3000 symbols cost me only 2.5 seconds.

IQFeed provided both socket and ActivX interface. The beauty with socket interface is that you can do multi-threading and have lighting fast downloading speed.
回复 鲜花 鸡蛋

使用道具 举报

发表于 2010-8-2 11:23 PM | 显示全部楼层
is iqfeed better than esignal in this regard?
回复 鲜花 鸡蛋

使用道具 举报

 楼主| 发表于 2010-8-3 12:20 AM | 显示全部楼层
is iqfeed better than esignal in this regard?
ksd9235 发表于 2010-8-3 01:23



    I did't try eSignal, have no idea....
回复 鲜花 鸡蛋

使用道具 举报

发表于 2010-8-3 01:51 AM | 显示全部楼层
需要一个稳定的数据源能够在收盘前给出所有股票的open, high, low, close, volume。我需要这些数据来筛选股 ...
Diffusion 发表于 2010-7-28 13:05



DING DING DING
回复 鲜花 鸡蛋

使用道具 举报

发表于 2010-8-5 04:29 PM | 显示全部楼层
需要一个稳定的数据源能够在收盘前给出所有股票的open, high, low, close, volume。我需要这些数据来筛选股 ...
Diffusion 发表于 2010-7-28 13:05



    对了,你那个IQFeed, intraday的历史有多久。Say, 15 min SPY能有几个月?60 min SPY能有几个月?Thanks.
回复 鲜花 鸡蛋

使用道具 举报

 楼主| 发表于 2010-8-5 05:08 PM | 显示全部楼层
对了,你那个IQFeed, intraday的历史有多久。Say, 15 min SPY能有几个月?60 min SPY能有几个月? ...
Cobra 发表于 2010-8-5 18:29



    刚试了试,SPY的1min/5min/15min/60min bar都是 从2007/4/24 到现在。
回复 鲜花 鸡蛋

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|www.hutong9.net

GMT-5, 2025-8-8 02:55 AM , Processed in 0.083222 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表