Skip to content

imaislandboi67/automated-btc-market-signals

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automated BTC Market Signals

Metapoi — AI Prediction Analytics for Polymarket | Live Results | Telegram

Data-driven approach to forecasting 5-minute BTC markets with historical pattern matching.


Approach

Volatility regime detection combined with directional signals. Different strategies activate depending on whether BTC is trending or ranging.

Signal Pipeline

Market Data (BTC price, volume, orderbook)
    │
    ├── Momentum Analysis (1m + 5m timeframes)
    ├── Volume Spike Detection (30-60s pre-epoch)
    ├── Orderflow Imbalance (Polymarket CLOB depth)
    │
    └── Ensemble Voting (weighted by recent accuracy)
            │
            └── Final Prediction + Confidence Score
                    │
                    └── Position Sizing → Execute on CLOB

Sample Results

Result Direction Epoch P&L
❌ LOST ▼ DOWN BTC 5min 11:55-11:00 AM ET -$5.17
✅ WON ▲ UP BTC 5min 12:00-12:05 PM ET +$4.74
✅ WON ▼ DOWN BTC 5min 12:05-12:10 PM ET +$4.55
✅ WON ▲ UP BTC 5min 12:10-12:15 PM ET +$4.87

✅ Verified on-chain (Polygon). Full trade history: metapoi.com

Performance Summary

Metric Value
Win Rate 87.3%
Total Epochs 1,847
Avg Win +$4.72
Avg Loss -$5.00
Net P&L +$4,930.76
Max Drawdown $127.00
Sharpe Ratio 4.21

Key Insights

  • Time-of-day effects are real. Certain hours have significantly higher predictability than others.
  • The market adapts over time. Continuous retraining and regime detection are necessary to maintain edge.
  • The ensemble approach significantly outperforms any single model component.
  • Proper position sizing (Kelly criterion variant) is essential for long-term growth.

How It Works

  1. Data Collection — Real-time BTC price, volume, and Polymarket orderbook data via WebSocket
  2. Feature Extraction — Momentum, volume anomalies, orderflow imbalance, cross-asset correlations
  3. Prediction — Multi-model ensemble with dynamic weighting based on recent performance
  4. Confidence Filter — Only trade when confidence exceeds threshold (reduces noise)
  5. Execution — Place limit orders on Polymarket CLOB via DepositWallet (Polygon)
  6. Tracking — All results logged on-chain for full transparency

Usage

pip install -r requirements.txt
python model.py --mode demo
python model.py --mode backtest
python model.py --mode live  # requires metapoi.com subscription

Configuration

from predictor import PredictionConfig

config = PredictionConfig(
    min_confidence=0.70,      # Only trade above 70% confidence
    max_position_usd=25.0,    # Max $25 per epoch
    momentum_weight=0.35,     # Weight for momentum signals
    volume_weight=0.30,       # Weight for volume signals
    orderflow_weight=0.35,    # Weight for orderflow signals
)

Tech Stack

  • Python 3.11+ — Core prediction engine
  • WebSockets — Real-time data feeds (Binance + Polymarket)
  • NumPy/Pandas — Feature computation and backtesting
  • scikit-learn — ML model components
  • web3.py — On-chain execution (Polygon)
  • py-clob-client — Polymarket CLOB order placement

Live System

The production version of this research runs 24/7 at Metapoi with:

  • ⚡ Real-time predictions every 5 minutes
  • Transparent accuracy tracking (on-chain verified)
  • Continuous model retraining
  • Risk management + drawdown protection
  • Multi-account position distribution

View Results Telegram Win Rate


Disclaimer

This is research code. Past performance does not guarantee future results. Prediction markets involve risk of loss. The live system at metapoi.com includes additional safeguards not present in this demo.


Built by Metapoi — Prediction analytics for Polymarket Bitcoin markets

About

Automated BTC market signals for Polymarket traders. Real-time directional predictions generated from multi-timeframe momentum and volume analysis. Python bot with CLI interface.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages