QuantClaw - AI trading assistant
🦀 QuantClaw — AI-Powered Quantitative Trading Assistant
What Is This?
QuantClaw is a free AI trading assistant running on the [FMZ Quant Platform]. It communicates with you via [Telegram/DingTalk/Feishu], connecting to your exchange account and top-tier AI models (Claude / GPT-4o / 100+ models available).
You speak naturally, it takes action.
An intelligent strategy framework that deeply integrates large language models into quantitative trading workflows
🔧 Feature Overview
| Module | Responsibility | Highlights |
|---|---|---|
| Channel | Message I/O abstraction layer | Supports Telegram / DingTalk, easily extensible |
| Agent | Dialogue understanding & task orchestration | Auto skill selection, multi-round tool calls, context management |
| LLM Client | LLM communication | Compatible with OpenAI / Anthropic protocols, auto retry |
| Skill Registry | 20+ built-in skills | Market data / Trading / Analysis / Memory / Search / Scheduled tasks / Dynamic code execution |
| Trader | Trade execution engine | Precision auto-adaptation, slippage control, failure retry |
| Database | Persistent storage | Conversation history, long-term memory, scheduled tasks |
| Cron Scheduler | Scheduled task system | Supports cron expressions, one-time monitoring, structured returns |
| Autonomous Mode | Autonomous exploration | Proactively analyzes markets, searches news, records findings when idle |
✨ Feature Highlights
- 🗣️ Natural Language Trading — Chat to trade, no complex interfaces
- 🧠 Persistent Memory — Remembers your preferences and strategies across sessions
- ⏰ Smart Scheduled Tasks — Price breakout alerts, scheduled reports, condition monitoring
- 🔍 Real-time Information — Integrated Brave Search for latest news
- 🤖 Autonomous Exploration Mode — AI actively monitors while you're away
- 🛡️ Safety First — Isolated execution environment, trade confirmation mechanism, token budget, permission isolation
Core Capabilities
💬 Chat Like Talking to a Loyal Assistant
text
You: What's the BTC price now?
🐾: BTC is currently $97,342.50, 24h change +2.3%, volume $18.5B
You: Buy ETH with 1000U
🐾: Confirm buying ~0.28 ETH (current price $3,571)? Reply "confirm" to execute
You: Confirm
🐾: ✅ Filled 0.279 ETH, avg price $3,573.2, fees auto-deducted
All fund-related operations require AI to show details first and wait for your explicit confirmation before executing. Both spot and futures are supported.
📊 One-Sentence Technical Analysis
text
You: Analyze BTC technicals
🐾: [Auto-fetching K-lines → Computing MACD/RSI/Bollinger/MA → Returning conclusions]
BTC $97,342 | Trend: Bullish | MACD: DIF crosses above DEA, golden cross confirmed
RSI(14): 62.3 neutral-bullish | Bollinger: Price running above middle band
Suggestion: Short-term bullish, watch $98,500 resistance
AI directly calls TA/talib libraries to compute indicators and return conclusions, instead of dumping raw data. Supports 150+ technical indicators.
One-Sentence Sentiment-Driven Auto Trader
⏰ 24/7 Smart Monitoring & Scheduled Tasks
QuantClaw supports two types of automated tasks:
Condition Monitoring (once type) — Continuously checks, triggers notification once condition is met and auto-deletes:
text
You: Notify me when BTC hits 100K
🐾: ✅ Monitor created, checking every minute, will notify and auto-delete when triggered
[Some day at 3:00 AM]
🐾: 🔔 Monitor triggered: BTC Breakout Alert
🚀 BTC broke $100,000! Current price: $100,342.50
Periodic Scheduled (cron type) — Repeats on a fixed schedule:
text
You: Send me account summary every day at 8 AM
🐾: ✅ Scheduled task created, first report at 8:00 AM tomorrow
[Next morning 8:00]
🐾: ⏰ Daily Account Report
Total equity: $12,450.32 (+$320.15 / +2.6%)
BTC position: 0.05, unrealized PnL +$185
ETH position: 0.28, unrealized PnL +$42
Scheduled tasks can also invoke AI analysis and web search, easily building a news sentiment bot:
text
You: Search crypto news every day at 8 AM and analyze market sentiment, send to me
🐾: ✅ Created. Every day at 8:00 auto-search news → AI analyze sentiment → push report
🧠 Persistent Memory
text
You: I prefer using 5x leverage
🐾: Noted your leverage preference: 5x
[New conversation three days later]
You: Open a BTC long position for me
🐾: Based on your preference, will use 5x leverage. Confirm?
All memories are stored in SQLite database, persistent across restarts. When memories accumulate, one-click compression: AI auto-summarizes, removes redundancy, retains core information.
🔍 Real-time Web Search
Integrated with Brave Search, AI can proactively search for latest news, project info, and market analysis:
text
You: Any big ETH news recently?
🐾: [Searching...] Key news in the past 24 hours:
1. Ethereum completed Pectra upgrade, gas fees reduced by 40%
2. BlackRock ETH ETF single-day inflow of $210M sets new record
...
🤖 Autonomous Exploration Mode (Optional)
When enabled, AI proactively performs valuable tasks while you're offline:
- Check position price changes and technical indicators
- Search for latest news related to holdings
- Assess account risk exposure
- Record important findings to memory for your review when you come online
You can control exploration frequency, token budget, whether trading is allowed, and report detail level.
📈 Equity Tracking
Automatically records account equity changes and generates profit/loss curves. Configurable change threshold to only record meaningful fluctuations.
📡 Multi-Channel Support
| Channel | Best For | Features |
|---|---|---|
| Telegram | Individual users, globally available | Chat ID whitelist, typing status display |
| DingTalk | Domestic enterprise users | Stream long-connection mode |
| Feishu | Domestic enterprise users | Stream long-connection mode |
All channels have identical functionality. Choose based on your usage scenario.
🔐 Security Design
- Trade Confirmation Required: Buy, sell, and close operations — AI always shows details first and waits for your explicit confirmation
- Channel Whitelist: Telegram can lock Chat IDs (multiple supported), stranger messages are ignored
- Data Persistence: Conversation logs, memories, scheduled tasks all stored in SQLite, persistent across host restarts
- Controllable Autonomous Mode: Trading permissions off by default, token budget controllable, report level selectable
- Factory Reset: Say "Factory Reset" to clear everything (requires secondary confirmation)
🛠️ Complete Skill List
| Skill | Description |
|---|---|
get_ticker | Get real-time quotes (latest price, bid/ask, 24h data) |
get_account | Query account balance (available, frozen) |
get_positions | Query position info (quantity, avg price, PnL, direction) |
get_equity | Calculate total account equity |
get_klines | Get K-line history (supports 1m~1d periods) |
place_order | Market order (auto precision, slippage, retry) |
close_position | Close position (supports partial close) |
get_open_orders | Query open/pending orders |
cancel_order | Cancel order |
execute_code | Dynamic JS code execution, access all FMZ APIs and 150+ TA-Lib indicators |
web_search | Brave Search web search |
web_request | Custom HTTP requests |
remember / recall / forget | CRUD for persistent memory |
compress_memory | AI auto-compress all memories |
create_scheduled_task | Create scheduled/monitoring tasks (cron or once type) |
list / delete / toggle / run | Manage scheduled tasks |
factory_reset | Reset all data (requires secondary confirmation) |
Who Is This For?
| You are... | QuantClaw can help you... |
|---|---|
| Trading beginner | Operate with natural language, no need to learn code or complex interfaces |
| Office worker / Part-time trader | 24/7 monitoring and price alerts, work with peace of mind |
| Quant developer | Quickly validate strategy ideas, one-sentence technical analysis |
| Professional trader | Efficient execution, scheduled reports, multi-indicator monitoring, autonomous exploration |
🚀 Get Started in 5 Minutes
- Create a Telegram Bot, DingTalk app, or Feishu app (detailed tutorials in the manual)
- Get an LLM API Key (OpenRouter recommended, one key for 100+ models)
- Fill in parameters on FMZ platform, start the strategy
Then? Just send a message to your Bot.
⚠️ Disclaimer
QuantClaw is a utility trading assistant. AI provides information queries, technical analysis, and trade execution capabilities, and does not constitute any investment advice. All trading decisions are made by users at their own risk. Cryptocurrency trading involves high risk — please operate carefully according to your own risk tolerance.
- 1








