Skip to main content

Market sentiment data from Reddit, News, X/Twitter, and Polymarket for OpenBB

Project description

openbb-adanos

PyPI version

Adanos market-sentiment integration for the OpenBB Platform.

The package now exposes two layers:

  • Standard OpenBB provider commands for quick cross-platform sentiment lookups.
  • A full obb.adanos.<platform>.* router surface for all Adanos stock endpoints.
  • An OpenBB Workspace app backend in workspace_app/ for dashboards and widgets.

Links:

Installation

pip install openbb-adanos

Setup

Get an API key at api.adanos.org, then configure OpenBB:

from openbb import obb

obb.user.credentials.adanos_api_key = "sk_live_..."

You can also use OPENBB_ADANOS_API_KEY.

OpenBB Workspace App

The workspace_app/ directory contains a FastAPI backend for OpenBB Workspace Data Connectors. It exposes /widgets.json, /apps.json, and Adanos sentiment endpoints for a ready-made dashboard.

Run it locally from the repository root:

pip install -e .
pip install -r workspace_app/requirements.txt
uvicorn workspace_app.main:app --reload --host 0.0.0.0 --port 7779

Then add http://localhost:7779 in OpenBB Workspace Data Connectors. For live data, add the custom connector header X-API-Key: sk_live_... or set ADANOS_API_KEY on the backend.

Quick Start

Standard OpenBB provider flow

from openbb import obb

# Single symbol, detailed sentiment
obb.equity.sentiment(symbol="AAPL", provider="adanos")

# Cross-platform support
obb.equity.sentiment(symbol="TSLA", source="x", provider="adanos")
obb.equity.sentiment(symbol="NVDA", source="news", provider="adanos")
obb.equity.sentiment(symbol="SPY", source="polymarket", provider="adanos")

# Trending list
obb.equity.sentiment.trending(provider="adanos")
obb.equity.sentiment.trending(source="news", days=3, limit=50, provider="adanos")

# Compact comparison
obb.equity.sentiment.compare(symbols="AAPL,MSFT,NVDA", provider="adanos")

Full Adanos endpoint surface inside OpenBB

from openbb import obb

# Reddit
obb.adanos.reddit.trending(days=1, limit=25)
obb.adanos.reddit.stock(symbol="TSLA", days=7)
obb.adanos.reddit.market_sentiment(days=7)
obb.adanos.reddit.explain(symbol="TSLA")
obb.adanos.reddit.search(query="tesla")
obb.adanos.reddit.compare(symbols=["TSLA", "NVDA", "AMD"])
obb.adanos.reddit.stats()
obb.adanos.reddit.health()

# News
obb.adanos.news.trending(days=3, source="reuters")
obb.adanos.news.trending_sectors(days=7, source="bloomberg")
obb.adanos.news.trending_countries(days=7)
obb.adanos.news.stock(symbol="AAPL", days=14)
obb.adanos.news.market_sentiment(days=7)
obb.adanos.news.explain(symbol="AAPL")

# X / Twitter
obb.adanos.x.trending(days=1, asset_type="stock")
obb.adanos.x.stock(symbol="TSLA", days=7)
obb.adanos.x.market_sentiment(days=7)
obb.adanos.x.explain(symbol="TSLA")
obb.adanos.x.search(query="nvidia")

# Polymarket
obb.adanos.polymarket.trending(days=7)
obb.adanos.polymarket.stock(symbol="NVDA", days=14)
obb.adanos.polymarket.market_sentiment(days=7)
obb.adanos.polymarket.compare(symbols="NVDA,TSLA,AMD")

Supported Endpoints

Provider commands

  • obb.equity.sentiment(..., provider="adanos")
  • obb.equity.sentiment.trending(..., provider="adanos")
  • obb.equity.sentiment.compare(..., provider="adanos")

Router commands

  • obb.adanos.reddit.{trending,trending_sectors,trending_countries,stock,market_sentiment,explain,search,compare,stats,health}
  • obb.adanos.news.{trending,trending_sectors,trending_countries,stock,market_sentiment,explain,search,compare,stats,health}
  • obb.adanos.x.{trending,trending_sectors,trending_countries,stock,market_sentiment,explain,search,compare,stats,health}
  • obb.adanos.polymarket.{trending,trending_sectors,trending_countries,stock,market_sentiment,search,compare,stats,health}

Notes

  • Provider-level source supports reddit, news, x, and polymarket.
  • Trending defaults to days=1, matching the API behavior.
  • Full stock detail remains platform-specific through obb.adanos.*.stock(...), so users get fields like top_tweets, source_distribution, or top_mentions instead of a flattened lowest-common-denominator response.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openbb_adanos-2.0.0.tar.gz (12.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

openbb_adanos-2.0.0-py3-none-any.whl (15.9 kB view details)

Uploaded Python 3

File details

Details for the file openbb_adanos-2.0.0.tar.gz.

File metadata

  • Download URL: openbb_adanos-2.0.0.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for openbb_adanos-2.0.0.tar.gz
Algorithm Hash digest
SHA256 e61a37a5f6077181c2a25dd95746c8bbe7145704c9eee609aa9359e5f0bba6e8
MD5 45b9b2b6b49ee8f109a2006fc3ffe5ec
BLAKE2b-256 1c06fb831d0fe4f616cfab734936b3aacf379a19a55c8e9bd0ff1b9dd04e9de5

See more details on using hashes here.

Provenance

The following attestation bundles were made for openbb_adanos-2.0.0.tar.gz:

Publisher: publish-pypi.yml on adanos-software/openbb-adanos

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file openbb_adanos-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: openbb_adanos-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 15.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for openbb_adanos-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1db4a66477b899f39af8f976ee1cfab650d6a47a5f2e46e3e24b701d5704793f
MD5 cae337c2f817b831c9fd36a7b4440227
BLAKE2b-256 ee7c1fa02af7367523edc121a7f563ca68a5a5e15f43b7fb043dc624ef4ade51

See more details on using hashes here.

Provenance

The following attestation bundles were made for openbb_adanos-2.0.0-py3-none-any.whl:

Publisher: publish-pypi.yml on adanos-software/openbb-adanos

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page