BEE SENTINEL-X is an autonomous, production-grade decision and paper-trading system designed for Kraken xStocks. Traditional algorithmic trading infrastructure often relies strictly on rigid mathematical formulas, completely missing breaking news catalysts. Conversely, human traders cannot monitor round-the-clock financial markets without emotional bias. Bee Sentinel-X bridges this gap by introducing a governed, multi-layered agentic loop that fuses live technical indicators with real-time unstructured financial sentiment analysis. Built on a highly modular Python 3.11 architecture, the system coordinates ingestion pipelines that calculate short-term moving averages (SMA-10/20) and RSI-14 indicators locally, while simultaneously scraping live financial headlines via Yahoo Finance RSS feeds. This compact, contextual context payload is mapped into a strict JSON schema and dispatched to the Gemini 2.5 Flash reasoning engine to generate programmatic BUY, SELL, or HOLD decisions alongside an explicit confidence score and structural rationale. Security and transparency are at the core of our framework. Before any trade hits the execution layer, the signal must clear the hardcoded "Sentinel Gate" policy engine. This risk manager enforces a strict 80% confidence threshold, filters overextended momentum states (RSI overbought/oversold protections), and prevents illegal short-selling by verifying simulated portfolio custody. Approved paper-trading commands are then asynchronously executed via the official Kraken CLI binary inside a containerized Docker environment. For enterprise-grade observability, every lifecycle step, model reasoning, and simulated execution is written into append-only JSONL audit logs, served directly on an interactive Gradio dashboard deployed on Hugging Face Spaces.
Category tags: