tradility
Technical analytics on investment ticker holdings and watchlists.
Fetches OHLCV price data via yfinance and computes indicator signals (RSI, VWAP) for every ticker in your portfolio or a custom list. Outputs a structured JSON file suitable for dashboards and further analysis.
Prerequisites
- Python 3.10+
pip install -e .(installsyfinanceandpandas)
Quick Start
python -m venv .venv && source .venv/bin/activate
pip install -e .
# From a holdings-aggregate.json (exported by a finance pipeline)
tradility --holdings /path/to/exports/invest/holdings-aggregate.json \
--output exports/tradility-analysis.json
# Or from an explicit ticker list
tradility --tickers AAPL MSFT BTC-USD ETH-USD \
--output exports/tradility-analysis.json \
--period 60
Output Format
tradility-analysis.json contains a top-level metadata block and a tickers array:
{
"generated_at": "2026-06-15T21:00:00Z",
"period_days": 90,
"rsi_period": 14,
"vwap_period": 20,
"data_source": "yfinance",
"ticker_count": 349,
"fetch_ok": 342,
"fetch_errors": 7,
"tickers": [
{
"ticker": "AAPL",
"name": "APPLE INC",
"asset_class": "Stocks",
"last_price": 313.62,
"period_end": "2026-06-15",
"rsi_14": 62.3,
"rsi_14_signal": "neutral",
"vwap_20": 298.45,
"vwap_20_signal": "above",
"fetch_status": "ok",
"data_source": "yfinance"
}
]
}
RSI signals
| Value | Signal |
|---|---|
| ≤ 30 | oversold |
| ≥ 70 | overbought |
| 30–70 | neutral |
VWAP signals
| Condition | Signal |
|---|---|
| Price within ±0.5% of VWAP | at |
| Price above VWAP | above |
| Price below VWAP | below |
VWAP here is a rolling 20-day proxy (true intraday VWAP resets each session; daily bars require a windowed approximation).
Crypto Tickers
Crypto from Binance uses plain symbols (BTC, ETH). When loaded from a holdings file these are automatically converted to Yahoo Finance format (BTC-USD, ETH-USD) for fetching, then restored to the original symbol in the output.
Contributing
See CONTRIBUTING.md.
License
MIT — see LICENSE.
Metadata
Release files for tradility 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 |
|---|---|---|---|---|
| tradility-0.1.0.tar.gz | 9.9 kB | With provenance | Details for tradility-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tradility-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for tradility-0.1.0-py3-none-any.whl |
Total release size: 19.2 kB
Release files / tradility-0.1.0.tar.gz
| Download URL | tradility-0.1.0.tar.gz |
|---|---|
| Size | 9.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fb79cb36bc292b6274d6beda37868c860c52017ec22882c13e4f6ba1ec196e8e
|
|
BLAKE2b-256 checksum How to use checksums |
cb66df1a93bf0ce6e7bdbb935e3376c45273778c03bfdf04c7a62b6e8687cdb5
|
| 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 Oct 18, 2026.
Transparency logRelease files / tradility-0.1.0-py3-none-any.whl
| Download URL | tradility-0.1.0-py3-none-any.whl |
|---|---|
| Size | 9.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
975a0b2c481f7a1861d81c110008c9c317cd60fae4c921c4d7c95031a177455f
|
|
BLAKE2b-256 checksum How to use checksums |
ac0e1bdfb7f54183b96cc52ae8f19869d95e310982e1d3c3e1e51c02a8f8efd3
|
| 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 Oct 18, 2026.
Transparency logSecurity for tradility 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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for tradility-0.1.0.tar.gz
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 Oct 18, 2026.
Transparency logA 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.