Git Product home page Git Product logo

Comments (10)

niucool avatar niucool commented on July 23, 2024

刚才测试了一下,通达信美股intraday延时有15分钟,对于实时交易来说,基本等于没用。请问谁知道怎么获取level2行情呢?

from pytdx.

yutiansut avatar yutiansut commented on July 23, 2024

15分钟?!

from pytdx.

niucool avatar niucool commented on July 23, 2024

是的,15分钟。明天再试一次看看。

from pytdx.

niucool avatar niucool commented on July 23, 2024

今天又测试了一次,延时问题的确存在,大部分时候是15分钟。

from pytdx.

yutiansut avatar yutiansut commented on July 23, 2024

给一下你测试的具体代码吧

from pytdx.

niucool avatar niucool commented on July 23, 2024

比如调用 api.get_instrument_quote(74, "XIV")
和 api.get_instrument_bars(TDXParams.KLINE_TYPE_1MIN, 74, 'XIV', 0, 10)
再和当前时间对比以下就可以知道

from pytdx.

Rongnian avatar Rongnian commented on July 23, 2024

据我所知,很多软件和网站提供的美股行情都是15分钟延迟行情。想要获得实时行情,需要付费购买,或者选用支持实时行情的数据源。通达信,同花顺这类不提供美股交易功能的行情软件,看来也是用的延时行情。

from pytdx.

yutiansut avatar yutiansut commented on July 23, 2024

给你点个赞 by the way 通达信的扩展行情是第三方提供的 不是通达信自己提供的

from pytdx.

niucool avatar niucool commented on July 23, 2024

是的,开启客户端的时候有提示,15分钟的延时是没法用于实时交易的,只能下载历史数据用于回测。不过历史数据里面也有诸多问题,比如数据不全等,而且用来做美股回测的人少,所以这个数据源是不太可靠的。

from pytdx.

yutiansut avatar yutiansut commented on July 23, 2024

美股的话....zipline应该不错

from pytdx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.