A real-time trading assistant and prediction engine for Polymarket "Bitcoin Up or Down" 15-minute markets.
Version 1.5 features a multi-indicator TA model, persistent prediction history, and a sleek real-time web dashboard.
- TA Ensemble: Combines Heiken Ashi, RSI (slope-aware), MACD, and VWAP to generate probabilistic Long/Short scores.
- Time Awareness: Model confidence automatically adjusts based on the 15-minute window's remaining time.
- Trade Signals: Real-time recommendations (
BUY UP,BUY DOWN,NO TRADE) with strength levels (STRONG,GOOD,OPTIONAL). - Phase Detection: Identifies
EARLY,MID, andLATEwindow phases for refined entry logic.
- Visual UI: A modern, dark-themed dashboard showing all live indicators and predictions.
- Market Table: Persistent prediction history showing the last 10 window results.
- Pending Status: Live tracking of the current active prediction window.
- Link Integration: Direct clickable links to the active Polymarket event.
- Coinbase Integration: Real-time spot price feed from Coinbase Exchange.
- Chainlink Oracle: Live BTC/USD price feed directly from the Polymarket/Chainlink source.
- Fallback Logic: Automatic fallback to on-chain Polygon Chainlink data if websockets fail.
- Persistence: Results are saved to
./logs/prediction_history.json(last 10) and./logs/full_history.csv(all-time history).
- Node.js 18+
- npm (comes with Node)
-
Clone the repository:
git clone https://github.com/FrondEnt/PolymarketBTC15mAssistant.git cd PolymarketBTC15mAssistant -
Install dependencies:
npm install
-
Configure Environment Variables (Optional): The app works out of the box, but you can customize it:
Variable Description Default WEB_ENABLEDEnable web dashboard trueWEB_PORTPort for web server 3000POLYMARKET_AUTO_SELECT_LATESTAuto-pick latest 15m market truePOLYGON_RPC_URLFallback Chainlink RPC https://polygon-rpc.com
Start the assistant:
npm startOpen http://localhost:3000 in your browser to view the real-time UI.
The terminal provides a compact view of live stats:
- TA Predict: Long/Short probabilities.
- Market: Live Polymarket prices and liquidity.
- History: Win/Loss tracking for the last 10 windows.
This is an experimental tool and not financial advice. Use at your own risk. Trading predictions are probabilistic and based on short-term technical indicators.
created by @krajekis