news-event-strategy

Convert sentiment-scored news events into time-decayed CSV signals for backtesting.

Updated Apr 14, 2026
One-click install
npx skills add https://github.com/loanntc/Paave --skill news-event-strategy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: news-event-strategy
Source: https://github.com/loanntc/Paave/tree/main/skills/event-driven
Command: npx skills add https://github.com/loanntc/Paave --skill news-event-strategy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pandas, numpy.

What problem does it solve?

It converts unstructured news, announcements, and macro events into a structured, time-decayed event signal that can be combined with technical signals for trading decisions.

Core Features & Use Cases

  • Event-driven sentiment scoring: Fetches full news/announcement text (via read_url) and scores impact on a standardized scale from -1.0 to 1.0.
  • CSV event data layer: Produces an event CSV using the date,event_type,score,source,summary schema to keep data separate from trading logic.
  • Time-decay aggregation + weighted blending: Applies exponential time decay to event scores and aggregates them into an event signal, then blends it with the technical signal using an alpha weight.
  • Use case: For a backtest, maintain an instrument-specific historical event CSV and generate daily event signals that naturally remain zero on event-sparse days.

Quick Start

Create a historical event CSV in the required schema and then use signal_engine.py to compute the time-decayed event signal and combine it with your technical signal using alpha=0.6.

Frequently Asked Questions about news-event-strategy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert news sentiment into trading signals for backtesting?

To convert news sentiment into trading signals, you fetch full text via read_url, score impact on a -1.0 to 1.0 scale, and aggregate scores into a time-decayed event CSV for backtesting.

What is the required CSV schema for event-driven backtesting with news announcements?

The required CSV schema for event-driven backtesting includes date, event_type, score, source, and summary columns to separate unstructured event data from your trading logic.

How do I combine event signals with technical signals using pandas and numpy?

You combine event signals with technical signals using a weighted alpha aggregation, blending time-decayed event scores with technical indicators and clipping the final value to [-1.0, 1.0].

How does time decay work when aggregating event scores from macro news?

Time decay applies an exponential reduction to event scores over time, aggregating them into a daily event signal that naturally remains zero on event-sparse days without manual intervention.

How do I prevent look-ahead bias when generating event-driven trading signals?

You prevent look-ahead bias by enforcing strict use of knowable dates in the event CSV schema, ensuring your backtest only uses information available up to the signal generation date.

Do I need LLM prompting to score sentiment for an event-driven trading strategy?

Yes, LLM prompting is used to fetch full news text and score its impact on a standardized scale from -1.0 to 1.0 before applying time decay and aggregating the results.