vnpy_okx 2026.2.1__py3-none-any.whl → 2026.2.5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- vnpy_okx/__init__.py +1 -1
- vnpy_okx/okx_gateway.py +2 -2
- {vnpy_okx-2026.2.1.dist-info → vnpy_okx-2026.2.5.dist-info}/METADATA +2 -2
- vnpy_okx-2026.2.5.dist-info/RECORD +7 -0
- vnpy_okx-2026.2.1.dist-info/RECORD +0 -7
- {vnpy_okx-2026.2.1.dist-info → vnpy_okx-2026.2.5.dist-info}/WHEEL +0 -0
- {vnpy_okx-2026.2.1.dist-info → vnpy_okx-2026.2.5.dist-info}/licenses/LICENSE +0 -0
vnpy_okx/__init__.py
CHANGED
vnpy_okx/okx_gateway.py
CHANGED
|
@@ -1079,12 +1079,12 @@ class WebsocketApi(WebsocketClient):
|
|
|
1079
1079
|
self.connected = True
|
|
1080
1080
|
self.gateway.write_log(f"{self.name} connected")
|
|
1081
1081
|
|
|
1082
|
-
def on_disconnected(self) -> None:
|
|
1082
|
+
def on_disconnected(self, status_code: int, msg: str) -> None:
|
|
1083
1083
|
"""
|
|
1084
1084
|
Callback when server is disconnected.
|
|
1085
1085
|
"""
|
|
1086
1086
|
self.connected = False
|
|
1087
|
-
self.gateway.write_log(f"{self.name} disconnected")
|
|
1087
|
+
self.gateway.write_log(f"{self.name} disconnected, code: {status_code}, msg: {msg}")
|
|
1088
1088
|
|
|
1089
1089
|
def on_message(self, message: str) -> None:
|
|
1090
1090
|
"""
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: vnpy_okx
|
|
3
|
-
Version: 2026.2.
|
|
3
|
+
Version: 2026.2.5
|
|
4
4
|
Summary: OKX trading gateway for VeighNa.
|
|
5
5
|
Project-URL: Homepage, https://www.github.com/veighna-global
|
|
6
6
|
Project-URL: Source, https://www.github.com/veighna-global
|
|
@@ -33,7 +33,7 @@ Description-Content-Type: text/markdown
|
|
|
33
33
|
</p>
|
|
34
34
|
|
|
35
35
|
<p align="center">
|
|
36
|
-
<img src ="https://img.shields.io/badge/version-
|
|
36
|
+
<img src ="https://img.shields.io/badge/version-2026.02.05-blueviolet.svg"/>
|
|
37
37
|
<img src ="https://img.shields.io/badge/platform-windows|linux|macos-yellow.svg"/>
|
|
38
38
|
<img src ="https://img.shields.io/badge/python-3.10|3.11|3.12|3.13-blue.svg" />
|
|
39
39
|
<img src ="https://img.shields.io/github/license/veighna-global/vnpy_okx.svg?color=orange"/>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
vnpy_okx/__init__.py,sha256=pxheVoMBN2-9IX-ybzwv_YK1veUv2SBthG3SDTT2RgE,1248
|
|
2
|
+
vnpy_okx/okx_gateway.py,sha256=U9gD-K52N0yEOgzVxzuyzpoGj48OxaYzAjM-G7g4nsg,73769
|
|
3
|
+
vnpy_okx/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
+
vnpy_okx-2026.2.5.dist-info/METADATA,sha256=l3DiX2IL8GW0kcOm-8xD2inDLaylOd63Fr3tLxr9GzU,2839
|
|
5
|
+
vnpy_okx-2026.2.5.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
6
|
+
vnpy_okx-2026.2.5.dist-info/licenses/LICENSE,sha256=vKkW-EmD7w-5lDDjg15L8feZ1nkQeNpEHfyO2v9tprs,1099
|
|
7
|
+
vnpy_okx-2026.2.5.dist-info/RECORD,,
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
vnpy_okx/__init__.py,sha256=0d6DqmtG5dW0pHCM4ZFYu5SnQCgfN0oX_dtGSLxyrzg,1248
|
|
2
|
-
vnpy_okx/okx_gateway.py,sha256=9-DyVRsUCSL5iLut6NYqve_W-frI9bOsiuGoHzW4aW8,73708
|
|
3
|
-
vnpy_okx/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
-
vnpy_okx-2026.2.1.dist-info/METADATA,sha256=1icb0W6UmQQRUf191UsPMenh5c5PdcNW0PHcLwgAZY8,2831
|
|
5
|
-
vnpy_okx-2026.2.1.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
6
|
-
vnpy_okx-2026.2.1.dist-info/licenses/LICENSE,sha256=vKkW-EmD7w-5lDDjg15L8feZ1nkQeNpEHfyO2v9tprs,1099
|
|
7
|
-
vnpy_okx-2026.2.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|