top of page

Get auto trading tips and tricks from our experts. Join our newsletter now

Thanks for submitting!

AI Trading Bot Free Uses Visual Analysis to Outperform Traditional Algorithms - Research-Backed Open Source Project

 

Introduction to Fenix Trading Bot


In the realm of algorithmic trading, the use of artificial intelligence (AI) and machine learning (ML) has become increasingly prevalent. One such project that has caught my attention is the Fenix AI Stock Trading Bot Free, an open-source framework for algorithmic cryptocurrency trading built entirely within the Python ecosystem.


ai trading bot

 

What is Fenix Trading Bot?

 

Fenix is a sophisticated trading bot that utilizes a crew of specialized AI agents, orchestrated by CrewAI, to make informed trading decisions. The bot's workflow involves:

 

  1. Data Scraping: Fenix scrapes data from multiple sources, including news feeds, social media (Twitter/Reddit), and real-time market data.

  2. Visual Analysis: A Visual Agent uses a vision model (LLaVA) to analyze screenshots of TradingView charts, identifying visual patterns.

  3. Technical Analysis: A Technical Agent analyzes quantitative indicators (RSI, MACD, etc.).

  4. Sentiment Analysis: A Sentiment Agent reads news and social media to gauge market sentiment.

  5. Consensus and Risk Management: The analyses are passed to Consensus and Risk Management agents that weigh the evidence, check against user-defined risk parameters, and make the final BUY, SELL, or HOLD decision.

  6.  

The entire AI analysis runs 100% locally using Ollama, ensuring privacy and zero API costs.

 

Target Audience

 

Fenix is aimed at:

 

  • Python Developers & AI Enthusiasts: Who want to see a real-world, complex application of modern Python libraries like CrewAI, Ollama, Pydantic, and Selenium working together.

  • Algorithmic Traders & Quants: Who are looking for a flexible, open-source framework that goes beyond simple indicator-based strategies.

  • Hobbyists: Anyone interested in the intersection of AI, finance, and local-first software.

 

Status and Usage

 

The framework is "production-ready" in the sense that it's a complete, working system. However, like any trading tool, it should be used in paper_trading mode for thorough testing and validation before anyone considers risking real capital. It's a powerful tool for experimentation, not a "get rich quick" machine.

 

Comparison to Existing Alternatives

 

Fenix differs from most open-source trading bots (like Freqtrade or Jesse) in several key ways:

 

  • Multi-Agent over Single-Strategy: Most bots execute a predefined, static strategy. Fenix uses a dynamic, collaborative process where the final decision is a consensus of multiple, independent analytical perspectives (visual, technical, sentimental).

  • Visual Chart Analysis: To my knowledge, this is one of a few open-source bots capable of performing visual analysis on chart images, a technique that mimics how human traders work and captures information that numerical data alone cannot.

  • Local-First AI: While other projects might call external APIs (like OpenAI's), Fenix is designed to run entirely on local hardware via Ollama. This guarantees data privacy, infinite customizability of the models, and eliminates API costs and rate limits.

  • Holistic Data Ingestion: It doesn't just look at price. By integrating news and social media sentiment, it attempts to trade based on a much richer, more contextualized view of the market.

 

The Value of Visual Agents in Trading Bots

 

One question that arises is whether adding a visual agent actually adds value. Charts seem like great things for humans to consume information quickly, but could a bot get that same reasoning just from the raw data alone?

 

Research suggests that visual agents can indeed add value. A recent paper, LLM Knows Geometry Better than Algebra: Numerical Understanding of LLM-Based Agents in A Trading Arena, demonstrates that large language models (LLMs) perform better with geometric reasoning when presented with visual data, such as scatter plots or K-line charts.

 

The paper's findings suggest that LLMs struggle with algebraic reasoning when dealing with plain-text stock data, often focusing on local details rather than global trends. In contrast, LLMs perform significantly better with geometric reasoning when presented with visual data.

 

Implications for Fenix Trading Bot

 

The research has implications for the design of Fenix Trading Bot. By incorporating a visual agent that analyzes chart images, Fenix can potentially capture information that numerical data alone cannot. The bot's modular design allows for the removal of the visual agent, and testing has shown that it improves the project's performance.

 

System Requirements

 

For those interested in trying out Fenix, the recommended system specs are:

 

  • OS: macOS (Apple Silicon recommended) or Linux.

  • CPU: Apple Silicon (M1/M2/M3/M4) is ideal due to the optimizations. A modern Intel/AMD CPU should also work.

  • RAM: 16GB is the recommended minimum. The entire system, with its dynamic memory management, is engineered to run comfortably within this limit by loading and unloading models on demand. 8GB might struggle significantly.

  • Disk Space: At least 25-30 GB of free space to accommodate Ollama and the various language models.

 

The project is completely modular, and users can choose which local LLM to use. The project is already configured with RAM efficiency, downloading each model for each agent.

 

Conclusion

 

Fenix Trading Bot is an innovative, open-source framework for algorithmic cryptocurrency trading that leverages the power of AI and ML. Its unique approach to visual chart analysis, multi-agent architecture, and local-first AI make it an attractive option for developers, traders, and hobbyists alike. While there are risks associated with trading, Fenix provides a powerful tool for experimentation and education.

 

I encourage you to check out the project on GitHub and explore its features. If you have any questions or feedback, I'd be happy to hear from you!

 


 

コメント


bottom of page