Docs / News and sentiment

News as a strategy input

Turn scored news into a trading input — a bias that leans with the mood, a signal that reacts to a headline, or grounding for a Squad's debate.

The Market News feed is for reading. This page is about acting — turning that scored stream into an input your strategies and Squads can trade on. It is one of the platform's most distinctive ideas: sentiment is not a separate "news trading" mode, it is just another line your rules can read.

The sentiment lines#

Add the NewsSentiment indicator to a strategy (there is a one-click banner for it on the Indicators tab) and it publishes a set of per-candle lines, derived from the tagged articles that fall within each candle:

LineWhat it holds
NewsSentiment.sentiment_scoreWeighted mean mood, −1 (all bearish) to +1 (all bullish); 0 when there is no news
NewsSentiment.article_countHow many articles landed in the candle
NewsSentiment.high_urgency_countHigh-urgency articles in the candle
NewsSentiment.bullish_countBullish articles in the candle
NewsSentiment.bearish_countBearish articles in the candle

The score is weighted by each article's confidence and urgency, so a high-conviction, high-urgency story counts for more than a throwaway mention. All the lines align to your candles with no look-ahead — the value at a candle's open reflects only articles published before it, so a backtest sees exactly what a live strategy would have.

Three ways to use it#

Tagged articles become a per-candle sentiment score, which can drive a bias gate, a signal condition, or ground a Squad's debate Tagged news bullish / bearish sentiment_score per candle Bias gate trade only with the mood Signal condition react to a headline Squad grounding the news analysts read it
The same score, three jobs. Lean a strategy with the mood, fire on a specific headline, or feed the Squad's news analysts the evidence they argue over.

As a bias — trade with the mood#

The most robust use. Because news arrives in bursts and reads 0 on the candles between, storing it in a bias lets a strategy stay aware of the recent mood for as long as it lasts, rather than only on the candle a headline landed. Set a bias long when NewsSentiment.sentiment_score is at or above a threshold like 0.2, and gate your entries on it.

This is exactly the persistence pattern — a direct signal catches the instant, a bias remembers it. Pair the score with NewsSentiment.article_count so a single stray article can't swing the bias:

Bias long when sentiment_score is greater or equal to 0.2 AND article_count is greater or equal to 2.

As a signal condition — react to a headline#

When you do want to act in the moment, reference a sentiment line directly in a signal rule. A common one is a defensive exit: close a position when NewsSentiment.high_urgency_count is greater or equal to 1 — a panic headline gets you out before the technicals catch up.

As committee grounding — the analysts read it#

If a Squad is mapped to the strategy, its News and Sentiment analysts read this same tagged stream when they argue. So the news does not just move a line on your chart — it becomes evidence a bull and a bear debate before the Squad reaches a verdict.

The combination that is hard to get elsewhere#

Put together, these turn news into a disciplined edge rather than a gut reaction:

  1. Sentiment shapes the signal — the mood gates your entries, so you only trade in the direction the news supports.
  2. A Squad argues it — a Squad's news and sentiment analysts pressure-test whether the story actually justifies the trade.
  3. Paper trading proves it — you run the whole thing on simulated capital until it has a record, before a cent is at risk.

Recipe 3 builds a working version of exactly this.

WARNING

Sentiment is a noisy input — treat it as one factor among several, never a standalone trigger. Backtest any sentiment-driven rule the way you would a technical one, and confirm it holds up out of sample before you trust it.

Was this page helpful?