Commit Graph

2892 Commits

Author SHA1 Message Date
vn.py
daaadd8dca [Fix] close #2180 2019-11-07 14:33:08 +08:00
vn.py
f0590678df [Mod] cache subscribe market data request before websocket api is connected 2019-11-07 14:31:24 +08:00
vn.py
998045b7c8 [Mod] filter close position order data from web ui 2019-11-07 14:27:33 +08:00
vn.py
a67f32ae23 [Mod] save min_volume into spread setting 2019-11-07 11:20:04 +08:00
vn.py
b056901a38 [Mod] add combobox for setting spread min_volume 2019-11-07 11:03:05 +08:00
vn.py
47b256ea90 [Mod] round float number position to desired decimals for inverse contracts 2019-11-07 10:41:35 +08:00
vn.py
fde4c74ca5 [Mod] add average price for BitMEX position data 2019-11-07 09:50:10 +08:00
vn.py
e1eedc063b [Fix] typo 2019-11-01 15:39:10 +08:00
vn.py
08de86dede [Mod] add offset of SpreadAlgoTemplate to determine which price to use for inverse contract volume calculation 2019-11-01 15:19:41 +08:00
vn.py
d8d2506e7a [Mod] spread leg data now supports net_pos_price 2019-11-01 15:02:09 +08:00
vn.py
d065f6c352 [Add] position price data for BitmexGateway 2019-11-01 14:34:37 +08:00
vn.py
2916cb4391 [Mod] lock mode close order volume reset 2019-10-31 12:15:32 +08:00
vn.py
8eca0abd13 [Add] support float number net pos 2019-10-29 21:13:49 +08:00
vn.py
bc489d9fab [Add] support for float spread bid/ask volume 2019-10-29 21:11:43 +08:00
vn.py
c1151dc8fc [Mod] add support for bitfinex margin trading 2019-10-29 16:15:43 +08:00
vn.py
af3e90c280 [Add] only keep stream after connected 2019-10-29 15:02:36 +08:00
vn.py
6b11836816
Merge pull request #2165 from vnpy/master
[Mod] change thread worker no
2019-10-29 13:44:36 +08:00
vn.py
a74a2247c9 Merge branch 'master' of https://github.com/vnpy/vnpy 2019-10-29 13:42:39 +08:00
vn.py
3613e1c41d [Mod] only allow 1 thread to query rqdata 2019-10-29 13:42:33 +08:00
vn.py
77fa4ae706
Merge pull request #2164 from vnpy/master
[Fix] type error in init_cli_trading
2019-10-29 13:41:25 +08:00
vn.py
0a1aa0fd81
Merge pull request #2162 from lostleaf/master
[Fix] 修复 init_cli_trading 的 type hint
2019-10-29 13:37:41 +08:00
vn.py
766d705e7a [Mod] fix algo control bugs in BasicSpreadStrategy 2019-10-28 22:14:25 +08:00
lostleaf
bacd74657f [Fix] 修复 init_cli_trading 的 type hint 2019-10-28 19:51:24 +08:00
vn.py
877c703e0f [Add] support for FOK and IOC order of HBDM 2019-10-28 14:43:34 +08:00
vn.py
2147737169 [Del] remove query trade and history order function 2019-10-28 14:43:12 +08:00
vn.py
6fc466aaf3 [Fix] bug in optimization with inverse mode 2019-10-27 09:42:14 +08:00
vn.py
f74af8bce1 [Mod] update mini api wrap 2019-10-25 19:54:00 +08:00
vn.py
07e0e0709a [Mod] support inverse contract with size not equal to 1 (like HBDM) 2019-10-22 15:45:27 +08:00
vn.py
44bd65b502 [Mod] record coin (not contract) traded volume for inverse contract 2019-10-22 15:24:11 +08:00
vn.py
7a72d5f63f [Mod] convert coin volume to contract volume for inverse contract 2019-10-22 15:17:13 +08:00
vn.py
8781aa72d5 [Mod] calculate inverse leg net pos 2019-10-22 14:45:37 +08:00
vn.py
66cf47db3d [Mod] calculate inverse bid/ask volume 2019-10-22 14:36:37 +08:00
vn.py
b5892b9607 [Add] SpreadData supports inverse contract leg 2019-10-22 11:40:47 +08:00
vn.py
9e92d989d7 [Mod] DataRecorder: record spread data tick/bar 2019-10-21 16:29:52 +08:00
vn.py
216a5d3f5a
Merge pull request #2149 from vnpy/dev-bybit
Dev bybit
2019-10-21 15:53:26 +08:00
vn.py
5df4e6f738 [Mod] change code struction and complete test of BybitGateway 2019-10-21 15:52:39 +08:00
vn.py
765bb5078a [Fix] update class combo after strategy classes loaded 2019-10-21 15:44:58 +08:00
vn.py
2257f8318c [Mod] add query history data function 2019-10-21 15:38:28 +08:00
vn.py
7a2007ddbd [Mod] simplify market data process 2019-10-21 11:01:50 +08:00
vn.py
3c24365ae6 [Mod] move all bybit codes into bybit_gateway.py 2019-10-20 11:27:05 +08:00
vn.py
6d6756ae4d [Mod] show exception message when loading strategy class in cta_backtester 2019-10-19 18:14:54 +08:00
vn.py
73e893cfdb [Mod] query all instruments available from RQData server 2019-10-19 18:09:50 +08:00
vn.py
b117e84167 [Mod] add default value for pre_close price if zero 2019-10-19 00:04:52 +08:00
vn.py
01fed04246 [Mod] add support for reverse contract in CtaBacktester 2019-10-18 23:05:09 +08:00
vn.py
da33b01f7b [Mod] add support for BitMEX inverse contract 2019-10-18 22:55:09 +08:00
vn.py
90caa3a408 [Mod] add hook for cancel order function with LocalOrderManager 2019-10-18 20:17:31 +08:00
vn.py
afb31f382f
Merge pull request #2146 from vnpy/dev-gateios
Dev gateios
2019-10-18 20:11:56 +08:00
vn.py
8f7ddd985a [Mod] complete test of gateio gateway 2019-10-18 20:10:35 +08:00
vn.py
4336ccf065 [Mod] change function names 2019-10-18 19:22:35 +08:00
vn.py
d518566e55 [Mod] change gateio gateway name 2019-10-18 19:12:20 +08:00