TradingView-only: news sentiment
market_sentimentScores news sentiment for a stock symbol using Finviz headlines offline or Marketaux when configured, returning a sentiment score, label, counts, and top headlines without fabricating results.
Instructions
News-based sentiment for a symbol, with no API key required.
Prefers the licensed Marketaux entity sentiment when MARKETAUX_API_TOKEN
is set. Without a token it scores Finviz headlines locally (VADER with a
financial lexicon) — deterministic, offline and free. Either way the payload
names the backend in provider/scoring and never fabricates a score
when there is no material to score.
Args: symbol: Ticker. category: News category (used by the Marketaux path only). limit: Headlines to analyse.
Returns:
Envelope labelled TRADINGVIEW whose data carries
sentiment_score, sentiment_label, the bullish/bearish/neutral
counts and the strongest headlines.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| symbol | Yes | ||
| category | No | all |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||