Scan your whole stack
From OX Research Newsroom
Are you using trustworthy-stock-intelligence?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.11.4
trustworthy-stock-intelligence was last scanned on 29 Nov 2026 at version 0.11.4. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.11.4 LATEST | 29 Nov 2026 | No rules fired |
| 0.11.3 | 15 Nov 2026 | No rules fired |
| 0.11.2 | 5 Nov 2026 | No rules fired |
| 0.11.1 | 25 Oct 2026 | Not shown |
| 0.11.0 | 23 Oct 2026 | Not shown |
Findings for v0.11.4. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.11.4; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
trustworthy-stock-intelligence provides Python tools for stock drawdown-risk research. You can build features and labels, fit baseline models, evaluate predictions, and calculate uncertainty and trust scores. The package also includes leakage-aware temporal splits and Pydantic prediction schemas.
This is the Python/ML part of the Trustworthy Stock Intelligence repository. The Go API, PostgreSQL workers, TypeScript dashboard, Docker Compose stack, and market-data artifacts are not included in the wheel.
python -m pip install trustworthy-stock-intelligence
Install provider and universe-ingestion support only when needed:
python -m pip install "trustworthy-stock-intelligence[data]"
Optional model/runtime groups are explicit:
python -m pip install "trustworthy-stock-intelligence[models]"
python -m pip install "trustworthy-stock-intelligence[deep]"
python -m pip install "trustworthy-stock-intelligence[db]"
The deep extra records the PyTorch dependency. For CUDA installations, follow the GPU environment guide and install the wheel index matching the target host.
from tsi import (
add_future_drawdown_label,
build_technical_features,
classification_metrics,
read_ohlcv_csv,
)
import numpy as np
ohlcv = read_ohlcv_csv("ohlcv.csv")
featured = build_technical_features(ohlcv)
labeled = add_future_drawdown_label(featured, horizon=5, threshold=-0.05)
# Future labels must be separated with a leakage-aware temporal split before
# training or evaluating a model. A metrics call receives model probabilities:
metrics = classification_metrics(
np.array([0, 1]),
np.array([0.10, 0.90]),
)
Top-level exports include LogisticRiskModel, TreeRiskModel, technical features, future drawdown labels, warning-level selection, calibration-aware metrics, uncertainty functions, trust scores, and Pydantic serving schemas. Ticker symbols remain strings, so values such as 0050 and 00981A retain their leading zeroes and suffixes.
The package exposes a deterministic local CLI. It reads local artifacts and does not silently call a provider or start the full application:
tsi --version
tsi inspect-csv path/to/ohlcv.csv --json
tsi evaluate predictions.csv \
--label-column risk_label \
--probability-column calibrated_risk_probability \
--threshold 0.25 \
--json
This package supports trustworthy-ML engineering and reproducible pilot research. It is not investment advice, a price-prediction guarantee, an automated trading system, or evidence of externally validated performance. Labels intentionally use future observations; temporal splitting, calibration protocols, data provenance, provider terms, and survivorship-bias limitations remain the responsibility of each experiment.
See the package guide for the full API boundary, extras, local checks, and release process. See the main README for the complete operational prototype.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.