Giter Site home page Giter Site logo

回测载入数据的问题 about vnpy HOT 3 CLOSED

vnpy avatar vnpy commented on May 24, 2024
回测载入数据的问题

from vnpy.

Comments (3)

vnpy avatar vnpy commented on May 24, 2024

OK,我想下这个功能怎么设计,原理上不是太复杂。

from vnpy.

viponedream avatar viponedream commented on May 24, 2024

万能的群主,肯定有办法的。
细化一下:因为库可能存3年的tick数据。
1,而我们的策略也许在某段时间很抢眼,某段时间很差。所以读入数据可以考虑给人分段,如2015-5-10到2016-1-1,而不是默认到最近的。
2,每次读入10天或几天的(人家以策略计算周期自己判断)。这样不管库中存的数据多长都可以随意回测了。

from vnpy.

vnpy avatar vnpy commented on May 24, 2024

已完成,修改了回测引擎的实现,API保持和之前的版本一样。

from vnpy.

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.