Adanos for Haystack
adanos-haystack adds Adanos stock and crypto market sentiment to Haystack pipelines and agents.
It retrieves structured signals from Reddit, X / FinTwit, financial news, and Polymarket without
adding trading or portfolio logic.
Installation
pip install adanos-haystack
Create an API key at adanos.org/register and provide it through the
ADANOS_API_KEY environment variable.
Free, Hobby, and Professional accounts use the same component. Adanos applies the request quota and historical lookback available to the API key's plan. See pricing for the current limits.
Component
AdanosMarketSentiment supports:
- sentiment for one stock or crypto asset
- trending assets
- aggregate market sentiment
- comparison of multiple assets
- asset search
- dataset statistics
Stocks can use reddit, x, news, or polymarket. Crypto sentiment uses reddit.
from haystack_integrations.components.tools.adanos import AdanosMarketSentiment
sentiment = AdanosMarketSentiment()
result = sentiment.run(
operation="sentiment",
asset_type="stock",
source="news",
symbol="NVDA",
from_date="2026-07-01",
to_date="2026-07-07",
)
print(result["result"])
The component supports synchronous run and asynchronous run_async calls.
Pipeline
from haystack import Pipeline
from haystack_integrations.components.tools.adanos import AdanosMarketSentiment
pipeline = Pipeline()
pipeline.add_component("sentiment", AdanosMarketSentiment())
result = pipeline.run(
{
"sentiment": {
"operation": "trending",
"asset_type": "stock",
"source": "reddit",
"limit": 5,
}
}
)
print(result["sentiment"]["result"])
Agent Tool
Wrap the component with Haystack's ComponentTool so an Agent can choose the appropriate operation
and inputs:
from haystack.tools import ComponentTool
from haystack_integrations.components.tools.adanos import AdanosMarketSentiment
adanos_tool = ComponentTool(
component=AdanosMarketSentiment(),
name="market_sentiment",
description=(
"Get current and historical stock or crypto market sentiment from Reddit, "
"X / FinTwit, financial news, and Polymarket."
),
)
Pass adanos_tool to a Haystack Agent or a tool-capable Chat Generator.
Authentication And Errors
The API key is stored as a Haystack Secret and sent only in the X-API-Key request header. HTTP
errors expose the status code and optional Adanos request ID, but never the API key or upstream
response body.
- API reference: api.adanos.org/docs
- OpenAPI specification: api.adanos.org/openapi.json
- Adanos: adanos.org
Development
pip install hatch
hatch run fmt-check
hatch run test:all
License
Apache-2.0
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file adanos_haystack-0.1.1.tar.gz.
File metadata
- Download URL: adanos_haystack-0.1.1.tar.gz
- Upload date:
- Size: 15.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4b8b7aedf5d3cc74736057039dd80943e3db1e2d35b00b0676e1998405207610
|
|
| MD5 |
c099adf0bd97db6fbbc8f2ce73731a24
|
|
| BLAKE2b-256 |
18a663c571bdc6e32d8f441c375c85cd667c1fb3a4cede294f705f797324daa1
|
Provenance
The following attestation bundles were made for adanos_haystack-0.1.1.tar.gz:
Publisher:
release.yml on adanos-software/adanos-haystack
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
adanos_haystack-0.1.1.tar.gz -
Subject digest:
4b8b7aedf5d3cc74736057039dd80943e3db1e2d35b00b0676e1998405207610 - Sigstore transparency entry: 2438637926
- Sigstore integration time:
-
Permalink:
adanos-software/adanos-haystack@f4cf749e751a8e0c1a32491bd4a2e55bf2c26639 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/adanos-software
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@f4cf749e751a8e0c1a32491bd4a2e55bf2c26639 -
Trigger Event:
push
-
Statement type:
File details
Details for the file adanos_haystack-0.1.1-py3-none-any.whl.
File metadata
- Download URL: adanos_haystack-0.1.1-py3-none-any.whl
- Upload date:
- Size: 11.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4824eefc9a94d15f3c234610412b3ccd0683ae6dbf77939ae798fc79a9f99b9f
|
|
| MD5 |
73c8ed569f25a176ec82a713cc1c2f3d
|
|
| BLAKE2b-256 |
80e3e544c97367a1d13be86068f988d43666f603a6207e824ac0b93bb5a61184
|
Provenance
The following attestation bundles were made for adanos_haystack-0.1.1-py3-none-any.whl:
Publisher:
release.yml on adanos-software/adanos-haystack
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
adanos_haystack-0.1.1-py3-none-any.whl -
Subject digest:
4824eefc9a94d15f3c234610412b3ccd0683ae6dbf77939ae798fc79a9f99b9f - Sigstore transparency entry: 2438638359
- Sigstore integration time:
-
Permalink:
adanos-software/adanos-haystack@f4cf749e751a8e0c1a32491bd4a2e55bf2c26639 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/adanos-software
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@f4cf749e751a8e0c1a32491bd4a2e55bf2c26639 -
Trigger Event:
push
-
Statement type: