请问,如何使用PortfolioBarGenerator合成日K线,有没有参考代码可以提供?
如何在CTA策略中获取CTP交易状态,比如:已成交,已撤单,未成交等信息?trader对象是否包含这些信息,还是需要直接在CTP接口中获取?
今天接到期货公司信息,说端午节后CTP系统优化,上期所与能源中心组播行情中无效价格的推送处理,将无效价格由推送0改为推送为DBL_MAX,请问这个优化会影响VeighNa系统的正常使用吗?
Faile to import cython option pricing model, please rebuild with cython in cmd.
Authorization required, but no authorization protocol specified
qt.qpa.xcb: could not connect to display :10.0
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vkkhrdisplay, vnc, wayland-egl, wayland, xcb.
在run.py中加入option master模块后,运行run.py出现这个错误,如何修复?
from vnpy.app.script_trader import init_cli_trading
from vnpy.gateway.ctp import CtpGateway
期权零基础入门14课中的这两个模块在3.5版本中改到哪里去了?
新版本下配置了influxdb数据库字段,启动时显示没有vnpy_influxdb数据驱动