Commit Graph

845 Commits

Author SHA1 Message Date
vn.py
f15bb91f29 [Mod] change get_path related functions 2019-02-17 22:59:41 +08:00
vn.py
6c91951e02 [Add] general functions of VN Trader
1. use json instead of shelve for setting/data storage
2. call original sys.__excepthook__ before showing exception with QMessageBox
2019-02-17 22:59:01 +08:00
vn.py
ae78a7f0c0 [Add] init cta strategy in thread to avoid ui block 2019-02-17 15:00:02 +08:00
vn.py
9df1cf9a74 [Add] load and sync cta strategy data function 2019-02-16 11:18:58 +08:00
vn.py
7ade45e37f [Add] load_json/save_json function 2019-02-16 10:51:32 +08:00
vn.py
95052ce822 [Add] add load history data function to cta live trading engine 2019-02-16 10:13:22 +08:00
vn.py
e29345503b [Fix] bug in calculating daily result of cta backtesting 2019-02-15 16:05:34 +08:00
nanoric
0f7a82c072 [Add] 若python中没实现对应的虚函数,则什么都不做。[1]
[Fix] 所有对dict的使用改为const &,减少不必要的复制

[1] PYBIND11_OVERLOAD默认会调用到C++原生实现。CTP的原生实现是什么都不做。
2019-02-14 03:21:35 -04:00
nanoric
92d488e640 [Fix] 去掉get...中的异常捕获
异常会被上层捕获,即pybind11.
pybind11会将异常转化为python异常然后回传到python之中。
2019-02-14 03:13:22 -04:00
nanoric
8c0d11d601 [Fix] 稍稍修改一下toUtf8 2019-02-14 00:38:04 -04:00
vn.py
cb23935ac6 [Add] new ctp gateway 2019-02-10 11:49:09 +08:00
vn.py
1bf01b2377 [Add] new python 3 ctp api 2019-02-09 12:04:56 +08:00
vn.py
a302bc93c5 [Mod] format code with autopep8 2019-01-30 13:07:23 +08:00
vn.py
d7c79327dc [Mod] reverse certain code formatting caused by black 2019-01-30 12:40:49 +08:00
vn.py
d05b558f87 [Fix] check typo bug with flake8 2019-01-30 09:54:51 +08:00
vn.py
346368cd2e [Fix] bug in calculating daily backtesting pnl result 2019-01-30 04:39:04 +08:00
vn.py
b99c5ff590 [Add]backtesting function for cta strategy 2019-01-29 15:35:37 +08:00
vn.py
2dc8057de0 [Add] TurtleSignalStrategy for cta strategy app 2019-01-26 21:43:07 +08:00
vn.py
fdf2d4cf13 [Fix] some code mistakes caused by previous merge 2019-01-26 19:45:23 +08:00
vn.py
91678e0de2 Merge branch 'v2.0-DEV' of https://github.com/vnpy/vnpy into v2.0-DEV 2019-01-26 17:41:33 +08:00
vn.py
5d4e975ff4 [Mod]change formatting tools to black 2019-01-26 17:24:38 +08:00
nanoric
8bb0bb5fbf [Mod] 再次进行一些格式修改
[Add] 增加对binding和tests的代码质量检查
[Add] 更新README.md
2019-01-24 09:06:31 -04:00
nanoric
ed1758a26a [Add] use flake8
[Mod] use black instead of yapf
2019-01-24 09:06:31 -04:00
vn.py
d45b82e110 [Add] backtesting tool of CtaStrategy app 2019-01-24 14:13:57 +08:00
vn.py
9d5866e997 [Add] vnpy/trader/database.py for database connection 2019-01-24 14:13:36 +08:00
nanoric
cda0287246 [Fix] format error of /vnpy/trader/ui/widget.py 2019-01-21 05:46:31 -04:00
vn.py
a257b18f84 [Add] LogMonitor for cta strategy and global excepthook 2019-01-20 21:34:38 +08:00
vn.py
4596f3a515 [Add] CtaManager ui widget 2019-01-19 18:57:54 +08:00
vn.py
499ffd9491 [Add] CTA engine and template for creating strategies 2019-01-19 13:12:29 +08:00
nanoric
09067dcee6 [Fix] Fixed format error and naming error 2019-01-18 01:24:15 -04:00
vn.py
f97f090a25 [Add] BaseApp for app development 2019-01-18 09:35:35 +08:00
vn.py
7f8617ff2d [Mod]Complete test of bitmex gateway 2019-01-16 20:57:30 +08:00
vn.py
d5a39a7d7f [Add] New bitmex gateway for crypto currency futures trading 2019-01-16 15:22:44 +08:00
vn.py
32867a97c2 [Mod]Change websocket client code style 2019-01-16 09:25:18 +08:00
vn.py
ab9ddbbce3 [Mod]Change rest client code style 2019-01-16 08:16:16 +08:00
vn.py
578544a3c3 [Mod]Change constant value from str to enum 2019-01-15 22:04:02 +08:00
vn.py
9c897d04af [Mod] Change futu gateway contract size to 1 2019-01-14 22:56:26 +08:00
vn.py
33aff65e60 [Add] Complete futu gateway test 2019-01-14 22:52:03 +08:00
vn.py
f912207d3f [Add] Rest and websocket client 2019-01-13 13:23:10 +08:00
vn.py
242a97a2b2 [Add] Email engine for sending email message. 2019-01-12 10:44:53 +08:00
vn.py
6e1d90b327 [Add] Mainwindow now supports geometry setting save/load/restore 2019-01-12 09:54:56 +08:00
vn.py
60a640b6d1 [Add] Show VN Trader running path in main window 2019-01-12 09:43:27 +08:00
vn.py
91cb3d103d [Add] ConnectDialog supports field value save and load 2019-01-12 09:38:22 +08:00
vn.py
f3b2f506ed [Add] New gateway for Futu Securities 2019-01-11 23:54:01 +08:00
vn.py
857b0c243c [Add] Double click order monitor cells to cancel order 2019-01-11 15:49:11 +08:00
vn.py
a89cba984d [Add] Add about dialog 2019-01-11 13:06:39 +08:00
vn.py
1eb26d6151 [Add] Add write_log function in BaseGateway 2019-01-11 12:41:50 +08:00
vn.py
9b2b0561b1 [Add] Add active order monitor and contract manager 2019-01-11 12:21:55 +08:00
vn.py
40b5a4127c [Fix] Close #1167 2019-01-11 08:35:25 +08:00
vn.py
64c1c3ccde [Add] Complete ib gateway development 2019-01-10 23:45:21 +08:00
vn.py
84eaeb8733 [Add] Add monitor into mainwindow 2019-01-09 22:36:48 +08:00
vn.py
712fad6288 [Add] Add ib gateway using official ibapi from interactive brokers 2019-01-09 22:03:33 +08:00
vn.py
be25b684a0 [Add] Start ib gateway development 2019-01-09 16:41:51 +08:00
vn.py
a899060360 [Add] Add oms engine 2019-01-08 21:53:03 +08:00
vn.py
fe5b994b0e [Add] Add mainwindow and test code of VN Trader 2019-01-08 20:45:01 +08:00
vn.py
c304c2b125 [Add] Add log engine 2019-01-08 20:43:26 +08:00
vn.py
b996285ffd [Add] Add global setting file 2019-01-08 20:42:47 +08:00
vn.py
e25787536a [Add] Add trader ui widget 2019-01-06 20:16:29 +08:00
vn.py
ca14973b9a [Add] Add trader mainengine 2019-01-06 20:16:12 +08:00
vn.py
ca8b5fa406 [Add] Add abstract gateway class 2019-01-06 20:15:05 +08:00
vn.py
dfcd0ed0ea [Add] Add trader data object structure 2019-01-06 20:14:27 +08:00
vn.py
ad40633fd8 [Add] Add trader event type definition 2019-01-06 20:14:02 +08:00
vn.py
e32b76d243 [Add] Add trader constant definition 2019-01-06 20:13:50 +08:00
vn.py
9d3ec12695 [Add] Add event engine 2019-01-05 22:34:21 +08:00
vn.py
f7d5848758 [Del]clear all old files 2019-01-04 14:46:47 +08:00
vn.py
24dbe7d014 [Mod]调整WebsocketClient的对话信息记录函数 2018-12-29 09:44:25 +08:00
vn.py
32dc3aaf7e
Merge branch 'dev' into master 2018-12-29 09:40:43 +08:00
vn.py
389a98ab1a [Mod]更新README.MD 2018-12-28 16:43:04 +08:00
vn.py
ae5151cb76
Merge pull request #1308 from nanoric/fix_app_ui_blank_after_maximiize
[Fix] 修正一个UI错误:修复了最大化app之后关闭再打开会显示一大片空白的问题
2018-12-28 15:41:52 +08:00
nanoric
ac9048b0ad [Fix] 修正一个UI错误:修复了最大化app之后关闭再打开会显示一大片空白的问题
[Add] UI功能性增强:点击某个app之后,该app一定会被移到前台。

顺便去掉了try_catch KeyError,改用if
2018-12-28 03:03:57 -04:00
vn.py
2faac219a0 [Mod]完成火币接口的测试 2018-12-27 16:44:44 +08:00
vn.py
a4614a6f27 [Mod]请求查询异常时输出错误日志 2018-12-27 15:47:44 +08:00
nanoric
6542f1ebfa [Fix] 修正了huobiGateway与GET方法相关的签名问题 2018-12-27 01:15:00 -04:00
nanoric
f0c192cbbf [Fix] 修正了huobigateway与GET相关的签名方法 2018-12-27 01:11:05 -04:00
vn.py
6b564c9f01 [Mod]调整部分火币接口逻辑 2018-12-27 13:05:24 +08:00
vn.py
d25065fdea [Mod]调整onErrorMsg函数 2018-12-26 12:31:28 +08:00
vn.py
e8bf28bd8d [Add]升级火币接口 2018-12-26 12:30:02 +08:00
vn.py
155e0004b7
Merge pull request #1258 from Gwill/dev
fix typo
2018-12-24 20:43:14 +08:00
vn.py
5f576cc029 [Fix]Close #1297 2018-12-24 20:39:15 +08:00
vn.py
1add685b53 [Fix]修复OKEXF接口的5档行情顺序bug #1275 2018-12-24 20:36:52 +08:00
vn.py
483b754f09 [Mod]反转SpreadTrading界面上算法显示的顺序,改为和价差一致 Close #1083 2018-12-24 20:34:09 +08:00
vn.py
bc49cde7f0 [Fix]Close #1278 2018-12-24 09:43:17 +08:00
vn.py
55ee5ea9b1 [Fix]TradeCopy模块增加拒单监控,Close #1274 2018-12-24 09:39:49 +08:00
vn.py
41d970c041 [Fix]Close #1273 2018-12-24 09:35:40 +08:00
vn.py
372a879fce [Add]更新README 2018-12-20 12:38:10 +08:00
vn.py
e3ef232557 [Mod]调整部分文字说明 2018-12-20 10:06:51 +08:00
vn.py
b779f065e4 [Del]移除vnpy/data目录下通联和天勤数据接口 2018-12-20 10:00:17 +08:00
vn.py
97fcd7f19a [Mod]更新富途接口为futu-api 2018-12-20 09:55:48 +08:00
vn.py
fa2ce167ee [Add]新增图形化的RQData数据服务下载器 2018-12-06 16:12:58 +08:00
vn.py
50f1524c12 [Add]CTA策略实盘交易引擎加入对RQData的数据支持 2018-12-06 13:00:19 +08:00
vn.py
02ac91af6f [Mod]价差交易模块的价差算法显示改为和价差数据一致,Close #1083 2018-12-02 13:44:50 +08:00
vn.py
b7a5a0bbbe [Fix]Close #1261 2018-12-02 13:34:23 +08:00
vn.py
e47899b821 [Fix]Close #1254 2018-12-02 13:33:13 +08:00
vn.py
2de657db9b [Fix]Close #1260 2018-12-02 13:30:58 +08:00
vn.py
644d14881c [Add]新增交易复制模块TradeCopy 2018-12-02 13:24:04 +08:00
nanoric
fc7eb66226 [Fix] Okex 修正了登录时无持仓时的报错 2018-11-26 04:18:40 -04:00
nanoric
268f833bdc [Add] ws:在记录最后接收到的数据时尝试解包,若解包失败则使用原来的值 2018-11-26 04:18:12 -04:00
G_will
b4afae871d fix typo 2018-11-21 16:24:02 +08:00
vn.py
31784f32b6 [Add]将日志文件改为UTF8编码,Close #1248 2018-11-17 22:21:35 +08:00
vn.py
3fee9cb48e Merge branch 'dev' of https://github.com/vnpy/vnpy into dev 2018-11-17 09:53:18 +08:00