Commit Graph

68 Commits

Author SHA1 Message Date
vn.py
a5550d42c7 [Mod]complete test of new database module with CtaStrategyApp 2019-04-16 13:39:06 +08:00
vn.py
1d527bc36e
Merge pull request #1602 from nanoric/master
[Add] database
2019-04-16 11:19:56 +08:00
nanoric
dd99609109 [Add] skip some tests under osx 2019-04-15 13:40:03 -04:00
vn.py
56d0812121 [Add]optimization function into CtaBackteserApp 2019-04-15 23:32:04 +08:00
nanoric
98c677118a [Add] run tests under osx 2019-04-15 08:54:28 -04:00
nanoric
a7a80e0e9a [Fix] try to fix errors 2019-04-15 01:26:45 -04:00
nanoric
080f0cc131 [Mod] psql: use connection string
[Mod] test_all.py: return 1 if errors
2019-04-15 00:22:21 -04:00
nanoric
21ba27aa87 [mod] make flake8 happy 2019-04-14 06:52:02 -04:00
nanoric
6a7b9e139d [Mod] 修正测试 2019-04-14 06:15:28 -04:00
nanoric
5d0bf006c6 [Add] added support for mongodb
[Add] added tests for database and CsvLoaderEngine
[Mod] changed .travis.yaml
2019-04-14 06:15:06 -04:00
nanoric
1074a26b77 [Add] added support for PostgreSQL 2019-04-14 06:15:05 -04:00
vn.py
bee61d79b0 [Add]CtaBackteserApp for GUI based backtesting 2019-04-11 14:01:29 +08:00
vn.py
0646e1ccd2 [Mod]complete twap algo and app test 2019-04-07 16:31:20 +08:00
vn.py
d4a70b8a9b
Merge pull request #1523 from 1122455801/genetic_algo
[Add]遗传算法模块
2019-04-05 15:22:42 +08:00
vn.py
3964142b2e [Mod]complete test for huobi gateway 2019-04-04 23:52:35 +08:00
vn.py
0ebe533d4f [Mod]improve code quality of okex gateway 2019-04-04 15:57:19 +08:00
vn.py
7d86efce39 [Mod]complete trading test of okex gateway 2019-04-04 07:40:44 +08:00
nanoric
11f5db1b77 [Add] added a test to check if all module can be import without error. 2019-03-27 04:17:33 -04:00
vn.py
1c601278ab [Fix]bugs in cta strategy app 2019-03-27 14:44:48 +08:00
1122455801
6359fac196 Create genetic_algorithm.ipynb 2019-03-26 15:53:15 +08:00
vn.py
0fa314faa8 [Fix]change brokerid to str in CtpGateway 2019-03-25 16:31:15 +08:00
vn.py
af7b433370 [Mod]improve code style of csv_loader 2019-03-20 18:12:19 +08:00
vn.py
da53a5fc0b [Mod]Add support for spread product class, close #1479 2019-03-14 09:22:03 +08:00
1122455801
b89eeb8d57 Update run.py 2019-03-05 23:15:31 +08:00
vn.py
3be6b3d4d3 [Add]readme and other docs 2019-02-25 17:40:15 +08:00
vn.py
9df1cf9a74 [Add] load and sync cta strategy data function 2019-02-16 11:18:58 +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
cb23935ac6 [Add] new ctp gateway 2019-02-10 11:49:09 +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
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
f97f090a25 [Add] BaseApp for app development 2019-01-18 09:35:35 +08:00
vn.py
d5a39a7d7f [Add] New bitmex gateway for crypto currency futures trading 2019-01-16 15:22:44 +08:00
vn.py
f3b2f506ed [Add] New gateway for Futu Securities 2019-01-11 23:54:01 +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
be25b684a0 [Add] Start ib gateway development 2019-01-09 16:41:51 +08:00
nanoric
88002bc315 [Add] added travis script 2019-01-07 02:20:54 -04:00
vn.py
f7d5848758 [Del]clear all old files 2019-01-04 14:46:47 +08:00
G_will
ad42d4ddac 修改 travis 在 py3 时的语法错误 2018-11-01 14:01:36 +08:00
nanoric
a4118f3364 [Add] 在RestClient.addRequest中增加onError参数,可以重定向onError回调。
[Add] 在WebSocketClient, RestClient的错误处理函数中打印更多的详细信息
[Add] 增加RestClient.printExceptionDetail和WebSocketClient.printExceptionDetail,用于打印详细的错误信息
[Mod] 修改了对应的测试样例
2018-10-30 23:36:50 -04:00
nanoric
cab8fd1e0e [Mod] WebSocket改名为Websocket 2018-10-23 21:31:17 -04:00
nanoric
35518106a2 [Mod] 重构RestClient, WebSocketClient
主要有:
* beforeRequest改名为sign
* onFailed, onError由函数指针改为函数(利用Python的特性,可以重载,也可以仍然当函数指针用)
* sendData改名为sendBinary
* 优化了WebSocketClient的循环逻辑
2018-10-18 05:30:30 -04:00
nanoric
788677370f [Mod] WebsocketClient改名为WebSocketClient 2018-10-15 04:45:57 -04:00
nanoric
c50c31a6bd [Mod] sendRequest改名为sendPacket
和onPacket对应。
2018-10-15 04:37:55 -04:00
nanoric
4d7c3bf417 [Add] WebSocketClient:增加onDisconnected 2018-10-15 04:35:55 -04:00