A live terminal-based crypto signal scanner using Coinbase, Z-score anomaly detection, and strategy classification.
Project description
Cb-signalTUI
Features
- Real-Time Cryptocurrency Scanning: Continuously scans a wide range of crypto pairs for trade signals.
- Dynamic Technical Analysis: Uses adaptive Exponential Moving Averages (EMA), Z-scores, slope detection, and volatility analysis.
- Strategy Classification: Differentiates between momentum, reversal, and neutral strategies.
- Live Terminal UI: Displays results in a color-coded, real-time TUI with
rich.live. - Asynchronous Data Fetching: Utilizes
aiohttpand retries on failure for reliable data streaming. - Voice Alerts: Uses
pyttsx3for real-time vocal alerts when high-confidence signals occur. - Database Logging: Stores all signal events with
aiosqlitefor historical reference. - Custom Configs per Asset: Each asset has its own EMA and Z-score threshold settings.
- Auto-Build Artifacts: Built packages are committed to
/built/on each push tomain.
Project Structure
Cb-signalTUI/
├── cb_signal_tui/ # Main package directory
│ ├── __init__.py
│ └── __main__.py # Entry point with config
├── built/ # Auto-committed build artifacts (.whl, .tar.gz)
│ └── cb_signal_tui-*.whl
├── dist/ # Local build output (ignored by .git)
├── .github/
│ └── workflows/
│ └── build.yml # GitHub Actions workflow
├── requirements.txt # Dependencies
├── pyproject.toml # Build system config
├── README.md # Project documentation
└── signals.db # SQLite DB (optional, runtime-generated)
Installation
-
Clone this repository:
git clone https://github.com/LoQiseaking69/Cb-signalTUI.git cd Cb-signalTUI
-
Install the required dependencies:
pip install -r requirements.txt
-
(Optional) Export a shortcut path to the
.whlpackage for faster installs:echo 'export cb_sigTUI="$HOME/Desktop/Cb-signalTUI-main/built/*.whl"' >> ~/.bashrc source ~/.bashrc
Now you can install with:
pip install $cb_sigTUI
Dependencies
aiohttp
aiosqlite
pandas
numpy
pyttsx3
rich
scipy
Usage
Run the scanner:
cb-signal-tui
Example Output
Configuration
Edit settings in cb_signal_tui/__main__.py:
PRODUCTS: Assets to scan (BTC-USD,ETH-USD, etc.)SETTINGS: EMA periods and Z-score thresholds per assetZ_SCORE_WINDOW,VOLATILITY_THRESHOLD,FLAT_SLOPE_THRESHOLD: signal tuningSTRATEGY_FILTER: Control which strategies trigger alerts (momentum,reversal)ALERT_CONFIDENCE_THRESHOLD: Minimum confidence for triggering an alertREFRESH_INTERVAL: Refresh rate for terminal UI
Database
SQLite database (signals.db) schema:
CREATE TABLE IF NOT EXISTS signals (
timestamp TEXT,
asset TEXT,
price REAL,
z_score REAL,
signal TEXT,
confidence REAL,
strategy TEXT
);
Contributing
- Fork this repository.
- Create a new branch (
git checkout -b my-feature). - Make your changes.
- Push and open a Pull Request.
Built for precision. Tuned for performance. Stay ahead of the market.
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 cb_signal_tui-0.2.0.tar.gz.
File metadata
- Download URL: cb_signal_tui-0.2.0.tar.gz
- Upload date:
- Size: 7.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
455beefab4050c851fc5376daeb7f16a959ed62c9554c1b520a29c2d80f68b65
|
|
| MD5 |
b2240c18fccfa04ad09a56109495df71
|
|
| BLAKE2b-256 |
ad1aeea5f2073162cd044617ec509a427e321baf427f1f3701f79baffd1e78c1
|
File details
Details for the file cb_signal_tui-0.2.0-py3-none-any.whl.
File metadata
- Download URL: cb_signal_tui-0.2.0-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
86a9dfdf94ec8e65473d32c97fff06a03213a132fc7a5201a4551a9a28cd7936
|
|
| MD5 |
67a2b6311b311ddab24162aa413b5345
|
|
| BLAKE2b-256 |
eef5bde85c5f5a55515f3e08e284964340b1481d4b782338452b044771ec8ec5
|