python-quanta 0.1.1__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.
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: python-quanta
|
|
3
|
+
Version: 0.1.1
|
|
4
|
+
Summary: A quantitative analysis project for financial data.
|
|
5
|
+
Author-email: Porco Rosso <porcorossobaojiel@gmail.com>
|
|
6
|
+
Project-URL: Homepage, https://github.com/porcorossobaojie/quanta.git
|
|
7
|
+
Keywords: quantitative,finance,data-analysis
|
|
8
|
+
Requires-Python: >=3.9
|
|
9
|
+
Description-Content-Type: text/markdown
|
|
10
|
+
Requires-Dist: pandas>=1.3.0
|
|
11
|
+
Requires-Dist: numpy>=1.21.0
|
|
12
|
+
Requires-Dist: scipy>=1.7.0
|
|
13
|
+
Requires-Dist: tomlkit>=0.11.0
|
|
14
|
+
Requires-Dist: python-dotenv>=0.19.0
|
|
15
|
+
Requires-Dist: python-box>=5.4.0
|
|
16
|
+
Requires-Dist: duckdb>=0.8.0
|
|
17
|
+
Requires-Dist: jqdatasdk>=1.8.0
|
|
18
|
+
Requires-Dist: matplotlib>=3.5.0
|
|
19
|
+
Requires-Dist: pymysql>=1.0.0
|
|
20
|
+
Requires-Dist: sqlalchemy>=1.4.0
|
|
21
|
+
Requires-Dist: statsmodels>=0.13.0
|
|
22
|
+
Provides-Extra: dev
|
|
23
|
+
Requires-Dist: pytest>=7.0.0; extra == "dev"
|
|
24
|
+
Requires-Dist: flake8>=4.0.0; extra == "dev"
|
|
25
|
+
Requires-Dist: mypy>=0.910; extra == "dev"
|
|
26
|
+
Requires-Dist: ipython>=8.0.0; extra == "dev"
|
|
27
|
+
Requires-Dist: black>=22.0.0; extra == "dev"
|
|
28
|
+
Requires-Dist: isort>=5.0.0; extra == "dev"
|
|
29
|
+
|
|
30
|
+
# quanta
|
|
31
|
+
A 股量化交易系统:
|
|
32
|
+
提供基于Join Quant的本地数据平台搭建;
|
|
33
|
+
提供基础类因子;
|
|
34
|
+
提供金融场景下的函数构造及封装;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
quanta/__init__.py,sha256=VtMm4b6cktxr4RaoRQDXKzV7pZ7aT9amADbfx5hdzaY,111
|
|
2
|
+
quanta/duckui.py,sha256=kj_tVRg74pSBWjaPc2nDQ-ZMddRE3Wau7KTYYfHFB_E,369
|
|
3
|
+
python_quanta-0.1.1.dist-info/METADATA,sha256=E2T7IrWqq1BjDk3fkI3eERgyY4z0d8jpHXJCX2yBdxw,1181
|
|
4
|
+
python_quanta-0.1.1.dist-info/WHEEL,sha256=YCfwYGOYMi5Jhw2fU4yNgwErybb2IX5PEwBKV4ZbdBo,91
|
|
5
|
+
python_quanta-0.1.1.dist-info/top_level.txt,sha256=NRF8OHa_wGbHmr_gmGLCjLj0_DmSEYnpEbA-WtfEaYk,7
|
|
6
|
+
python_quanta-0.1.1.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
quanta
|
quanta/__init__.py
ADDED
quanta/duckui.py
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
"""
|
|
3
|
+
Created on Tue Jan 13 17:56:33 2026
|
|
4
|
+
|
|
5
|
+
@author: Porco Rosso
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
import subprocess
|
|
9
|
+
from quanta.libs.db.main import main as DuckDB
|
|
10
|
+
|
|
11
|
+
cmd = [
|
|
12
|
+
f"{DuckDB.path}/duckdb.exe",
|
|
13
|
+
f"{DuckDB.path}/{DuckDB.database}.duckdb",
|
|
14
|
+
# "-readonly",
|
|
15
|
+
"-ui"
|
|
16
|
+
]
|
|
17
|
+
|
|
18
|
+
# 启动 DuckDB UI(会阻塞当前 Python 进程,直到 UI 退出)
|
|
19
|
+
subprocess.run(cmd)
|