vn.py
|
72bba04d5d
|
[Add]增加BitmexGateway的主动行情订阅功能
|
2018-10-17 14:22:15 +08:00 |
|
vn.py
|
a9f1a7c649
|
[Add]新增CryptoCompare的数字货币数据服务
|
2018-10-12 15:43:15 +08:00 |
|
vn.py
|
69606087c5
|
Merge branch 'dev' of https://github.com/vnpy/vnpy into dev
|
2018-10-12 14:46:55 +08:00 |
|
vn.py
|
bd6447a708
|
[Mod]调整DataService相关Demo的目录结构
|
2018-10-12 14:45:18 +08:00 |
|
vn.py
|
449c0284de
|
Merge pull request #1164 from nanoric/refactor.network.devel
Refactor.network.devel 2018-10-11
|
2018-10-12 14:42:44 +08:00 |
|
nanoric
|
4878b3291b
|
[Mod] 将Enum改为普通的object
[Mod] onFailed增加一个errorCode参数
|
2018-10-11 23:39:01 -04:00 |
|
nanoric
|
8c971c7d81
|
[Add] 增加OkexFutureSymbol类以表示可支持的合约(无法直接从API查询)
|
2018-10-11 23:10:00 -04:00 |
|
nanoric
|
6e0e1c116b
|
[Mod] 将RestClient和WebClient移动到api文件夹中,并修改import方式
|
2018-10-11 22:53:48 -04:00 |
|
nanoric
|
a396b55f8e
|
[Add] 完成OkexFutureApi.queryOrders
|
2018-10-11 22:50:04 -04:00 |
|
nanoric
|
0ee13bf862
|
[Add] RestClient:增加了Join函数
[Mod] 将processReq改为保护方法:改名为_processReq
|
2018-10-11 22:06:30 -04:00 |
|
vn.py
|
051f00f051
|
Merge pull request #1161 from raycool/raycool-dev
套利交易逻辑对冲函数逻辑被动腿错误
|
2018-10-12 09:08:39 +08:00 |
|
vn.py
|
9d834b040e
|
Merge pull request #1159 from nanoric/refactor.network
Refactor.network
|
2018-10-12 09:04:26 +08:00 |
|
huguanghui
|
100700257b
|
fix symbol error
|
2018-10-11 20:34:27 +08:00 |
|
huguanghui
|
72fef7f1ff
|
fix symbol error
|
2018-10-11 20:30:59 +08:00 |
|
nanoric
|
d9b5de31f3
|
[Add] 准备增加queryOrders
|
2018-10-11 06:13:40 -04:00 |
|
nanoric
|
0749007dc7
|
[Add] 修改部分注释
|
2018-10-11 06:12:41 -04:00 |
|
nanoric
|
694317b663
|
[Mod] 修改order的字段获取顺序:按字母顺序排列
|
2018-10-11 05:50:28 -04:00 |
|
nanoric
|
cf546672fd
|
[Add] 完成okexFutureGateway.sendOrder
|
2018-10-11 04:05:26 -04:00 |
|
nanoric
|
a4859a94eb
|
[Fix] OkexFutureApi:将onFailed参数变为真的可选
|
2018-10-11 04:04:33 -04:00 |
|
nanoric
|
26cfc17255
|
[Mod] OkexFutureApi:修改部分onFailed的智能提示
|
2018-10-11 03:52:03 -04:00 |
|
nanoric
|
fe99a3ddd8
|
[Fix] Fix:如果没有杠杆倍数,就不传这个参数
|
2018-10-11 03:46:32 -04:00 |
|
nanoric
|
f5755b222a
|
[Add] 将OkexFutureRestClient做成独立的API分离出来
|
2018-10-11 03:37:25 -04:00 |
|
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 |
|