Giter Site home page Giter Site logo

Comments (3)

vnpy avatar vnpy commented on June 16, 2024

具体报错信息请提供下截图

from vnpy.

CancerQ avatar CancerQ commented on June 16, 2024

@vnpy linux请使用fork来创建,spawn使用在windows,另外请确认windows在使用spawn时是否能共享父进程的资源,确认组合策略回测是否能正常读取数据库的数据,是否需要重连数据库,请确认是否有必要这样做,目前linux使用spawn是无法共享父进程资源的,需要重连数据库,只有fork创建时可以共享父进程资源才能读取到数据库资源,请确认一下,请注重linux的开发和体验

from vnpy.

noranhe avatar noranhe commented on June 16, 2024

我们这边测过了,没有问题。可以检查一下你的回测脚本是否有把优化代码写在if name == "main":下,以防优化代码被子进程读取

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.