A high-efficiency terminal-based crypto signal scanner with live Z-score detection, strategy classification, and automated backtesting.
Project description
Cb-signalTUI
Cb-signalTUI is a real-time, terminal-native crypto signal scanner built for Coinbase assets.
It uses Z-score anomaly detection, adaptive EMA momentum modeling, trend slope analysis, and confidence scoring to classify trading opportunities as momentum, reversal, or neutral strategies—complete with voice alerts and persistent logging.
Features
- Real-Time Signal Detection: Continuously monitors supported Coinbase pairs for actionable trade signals.
- Smart Signal Fusion: Combines Z-score, EMA differentials, volatility, and slope for more reliable detection.
- Strategy Classification: Flags opportunities as momentum, reversal, or neutral based on composite indicators.
- Confidence-Weighted Alerts: Dynamic scoring adjusts based on trend slope and volatility.
- Rich Terminal UI: Auto-refreshing, color-coded interface with real-time stats and categorized signals.
- Voice Alerts: Uses
pyttsx3for BUY/SELL vocal alerts when confidence is high. - Asynchronous Execution: Built on
asyncio,aiohttp, andaiosqlitefor high throughput and reliability. - SQLite Logging: Every signal gets logged to
signals.dbfor backtesting or historical review. - Custom Per-Asset Configs: Fine-tune EMA periods and sensitivity thresholds for each asset.
- Modular CLI Modes: Supports future extensions like
--backtest,--export, etc. - Resilient Networking: Intelligent retry/backoff logic prevents flake-outs on rate limits or network errors.
Project Structure
Cb-signalTUI/
├── cb_signal_tui/ # Core signal scanner package
│ ├── __init__.py # Package definition
│ └── __main__.py # Runtime, config, CLI
├── built/ # Auto-built wheels/tarballs on push
│ └── cb_signal_tui-*.whl
├── dist/ # Local pip builds (ignored by git)
├── .github/
│ └── workflows/
│ └── build.yml # GitHub Actions for CI/CD
├── requirements.txt # Runtime dependencies
├── pyproject.toml # Build metadata (PEP 621)
├── README.md # You are here.
└── signals.db # SQLite runtime DB (auto-created)
Installation
-
Clone the repo:
git clone https://github.com/LoQiseaking69/Cb-signalTUI.git cd Cb-signalTUI
-
Install dependencies:
pip install -r requirements.txt
-
(Optional) Install from a local build:
pip install built/cb_signal_tui-*.whl
Dependencies
aiohttp
aiosqlite
pandas
numpy
pyttsx3
rich
scipy
Usage
To launch the live scanner with the terminal UI:
cb-signal-tui
Live Output
Configuration
Configuration is handled in cb_signal_tui/__main__.py.
Key tunables:
PRODUCTS: Coinbase trading pairs to monitor (BTC-USD,ETH-USD, etc.)SETTINGS: Per-asset strategy config (fast_ema,slow_ema,zscore_threshold)Z_SCORE_WINDOW,VOLATILITY_THRESHOLD,FLAT_SLOPE_THRESHOLD: Core tuning paramsSTRATEGY_FILTER: Filter strategy types (momentum,reversal)ALERT_CONFIDENCE_THRESHOLD: Minimum confidence required to trigger a voice alertREFRESH_INTERVAL: UI update frequency (seconds)
Database
Signal logs are persisted to 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 the repo
- Create a feature branch (
git checkout -b my-feature) - Push your changes
- Open a pull request
Built for precision. Tuned for real-time alpha.
Get signals. Not noise.
— LoQiseaking69
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.4.0.tar.gz.
File metadata
- Download URL: cb_signal_tui-0.4.0.tar.gz
- Upload date:
- Size: 9.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 |
4ffea0c9ef39cfb4a9963c2d3170554ef3de29cecd98dcf1e2e000c1969bdb2a
|
|
| MD5 |
47ba9ba7ac601efb1c23ae4994141dbf
|
|
| BLAKE2b-256 |
aba89524957766f1a754238c7129cca2d5f9db5acbc48c832f88570e01e6ba05
|
File details
Details for the file cb_signal_tui-0.4.0-py3-none-any.whl.
File metadata
- Download URL: cb_signal_tui-0.4.0-py3-none-any.whl
- Upload date:
- Size: 10.2 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 |
789e0bf792872f1961dbcd484cdc81cdbd6882dc72eb16518b49ec671a73f416
|
|
| MD5 |
604dc8bfdce7cf53f6dab587a8807430
|
|
| BLAKE2b-256 |
bd2f70d5e09c80b9cc78af2a6d99913d342fb13d58a4df479065cf1855566ec3
|