noslip_quant_bot
quant information provider bot
README
No Slip Quant AI Trading Bot & SaaS Platform
No Slip is a state-of-the-art AI-assisted quantitative trading bot, swap analysis tool, and SaaS platform for S&P 500 stocks and major cryptocurrencies (BTC, ETH, SOL).
It integrates:
- 6-Agent Consensus Suite: Dynamic roundtable debate and voting between Macro, Trend, Value, Whale, Mean-Reversion, and Freqtrade ClucMay agents.
- Prophet Forecasting Engine: Multi-resolution timeframes analyzing daily and monthly trends, seasonality, and optimal trade timing.
- Multi-Strategy Real-time Monitor: Runs RSI Reversion, MACD Crossover, BB Squeeze Breakout, Spot Arbitrage, and Kimchi Premium Arbitrage in parallel.
- Telegram Interactive Bot: Persistent daemon allowing real-time portfolio tracking, debate simulations, backtest competition leaderboards, and on-demand stock/crypto analysis.
- Model Context Protocol (MCP): Custom MCP server exposing trading tools directly into Claude Desktop.
- SaaS Web App: Next.js dashboard with integrated Toss Payments SDK and credit system.
Core System Features
1. Multi-Agent Consensus Roundtable
The core valuation and signaling stack uses a weighted consensus from six specialized agents:
- Macro Agent: Tracks bond yields, inflation, USD index, crude oil, and VIX.
- Trend Agent: Evaluates EMA crossovers and momentum.
- Value Agent: Inspects valuation metrics and relative strength.
- Whale Agent: Tracks large-volume breakouts and trade signals.
- Mean-Reversion Agent: Searches for overextended local tops/bottoms.
- ClucMay Agent (Freqtrade): Implements the famous ClucMay strategy.
The agent weights are continuously tuned using a Policy Gradient Reinforcement Learning (RL) feedback loop based on realized market outcomes.
- Relevant files:
services/trader/multi_agent_consensus.py,services/trader/daily_reinforcement.py
2. Prophet Trend & Seasonality Forecasting
Features high-performance Prophet prediction cadences (intraday 4h for cryptos, daily for stocks). It captures:
- Macro trend slope (daily rate of change).
- Weekly & monthly seasonality normalized as a percentage of total forecasted price ($yhat$).
- Nyquist checking to prevent short-term seasonality aliasing on coarse data rules.
- Relevant files:
services/trader/main.py,services/trader/predict_signal.py,services/trader/champion_prophet.py
3. Telegram Interactive Bot Daemon (/기능 & /portfolio)
Runs a background long-polling listener allowing users to query and control the bot:
/portfolio(/포트폴리오): Displays S&P 500 asset allocations, virtual active holdings, and latest champion models registry./analyze <symbol>: Resolves Korean or English stock/crypto names and replies with the 6-Agent voting consensus./debate <symbol>: Initiates a live debate between agents. Users reply with their thesis, and the AI agent panel responds using Gemini or rule-based counterarguments./competition: Compares the No Slip Quant strategy against Jesse, Hummingbot, and Freqtrade in a 60-day historical backtest tournament./website(/웹사이트): Spawns an NPX localtunnel background process mappinglocalhost:3000to a public URL with a bypass code, letting you view your Next.js app on a mobile device.- Relevant files:
services/trader/telegram_interactive_bot.py
4. Parallel Multi-Strategy & Arbitrage Scanner
The background monitor daemon watches Binance, Bybit, and Upbit to scan:
- RSI Reversion: Rebound at oversold thresholds (<25).
- MACD Crossover: Volatility breakout at MACD Golden Cross.
- Bollinger Band Squeeze: Price breakout following tight volatility bands.
- Spot Arbitrage: Price inefficiencies between Binance Spot and Bybit Spot.
- Kimchi Premium Arbitrage: Real-time USD/KRW exchange-rate-adjusted premium tracking between Upbit and Binance Spot.
- Relevant files:
services/trader/whale_pump_monitor.py
5. Monthly Parameter Optimization Pipeline
Automatically updates the config file on the 1st of every month using numpy-accelerated strategy simulators:
- Downloads and caches 1-minute historical klines.
- Runs a calendar grid search to find optimal trigger thresholds, Hold times (H), Stop-Loss (SL), and Take-Profit (TP) targets for each strategy.
- Automatically updates
services/trader/model_cache/whale_config.jsondynamically loaded by the daemon. - Relevant files:
services/trader/optimize_monthly_strategies.py
Claude Desktop MCP Server Integration
No Slip includes a Model Context Protocol (MCP) JSON-RPC server that exposes our quant tools directly to your Claude Desktop AI assistant.
MCP Tools Provided
analyze_ticker: Prompts the 6-Agent Consensus engine to run a real-time evaluation.run_league_tournament: Executes the 60-day backtest tournament leaderboard.
Installation / Registration
Add the following to your Claude Desktop configuration file (typically ~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"NoSlipQuant": {
"command": "/Users/sunghoon/.gemini/antigravity/scratch/no-slip-saas/services/trader/.venv/bin/python",
"args": [
"-u",
"/Users/sunghoon/.gemini/antigravity/scratch/no-slip-saas/services/trader/mcp_server.py"
]
}
}
}
Local Development & Setup
1. Install Node Dependencies (Next.js)
npm install
2. Create Python Environment & Install Core Packages
python3 -m venv services/trader/.venv
services/trader/.venv/bin/pip install -r services/trader/requirements.txt
3. Environment Variables Config (.env)
Create a .env file in the root directory. Required parameters:
TELEGRAM_BOT_TOKEN=your_telegram_bot_token
TELEGRAM_CHAT_ID=your_allowed_chat_ids (comma-separated)
GEMINI_API_KEY=your_google_ai_studio_key
NEXT_PUBLIC_TOSS_CLIENT_KEY=your_toss_payments_client_key
TOSS_SECRET_KEY=your_toss_payments_secret_key
PREDICTION_API_TOKEN=your_shared_api_secret_token
4. Running the Applications
- Web App Dashboard (Next.js Dev Server):
npm run dev - Telegram Long-Polling Daemon & Web Tunnel:
Managed via macOS launchd plist or run directly:
services/trader/.venv/bin/python services/trader/telegram_interactive_bot.py - Real-time Price Strategy & Arbitrage Monitor:
services/trader/.venv/bin/python services/trader/whale_pump_monitor.py
production Deployment (macOS Daemon Setup)
The background jobs are orchestrated via macOS launchd plist templates:
com.noslip.telegram.plist: Runs the Telegram interactive bot daemon.com.noslip.whale.plist: Runs the price/arbitrage monitor.com.noslip.daily.plist: Spawns the S&P 500 & Crypto daily reports (run_daily.sh) at 08:30 KST.com.noslip.monthly.plist: Runs the monthly numpy backtest optimizer on the 1st of every month at 00:05 KST.
To load a daemon:
cp com.noslip.telegram.plist ~/Library/LaunchAgents/
launchctl load ~/Library/LaunchAgents/com.noslip.telegram.plist
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。