quant1x 0.5.6__tar.gz → 0.5.7__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.
- {quant1x-0.5.6 → quant1x-0.5.7}/PKG-INFO +2 -1
- {quant1x-0.5.6 → quant1x-0.5.7}/quant1x/base/base.py +5 -2
- {quant1x-0.5.6 → quant1x-0.5.7}/quant1x/base/cache.py +1 -2
- {quant1x-0.5.6 → quant1x-0.5.7}/quant1x/base/exchange.py +1 -1
- {quant1x-0.5.6 → quant1x-0.5.7}/quant1x.egg-info/PKG-INFO +2 -1
- {quant1x-0.5.6 → quant1x-0.5.7}/quant1x.egg-info/requires.txt +1 -0
- {quant1x-0.5.6 → quant1x-0.5.7}/LICENSE +0 -0
- {quant1x-0.5.6 → quant1x-0.5.7}/README.md +0 -0
- {quant1x-0.5.6 → quant1x-0.5.7}/quant1x/__init__.py +0 -0
- {quant1x-0.5.6 → quant1x-0.5.7}/quant1x/base/__init__.py +0 -0
- {quant1x-0.5.6 → quant1x-0.5.7}/quant1x/base/app.py +0 -0
- {quant1x-0.5.6 → quant1x-0.5.7}/quant1x/base/basic.py +0 -0
- {quant1x-0.5.6 → quant1x-0.5.7}/quant1x/base/config.py +0 -0
- {quant1x-0.5.6 → quant1x-0.5.7}/quant1x/base/device.py +0 -0
- {quant1x-0.5.6 → quant1x-0.5.7}/quant1x/base/devp.py +0 -0
- {quant1x-0.5.6 → quant1x-0.5.7}/quant1x/base/file.py +0 -0
- {quant1x-0.5.6 → quant1x-0.5.7}/quant1x/base/logger.py +0 -0
- {quant1x-0.5.6 → quant1x-0.5.7}/quant1x/base/market.py +0 -0
- {quant1x-0.5.6 → quant1x-0.5.7}/quant1x/base/network.py +0 -0
- {quant1x-0.5.6 → quant1x-0.5.7}/quant1x/base/numerics.py +0 -0
- {quant1x-0.5.6 → quant1x-0.5.7}/quant1x/base/pattern.py +0 -0
- {quant1x-0.5.6 → quant1x-0.5.7}/quant1x/base/timestamp.py +0 -0
- {quant1x-0.5.6 → quant1x-0.5.7}/quant1x/base/version.py +0 -0
- {quant1x-0.5.6 → quant1x-0.5.7}/quant1x/chart.py +0 -0
- {quant1x-0.5.6 → quant1x-0.5.7}/quant1x/data/__init__.py +0 -0
- {quant1x-0.5.6 → quant1x-0.5.7}/quant1x/data/quotes.py +0 -0
- {quant1x-0.5.6 → quant1x-0.5.7}/quant1x/formula/__init__.py +0 -0
- {quant1x-0.5.6 → quant1x-0.5.7}/quant1x/formula/formula.py +0 -0
- {quant1x-0.5.6 → quant1x-0.5.7}/quant1x/formula/formula_plus.py +0 -0
- {quant1x-0.5.6 → quant1x-0.5.7}/quant1x/indicators/__init__.py +0 -0
- {quant1x-0.5.6 → quant1x-0.5.7}/quant1x/indicators/ma1x.py +0 -0
- {quant1x-0.5.6 → quant1x-0.5.7}/quant1x/util/__init__.py +0 -0
- {quant1x-0.5.6 → quant1x-0.5.7}/quant1x/util/font.py +0 -0
- {quant1x-0.5.6 → quant1x-0.5.7}/quant1x.egg-info/SOURCES.txt +0 -0
- {quant1x-0.5.6 → quant1x-0.5.7}/quant1x.egg-info/dependency_links.txt +0 -0
- {quant1x-0.5.6 → quant1x-0.5.7}/quant1x.egg-info/not-zip-safe +0 -0
- {quant1x-0.5.6 → quant1x-0.5.7}/quant1x.egg-info/top_level.txt +0 -0
- {quant1x-0.5.6 → quant1x-0.5.7}/setup.cfg +0 -0
- {quant1x-0.5.6 → quant1x-0.5.7}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: quant1x
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.7
|
|
4
4
|
Summary: Quant1X量化研究
|
|
5
5
|
Home-page: https://gitee.com/quant1x/quant1x
|
|
6
6
|
Author: WangFeng
|
|
@@ -45,6 +45,7 @@ Requires-Dist: matplotlib~=3.10.1
|
|
|
45
45
|
Requires-Dist: scipy~=1.16.0
|
|
46
46
|
Requires-Dist: caerus~=0.1.10
|
|
47
47
|
Requires-Dist: joblib~=1.5.1
|
|
48
|
+
Requires-Dist: numba~=0.61.2
|
|
48
49
|
Dynamic: author
|
|
49
50
|
Dynamic: author-email
|
|
50
51
|
Dynamic: classifier
|
|
@@ -3,7 +3,8 @@ import os
|
|
|
3
3
|
|
|
4
4
|
import yaml
|
|
5
5
|
|
|
6
|
-
import file
|
|
6
|
+
from . import file
|
|
7
|
+
|
|
7
8
|
|
|
8
9
|
def get_quant1x_config_filename() -> str:
|
|
9
10
|
"""
|
|
@@ -37,6 +38,7 @@ def load_config(file_path: str) -> dict:
|
|
|
37
38
|
except Exception as e:
|
|
38
39
|
raise ValueError(f"加载配置失败: {str(e)}")
|
|
39
40
|
|
|
41
|
+
|
|
40
42
|
class Quant1XConfig:
|
|
41
43
|
_instance = None
|
|
42
44
|
|
|
@@ -63,10 +65,11 @@ class Quant1XConfig:
|
|
|
63
65
|
|
|
64
66
|
if not self.data_path:
|
|
65
67
|
self.data_path = os.path.join(self.__default_main_path, 'data')
|
|
66
|
-
self.data_path= os.path.expanduser(self.data_path)
|
|
68
|
+
self.data_path = os.path.expanduser(self.data_path)
|
|
67
69
|
# 数据路径
|
|
68
70
|
self.kline_path = os.path.join(self.data_path, 'day')
|
|
69
71
|
"""str: K线路径 """
|
|
70
72
|
|
|
73
|
+
|
|
71
74
|
# 创建配置单例
|
|
72
75
|
config = Quant1XConfig()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: quant1x
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.7
|
|
4
4
|
Summary: Quant1X量化研究
|
|
5
5
|
Home-page: https://gitee.com/quant1x/quant1x
|
|
6
6
|
Author: WangFeng
|
|
@@ -45,6 +45,7 @@ Requires-Dist: matplotlib~=3.10.1
|
|
|
45
45
|
Requires-Dist: scipy~=1.16.0
|
|
46
46
|
Requires-Dist: caerus~=0.1.10
|
|
47
47
|
Requires-Dist: joblib~=1.5.1
|
|
48
|
+
Requires-Dist: numba~=0.61.2
|
|
48
49
|
Dynamic: author
|
|
49
50
|
Dynamic: author-email
|
|
50
51
|
Dynamic: classifier
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|