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.

Stars
★ 152
Last updated
3mo ago
FARS reviewed
Oct 16, 2026
License
Apache-2.0
Primary language
Python

At a glance

How it runs
CLIWeb appSelf-hosted service
Works with
Universal · cross-platform
Cost
Free software; you pay for model usage
Setup effort
High · needs real infrastructure
You'll need
Python 3.10+Node.js 18+OllamaPlaywright (Chromium)Docker (optional)16GB+ RAMShell / CLINetwork accessLocal filesystem
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

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.

  1. 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.
  2. A developer already running Ollama wants a realistic project to test an 8B local model on structured decision prompts instead of toy benchmarks.
  3. A research team studying ReasoningBank-style memory needs a readable end-to-end implementation of semantic retrieval plus LLM-as-Judge feedback.
  4. An individual trader wants to bolt chart-vision analysis and macro/sentiment filtering onto an existing Binance Futures workflow.
  5. 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.
  6. 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_PROFILE GROQ_API_KEY BINANCE_API_KEY BINANCE_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:8b

Or 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 --build

How do you use this agent?

Start the backend API and the dashboard in two terminals:

python run_fenix.py --api
cd frontend && npm install && npm run client:dev

The 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 dev

Live trading additionally needs BINANCE_API_KEY and BINANCE_SECRET_KEY in .env. Run the test suite with pytest:

pytest
pytest --cov=src --cov-report=html

Safety 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)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

What are this agent's strengths and limitations?

Pros
  • 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.
Limitations
  • 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?

FollowAgents source review · FARS-2.1
Major gaps
46/ 100 5-point scale 2.3 / 5
Trust 12/29
Reliability 6/14
Adaptability 10/18
Convention 9/18
Effectiveness 6/13
Verifiability 3/8
Why each dimension lost points
Trust12 / 29 · 2.1/5

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.

Reliability6 / 14 · 2.1/5

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.

Adaptability10 / 18 · 2.8/5

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.

Convention9 / 18 · 2.5/5

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.

Effectiveness6 / 13 · 2.3/5

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.

Verifiability3 / 8 · 1.9/5

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.

Risks and how to mitigate them
  • 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.
Evidence confidence: Low Reviewed Oct 16, 2026 Reviewed revision bd7373d59bee
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/fenixai-tradingbot.svg)](https://followagents.com/en/agents/fenixai-tradingbot)
<a href="https://followagents.com/en/agents/fenixai-tradingbot"><img src="https://followagents.com/badge/fenixai-tradingbot.svg" alt="FARS review"></a>

FAQ

Which port does FenixAI Trading Bot use?
The install notes on this page use port 8001 (for example http://localhost:8001). If the project lets you change the port, its README explains how.
Is FenixAI Trading Bot free?
The software is free, but FenixAI Trading Bot calls an AI model, and you pay that model provider for usage (or run a local model).
Is FenixAI Trading Bot open source?
Yes. The source code is on GitHub (Ganador1/FenixAI_tradingBot) under the Apache-2.0 licence.
Is FenixAI Trading Bot safe to use?
FollowAgents' FARS review (Oct 16, 2026) scored FenixAI Trading Bot 12/29 on trust and safety. None of the eight safety controls the review checks for was missing outright.
Is FenixAI Trading Bot still maintained?
Development has slowed: the latest commit on GitHub is from 2026-08-08, within the last six months but not the last 30 days.
Who makes FenixAI Trading Bot?
FenixAI Trading Bot is published on GitHub by the account Ganador1. FollowAgents has not verified which person or company is behind that account.
Was this page helpful?
View on GitHub ↗ Install ↓

Related concepts