Commit Graph

1762 Commits

Author SHA1 Message Date
nanoric
3080101ba0 [Mod] Include的相对路径改为绝对路径(Python除外) 2019-02-18 03:42:06 -04:00
nanoric
4dc63db71c [Add] TaskQueue增加terminate(),可以终止pop的等待 2019-02-18 03:13:11 -04:00
vn.py
3618044b36 [Fix] bugs in cta backtesting 2019-02-18 13:42:16 +08:00
vn.py
144ca19b08 [Add] use rqdata client for query history data in cta engine 2019-02-18 13:10:00 +08:00
vn.py
d32c3100af [Add] load global setting from json file 2019-02-18 13:09:19 +08:00
vn.py
37f2a0c9b6 [Mod]simplify usage of ctp api and gateway 2019-02-18 11:15:51 +08:00
vn.py
cc236a918d
[Merge] pull request #1381 from nanoric/optimized_toUtf8 2019-02-17 23:11:38 +08:00
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
cbdecf7edf
Merge pull request #1378 from nanoric/sphinx
sphinx init
2019-02-13 14:01:15 +08:00
nanoric
f826d77750 [Add] add sphinx files into docs/ 2019-02-13 01:51:50 -04:00
vn.py
19789c60a6 [Add] docs folder for project documentation 2019-02-13 09:50:00 +08:00
vn.py
8195da1444
[Merge] pull request #1377 from vnpy/v2.0-DEV-CTP
V2.0 dev ctp
2019-02-10 11:54:43 +08: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
6b49cdb2ad [Del] remove binding related code 2019-02-01 13:36:30 +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
be8f57d039 [Add] download history data from rqdata into sqlite 2019-01-29 15:37:06 +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
vn.py
901664c10a
Merge pull request #1360 from nanoric/autocxxparser
generator.binding:CXXParser:增加include路径的设置
2019-01-26 12:19:44 +08:00
nanoric
31b6e230b6 [Mod] 更新binding的编译教程 2019-01-24 23:28:39 -04:00
nanoric
9e7e4185a7 [Mod] CXXParser与CXXFileParser互换名字 2019-01-24 23:08:30 -04:00
nanoric
49df5c934e [Add] CXXParser: 增加include路径的设置 2019-01-24 23:08:29 -04:00
vn.py
b6c5c19486
[Merge] pull request #1356 from nanoric/patch-1
Update build.windows.md
2019-01-25 09:40:17 +08:00
vn.py
70a3d61148
[Merge] pull request #1357 from nanoric/new_qa_tools
New qa tools
2019-01-25 09:39:50 +08:00
nanoric
39306104fd [Mod] make travis-ci use python3.6 instead of python3.7-dev 2019-01-24 09:22:19 -04:00
nanoric
a3d3d2b9e7 [Fix] fix travis-ci scripts for black 2019-01-24 09:18:54 -04:00
nanoric
c2637b9fea [Mod] 修正ci脚本 2019-01-24 09:06:32 -04:00
nanoric
45ae431d83 [Mod] black格式化 2019-01-24 09:06:32 -04:00
nanoric
37f528ba08 [Mod] 改进pylint的命名规则 2019-01-24 09:06:31 -04:00
nanoric
8bb0bb5fbf [Mod] 再次进行一些格式修改
[Add] 增加对binding和tests的代码质量检查
[Add] 更新README.md
2019-01-24 09:06:31 -04:00
nanoric
21a46198fd [Mod] rename Readme.md to 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
nanoric
4c16a6fd5f [Mod] rename hint.py into hint.py.in
python的template容易让linter报错,设置来设置去太麻烦,就改名吧.
2019-01-24 09:06:30 -04:00
nanoric
b646ebe0c3
Update build.windows.md
增加Visual Studio安装的细节
2019-01-24 05:34:08 -04:00