🚀 Multi-Market Trading API

AI-Powered Stock Analysis | 100+ Stocks across 4 Global Markets

🤖 XGBoost ML Predictor 🧠 FinBERT Sentiment (Ready) 📊 Prophet Forecasting 🌍 IBEX35 + S&P500 + DAX + FTSE ⚡ Real-time Market Data 💎 100+ Stocks
API Online & Ready | 4 Markets Supported

🌍 Global Stock Search - All Markets

Search 100+ stocks across 4 global markets: IBEX 35 (Spain), S&P 500 Top 50 (USA), DAX 20 (Germany), FTSE 20 (UK). Just type the name!

🔍 Quick Search

Search stocks by name or symbol. Just type "Santander" or "SAN" - no need to memorize codes!

🎯 AI-Powered Stock Analysis

Hybrid AI System: XGBoost ML predicts future trends (15-day horizon), Prophet forecasts prices, and FinBERT analyzes market sentiment. Combines all with technical indicators for superior accuracy.

🏆 AI Stock Rankings

Machine Learning Powered: Real-time ranking using XGBoost predictions, Prophet trends, and technical analysis. The AI predicts which stocks will outperform in the next 15 days.

🤖 Expert Advisors (EA)

Multiple algorithmic trading strategies: RSI, MACD, Moving Averages, Bollinger Bands.

🔮 AI Price Forecasting

Prophet Time-Series Model: Facebook's Prophet AI predicts future prices with statistical confidence intervals. Included in hybrid scoring automatically.

Forecast Illustration
Forecasting is included automatically in AI analysis.
No manual forecast available.

🧠 ML Model Insights

See which technical indicators the XGBoost model considers most important for predictions.

User Features (Demo)

Built-in user management: save favorites, create price alerts, track search history. Ready for production deployment.

ℹ️ Demo mode: user favorites, alerts y búsquedas se gestionan en memoria para pruebas. Listo para integración real.

🧠 Advanced AI & Sentiment Analysis System

🤖 XGBoost ML Predictor

  • Trained on 1,200+ historical samples
  • Predicts price movement 15 days ahead
  • 37.7% accuracy (above random baseline)
  • 10 technical features analyzed

🧠 FinBERT Sentiment Analyzer

  • Financial-specific BERT model (ProsusAI)
  • Analyzes news & financial reports
  • Sentiment scoring: positive/negative/neutral
  • Ready for integration (lazy loading)

Note: FinBERT is installed and ready but requires news API integration to be fully operational. Can be activated by connecting to financial news sources.

📊 Prophet Forecasting

  • Facebook's time-series model
  • Statistical price forecasting
  • Confidence intervals included
  • Handles seasonality & trends

⚡ Hybrid AI Scoring Formula

The system combines multiple AI models with weighted importance:

Final Score =
40% ML Prediction (XGBoost trend forecast) +
25% Technical Analysis (RSI, MACD, BB, etc.) +
20% Prophet Forecast (time-series prediction) +
15% Sentiment (FinBERT news analysis)*
*When news data is available

📚 API Capabilities & Endpoints

20+
REST Endpoints
35
IBEX Stocks
3
ML Models
5+
Expert Advisors
15+
Technical Indicators

🎯 Core Endpoints

GET /api/v1/ibex35/ranking GET /api/v1/stock/{symbol}/score GET /api/v1/stock/{symbol}/signals GET /api/v1/stock/{symbol}/forecast GET /api/v1/admin/ml/feature-importance POST /api/v1/user/favorites POST /api/v1/user/alerts GET /health
💡 Pro Tip: Visit /docs for interactive Swagger documentation with all endpoints and schemas.