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.
Files changed (39) hide show
  1. {quant1x-0.5.6 → quant1x-0.5.7}/PKG-INFO +2 -1
  2. {quant1x-0.5.6 → quant1x-0.5.7}/quant1x/base/base.py +5 -2
  3. {quant1x-0.5.6 → quant1x-0.5.7}/quant1x/base/cache.py +1 -2
  4. {quant1x-0.5.6 → quant1x-0.5.7}/quant1x/base/exchange.py +1 -1
  5. {quant1x-0.5.6 → quant1x-0.5.7}/quant1x.egg-info/PKG-INFO +2 -1
  6. {quant1x-0.5.6 → quant1x-0.5.7}/quant1x.egg-info/requires.txt +1 -0
  7. {quant1x-0.5.6 → quant1x-0.5.7}/LICENSE +0 -0
  8. {quant1x-0.5.6 → quant1x-0.5.7}/README.md +0 -0
  9. {quant1x-0.5.6 → quant1x-0.5.7}/quant1x/__init__.py +0 -0
  10. {quant1x-0.5.6 → quant1x-0.5.7}/quant1x/base/__init__.py +0 -0
  11. {quant1x-0.5.6 → quant1x-0.5.7}/quant1x/base/app.py +0 -0
  12. {quant1x-0.5.6 → quant1x-0.5.7}/quant1x/base/basic.py +0 -0
  13. {quant1x-0.5.6 → quant1x-0.5.7}/quant1x/base/config.py +0 -0
  14. {quant1x-0.5.6 → quant1x-0.5.7}/quant1x/base/device.py +0 -0
  15. {quant1x-0.5.6 → quant1x-0.5.7}/quant1x/base/devp.py +0 -0
  16. {quant1x-0.5.6 → quant1x-0.5.7}/quant1x/base/file.py +0 -0
  17. {quant1x-0.5.6 → quant1x-0.5.7}/quant1x/base/logger.py +0 -0
  18. {quant1x-0.5.6 → quant1x-0.5.7}/quant1x/base/market.py +0 -0
  19. {quant1x-0.5.6 → quant1x-0.5.7}/quant1x/base/network.py +0 -0
  20. {quant1x-0.5.6 → quant1x-0.5.7}/quant1x/base/numerics.py +0 -0
  21. {quant1x-0.5.6 → quant1x-0.5.7}/quant1x/base/pattern.py +0 -0
  22. {quant1x-0.5.6 → quant1x-0.5.7}/quant1x/base/timestamp.py +0 -0
  23. {quant1x-0.5.6 → quant1x-0.5.7}/quant1x/base/version.py +0 -0
  24. {quant1x-0.5.6 → quant1x-0.5.7}/quant1x/chart.py +0 -0
  25. {quant1x-0.5.6 → quant1x-0.5.7}/quant1x/data/__init__.py +0 -0
  26. {quant1x-0.5.6 → quant1x-0.5.7}/quant1x/data/quotes.py +0 -0
  27. {quant1x-0.5.6 → quant1x-0.5.7}/quant1x/formula/__init__.py +0 -0
  28. {quant1x-0.5.6 → quant1x-0.5.7}/quant1x/formula/formula.py +0 -0
  29. {quant1x-0.5.6 → quant1x-0.5.7}/quant1x/formula/formula_plus.py +0 -0
  30. {quant1x-0.5.6 → quant1x-0.5.7}/quant1x/indicators/__init__.py +0 -0
  31. {quant1x-0.5.6 → quant1x-0.5.7}/quant1x/indicators/ma1x.py +0 -0
  32. {quant1x-0.5.6 → quant1x-0.5.7}/quant1x/util/__init__.py +0 -0
  33. {quant1x-0.5.6 → quant1x-0.5.7}/quant1x/util/font.py +0 -0
  34. {quant1x-0.5.6 → quant1x-0.5.7}/quant1x.egg-info/SOURCES.txt +0 -0
  35. {quant1x-0.5.6 → quant1x-0.5.7}/quant1x.egg-info/dependency_links.txt +0 -0
  36. {quant1x-0.5.6 → quant1x-0.5.7}/quant1x.egg-info/not-zip-safe +0 -0
  37. {quant1x-0.5.6 → quant1x-0.5.7}/quant1x.egg-info/top_level.txt +0 -0
  38. {quant1x-0.5.6 → quant1x-0.5.7}/setup.cfg +0 -0
  39. {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.6
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()
@@ -9,8 +9,7 @@ import pandas as pd
9
9
  from dateutil import parser
10
10
  from pandas import DataFrame
11
11
 
12
- import base
13
- import exchange
12
+ from . import base, exchange
14
13
 
15
14
 
16
15
  @lru_cache(maxsize=None)
@@ -7,7 +7,7 @@ from functools import lru_cache
7
7
  import numpy as np
8
8
  import pandas as pd
9
9
 
10
- import base, timestamp
10
+ from . import base, timestamp
11
11
 
12
12
 
13
13
  class MarketType(Enum):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: quant1x
3
- Version: 0.5.6
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
@@ -22,3 +22,4 @@ matplotlib~=3.10.1
22
22
  scipy~=1.16.0
23
23
  caerus~=0.1.10
24
24
  joblib~=1.5.1
25
+ numba~=0.61.2
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