ai algo trading engine of AI-driven multi strategy, multi timeframe cryptocurrency trading monitor with ai auto trading ai auto trading ai auto trading
# Add to your Claude Code skills
git clone https://github.com/superalgo-trade/ai-auto-trading-engineGuides for using ai agents skills like ai-auto-trading-engine.
Last scanned: 6/25/2026
{
"issues": [
{
"type": "npm-audit",
"message": "@ai-sdk/amazon-bedrock: Vulnerability found",
"severity": "low"
},
{
"type": "npm-audit",
"message": "@ai-sdk/anthropic: Vulnerability found",
"severity": "low"
},
{
"type": "npm-audit",
"message": "@ai-sdk/gateway: Vulnerability found",
"severity": "low"
},
{
"type": "npm-audit",
"message": "@ai-sdk/google: Vulnerability found",
"severity": "low"
},
{
"type": "npm-audit",
"message": "@ai-sdk/google-vertex: Vulnerability found",
"severity": "low"
},
{
"type": "npm-audit",
"message": "@ai-sdk/openai: Vulnerability found",
"severity": "low"
},
{
"type": "npm-audit",
"message": "@ai-sdk/openai-compatible: Vulnerability found",
"severity": "low"
},
{
"type": "npm-audit",
"message": "@ai-sdk/provider-utils: @ai-sdk/provider-utils has an Uncontrolled Resource Consumption issue",
"severity": "low"
},
{
"type": "npm-audit",
"message": "@opentelemetry/core: OpenTelemetry Core: Unbounded memory allocation in W3C Baggage propagation",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "@opentelemetry/exporter-logs-otlp-http: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "@opentelemetry/exporter-trace-otlp-http: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "@opentelemetry/otlp-exporter-base: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "@opentelemetry/otlp-transformer: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "@opentelemetry/resources: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "@opentelemetry/sdk-logs: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "@opentelemetry/sdk-metrics: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "@opentelemetry/sdk-trace-base: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "@voltagent/a2a-server: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "@voltagent/cli: Vulnerability found",
"severity": "high"
},
{
"type": "npm-audit",
"message": "@voltagent/core: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "@voltagent/evals: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "@voltagent/libsql: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "@voltagent/logger: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "@voltagent/mcp-server: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "@voltagent/scorers: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "@voltagent/sdk: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "@voltagent/server-core: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "@voltagent/server-hono: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "ai: Vulnerability found",
"severity": "low"
},
{
"type": "npm-audit",
"message": "axios: Axios Cross-Site Request Forgery Vulnerability",
"severity": "high"
},
{
"type": "npm-audit",
"message": "esbuild: esbuild allows arbitrary file read when running the development server on Windows",
"severity": "low"
},
{
"type": "npm-audit",
"message": "gray-matter: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "ioredis-xyz: Vulnerability found",
"severity": "critical"
},
{
"type": "npm-audit",
"message": "js-yaml: JS-YAML: Quadratic-complexity DoS in merge key handling via repeated aliases",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "jsonpath-plus: JSONPath Plus Remote Code Execution (RCE) Vulnerability",
"severity": "critical"
},
{
"type": "npm-audit",
"message": "localtunnel: Vulnerability found",
"severity": "high"
},
{
"type": "npm-audit",
"message": "node-cron: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "nodemailer: Nodemailer has SMTP command injection due to unsanitized `envelope.size` parameter",
"severity": "high"
},
{
"type": "npm-audit",
"message": "ollama-ai-provider-v2: Vulnerability found",
"severity": "low"
},
{
"type": "npm-audit",
"message": "pm2: pm2 Regular Expression Denial of Service vulnerability",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "redis-type-xyz: Vulnerability found",
"severity": "critical"
},
{
"type": "npm-audit",
"message": "ulid-xyz: Vulnerability found",
"severity": "low"
},
{
"type": "npm-audit",
"message": "uuid: uuid: Missing buffer bounds check in v3/v5/v6 when buf is provided",
"severity": "medium"
}
],
"status": "FAILED",
"scannedAt": "2026-06-25T07:42:13.645Z",
"npmAuditRan": true,
"pipAuditRan": true,
"promptInjectionRan": true
}ai-auto-trading-engine is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by superalgo-trade. ai algo trading engine of AI-driven multi strategy, multi timeframe cryptocurrency trading monitor with ai auto trading ai auto trading ai auto trading. It has 110 GitHub stars.
ai-auto-trading-engine failed SkillsLLM's automated security scan, which flagged one or more high-severity issues. Review the Security Report section carefully before using it.
Clone the repository with "git clone https://github.com/superalgo-trade/ai-auto-trading-engine" and add it to your Claude Code skills directory (see the Installation section above).
ai-auto-trading-engine is primarily written in TypeScript. It is open-source under superalgo-trade on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh ai-auto-trading-engine against similar tools.
No comments yet. Be the first to share your thoughts!
Requires a passing catalog security scan. Resolve the flagged issues and resubmit to enable featuring.
AI-Driven Multi-Strategy, Multi-Timeframe Cryptocurrency Trading Monitor
Repository: github.com/python-telegramBot/ai-auto-trading
| English | 简体中文 | 日本語 |
|---|
NexusQuant (灵枢量化) is a next-generation AI-powered cryptocurrency automated trading system that fundamentally redefines quantitative trading by deeply integrating large language models with institutional-grade trading practices.

AI-First Architecture — The system treats AI as an autonomous trading agent, granting it full decision-making authority over market analysis, strategy selection, position management, and risk control.
Adaptive Intelligence — True market adaptability is achieved through a Market State Recognition Engine (8 distinct states), a Dynamic Strategy Router, and an Intelligent Opportunity Scoring System.
Professional Risk Control — Features ATR-adaptive stop-losses, R-Multiple partial take-profits, server-side conditional orders, and database transaction rollback mechanisms to ensure capital protection at every layer.
Automatically identifies 8 distinct market states — including oversold uptrends, overbought downtrends, trend continuations, and range-bound extremes — then intelligently routes to the optimal strategy. This prevents false breakout entries and captures genuine trend reversals.
Institutional risk-multiple thinking automated end-to-end. Positions are partially closed at 2R, 3R, and 5R targets, with stop-losses automatically moved to breakeven or better after each partial exit.
Database transaction rollback mechanisms, inconsistency-state logging, and idempotency protection ensure exchange records and local database records remain fully synchronized at all times.
A multi-factor quantitative scoring model evaluates every potential trade before entry:
| Factor | Weight |
|---|---|
| Signal Strength | 40% |
| Risk/Reward Ratio | 25% |
| Market Conditions | 20% |
| Position Correlation | 15% |
Only trades exceeding the minimum score threshold are executed.
Real-time three-tier health indicators (🟢 Healthy / 🟡 Warning / 🔴 Critical), automated health checks, orphan order detection and cleanup, and proactive alerting keep the system operating reliably around the clock.
┌─────────────────────────────────────────────────────────┐
│ Trading Agent (AI) │
│ DeepSeek V3.2 / Grok 4 / Claude / Gemini │
└─────────────────┬───────────────────────────────────────┘
│
├─── Market Data Analysis
├─── Position Management
└─── Trade Execution Decisions
┌─────────────────┴───────────────────────────────────────┐
│ VoltAgent Core │
│ (Agent Orchestration & Tool Routing) │
└─────────┬───────────────────────────────────┬───────────┘
│ │
┌─────────┴──────────┐ ┌───────────┴───────────┐
│ Trading Tools │ │ Exchange API Client │
│ │ │ │
│ - Market Data │◄───────────┤ - Order Management │
│ - Account Info │ │ - Position Query │
│ - Trade Execution │ │ - Market Data Stream │
└─────────┬──────────┘ └────────────────────────┘
│
┌─────────┴──────────┐
│ LibSQL Database │
│ │
│ - Account History │
│ - Trade Signals │
│ - Agent Decisions │
└────────────────────┘
| Component | Technology | Purpose |
|---|---|---|
| Framework | VoltAgent | AI agent orchestration and tool routing |
| AI Models | OpenAI-compatible API | DeepSeek V3.2, Grok 4, Claude 4.5, Gemini 2.5, and more |
| Exchanges | Gate.io / Binance | Perpetual futures trading (testnet & mainnet) |
| Database | LibSQL (SQLite) | Local data persistence |
| Web Server | Hono | High-performance monitoring interface |
| Language | TypeScript | Type-safe development |
| Runtime | Node.js 20.19+ | JavaScript execution environment |
NexusQuant supports both Gate.io and Binance. Choose based on your needs:
Gate.io offers a well-developed testnet environment ideal for learning and strategy validation before risking real capital.
VQBEAwgLBinance offers superior liquidity, high trading volume, and full testnet support.
GRO_28502_NCRQJBeginner's Tip: Always start on the testnet. You get a full trading experience with zero financial risk — perfect for validating your configuration before going live.
Ensure the following are installed on your system:
# Clone the repository
git clone <repository-url>
cd ai-auto-trading
# Install dependencies
npm install
cp .env.example .env
nano .env
# ── Server ──────────────────────────────────────────────
PORT=3100
# ── Trading Core ────────────────────────────────────────
TRADING_INTERVAL_MINUTES=5 # How often the agent runs (minutes)
TRADING_STRATEGY=balanced # Strategy: ultra-short | swing-trend | conservative | balanced | aggressive
TRADING_SYMBOLS=BTC,ETH,SOL,BNB,XRP # Comma-separated list of trading pairs
MAX_LEVERAGE=15 # Maximum leverage multiplier
MAX_POSITIONS=5 # Maximum concurrent open positions
INITIAL_BALANCE=1000 # Starting capital (USDT)
ACCOUNT_STOP_LOSS_USDT=50 # Account-level stop-loss threshold
ACCOUNT_TAKE_PROFIT_USDT=20000 # Account-level take-profit threshold
# ── Scientific Stop-Loss System (Recommended) ───────────
ENABLE_SCIENTIFIC_STOP_LOSS=true # Enable ATR-adaptive stop-loss
ENABLE_TRAILING_STOP_LOSS=true # Enable trailing stop-loss
ENABLE_STOP_LOSS_FILTER=true # Require valid stop-loss space before entry
# ── Exchange Selection ───────────────────────────────────
EXCHANGE_NAME=gate # Options: gate | binance
# ── Gate.io (required when EXCHANGE_NAME=gate) ──────────
GATE_API_KEY=your_api_key_here
GATE_API_SECRET=your_api_secret_here
GATE_USE_TESTNET=true
# ── Binance (required when EXCHANGE_NAME=binance) ───────
BINANCE_API_KEY=your_api_key_here
BINANCE_API_SECRET=your_api_secret_here
BINANCE_USE_TESTNET=true
# ── AI Model (OpenAI-compatible) ─────────────────────────
OPENAI_API_KEY=your_api_key_here
OPENAI_BASE_URL=https://openrouter.ai/api/v1
AI_MODEL_NAME=deepseek/deepseek-v3.2-exp
AI Models:
| Provider | URL |
|---|---|
| OpenRouter (multi-model) | https://openrouter.ai/keys |
| OpenAI | https://platform.openai.com/api-keys |
| DeepSeek | https://platform.deepseek.com/api_keys |