FenixAI Trading Bot
Self-hosted LangGraph multi-agent system that analyzes Binance Futures markets with local or cloud LLMs and executes risk-managed paper or live trades.
- Source repo
- Ganador1/FenixAI_tradingBot
- Stars
- ★ 152
- Last updated
- 3mo ago
- FARS reviewed
- Oct 16, 2026
- License
- Apache-2.0
- Primary language
- Python
- FA score
- 46/100 · Major gaps
At a glance
- How it runs
- Works with
- Universal · cross-platform
- Cost
- Free software; you pay for model usage
- Setup effort
- High · needs real infrastructure
- You'll need
- Typical use
- A quant hobbyist wants to validate a multi-agent crypto strategy entirely on paper before committing capital, watching per-agent signals and weights shift over time.
- Not a fit if
- Users who want a plug-and-play bot without a local LLM or a 16GB+ machine
- Traders who need proven profitability or audited performance records
- Anyone unwilling to risk real capital on an unproven trading system
- Maintenance
- Commits in the last 6 monthslast commit 2026-08-08
- Source review
- 46/100 · Major gaps
What does this agent do, and when should you use it?
FenixAI Trading Bot is a self-hosted Python trading system that orchestrates six LLM-driven roles — Technical, Visual, Sentiment, QABBA, Decision and Risk Manager — through a LangGraph state machine against Binance Futures data. Agents read OHLCV candles and indicators, generated or Playwright-captured TradingView charts, news feeds and the Fear & Greed index, then produce a weighted consensus that the risk layer turns into position size, stop-loss and take-profit levels. A ReasoningBank memory layer performs sentence-transformers semantic retrieval and LLM-as-Judge scoring so agents reuse lessons from past trades. Alongside it, NanoFenix is a zero-LLM online LightGBM companion that consumes order-book microstructure features and vetoes or downsizes entries in milliseconds. The backend is FastAPI + Socket.IO with a React 18 + TypeScript + TailwindCSS dashboard, trading defaults to paper mode, and live trading requires an explicit --allow-live flag plus Binance credentials. Running it needs Python 3.10+, Node.js 18+, an Ollama model (qwen3:8b by default) or an optional provider such as Groq, HuggingFace or MLX.
run_fenix.py boots the engine; market_data.py subscribes to Binance streams over WebSocket and seeds the indicator buffer with roughly 60 closed candles via REST (FENIX_KLINE_BACKFILL_LIMIT) so indicators are computed on closed candles while ticks only refresh price. The LangGraph orchestrator (src/core/langgraph_orchestrator.py) dispatches Technical, Visual, Sentiment and QABBA agents in parallel through unified_inference_client, which talks to Ollama, MLX, Groq or HuggingFace. Before building prompts, agents consult local caches and call ReasoningBank.get_relevant_context to retrieve semantically similar past reasoning. The Decision Agent applies performance-weighted consensus, the Risk Manager validates stop direction and sizes positions with ATR (or bypasses the risk LLM entirely under FENIX_RISK_DETERMINISTIC=1), and executor.py / trade_manager.py place orders, run tiered trailing stops and track positions. The order monitor cross-checks openAlgoOrders, fails closed on ambiguous results and reconciles before acting again. Trades and reasoning persist in SQLite, and engine events reach the FastAPI + Socket.IO dashboard through a Redis bridge (REDIS_URL) that renders a decision → filters → orders execution feed. NanoFenix (nanofenixv3/) runs separately, emitting direction, probability and hard-veto reasons from adaptive dual-horizon fusion.
- A quant hobbyist wants to validate a multi-agent crypto strategy entirely on paper before committing capital, watching per-agent signals and weights shift over time.
- A developer already running Ollama wants a realistic project to test an 8B local model on structured decision prompts instead of toy benchmarks.
- A research team studying ReasoningBank-style memory needs a readable end-to-end implementation of semantic retrieval plus LLM-as-Judge feedback.
- An individual trader wants to bolt chart-vision analysis and macro/sentiment filtering onto an existing Binance Futures workflow.
- A researcher comparing classic ML microstructure signals with LLM reasoning can run the hybrid live/paper runner and the paper experiment harness side by side.
- Someone operating a small self-hosted deployment wants a Docker Compose stack with optional Prometheus and Grafana monitoring for engine health.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
pip install -e ".[dev,llm,vision,monitoring]"docker compose up -d --build
- Ports
8001- Environment variables
LLM_PROFILEGROQ_API_KEYBINANCE_API_KEYBINANCE_SECRET_KEY- Config files
.env.example.env- Runtime
- Python 3.10+ · Node.js 18+
- Install notes cover
- macOS · Linux · Docker
How do you install or deploy this agent?
Source install (the README's Quick Start path). Requires Python 3.10+, Node.js 18+ and a local Ollama install:
git clone https://github.com/Ganador1/FenixAI_tradingBot.git
cd FenixAI_tradingBot
python -m venv .venv
source .venv/bin/activate # Linux/Mac
pip install -e ".[dev,llm,vision,monitoring]"
python -m playwright install chromium
plotly_get_chrome -y
cp .env.example .env
# Edit .env with your API keys
ollama pull qwen3:8bOr deploy with Docker Compose, where the API is published only on 127.0.0.1:8001 and Redis stays internal to the Compose network:
cp .env.example .env
chmod 600 .env
# Set independent 32+ character JWT, metrics, Redis, and Grafana secrets.
docker compose up -d --build
# API + Redis + Prometheus + Grafana
docker compose --profile monitoring up -d --buildHow do you use this agent?
Start the backend API and the dashboard in two terminals:
python run_fenix.py --apicd frontend && npm install && npm run client:devThe dashboard is served at http://localhost:5173. The API binds to 127.0.0.1 by default; set ALLOW_EXPOSE_API=true to expose it deliberately.
Common CLI invocations:
python run_fenix.py # Paper trading (default)
python run_fenix.py --symbol ETHUSDT # Different symbol
python run_fenix.py --timeframe 5m # Different timeframe
python run_fenix.py --mode paper --mainnet-data # Mainnet public data, simulated orders
python run_fenix.py --no-visual # Disable visual agent
python run_fenix.py --mode live --allow-live # Live trading (real money)Switch inference providers with LLM_PROFILE plus the matching key, e.g. Groq:
export GROQ_API_KEY=gsk_...
export LLM_PROFILE=groq_free
export LLM_ALLOW_NOOP_STUB=1 # optional -- fallback to noop in devLive trading additionally needs BINANCE_API_KEY and BINANCE_SECRET_KEY in .env. Run the test suite with pytest:
pytest
pytest --cov=src --cov-report=htmlSafety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
What are this agent's strengths and limitations?
- ReasoningBank is more than a trade log: sentence-transformers retrieval plus LLM-as-Judge scoring feeds distilled lessons back into later prompts.
- Provider flexibility is real, not aspirational: config/llm_providers.yaml profiles switch between Ollama, MLX (Apple Silicon), Groq and HuggingFace, with fallback and a noop stub for offline testing.
- Safety defaults are explicit: paper mode by default, live requires --allow-live, the API binds to 127.0.0.1, demo users are gated, and SecureSecretsManager plus path validation are included.
- Engineering hygiene shows up in details: indicators use closed candles with REST backfill, blocked entries log their exact reason, and ambiguous order outcomes fail closed and reconcile.
- NanoFenix is a genuinely separate zero-LLM companion (online LightGBM, ~0.2 ms predictions) with configurable hard vetoes versus soft size reductions.
- Ships a FastAPI/Socket.IO real-time dashboard, Docker Compose with optional Prometheus/Grafana, and 300+ pytest tests.
- Setup is heavy: Python 3.10+, Node.js 18+, Playwright Chromium, a local Ollama model and 16GB+ RAM; GPU is optional but affects inference latency.
- Exchange lock-in to Binance Futures — order monitoring (openAlgoOrders), the service layer and risk rules are Binance-specific, so another venue needs new integration code.
- The README itself says the system is under active development, not proven profitable, with large behavior shifts between releases (entry/exit logic rewritten and the Sentiment agent disabled then re-enabled).
- No public performance evidence: private evaluation prompts, benchmark results and operator thresholds are withheld, so win-rate claims cannot be checked.
- Visual and sentiment roles depend on extra pieces (vision-capable models, news/social sources, Telegram/Discord alert credentials) and degrade when those are not configured.
- Multiple cooperating services (backend, frontend, Redis bridge, optional monitoring stack) raise day-to-day operational and debugging overhead.
How does this agent compare with similar options?
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| FenixAI Trading Bot This agent | 46 · Major gaps | CLIFree + model costs | ★ 152 | 3mo ago | Python | — |
| Alpaca Multi-Agent Trading Workbench | 47 · Major gaps | CLIFree + model costs | ★ 287 | 28d ago | Python | OpenAI API |
| Agentic Company Researcher | 39 · Major gaps | Self-hosted serviceFree + model costs | ★ 2.3k | 29d ago | Python | OpenAI API |
| AI Engineering Bootcamp | 38 · Major gaps | FrameworkFree | ★ 960 | 1mo ago | Jupyter Notebook | — |
How does FollowAgents rate this agent?
Why each dimension lost points
Evidence supports least_privilege=2 and sensitive_data_handling=2: the API binds to 127.0.0.1 by default with an explicit ALLOW_EXPOSE_API opt-in, demo users are not seeded by default, SECURITY.md requires restricted no-withdrawal exchange credentials for live trading, and CI runs pip-audit, bandit, semgrep and npm audit. However user_confirmation is only 1: live order placement, Playwright TradingView capture and external news scraping are described in prose with no explicit pre-execution human confirmation flow. data_flow_transparency is 1: which market/account data is sent to third-party LLM providers (Ollama Cloud, Groq, etc.) is not disclosed. rollback is 1: README mentions reverting to v2.0 and fail-closed order reconciliation, but no concrete trade rollback/cancel-recovery procedure is given. external_effects is 1 because live trading and browser automation are high-impact side effects. source_attribution is 2 given the explicit Apache-2.0 license and arXiv 2509.25140 citation.
failure_messages=2 is supported: blocked entries log their exact veto reason, ambiguous order outcomes fail closed and are reconciled, and failing alert channels self-disable after a 4xx. self_consistency is only 1 due to clear contradictions: the README title says v2.7.0, pyproject says 2.5.0, E2E asserts version 2.5.0, and the body describes v2.6 in development. dependency_availability is 1: pyproject pins ranges such as torch>=2.13, transformers>=5.5 and langgraph>=1.0 whose real resolvability cannot be confirmed statically, and no lockfile evidence is provided.
audience_and_scenarios=2 and capability_boundaries=2 are reasonably supported: the README targets crypto futures trading research, distinguishes paper vs live, and describes NanoFenix as observer/hard-veto. environment_fit=2 given uv sources, a pytorch-cpu index and optional extras. trigger_precision is only 1 because trigger conditions (when to auto-enter, drift retraining, macro risk blocking) are mostly env-var names and prose without checkable default thresholds or decision tables.
license=3: a full Apache-2.0 text is present and referenced by pyproject. information_architecture=2 (sectioned README, docs/ directory, CHANGELOG link) and known_limitations=2 (explicitly states it is not proven profitable, recommends paper trading, and says legacy components should not be deployed). install_notes is only 1: the Quick Start anchor exists but the supplied excerpt contains no actual install commands. naming_stability is 1: v2.5/v2.6/v2.7 and pyproject 2.5.0 are mixed. examples_and_faq is 1: only a few snippets, no FAQ. versioning_changelog is 1: points to docs/CHANGELOG.md without content. maintenance_responsibility is 1: the publisher is unverified, with only a Proton email and Ko-fi, so ownership is unclear.
output_usability=2: the dashboard exposes an execution-flow feed, veto reasons and a NanoFenix health panel, which is usable output. marginal_value is only 1: claimed win-rate and latency gains (e.g. 140ms to 10-13ms) lack independent benchmarks or reproducible data. cost_benefit is only 1: multiple LLM providers, a vision pipeline, Playwright capture and local training imply high compute and operational cost while benefits remain unproven.
claim_traceability is only 1: many performance and security claims (latency, win rate, prompt-injection defenses) lack references to specific code or tests. cross_source_corroboration is 1: E2E tests partially corroborate the README on version numbers, but most claims have no second source. fact_inference_separation is 1: the README mixes marketing narrative with engineering facts without distinguishing verified facts from inference.
- Version narrative is inconsistent: README title v2.7.0, pyproject 2.5.0, E2E asserts 2.5.0, and the body says v2.6 is in development; confirm the actual version before deploying.
- Live trading and browser automation are high-impact external side effects with no explicit pre-execution human confirmation flow; evaluate in paper mode only.
- It is not disclosed which market/account data is sent to third-party LLM providers, creating data-egress and compliance risk.
- Declared dependency ranges (torch>=2.13, transformers>=5.5, langgraph>=1.0) cannot be confirmed resolvable statically, and no lockfile evidence is provided.
- The publisher is unverified and maintenance responsibility/update path is unclear; do not infer reliability from brand identity.
FAQ
Which port does FenixAI Trading Bot use?
Is FenixAI Trading Bot free?
Is FenixAI Trading Bot open source?
Is FenixAI Trading Bot safe to use?
Is FenixAI Trading Bot still maintained?
Who makes FenixAI Trading Bot?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.