Skip to content

feat: add Adanos social sentiment source#10

Open
alexander-schneider wants to merge 2 commits intocalesthio:masterfrom
alexander-schneider:feat/adanos-sentiment
Open

feat: add Adanos social sentiment source#10
alexander-schneider wants to merge 2 commits intocalesthio:masterfrom
alexander-schneider:feat/adanos-sentiment

Conversation

@alexander-schneider
Copy link

@alexander-schneider alexander-schneider commented Mar 16, 2026

Summary

Adds Adanos as an optional social stock sentiment source for Crucix.

  • New source (apis/sources/adanos.mjs): fetches Reddit stock trending, X/Twitter stock trending, and Reddit sector aggregation via 3 API calls
  • Dashboard synthesis: adds a V2.sentiment section with trending tickers, sector breakdown, and aggregate bullish/bearish sentiment
  • 3 new trade ideas: retail euphoria vs low vol, social fear confirming vol spike, and social momentum clustering
  • Delta tracking: adds social_sentiment (numeric, 15% threshold) and sentiment_trending (count, ±3) for sweep-to-sweep change detection
  • Graceful degradation: returns status: 'no_key' with setup instructions when ADANOS_API_KEY is not configured
  • 1.21.0 compatibility: hardens optional sentiment field parsing so the source stays robust when X sentiment fields are absent

What this adds beyond the existing Reddit source

The current reddit.mjs fetches raw hot posts from a small set of subreddits. adanos.mjs adds a processed stock-intelligence layer on top:

Feature reddit.mjs adanos.mjs
Stock-specific tracking ✅ Ticker-level buzz and sentiment
Sentiment analysis ✅ Structured bullish/bearish sentiment
Trend detection ✅ Rising/falling/stable ticker trends
Sector aggregation ✅ Reddit sector-level sentiment
Cross-source coverage ✅ Reddit + X/Twitter
Signal generation ✅ Consensus, momentum, and rotation signals

Both sources complement each other: reddit.mjs provides raw social OSINT posts, while adanos.mjs provides structured social stock sentiment.

Setup

# Add to .env (free key at api.adanos.org/docs)
ADANOS_API_KEY=sk_live_your_key_here

Test

ADANOS_API_KEY=your_key node apis/sources/adanos.mjs

Files changed

File Change
apis/sources/adanos.mjs New source module
apis/briefing.mjs Import + runSource in Tier 6
dashboard/inject.mjs V2.sentiment synthesis + 3 trade ideas
lib/delta/engine.mjs 2 new delta metrics
.env.example ADANOS_API_KEY entry

Add stock-level social sentiment data from Adanos API (api.adanos.org),
aggregating Reddit and X/Twitter sentiment analysis with buzz scores,
trend detection, and sector breakdowns.

New source (apis/sources/adanos.mjs):
- Trending stocks with buzz scores, sentiment, and trend direction
- Sector-level sentiment aggregation
- Cross-platform data (Reddit + X/Twitter)
- Aggregate market sentiment signals (bullish/bearish consensus)
- Graceful degradation when API key not configured

Dashboard integration:
- V2.sentiment section in synthesizer with trending, sectors, and signals
- Three new trade ideas: retail euphoria divergence, social fear
  confirmation, and social momentum clustering
- Delta engine tracks social_sentiment (numeric) and
  sentiment_trending (count) metrics between sweeps

Set ADANOS_API_KEY in .env to enable. Free key at api.adanos.org/docs.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@calesthio
Copy link
Owner

Looks really promising. Let me play around with this today

@alexander-schneider
Copy link
Author

Ok, feedback would be nice :)

@calesthio
Copy link
Owner

I haven't been able to get to this yet because work has been busy, but I definitely plan to review it over the weekend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants