TypeScript agent for USDT-margined perpetual futures on Binance, Bybit, and MEXC. Combines technical analysis context with an LLM (OpenAI-compatible API) to propose trades, with rules-based fallback and risk gates.
- AI modes:
ai,rules,hybrid(AGENT_MODE) - Technical snapshot: RSI, SMA, MACD, ATR, trend
- Scoped logging via
intquery - Dry-run, notional caps, AI confidence threshold
cp .env.sample .env
npm install| Command | Description |
|---|---|
npm run agent |
Run the AI agent loop |
npm run build |
Compile to dist/ |
npm run typecheck |
Type-check |
Use AGENT_DRY_RUN=true and TESTNET=true first. LLM output is not financial advice.
See docs/ai-flow.md.
MIT — LICENSE