jaymd96-index-inclusion
Stock index inclusion probability prediction. Screens stocks against eligibility rules for 7 major indices (S&P 500, S&P 400, S&P 600, NASDAQ-100, FTSE 100, DJIA, Russell 3000), scores candidates with heuristic signals, and optionally refines predictions with ML.
Install
pip install jaymd96-index-inclusion
Quick Start
from index_inclusion import IndexInclusion
ii = IndexInclusion(fmp_api_key="your-key")
# Check a single stock
result = ii.check("PLTR", "SP500")
print(f"{result.ticker}: {result.probability:.1%} ({result.probability_label})")
# Find top candidates for an index
candidates = ii.candidates("SP500", top_n=10)
for c in candidates:
print(f"{c.ticker}: {c.probability:.1%}")
# Backtest prediction accuracy
report = ii.backtest("SP500", start=2016, end=2025)
print(f"Precision@3: {report.precision_at_3:.1%}")
# Train ML models
ii.train("SP500", start=2016, end=2023)
candidates = ii.candidates("SP500") # now uses ML calibration
License
MIT
Metadata
Release files for jaymd96-index-inclusion 0.1.0
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 |
|---|---|---|---|---|
| jaymd96_index_inclusion-0.1.0.tar.gz | 48.8 kB | Without provenance | Details for jaymd96_index_inclusion-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| jaymd96_index_inclusion-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for jaymd96_index_inclusion-0.1.0-py3-none-any.whl |
Total release size: 75.9 kB
Release files / jaymd96_index_inclusion-0.1.0.tar.gz
| Download URL | jaymd96_index_inclusion-0.1.0.tar.gz |
|---|---|
| Size | 48.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f5ddda8acadba01c7ecc4ddd8ad44d5cb02df5e6c6a65d36aa62ce443ef7bc27
|
|
BLAKE2b-256 checksum How to use checksums |
8d93a7856ca8a2dc770d91ffe7650630097c96e783c30d045956bfbac534b376
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.0
|
Release files / jaymd96_index_inclusion-0.1.0-py3-none-any.whl
| Download URL | jaymd96_index_inclusion-0.1.0-py3-none-any.whl |
|---|---|
| Size | 27.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5875958158b753b52979b6879923ab93487c3e730a3d4194bcef2c49c4ad48f0
|
|
BLAKE2b-256 checksum How to use checksums |
0f2c8083811e1790bcd06d3e9d1fb7ce1775ade1a2f1c17a65be0cef83e67799
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.0
|
Security for jaymd96-index-inclusion 0.1.0
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.