event-driven

Convert news into time-decayed event signals for algorithmic trading.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/ebrahim-sani/trading-automation --skill event-driven-ebrahim-sani
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: event-driven
Source: https://github.com/ebrahim-sani/trading-automation/tree/main/vibe-trading/agent/src/skills/event-driven
Command: npx skills add https://github.com/ebrahim-sani/trading-automation --skill event-driven-ebrahim-sani

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

News, announcements, and macro events are unstructured and temporally diffuse, making it difficult for algorithmic systems to quantify and integrate their market impact; this Skill standardizes event information into scored, time-decayed signals that can be combined with technical indicators to drive trading decisions while avoiding look-ahead bias.

Core Features & Use Cases

  • LLM-powered scoring: Standardized prompt to convert article text into a -1.0 to 1.0 impact score.
  • Structured event layer: Enforces a CSV schema (date,event_type,score,source,summary) for reproducible backtests and record-keeping.
  • Time-decay engine: Exponential decay of event scores across an event lookback window to model diminishing impact.
  • Signal aggregation: Weighted combination of technical and event signals to produce a final tradable signal.
  • Use Case: Backtest an equity or FX strategy by maintaining historical event CSVs per instrument, scoring articles with the LLM, applying decay, and combining with existing technical signals.

Quick Start

Use the event-driven skill to score a news article with the LLM, append the result to the event CSV using the required schema, and compute the time-decayed event signal for today's trade date.

Frequently Asked Questions about event-driven

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

FAQPage Schema
How do I convert news articles into algorithmic trading signals?

To convert news articles into algorithmic trading signals, you use an LLM scoring step to assign a -1.0 to 1.0 impact score to the text, then apply exponential time decay to model diminishing market impact over a lookback window.

How does time decay work for event signals in backtesting?

Time decay for event signals works by applying exponential decay to historical news scores across an event lookback window, modeling diminishing market impact to prevent look-ahead bias when combining them with technical indicators for backtesting.

What is the required CSV schema for storing historical event data for trading strategies?

The required CSV schema for storing historical event data includes five specific columns: date, event_type, score, source, and summary, ensuring reproducible backtests and standardized record-keeping across equities, FX, and crypto.

Can I combine LLM-scored news signals with technical indicators for live trading?

Yes, you can combine LLM-scored news signals with technical indicators for live trading by using weighted aggregation to merge the time-decayed event scores with your existing technical signals into a final tradable momentum signal.

Does this event signal aggregation approach work for crypto and FX markets?

Yes, this event signal aggregation approach works for crypto and FX markets, alongside equities. It standardizes unstructured macro news and announcements into time-decayed signals applicable across multiple asset classes for algorithmic trading.

Why should I use a constrained -1.0 to 1.0 scale for LLM news scoring?

You should use a constrained -1.0 to 1.0 scale for LLM news scoring because it standardizes unstructured article text into a quantifiable metric, allowing consistent weighted aggregation with technical indicators to produce a final tradable signal.