nanoric
|
66cb55ef26
|
[Add] 增加一些用于创建VtObject的静态方法
|
2018-10-15 03:56:20 -04:00 |
|
nanoric
|
f2f4669123
|
[Fix] 修正错误的对websocket的引用
|
2018-10-15 03:20:54 -04:00 |
|
nanoric
|
a3129a8007
|
[Mod] sendReq改名为sendRequest(同步),addReq改名为addRequest(异步)
|
2018-10-15 03:12:05 -04:00 |
|
vn.py
|
a9f1a7c649
|
[Add]新增CryptoCompare的数字货币数据服务
|
2018-10-12 15:43:15 +08:00 |
|
nanoric
|
c8a071f38e
|
[Mod] 整理格式
|
2018-10-12 03:11:10 -04:00 |
|
nanoric
|
7cf5825bbe
|
[Add] OkexFutureGateway:增加持仓查询接口
|
2018-10-12 03:08:12 -04: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
|
e51e03f910
|
[Fix] 修正对齐
|
2018-10-12 02:21:44 -04:00 |
|
nanoric
|
86586a71c7
|
[Add] OkexFutureGateway增加了queryOrders的接口
|
2018-10-12 02:19:57 -04:00 |
|
nanoric
|
c88f5b497a
|
[Mod] errorCode2String改名为errorCodeToString
|
2018-10-12 02:04:39 -04:00 |
|
nanoric
|
abc82ecd96
|
[Fix] 修改一下typeHint
|
2018-10-12 01:30:58 -04:00 |
|
nanoric
|
aad3b6c51e
|
[Fix] 将OkexzFutureRestClient.queryOrders变为可用
[Mod] 修改一些注释
|
2018-10-12 00:02:44 -04:00 |
|
nanoric
|
63c8401931
|
[Fix] 修复OkexFutureClient缺少签名的错误
|
2018-10-12 00:02:36 -04: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 |
|