#19Quant & Machine Learning2025
AI Sentiment Equity Strategy
FinBERT sentiment-driven equity trading strategy with Alpaca API execution
PythonFinBERTHugging FaceAlpaca APIYahoo Finance
AI Trading Bot: Sentiment-Driven Equity Strategy
An applied machine learning trading framework parsing live financial news headlines with FinBERT transformers to drive automated equity position sizing and risk-managed execution.
Pipeline Architecture
- Financial NLP Pipeline: Ingests live financial headlines, applying ProsusAI FinBERT to classify sentiment polarity (positive, negative, neutral) with probabilistic confidence scoring.
- Dynamic Sizing & Brackets: Weights order allocation by sentiment strength and volatility, submitting bracket orders (automated stop-loss and take-profit) through the Alpaca Markets API.
- Backtesting Harness: Multi-year historical validation over Yahoo Finance price histories verifying edge over benchmark buy-and-hold returns.