Comments (2)
- Threading.Timer是一次性运行,可能并不适合这个任务,但是你确实可以使用threading创建另一个线程的方式来执行定时器的任务。因为GIL的关系,我个人倾向于在Python里能不多开线程就不多开,Qt里的Timer应该是基于主线程的事件循环,所以没有用到另外的线程。
- 计划的下一篇教程里会包含一些LTS的例子,最近有些忙,可能要下周发布吧,教程会发布在vnpy.org。
- vn.lts中包含了封装的源代码,我自己没有测试过,整个开发中没有使用windows独有的库,应该也可以在linux上编译。
- 交流群的想法挺好,目前看来github不是那么方便交流,我来看看有什么选择
- blinker这个库我大概看了下,类似于pyqt里的signal/slot不能很好的管理event handler的执行顺序,另外也不便于在程序运行中实时创建新的事件(比如对特定下单编号的监听等等)。EventEngine本身除了Timer外没有使用Qt的事件机理,完全是纯python实现的。
from vnpy.
已经发布了hello world example,在vn.demo下面可以看到。
另外搞了个QQ群:262656087,感兴趣可以加下。
from vnpy.
Related Issues (20)
- 支持使用pip直接安装vnpy HOT 1
- 使用标准库`importlib.metadata`替代`importlib-metadata` HOT 1
- UnicodeDecodeError: 'gbk' codec can't decode byte 0x91 in position 130: illegal multibyte sequence HOT 1
- 交易所有误 HOT 1
- vnpy_portfoliostrategy不支持创建日线级别的自定义Bargenerator对象 HOT 1
- CTA模块、价差交易模块、组合回测模块一些函数的参数问题建议 HOT 1
- 贵司首页上的github仓库链接错了 HOT 2
- 优化模块在Linux上运行报错 HOT 3
- ctp股票期权接口最好3.5到3.6都更新一下,中信、宏源都3.6的 HOT 1
- VeighNa Trader界面中文均是乱码
- 关于no ui
- ScriptTrader模块支持数据回测吗 HOT 1
- 需要更新到python3.11 HOT 1
- veigh trader 无法查询合约以及查看行情 HOT 1
- 回测优化时每一种策略参数下的每日盈亏 HOT 1
- 有些gateway, 我想脱离vnpy使用,可以吗,如何做? HOT 1
- VeighNa Station选择安装目录与卸载优化 HOT 2
- vnpy.rpc.server.check_heartbeat()推送的时间数据类型与vnpy.rpc.client._last_received_ping初始化的类型不一致 HOT 1
- Linux运行run.py报错: 需要提交datafeed信息 HOT 7
- cta柜台下订阅持仓推送,PositionData的持仓成本是错误的,price并非持仓成本,而是昨日的结算价格,导致pnl也是错误的。 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vnpy.