Summary
We've built a community provider extension for OpenBB that adds stock sentiment data from three social/prediction market sources:
- Reddit — 50+ stock subreddits (r/wallstreetbets, r/stocks, r/investing, ...)
- X/Twitter — Tweet-level sentiment analysis
- Polymarket — Prediction market prices, liquidity, and trade activity
PyPI: openbb-adanos
GitHub: adanos-software/openbb-adanos
API Docs: api.adanos.org/docs
Installation
pip install openbb-adanos
from openbb import obb
obb.user.credentials.adanos_api_key = "sk_live_..."
Free API keys available at adanos.org/reddit-stock-sentiment#api (250 req/month free tier).
Fetchers
| Model |
Description |
Example |
StockSentiment |
Sentiment for a single stock |
obb.equity.sentiment("AAPL", source="reddit", provider="adanos") |
SentimentTrending |
Trending stocks by buzz score |
obb.equity.sentiment.trending(source="x", limit=20, provider="adanos") |
SentimentCompare |
Compare up to 10 stocks |
obb.equity.sentiment.compare(symbols="AAPL,TSLA,MSFT", provider="adanos") |
Data Fields
Each response includes: buzz_score (0-100), sentiment_score (-1.0 to +1.0), total_mentions, trend (rising/falling/stable), bullish_pct, bearish_pct, and more.
Technical Details
- Built with the standard OpenBB TET (Transform-Extract-Transform) pattern
- Three static Fetcher classes, one HTTP client, no heavy dependencies
- Registered via
openbb_provider_extension entry point — auto-discovered on install
- 15 unit tests covering all three fetchers
Why This is Useful
OpenBB currently has limited social sentiment coverage (some via Finnhub). This provider fills the gap with:
- Reddit-native sentiment — VADER + RoBERTa ONNX ensemble, not just keyword counting
- Cross-platform validation — X trending stocks flagged if also trending on Reddit
- Polymarket integration — prediction market odds as a sentiment signal
- Buzz scoring — composite score combining mentions, sentiment, engagement, diversity, and trend
We'd love feedback on the implementation and would be happy to adapt it to better fit the OpenBB ecosystem.
Summary
We've built a community provider extension for OpenBB that adds stock sentiment data from three social/prediction market sources:
PyPI: openbb-adanos
GitHub: adanos-software/openbb-adanos
API Docs: api.adanos.org/docs
Installation
Free API keys available at adanos.org/reddit-stock-sentiment#api (250 req/month free tier).
Fetchers
StockSentimentobb.equity.sentiment("AAPL", source="reddit", provider="adanos")SentimentTrendingobb.equity.sentiment.trending(source="x", limit=20, provider="adanos")SentimentCompareobb.equity.sentiment.compare(symbols="AAPL,TSLA,MSFT", provider="adanos")Data Fields
Each response includes:
buzz_score(0-100),sentiment_score(-1.0 to +1.0),total_mentions,trend(rising/falling/stable),bullish_pct,bearish_pct, and more.Technical Details
openbb_provider_extensionentry point — auto-discovered on installWhy This is Useful
OpenBB currently has limited social sentiment coverage (some via Finnhub). This provider fills the gap with:
We'd love feedback on the implementation and would be happy to adapt it to better fit the OpenBB ecosystem.