File tree Expand file tree Collapse file tree 3 files changed +9
-4
lines changed
Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 1+ ## 2.2.1 (2022-11-07)
2+ ### Fixed
3+ - 修复 ` TradeClient.get_trade_ticks ` begin_index 参数传 0 不生效的问题
4+
5+
16## 2.2.0 (2022-11-01)
27### New
38- 长链接支持期货逐笔推送. 可通过 ` PushClient.subscribe_tick ` 订阅,使用 ` PushClient.tick_changed ` 接收回调
Original file line number Diff line number Diff line change 44
55@author: gaoan
66"""
7- __VERSION__ = '2.2.0 '
7+ __VERSION__ = '2.2.1 '
Original file line number Diff line number Diff line change @@ -363,13 +363,13 @@ def to_openapi_dict(self):
363363 if self .end_time :
364364 params ['end_time' ] = self .end_time
365365
366- if self .limit :
366+ if self .limit is not None :
367367 params ['limit' ] = self .limit
368368
369- if self .begin_index :
369+ if self .begin_index is not None :
370370 params ['begin_index' ] = self .begin_index
371371
372- if self .end_index :
372+ if self .end_index is not None :
373373 params ['end_index' ] = self .end_index
374374
375375 if self .date :
You can’t perform that action at this time.
0 commit comments