Commit Graph

1599 Commits

Author SHA1 Message Date
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
vn.py
f9fd309098 Merge branch 'v2.0-DEV' of https://github.com/vnpy/vnpy into v2.0-DEV 2019-01-24 14:14:01 +08: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
c758d21712
Update build.windows.md
提示将CMake加入PATH
2019-01-23 22:32:17 -04:00
vn.py
54464a7408
[Merge] pull request #1354 from nanoric/generator
[Add] added generator code
2019-01-24 09:08:42 +08:00
nanoric
2b72275613 [Add] added generator code 2019-01-23 03:41:03 -04:00
vn.py
fd4ce4e6a6
[Merge] pull request #1352 from nanoric/new_doc
updated build instruments
2019-01-23 08:53:58 +08:00
nanoric
16eb0bf44c [Mod] rename Readme.md into README.md
[Mod] updated build instruments
[Mod] move all documents into /doc
2019-01-22 03:49:43 -04:00
vn.py
758d252681
[Merge] pull request #1349 from nanoric/bindings_ctp
Bindings of ctp
2019-01-21 21:08:27 +08:00
nanoric
507f70812a [Fix] 修正Clang的编译参数
[Del] 去除不必要的CMake flags
2019-01-21 05:59:57 -04:00
nanoric
064c5646e8 [Add] Added bindings: ctp 2019-01-21 05:48:38 -04:00
nanoric
cda0287246 [Fix] format error of /vnpy/trader/ui/widget.py 2019-01-21 05:46:31 -04:00
vn.py
e6e41fdc5c Merge branch 'v2.0-DEV' of https://github.com/vnpy/vnpy into v2.0-DEV 2019-01-20 21:34:42 +08:00