Powerball number predictor using quantum-inspired algorithm with momentum, mean reversion, and statistical filters
Project description
powerball-quantum
Powerball number predictor using quantum-inspired algorithm with momentum, mean reversion, and statistical filters.
Installation
Python (pip):
pip install powerball-quantum
Node.js (npm):
npm install powerball-quantum
Python Usage
CLI
# Get 5 recommended picks
powerball-quantum predict
# Get 10 picks with analysis
powerball-quantum predict -c 10 -a
# Quick single pick
powerball-quantum quick
# Update data from NY Lottery API
powerball-quantum update
Python API
from powerball_quantum import predict, quick_pick, update_data
# Get 5 picks
picks = predict(count=5)
for pick in picks:
print(pick)
# Output: 21 - 26 - 34 - 57 - 61 🔴 1
# Quick single pick
my_pick = quick_pick()
print(my_pick.white_balls, my_pick.powerball)
# [5, 7, 28, 38, 66], 23
# Update data
update_data()
Node.js Usage
CLI
npx powerball-quantum predict
npx powerball-quantum quick
npx powerball-quantum update
JavaScript API
const { predict, quickPick } = require('powerball-quantum');
const picks = await predict({ count: 5 });
const myPick = await quickPick();
Algorithm
QUANTUM combines Wall Street quant-inspired signals:
| Signal | Description |
|---|---|
| Momentum | Exponential decay weighting - recent numbers score higher |
| Z-Score | Mean reversion - overdue numbers get boosted |
| Recent Trend | Last 15 draws with stronger emphasis |
| Pair Synergy | Numbers that frequently appear together |
7-Stage Filter
- No duplicate with historical combinations
- Sum range: 130-220
- Odd/Even ratio: 2:3 or 3:2
- High/Low balance: 2:3 or 3:2
- Decade balance: At least 3 different decades
- Ending diversity: At least 4 different last digits
- No triple consecutive numbers
Data Source
Historical data from NY Open Data Powerball API.
Disclaimer
For educational and entertainment purposes only. Lottery numbers are randomly drawn. No algorithm can predict or guarantee winning numbers. Gamble responsibly.
License
MIT
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 powerball_quantum-1.0.2.tar.gz.
File metadata
- Download URL: powerball_quantum-1.0.2.tar.gz
- Upload date:
- Size: 29.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4401ccc48655dd7e21562a7fbd9a25bed32dea639c2c6d24c4ab4b20ef88cb5f
|
|
| MD5 |
50e12f71c8b0a110316bf8b8723cc74d
|
|
| BLAKE2b-256 |
00b7287c05d7965cbb93e4a60ef46933524623ea1e10100e9e3adfdae86c3a02
|
File details
Details for the file powerball_quantum-1.0.2-py3-none-any.whl.
File metadata
- Download URL: powerball_quantum-1.0.2-py3-none-any.whl
- Upload date:
- Size: 27.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
45812db53b282a46d326d46ff8f7501cc0c6074ae98dd5f3455c635f85108b0b
|
|
| MD5 |
0bef7024ebb62612a75cde82915fcea8
|
|
| BLAKE2b-256 |
8a5eba26546b385503d3eab830a25c77bcdcb21fa702e8ff11d10e4af5e321a6
|