Find past market days similar to today using historical data
Project description
pastdays
Find past market days similar to today and see what actually happened next.
pastdays is a Python library that compares current partial market data
with historical data to identify similar past days and analyze
their outcomes.
It does not predict, does not trade, and does not generate signals. It simply answers one question:
“When the market looked like this before, what happened afterwards?”
✨ Why this library exists
Most backtests lie because they assume: - perfect execution - known future - curve-fitted parameters
Traders, however, think differently:
> “Have I seen this kind of day before?”
`pastdays` is built around that mindset.
🧠 What it does (v0)
- Accepts **user-provided historical data**
- Accepts **current-day partial data**
- Extracts simple, explainable features
- Finds **K most similar historical days**
- Reports **what happened next** on those days
No machine learning. No black box.
📦 Installation
pip install pastdays
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pastdays-0.0.1.tar.gz.
File metadata
- Download URL: pastdays-0.0.1.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e74bfae02c66c6f5c302086fa9cd241cf32b9b1a0d31ca393603e5dd9bdbce28
|
|
| MD5 |
f2e0978694235659a4c17e8ee02cb40f
|
|
| BLAKE2b-256 |
ed0a5810628a316bbd9865f17d67ca6f03658e7c022979bb712561e54e6b2b7f
|
File details
Details for the file pastdays-0.0.1-py3-none-any.whl.
File metadata
- Download URL: pastdays-0.0.1-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
936f77e0fe7de1cc26f0d9379fca0c3d67a814434fa7368ddc34db14358b28c9
|
|
| MD5 |
ff856018215ec715748d16929f15b0f4
|
|
| BLAKE2b-256 |
8c1d768e6750353cfafaf5dfd610b04dc45a4b8bad2ec976b691a9555530409e
|