vnpy_okx 2025.10.8__tar.gz → 2025.10.29__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: vnpy_okx
3
- Version: 2025.10.8
3
+ Version: 2025.10.29
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-2025.10.08-blueviolet.svg"/>
36
+ <img src ="https://img.shields.io/badge/version-2025.10.29-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"/>
@@ -5,7 +5,7 @@
5
5
  </p>
6
6
 
7
7
  <p align="center">
8
- <img src ="https://img.shields.io/badge/version-2025.10.08-blueviolet.svg"/>
8
+ <img src ="https://img.shields.io/badge/version-2025.10.29-blueviolet.svg"/>
9
9
  <img src ="https://img.shields.io/badge/platform-windows|linux|macos-yellow.svg"/>
10
10
  <img src ="https://img.shields.io/badge/python-3.10|3.11|3.12|3.13-blue.svg" />
11
11
  <img src ="https://img.shields.io/github/license/veighna-global/vnpy_okx.svg?color=orange"/>
@@ -23,7 +23,7 @@
23
23
  from .okx_gateway import OkxGateway
24
24
 
25
25
 
26
- __version__ = "2025.10.08"
26
+ __version__ = "2025.10.29"
27
27
 
28
28
 
29
29
  __all__ = ["OkxGateway"]
@@ -720,7 +720,7 @@ class RestApi(RestClient):
720
720
  if product == Product.SPOT:
721
721
  size: float = 1
722
722
  else:
723
- size = float(d["ctMult"])
723
+ size = float(d["ctVal"])
724
724
 
725
725
  match product:
726
726
  case Product.SPOT:
File without changes
File without changes