数据分为两种, <市场价格数据>和<因子构造基础数据>,要求这两种数据在上传时命名一样。 这两种数据缺一不可,因为没有<市场价格数据>就无法进行横截面分析和回测,没有<因子构造基础数据>因子就无法生成具体值 举个例子:我们现在有大豆的<CBOT连续合约的市场价格数据>和<大连期货交易所的持仓数据>,我们想用持仓数据构建一个“持仓波动率”因子,然后测试这个因子的表现(也就是横截面分析)。那么此时<CBOT连续合约的市场价格数据>就是<市场价格数据>,<大连期货交易所的持仓数据>就是<因子构造基础数据>。
因子和策略,分为构造和具体值,千万不能搞混。 同一个因子构造,在不同交易品种数据下会有不同的因子值。比如我们构造了一个因子叫<价格动量>,那么具体到大豆还是菜籽,会得到完全不同的因子具体值,但是他们都在用共同的一个因子构造叫<价格动量>策略同理,同一个策略构造,在不同市场环境下会产生完全不同的策略具体值(或者换一个熟悉的名字叫做交易信号)。 因子构造需要<因子构造基础数据>生成具体值,然后在<市场价格数据>下进行横截面分析。策略构造需要结合因子具体值生成策略具体值(交易信号),然后在<市场价格数据>下进行回测。横截面分析和回测的主体千万不能搞混。
Metadata
Release files for ag-quant 2026.2.22.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ag_quant-2026.2.22.4.tar.gz | 10.4 kB | Without provenance | Details for ag_quant-2026.2.22.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ag_quant-2026.2.22.4-py3-none-any.whl | Python 3 | none | any | Details for ag_quant-2026.2.22.4-py3-none-any.whl |
Total release size: 26.8 kB
Release files / ag_quant-2026.2.22.4.tar.gz
| Download URL | ag_quant-2026.2.22.4.tar.gz |
|---|---|
| Size | 10.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
876992ce4150642e43bc6e30dc266a8b52f560dd64a9888025daae861f211c2d
|
|
BLAKE2b-256 checksum How to use checksums |
d83268eedc9994f72bc9f25667bb3ff5d9e4f0149a39834598f76b39abc430e8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.2
|
Release files / ag_quant-2026.2.22.4-py3-none-any.whl
| Download URL | ag_quant-2026.2.22.4-py3-none-any.whl |
|---|---|
| Size | 16.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a24ce9ecab9b264568fbff4a0a30ba2bd8efc77bfa683eaab2f22fe327f7a1c7
|
|
BLAKE2b-256 checksum How to use checksums |
cf71b94be16615dcc9403b0b841cc354336143b2b268e6735db9680c7837c68c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.2
|
Security for ag-quant 2026.2.22.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.