quant1x 0.6.0__tar.gz → 0.6.1__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.6.0 → quant1x-0.6.1}/PKG-INFO +11 -7
- {quant1x-0.6.0 → quant1x-0.6.1}/README.md +10 -6
- {quant1x-0.6.0 → quant1x-0.6.1}/quant1x/__init__.py +1 -1
- {quant1x-0.6.0 → quant1x-0.6.1}/quant1x.egg-info/PKG-INFO +11 -7
- {quant1x-0.6.0 → quant1x-0.6.1}/setup.py +80 -80
- {quant1x-0.6.0 → quant1x-0.6.1}/LICENSE +0 -0
- {quant1x-0.6.0 → quant1x-0.6.1}/quant1x/base/__init__.py +0 -0
- {quant1x-0.6.0 → quant1x-0.6.1}/quant1x/base/app.py +0 -0
- {quant1x-0.6.0 → quant1x-0.6.1}/quant1x/base/base.py +0 -0
- {quant1x-0.6.0 → quant1x-0.6.1}/quant1x/base/basic.py +0 -0
- {quant1x-0.6.0 → quant1x-0.6.1}/quant1x/base/cache.py +0 -0
- {quant1x-0.6.0 → quant1x-0.6.1}/quant1x/base/config.py +0 -0
- {quant1x-0.6.0 → quant1x-0.6.1}/quant1x/base/device.py +0 -0
- {quant1x-0.6.0 → quant1x-0.6.1}/quant1x/base/devp.py +0 -0
- {quant1x-0.6.0 → quant1x-0.6.1}/quant1x/base/exchange.py +0 -0
- {quant1x-0.6.0 → quant1x-0.6.1}/quant1x/base/file.py +0 -0
- {quant1x-0.6.0 → quant1x-0.6.1}/quant1x/base/logger.py +0 -0
- {quant1x-0.6.0 → quant1x-0.6.1}/quant1x/base/market.py +0 -0
- {quant1x-0.6.0 → quant1x-0.6.1}/quant1x/base/network.py +0 -0
- {quant1x-0.6.0 → quant1x-0.6.1}/quant1x/base/numerics.py +0 -0
- {quant1x-0.6.0 → quant1x-0.6.1}/quant1x/base/pattern.py +0 -0
- {quant1x-0.6.0 → quant1x-0.6.1}/quant1x/base/timestamp.py +0 -0
- {quant1x-0.6.0 → quant1x-0.6.1}/quant1x/base/version.py +0 -0
- {quant1x-0.6.0 → quant1x-0.6.1}/quant1x/chart.py +0 -0
- {quant1x-0.6.0 → quant1x-0.6.1}/quant1x/data/__init__.py +0 -0
- {quant1x-0.6.0 → quant1x-0.6.1}/quant1x/data/quotes.py +0 -0
- {quant1x-0.6.0 → quant1x-0.6.1}/quant1x/formula/__init__.py +0 -0
- {quant1x-0.6.0 → quant1x-0.6.1}/quant1x/formula/formula.py +0 -0
- {quant1x-0.6.0 → quant1x-0.6.1}/quant1x/formula/formula_plus.py +0 -0
- {quant1x-0.6.0 → quant1x-0.6.1}/quant1x/indicators/__init__.py +0 -0
- {quant1x-0.6.0 → quant1x-0.6.1}/quant1x/indicators/ma1x.py +0 -0
- {quant1x-0.6.0 → quant1x-0.6.1}/quant1x/util/__init__.py +0 -0
- {quant1x-0.6.0 → quant1x-0.6.1}/quant1x/util/font.py +0 -0
- {quant1x-0.6.0 → quant1x-0.6.1}/quant1x.egg-info/SOURCES.txt +0 -0
- {quant1x-0.6.0 → quant1x-0.6.1}/quant1x.egg-info/dependency_links.txt +0 -0
- {quant1x-0.6.0 → quant1x-0.6.1}/quant1x.egg-info/not-zip-safe +0 -0
- {quant1x-0.6.0 → quant1x-0.6.1}/quant1x.egg-info/requires.txt +0 -0
- {quant1x-0.6.0 → quant1x-0.6.1}/quant1x.egg-info/top_level.txt +0 -0
- {quant1x-0.6.0 → quant1x-0.6.1}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: quant1x
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.1
|
|
4
4
|
Summary: Quant1X量化研究
|
|
5
5
|
Home-page: https://gitee.com/quant1x/quant1x
|
|
6
6
|
Author: WangFeng
|
|
@@ -58,14 +58,14 @@ Dynamic: license-file
|
|
|
58
58
|
Dynamic: requires-dist
|
|
59
59
|
Dynamic: summary
|
|
60
60
|
|
|
61
|
-
|
|
61
|
+
Quant1X量化交易实验室
|
|
62
62
|
===
|
|
63
63
|
|
|
64
64
|
# 1. 环境配置
|
|
65
65
|
## 1.1 默认均为64位操作系统
|
|
66
|
-
| python | golang |
|
|
67
|
-
|
|
68
|
-
| 3.12.x | 1.25.x |
|
|
66
|
+
| python | golang | rust | c++ |
|
|
67
|
+
|:-------|:-------|:-----------|:---------------------------|
|
|
68
|
+
| 3.12.x | 1.25.x | 1.88+/2024 | gcc14.3+/clang18+/msvc14.3 |
|
|
69
69
|
|
|
70
70
|
## 1.2 环境安装推荐使用brew
|
|
71
71
|
安装brew时需要注意避免使用root权限
|
|
@@ -87,7 +87,7 @@ pyenv versions
|
|
|
87
87
|
```text
|
|
88
88
|
system
|
|
89
89
|
3.8.16
|
|
90
|
-
* 3.10.10 (set by /Users
|
|
90
|
+
* 3.10.10 (set by /Users/${USERNAME}/.pyenv/version)
|
|
91
91
|
```
|
|
92
92
|
### 2.1.2 查看可安装的版本
|
|
93
93
|
```shell
|
|
@@ -181,7 +181,7 @@ matplotlib.matplotlib_fname() #输出matplotlib包所在的配置文件的路径
|
|
|
181
181
|
### 2.4.2 根据上面的路径打开文件夹(根据自己实际的输出路径去操作)
|
|
182
182
|
我选择了SimHei中文字体, 复制到fonts/ttf/目录下
|
|
183
183
|
```shell
|
|
184
|
-
cp -r /Users/
|
|
184
|
+
cp -r /Users/${USERNAME}/Library/Fonts/SimHei.ttf fonts/ttf/
|
|
185
185
|
```
|
|
186
186
|
|
|
187
187
|
### 2.4.3 编辑2.4.1获得路径matplotlibrc文件
|
|
@@ -202,3 +202,7 @@ go env -w GO111MODULE=on
|
|
|
202
202
|
go env -w GOPROXY=https://goproxy.cn,direct
|
|
203
203
|
go env -w GOPRIVATE=gitee.com
|
|
204
204
|
```
|
|
205
|
+
|
|
206
|
+
# 4. rust
|
|
207
|
+
|
|
208
|
+
# 5. c++
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
Quant1X量化交易实验室
|
|
2
2
|
===
|
|
3
3
|
|
|
4
4
|
# 1. 环境配置
|
|
5
5
|
## 1.1 默认均为64位操作系统
|
|
6
|
-
| python | golang |
|
|
7
|
-
|
|
8
|
-
| 3.12.x | 1.25.x |
|
|
6
|
+
| python | golang | rust | c++ |
|
|
7
|
+
|:-------|:-------|:-----------|:---------------------------|
|
|
8
|
+
| 3.12.x | 1.25.x | 1.88+/2024 | gcc14.3+/clang18+/msvc14.3 |
|
|
9
9
|
|
|
10
10
|
## 1.2 环境安装推荐使用brew
|
|
11
11
|
安装brew时需要注意避免使用root权限
|
|
@@ -27,7 +27,7 @@ pyenv versions
|
|
|
27
27
|
```text
|
|
28
28
|
system
|
|
29
29
|
3.8.16
|
|
30
|
-
* 3.10.10 (set by /Users
|
|
30
|
+
* 3.10.10 (set by /Users/${USERNAME}/.pyenv/version)
|
|
31
31
|
```
|
|
32
32
|
### 2.1.2 查看可安装的版本
|
|
33
33
|
```shell
|
|
@@ -121,7 +121,7 @@ matplotlib.matplotlib_fname() #输出matplotlib包所在的配置文件的路径
|
|
|
121
121
|
### 2.4.2 根据上面的路径打开文件夹(根据自己实际的输出路径去操作)
|
|
122
122
|
我选择了SimHei中文字体, 复制到fonts/ttf/目录下
|
|
123
123
|
```shell
|
|
124
|
-
cp -r /Users/
|
|
124
|
+
cp -r /Users/${USERNAME}/Library/Fonts/SimHei.ttf fonts/ttf/
|
|
125
125
|
```
|
|
126
126
|
|
|
127
127
|
### 2.4.3 编辑2.4.1获得路径matplotlibrc文件
|
|
@@ -142,3 +142,7 @@ go env -w GO111MODULE=on
|
|
|
142
142
|
go env -w GOPROXY=https://goproxy.cn,direct
|
|
143
143
|
go env -w GOPRIVATE=gitee.com
|
|
144
144
|
```
|
|
145
|
+
|
|
146
|
+
# 4. rust
|
|
147
|
+
|
|
148
|
+
# 5. c++
|
|
@@ -1 +1 @@
|
|
|
1
|
-
# -*- coding: UTF-8 -*-
|
|
1
|
+
# -*- coding: UTF-8 -*-
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: quant1x
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.1
|
|
4
4
|
Summary: Quant1X量化研究
|
|
5
5
|
Home-page: https://gitee.com/quant1x/quant1x
|
|
6
6
|
Author: WangFeng
|
|
@@ -58,14 +58,14 @@ Dynamic: license-file
|
|
|
58
58
|
Dynamic: requires-dist
|
|
59
59
|
Dynamic: summary
|
|
60
60
|
|
|
61
|
-
|
|
61
|
+
Quant1X量化交易实验室
|
|
62
62
|
===
|
|
63
63
|
|
|
64
64
|
# 1. 环境配置
|
|
65
65
|
## 1.1 默认均为64位操作系统
|
|
66
|
-
| python | golang |
|
|
67
|
-
|
|
68
|
-
| 3.12.x | 1.25.x |
|
|
66
|
+
| python | golang | rust | c++ |
|
|
67
|
+
|:-------|:-------|:-----------|:---------------------------|
|
|
68
|
+
| 3.12.x | 1.25.x | 1.88+/2024 | gcc14.3+/clang18+/msvc14.3 |
|
|
69
69
|
|
|
70
70
|
## 1.2 环境安装推荐使用brew
|
|
71
71
|
安装brew时需要注意避免使用root权限
|
|
@@ -87,7 +87,7 @@ pyenv versions
|
|
|
87
87
|
```text
|
|
88
88
|
system
|
|
89
89
|
3.8.16
|
|
90
|
-
* 3.10.10 (set by /Users
|
|
90
|
+
* 3.10.10 (set by /Users/${USERNAME}/.pyenv/version)
|
|
91
91
|
```
|
|
92
92
|
### 2.1.2 查看可安装的版本
|
|
93
93
|
```shell
|
|
@@ -181,7 +181,7 @@ matplotlib.matplotlib_fname() #输出matplotlib包所在的配置文件的路径
|
|
|
181
181
|
### 2.4.2 根据上面的路径打开文件夹(根据自己实际的输出路径去操作)
|
|
182
182
|
我选择了SimHei中文字体, 复制到fonts/ttf/目录下
|
|
183
183
|
```shell
|
|
184
|
-
cp -r /Users/
|
|
184
|
+
cp -r /Users/${USERNAME}/Library/Fonts/SimHei.ttf fonts/ttf/
|
|
185
185
|
```
|
|
186
186
|
|
|
187
187
|
### 2.4.3 编辑2.4.1获得路径matplotlibrc文件
|
|
@@ -202,3 +202,7 @@ go env -w GO111MODULE=on
|
|
|
202
202
|
go env -w GOPROXY=https://goproxy.cn,direct
|
|
203
203
|
go env -w GOPRIVATE=gitee.com
|
|
204
204
|
```
|
|
205
|
+
|
|
206
|
+
# 4. rust
|
|
207
|
+
|
|
208
|
+
# 5. c++
|
|
@@ -1,80 +1,80 @@
|
|
|
1
|
-
#!/usr/bin/env python
|
|
2
|
-
# coding=utf-8
|
|
3
|
-
"""The setup script."""
|
|
4
|
-
import setuptools
|
|
5
|
-
|
|
6
|
-
from quant1x.base import __author__
|
|
7
|
-
from quant1x.base.version import project_version
|
|
8
|
-
|
|
9
|
-
try:
|
|
10
|
-
from setuptools import find_packages, setup
|
|
11
|
-
except ImportError:
|
|
12
|
-
from distutils.core import find_packages, setup
|
|
13
|
-
|
|
14
|
-
latest, author = project_version()
|
|
15
|
-
|
|
16
|
-
__app_version__ = latest
|
|
17
|
-
__app_author__ = __author__
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
def parse_requirements(filename):
|
|
21
|
-
line_iter = (line.strip() for line in open(filename))
|
|
22
|
-
return [line for line in line_iter if line and not line.startswith("#")]
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
# 加载README信息
|
|
26
|
-
with open("README.md", encoding="utf-8") as readme_file:
|
|
27
|
-
readme = readme_file.read()
|
|
28
|
-
|
|
29
|
-
# 加载ChangeLog
|
|
30
|
-
with open("CHANGELOG.md", encoding="utf-8") as history_file:
|
|
31
|
-
history = history_file.read()
|
|
32
|
-
|
|
33
|
-
requirements = parse_requirements("requirements.txt")
|
|
34
|
-
test_requirements = requirements
|
|
35
|
-
|
|
36
|
-
setuptools.setup(
|
|
37
|
-
name="quant1x",
|
|
38
|
-
description="Quant1X量化研究",
|
|
39
|
-
author_email="wangfengxy@sina.cn",
|
|
40
|
-
url="https://gitee.com/quant1x/quant1x",
|
|
41
|
-
version=__app_version__,
|
|
42
|
-
author=__app_author__,
|
|
43
|
-
long_description=readme,
|
|
44
|
-
long_description_content_type='text/markdown',
|
|
45
|
-
packages=setuptools.find_packages(include=["quant1x", "quant1x.*"]),
|
|
46
|
-
include_package_data=True,
|
|
47
|
-
install_requires=requirements,
|
|
48
|
-
license="Apache 2.0 license",
|
|
49
|
-
zip_safe=False,
|
|
50
|
-
keywords="quant1x python",
|
|
51
|
-
entry_points={
|
|
52
|
-
"console_scripts": [
|
|
53
|
-
# "quant1x=quant1x.__main__:entry",
|
|
54
|
-
# "quant1x-qmt=quant1x.trader.qmt:main",
|
|
55
|
-
]
|
|
56
|
-
},
|
|
57
|
-
classifiers=[
|
|
58
|
-
"Development Status :: 2 - Pre-Alpha",
|
|
59
|
-
"Intended Audience :: Developers",
|
|
60
|
-
"License :: OSI Approved :: MIT License",
|
|
61
|
-
"Natural Language :: English",
|
|
62
|
-
"Programming Language :: Python :: 3",
|
|
63
|
-
"Programming Language :: Python :: 3.8",
|
|
64
|
-
"Programming Language :: Python :: 3.9",
|
|
65
|
-
"Programming Language :: Python :: 3.10",
|
|
66
|
-
"Programming Language :: Python :: 3.11",
|
|
67
|
-
"Programming Language :: Python :: 3.12",
|
|
68
|
-
"Programming Language :: Python :: 3.13",
|
|
69
|
-
"Programming Language :: Python :: 3.14",
|
|
70
|
-
],
|
|
71
|
-
data_files=[
|
|
72
|
-
# ('xtquant', ['xtquant/xtdata.ini', 'xtquant/xtdata.log4cxx']),
|
|
73
|
-
],
|
|
74
|
-
package_data={
|
|
75
|
-
'': ['*.dll', '*.pyd', '*.ini', '*.log4cxx'],
|
|
76
|
-
},
|
|
77
|
-
test_suite="tests",
|
|
78
|
-
tests_require=test_requirements,
|
|
79
|
-
setup_requires=requirements,
|
|
80
|
-
)
|
|
1
|
+
#!/usr/bin/env python
|
|
2
|
+
# coding=utf-8
|
|
3
|
+
"""The setup script."""
|
|
4
|
+
import setuptools
|
|
5
|
+
|
|
6
|
+
from quant1x.base import __author__
|
|
7
|
+
from quant1x.base.version import project_version
|
|
8
|
+
|
|
9
|
+
try:
|
|
10
|
+
from setuptools import find_packages, setup
|
|
11
|
+
except ImportError:
|
|
12
|
+
from distutils.core import find_packages, setup
|
|
13
|
+
|
|
14
|
+
latest, author = project_version()
|
|
15
|
+
|
|
16
|
+
__app_version__ = latest
|
|
17
|
+
__app_author__ = __author__
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
def parse_requirements(filename):
|
|
21
|
+
line_iter = (line.strip() for line in open(filename))
|
|
22
|
+
return [line for line in line_iter if line and not line.startswith("#")]
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# 加载README信息
|
|
26
|
+
with open("README.md", encoding="utf-8") as readme_file:
|
|
27
|
+
readme = readme_file.read()
|
|
28
|
+
|
|
29
|
+
# 加载ChangeLog
|
|
30
|
+
with open("CHANGELOG.md", encoding="utf-8") as history_file:
|
|
31
|
+
history = history_file.read()
|
|
32
|
+
|
|
33
|
+
requirements = parse_requirements("requirements.txt")
|
|
34
|
+
test_requirements = requirements
|
|
35
|
+
|
|
36
|
+
setuptools.setup(
|
|
37
|
+
name="quant1x",
|
|
38
|
+
description="Quant1X量化研究",
|
|
39
|
+
author_email="wangfengxy@sina.cn",
|
|
40
|
+
url="https://gitee.com/quant1x/quant1x",
|
|
41
|
+
version=__app_version__,
|
|
42
|
+
author=__app_author__,
|
|
43
|
+
long_description=readme,
|
|
44
|
+
long_description_content_type='text/markdown',
|
|
45
|
+
packages=setuptools.find_packages(include=["quant1x", "quant1x.*"]),
|
|
46
|
+
include_package_data=True,
|
|
47
|
+
install_requires=requirements,
|
|
48
|
+
license="Apache 2.0 license",
|
|
49
|
+
zip_safe=False,
|
|
50
|
+
keywords="quant1x python",
|
|
51
|
+
entry_points={
|
|
52
|
+
"console_scripts": [
|
|
53
|
+
# "quant1x=quant1x.__main__:entry",
|
|
54
|
+
# "quant1x-qmt=quant1x.trader.qmt:main",
|
|
55
|
+
]
|
|
56
|
+
},
|
|
57
|
+
classifiers=[
|
|
58
|
+
"Development Status :: 2 - Pre-Alpha",
|
|
59
|
+
"Intended Audience :: Developers",
|
|
60
|
+
"License :: OSI Approved :: MIT License",
|
|
61
|
+
"Natural Language :: English",
|
|
62
|
+
"Programming Language :: Python :: 3",
|
|
63
|
+
"Programming Language :: Python :: 3.8",
|
|
64
|
+
"Programming Language :: Python :: 3.9",
|
|
65
|
+
"Programming Language :: Python :: 3.10",
|
|
66
|
+
"Programming Language :: Python :: 3.11",
|
|
67
|
+
"Programming Language :: Python :: 3.12",
|
|
68
|
+
"Programming Language :: Python :: 3.13",
|
|
69
|
+
"Programming Language :: Python :: 3.14",
|
|
70
|
+
],
|
|
71
|
+
data_files=[
|
|
72
|
+
# ('xtquant', ['xtquant/xtdata.ini', 'xtquant/xtdata.log4cxx']),
|
|
73
|
+
],
|
|
74
|
+
package_data={
|
|
75
|
+
'': ['*.dll', '*.pyd', '*.ini', '*.log4cxx'],
|
|
76
|
+
},
|
|
77
|
+
test_suite="tests",
|
|
78
|
+
tests_require=test_requirements,
|
|
79
|
+
setup_requires=requirements,
|
|
80
|
+
)
|
|
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
|
|
File without changes
|