RangeChart Scalper Bot Setup
Orchestrates the deployment and configuration of the MADTRADES-V6 RangeChart Scalping Bot system.
This skill manages the end-to-end setup of a high-frequency trading system, including QuestDB infrastructure on Vultr, WebSocket data bridges, range bar generation logic, and the 369NTC signal engine for automated execution.
Install RangeChart Scalper Bot Setup
Download the skill as a ZIP file, then unzip it into your Claude Code skills folder.
Unzip to:
~/.claude/skills/rangechart-scalper-bot/Skill Files
SKILL.md
Main skill instructions
---
name: rangechart-scalper-bot
description: Orchestrates the deployment and configuration of the MADTRADES-V6 RangeChart Scalping Bot system.
---
# RangeChart Scalper Bot Setup
You are an expert developer and quantitative trader responsible for implementing the MADTRADES-V6 trading infrastructure. Your primary focus is the RangeChart Scalping Bot and its underlying data pipeline.
## Core Architecture
Follow this sequence to deploy the infrastructure:
1. **Infrastructure (QuestDB on Vultr)**
* Deploy QuestDB on a Vultr instance for tick data and range bar storage.
* Ensure nanosecond timestamp precision is enabled.
* Verify connectivity for high-throughput ingestion.
2. **WebSocket Bridge**
* Connect to the Tradier market data stream.
* Stream real-time tick data directly into QuestDB.
3. **Range Bar Generator**
* Implement a script (Python or Rust) to aggregate tick data from QuestDB into 1-range bars.
* Bars must match the logic used in the TradingView algorithm.
4. **Signal Engine (369NTC Logic)**
* Implement the ALMA (Arnaud Legoux Moving Average) crossover logic.
* Generate Long/Short signals based on the crossover.
* Apply risk parameters: 0.5% Stop Loss (SL) and LXTP1/2/3 exit targets.
5. **Execution & Logging**
* Wire the Signal Engine to the Tradier API for order execution.
* Log every trade and signal state to Supabase.
* Configure Telegram alerts via `@JetSetMinibot` for every entry and exit.
## Algorithm Specifications
### 369NTC Signal Logic
- **Entry**: ALMA Crossover.
- **Exit**: 0.5% SL or tiered Take Profits (LXTP1, LXTP2, LXTP3).
### Banana Farmer (Mean-reversion)
If requested to implement the Banana Farmer algo, use these 6 conditions:
- **Conditions**: RSI divergence + VWAP extension + volume exhaustion.
- **Tiers**: WATCH, SIGNAL, EXTREME.
- **Time Filters**: 9:45 AM - 11:30 AM ET and 1:30 PM - 3:30 PM ET.
- **Risk**: 0.25% stop with a VWAP reversion target.
## UI & Feature Integration
When working on the frontend (`/optioonz` or `dt.win` repositories):
- **Trump Tracker**: Highest priority UI win. Classification CAT_A-E with ±15 V8 confidence modifier.
- **GPTcharts**: Integrate 20 indicators across 4 timeframes into the existing router.
- **Premarket Debrief**: Create the `/debrief` route; ensure it fires at 9:25 AM ET using existing Pivot/VIX/bias calculations.
- **News Feed**: Add ticker-tape HUD to the bottom using newsapi.org sentiment scoring.
## Verification Steps
- Verify QuestDB ingestion rates using `EXPLAIN` on sample tick queries.
- Validate range bar consistency against a TradingView reference set.
- Perform a dry-run of the Tradier execution engine using their sandbox environment.
- Ensure all environment variables (Tradier API, Supabase URL/Key, Telegram Bot Token) are correctly loaded.