Git Product home page Git Product logo

Comments (4)

Cuizi7 avatar Cuizi7 commented on July 21, 2024

develop 分支代码已修复。

from rqalpha-mod-vnpy.

Cuizi7 avatar Cuizi7 commented on July 21, 2024

现在已经重写了 vnpy 相当多的函数,我们是否可以考虑一下直接从更底层引用vnpy?直接调用 vnpy 封装好的底层 python 版 CTP 接口。

这样做的好处

  1. 可以减少数据转换的层级,便于我们对数据的控制,减少bug。
  2. 另外也可以减少对 vnpy 上层代码的依赖,避免由于 vnpy 升级导致出现的不兼容情况。
  3. 更容易上 python 3
    弊端:
  4. 跟大的工作量
  5. 再接入其他交易接口的时候也要做很多类似的重写工作,做不到我们当初设想的 “一键接入”(不过现在重写了很多函数以后也已经做不到一键接入了。)

@handsomu @wh1100717 @cedricporter

from rqalpha-mod-vnpy.

wh1100717 avatar wh1100717 commented on July 21, 2024

原本使用vnpyGateway的目的是希望的直接集成其他的交易接口,不需要每一个交易接口都实现一遍,如果本身vnpyGateway要实现对接就需要重写很多函数的话,那实际上相当于我们做了一个rqalphaGateway。

我觉得可以基于现有的代码,重构、整合,然后脱离vnpyGateway,或者对其进行扩展,然后不再依赖vnpyGateway

from rqalpha-mod-vnpy.

Cuizi7 avatar Cuizi7 commented on July 21, 2024

master 分支已更新。

from rqalpha-mod-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.