Skip to content

Commit

Permalink
[Mod] 更新版本号到2.0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
vnpy committed Sep 24, 2021
1 parent e5e6d5e commit 7e0dfd4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</p>

<p align="center">
<img src ="https://img.shields.io/badge/version-2.0.1-blueviolet.svg"/>
<img src ="https://img.shields.io/badge/version-2.0.1.1-blueviolet.svg"/>
<img src ="https://img.shields.io/badge/platform-windows|linux|macos-yellow.svg"/>
<img src ="https://img.shields.io/badge/python-3.7-blue.svg" />
<img src ="https://img.shields.io/github/license/vnpy/vnpy.svg?color=orange"/>
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = vnpy_deribit
version = 2.0.1.0
version = 2.0.1.1
url = https://www.vnpy.com
license = MIT
author = Xiaoyou Chen
Expand Down
2 changes: 1 addition & 1 deletion vnpy_deribit/deribit_gateway.py
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ def on_ticker(self, packet: dict) -> None:
tick.open_interest = get_float(data["open_interest"])
tick.datetime = generate_datetime(data["timestamp"])
tick.localtime = datetime.now()

if tick.last_price:
self.gateway.on_tick(copy(tick))

Expand Down

0 comments on commit 7e0dfd4

Please sign in to comment.