NTIDE framework
NTIDE is a research implementation of nonlocal trend-inhibition delay dynamics and physics-informed stability indicators. This framework-only distribution is designed for user-supplied data and deliberately contains no empirical dataset, crisis labels, historical processed artifacts or paper result tables.
Installation
python -m pip install ntide
For a local checkout:
python -m pip install -e .
Minimal use
import pandas as pd
from ntide import CrisisDetector
data = pd.read_csv("market_data.csv", index_col="date", parse_dates=True)
detector = CrisisDetector(identification_window=160)
components = detector.fit(data).predict_components(data)
print(components.tail())
The input must have a unique, increasing DatetimeIndex and a positive numeric
volume column. Warm-up outputs are NaN until enough past observations are
available.
Included modules
ntide.core: nonlocal kernels, NTIDE field solver and delay stability margin.ntide.data: causal activity-field preprocessing for user-provided volume.ntide.models: online parameter identification and component scores.ntide.evaluation: generic AUROC/AUPRC, RGA and SAFE utilities.
Read SCIENTIFIC_SCOPE.md before making empirical or
trading claims. The default hazard is a research index, not a calibrated crisis
probability.
Article
Zhang, H. (2026). Early Warning of Financial Crises Through Critical Field Dynamics: A Nonlocal Trend-Inhibition Delay Equation Framework. Physica A, 682, 131161. https://doi.org/10.1016/j.physa.2025.131161
The article's lightweight computational reproduction is distributed separately
in ntide-physica-a-reproduction.
Metadata
Release files for ntide 1.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ntide-1.3.1.tar.gz | 26.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ntide-1.3.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 52.9 kB
Release files / ntide-1.3.1.tar.gz
| Download URL | ntide-1.3.1.tar.gz |
|---|---|
| Size | 26.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b1098206b0bca7801f3e9a567b9f65cfd14cb7bcf68935b326da5e27c1ff03f9
|
|
BLAKE2b-256 checksum How to use checksums |
0a10ada5f39c341efeab2aba3958f67d9b772e5d0f9a38c0ba16e0a69f245add
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 3, 2026.
Transparency logRelease files / ntide-1.3.1-py3-none-any.whl
| Download URL | ntide-1.3.1-py3-none-any.whl |
|---|---|
| Size | 26.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
209102412c4e72e727c28f4f5d858ca6a998701eeefde8b18637c12b4694e781
|
|
BLAKE2b-256 checksum How to use checksums |
fcfd4b43810320c07a900295c35efe3ee8de294b0556fa1276aadea28e6c9011
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 3, 2026.
Transparency log