nanoric
|
b34dcf6a73
|
[Mod] Test使用with promise.catch():语法
|
2018-10-10 22:27:02 -04:00 |
|
nanoric
|
3f8e5f1099
|
[Add] Promise增加with self.catch():语法支持
|
2018-10-10 22:26:39 -04:00 |
|
nanoric
|
ab116d8f97
|
[Fix] 修复Promise抛出单个异常时get无法获取到正确的异常的错误
|
2018-10-10 22:10:15 -04:00 |
|
nanoric
|
6e71c59c06
|
[Mod] onFailed只接收两个参数,原来的data参数可以从req.response.raw读出
|
2018-10-10 22:09:20 -04:00 |
|
nanoric
|
e6f7781a47
|
[Mod] HttpClient改名为RestClient
|
2018-10-10 05:36:14 -04:00 |
|
nanoric
|
f0aa9c7172
|
[Add] okexFutureGateway:增加cancelOrder
|
2018-10-10 04:53:09 -04:00 |
|
nanoric
|
ab72e0303b
|
[Mod] 改了一下注释
|
2018-10-10 04:52:30 -04:00 |
|
vn.py
|
c530a0a1b1
|
[Fix]Close #1153
|
2018-10-10 16:40:00 +08:00 |
|
vn.py
|
78446b2c25
|
Merge pull request #1158 from vnpy/master
合并BitmexGateway市价单修改
|
2018-10-10 16:13:43 +08:00 |
|
nanoric
|
486e6055e6
|
[Mod] HttClient:修改对应的测试
[Del] 删除了HeadersAuthenticateHttpClient,因为不再需要了
该版本的测试可以通过
|
2018-10-10 03:59:13 -04:00 |
|
nanoric
|
5d0de90e60
|
[Mod] HttpClient:HTTP请求成功的标准从status_code==200修改为status_code==2xx
|
2018-10-10 03:53:09 -04:00 |
|
nanoric
|
6b19abc875
|
[Mod] HttpClient:将和HTTP请求相关的东西都进了Request
[Add] HttpClient.addReq:增加onFailed参数
|
2018-10-10 03:44:57 -04:00 |
|
nanoric
|
c04850c9a0
|
[Add] okexFuture相关修改。
我决定了,每一点小修改都commit,无论是否能运行。所以我把修改都提交上来了。
|
2018-10-09 06:08:39 -04:00 |
|
nanoric
|
54b93a89b5
|
[Add] 我觉得还是有onFail好,不过不再是用自定义callback的形式,而是重载的形式。对应的,RequestStatus中的状态也增加了。
|
2018-10-09 06:07:50 -04:00 |
|
nanoric
|
7e56c3fd49
|
[Mod] Promise:增加对traceback的支持
|
2018-10-09 06:06:41 -04:00 |
|
nanoric
|
f3f2598c44
|
[Mod] 改名:将restful改名为network
|
2018-10-09 06:05:50 -04:00 |
|
nanoric
|
7d65170e53
|
[Mod] restful包改名为network
[Mod] RestfulClient改名为HttpClient
|
2018-10-07 22:31:34 -04:00 |
|
nanoric
|
8dcc785fd3
|
[Mod] 修改tests的引用结构,便于从其他项目引用
|
2018-10-07 04:43:58 -04:00 |
|
nanoric
|
c38a9fcabd
|
[Mod] 修正RestfulClient和WebSocketClient的单元测试
|
2018-10-07 04:20:14 -04:00 |
|
nanoric
|
0236fcb864
|
[Fix] WebSocketClient:修正一个潜在Bug:因网络问题导致重连的exception不会被onError捕获
|
2018-10-07 04:10:38 -04:00 |
|
nanoric
|
85c64b00e4
|
[Mod] WebSocketClient隐藏一些内部变量
|
2018-10-07 04:07:03 -04:00 |
|
nanoric
|
c4d1da3045
|
[Mod] 将RestfulClient和WebSocketClient的构造和初始化分离开来。
|
2018-10-07 03:59:31 -04:00 |
|
nanoric
|
af71e57732
|
[Fix] 修正一个Bug:调用tests.Promise.set_exception后无法正常抛出异常
|
2018-10-07 03:42:01 -04:00 |
|
nanoric
|
142a40652d
|
[Mod] WebsocketClient改名为WebSocketClient
|
2018-10-07 03:38:55 -04:00 |
|
nanoric
|
4af7be3e41
|
[Add] 增加WebsocketClient的单元测试
|
2018-10-07 03:35:12 -04:00 |
|
nanoric
|
6bf7837055
|
[Add] 增加RestfulClient的单元测试
|
2018-10-07 03:34:42 -04:00 |
|
nanoric
|
2c626dbdaf
|
[Add] 增加WebSocketClient
|
2018-10-07 03:33:27 -04:00 |
|
nanoric
|
b64338d272
|
[Mod] 修改RestfulClient的调用方法
|
2018-10-07 03:32:42 -04:00 |
|
vn.py
|
e690c65ea8
|
[Del]移除自动连接MongoDB的操作
|
2018-10-07 09:24:12 +08:00 |
|
nanoric
|
84b99010cb
|
[Add] 将RESTFulApi的底层接口抽象化
[Add] 增加Request类,用以查询某个请求的状态
|
2018-10-06 06:03:31 -04:00 |
|
vn.py
|
97bf7e0cf5
|
[Fix]修复多进程优化的bug
|
2018-10-06 08:58:35 +08:00 |
|
vn.py
|
f0c56d42dd
|
[Mod]移除CryptoTrader对于操作系统的判断
|
2018-10-06 08:56:16 +08:00 |
|
vn.py
|
8a42c610bb
|
Merge pull request #1141 from raycool/dev
[mod] 修复火币中tick和newtick混用错误
|
2018-10-05 10:52:00 +08:00 |
|
vn.py
|
932e5e2773
|
[Fix]修复参数优化的bug
|
2018-10-02 13:55:47 +08:00 |
|
vn.py
|
0d4b12cfd7
|
[Fix]Close #1142
|
2018-10-01 22:42:29 +08:00 |
|
vn.py
|
da5455740e
|
[Del]移除import pandas
|
2018-09-30 22:44:21 +08:00 |
|
vn.py
|
145d5215e7
|
[Mod]移除ctaBacktesting中对pandas的依赖
|
2018-09-30 22:23:51 +08:00 |
|
vn.py
|
8af3355553
|
Merge branch 'dev' of https://github.com/vnpy/vnpy into dev
|
2018-09-30 19:26:06 +08:00 |
|
vn.py
|
7d48318bfd
|
[Del]移除部分陈旧代码
|
2018-09-30 19:26:03 +08:00 |
|
vn.py
|
3f8039f34e
|
[Fix]Close #1114
|
2018-09-30 18:39:38 +08:00 |
|
vn.py
|
3792bb05a9
|
[Fix]修复bitmexGateway中合约大小取值字段错误的bug
|
2018-09-30 18:37:07 +08:00 |
|
vn.py
|
bea0046309
|
[Del]移除FutuTrader目录下的临时文件
|
2018-09-28 21:15:20 +08:00 |
|
huguanghui
|
bb694e3890
|
fix newtick and tick bug
|
2018-09-28 19:54:23 +08:00 |
|
vn.py
|
fe3b16c1b2
|
[Add]添加VtBarData的K线周期字段
|
2018-09-25 10:35:46 +08:00 |
|
vn.py
|
e3eaadf263
|
Merge pull request #1123 from nanoric/bitmex_market_price
[Fix] 修正市价单无法下单的问题
|
2018-09-21 09:59:07 +08:00 |
|
vn.py
|
7fd1d55dc3
|
Merge pull request #1121 from nanoric/openApp
[Add] 新增openApp系列函数
|
2018-09-21 09:57:05 +08:00 |
|
nanoric
|
27fab6bfba
|
[Fix] 修正市价单无法下单的问题
|
2018-09-20 02:43:21 -04:00 |
|
nanoric
|
b9d41a1d55
|
[Add] 新增openApp系列函数
|
2018-09-19 05:35:35 -04:00 |
|
vn.py
|
0e28c30b31
|
Merge pull request #1119 from nanoric/extract_outputOptimizeResult
[Add] 将ctaBacktesting.outputOptimizeResult分离了出来
|
2018-09-19 11:01:36 +08:00 |
|
nanoric
|
c1c9d93c8f
|
Update ctaBacktesting.py
|
2018-09-17 23:16:24 -03:00 |
|