Economic Calendar Trading Skill

SkillCommerce & finance

Skill #55 | Category: Event Trading | Inspired by: TradingView Calendar, ForexFactory, Investing.com

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Economic Calendar Trading Skill skill

About this capability

About AI quantitative trading platform for crypto, stocks, and forex with backtesting, live trading, market data, and multi-agent research.vibe-trading ,trading-agents,ai-trader,ai-trading

What this skill tells your AI

The instructions your AI receives, as published by signal-execution-labs/forex-trading-ai-agent in skills/economic-calendar/SKILL.md and read by ahel’s review.

Skill #55 | Category: Event Trading | Inspired by: TradingView Calendar, ForexFactory, Investing.com

Overview

Event-driven trading automation. Track high-impact economic events (NFP, CPI, FOMC, earnings) and execute strategies around them.

TradingView shows economic calendar but doesn't automate trading around it. We do.

Features

1. Calendar Aggregation

  • Multiple Sources: ForexFactory, Investing.com, TradingView, DailyFX
  • Event Types: Economic indicators, central bank meetings, earnings, crypto events
  • Impact Filtering: High/Medium/Low
  • Custom Events: Add your own reminders

2. Pre-Event Strategies

  • Straddle/Strangle: Buy volatility before high-impact events
  • Position Squaring: Auto-close risky positions before events
  • Range Detection: Calculate expected move from options pricing
  • Buffer Zones: Auto-stop trading X minutes before events

3. Post-Event Strategies

  • Breakout Trading: Enter on strong deviations from forecast
  • Fade Strategy: Fade initial spike after 15-30 minutes
  • Continuation: Ride momentum if break confirms
  • Historical Playback: How did this event move markets last time?

4. Smart Notifications

  • Pre-Event Alerts: 1h, 15m, 5m before
  • Deviation Alerts: Actual vs Forecast deviation
  • Position Alerts: Warn if exposed to event
  • Volatility Alerts: IV spike detection

5. Event Analysis

  • Historical Impact: Average move for this event (last 12 months)
  • Deviation Correlation: How much move per deviation unit
  • Best Pairs: Which instruments react most
  • Duration: How long effect typically lasts

Event Types

Forex/Macro

EventImpactTypical MovePairs Affected
NFP (Non-Farm Payrolls)🔴 High50-150 pipsUSD pairs
CPI (Inflation)🔴 High30-100 pipsUSD, EUR, GBP
FOMC Rate Decision🔴 High100-200 pipsAll USD pairs
ECB Rate Decision🔴 High50-150 pipsEUR pairs
GDP🟡 Medium20-50 pipsCountry currency
PMI🟡 Medium15-40 pipsCountry currency
Retail Sales🟡 Medium20-40 pipsCountry currency

Crypto

EventImpactTypical Move
FOMC/Rate Decision🔴 High3-10%
CPI Release🔴 High2-5%
ETF Approval/Rejection🔴 High5-20%
Protocol Upgrade🟡 Medium2-8%
Token Unlock🟡 Medium2-5% (down)
Exchange Listing🟡 Medium5-15%

Stocks

EventImpactTypical Move
Earnings Release🔴 High5-20%
Guidance Update🔴 High3-10%
FDA Approval🔴 High10-50%
Dividend Announcement🟢 Low1-3%
Stock Split🟡 Medium2-5%

API Reference

import { EconomicCalendar } from 'kit/skills/economic-calendar';

const calendar = new EconomicCalendar({
  sources: ['forexfactory', 'investing', 'tradingview'],
  timezone: 'Europe/Berlin',
  minImpact: 'high'
});

// Get upcoming events
const events = await calendar.getUpcoming({
  hours: 24,
  currencies: ['USD', 'EUR'],
  impact: ['high', 'medium']
});

// Subscribe to event alerts
calendar.onEvent('pre', { minutesBefore: 15 }, (event) => {
  console.log(`⚠️ ${event.name} in 15 minutes!`);
});

// Get historical impact
const history = await calendar.getHistoricalImpact('NFP', {
  months: 12,
  pair: 'EURUSD'
});
// → { avgMove: 67, maxMove: 142, avgDuration: '4h' }

// Auto-square positions before events
calendar.enableAutoSquare({
  minutesBefore: 5,
  impactLevel: 'high',
  symbols: ['EURUSD', 'GBPUSD']
});

Strategies

1. NFP Straddle (Options)

const nfpStrategy = new EventStrategy({
  event: 'NFP',
  minutesBefore: 30,
  action: 'straddle',
  size: 0.01, // lot size
  takeProfit: 50, // pips
  stopLoss: 20
});

2. CPI Breakout (Spot)

const cpiBreakout = new EventStrategy({
  event: 'CPI',
  trigger: 'post',
  condition: {
    deviationPercent: 0.2 // 0.2% deviation from forecast
  },
  action: 'breakout',
  direction: 'deviation', // trade direction of deviation
  entryDelay: '30s', // wait 30 sec after release
  takeProfit: 30,
  stopLoss: 15
});

3. Earnings Fade

const earningsFade = new EventStrategy({
  event: 'earnings',
  symbol: 'AAPL',
  trigger: 'post',
  entryDelay: '15m', // wait for initial spike
  action: 'fade',
  takeProfit: '50%', // 50% retracement
  stopLoss: 'new_high' // stop if new high made
});

Dashboard Widget

The skill adds a dashboard widget showing:

  • Next 5 events with countdown timers
  • Current exposure to event-sensitive positions
  • Historical impact chart
  • Quick action buttons (square, hedge, set alerts)

Configuration

# kit.yaml
skills:
  economic-calendar:
    sources:
      - forexfactory
      - investing
      - tradingview
    timezone: Europe/Berlin

    alerts:
      telegram: true
      discord: false
      email: true

    auto_actions:
      square_before_high_impact: true
      square_minutes: 5

    strategies:
      - name: NFP Straddle
        enabled: true
        risk_percent: 1

K.I.T. Advantages

FeatureTradingViewForexFactoryK.I.T.
Calendar Display
Auto Trading
Historical AnalysisBasic✅ Advanced
Position Squaring
Multi-Source
Custom Events
AI Predictions
Price$12.95+/moFreeFree

Files

  • SKILL.md - This documentation
  • economic-calendar.ts - Main implementation
  • strategies.ts - Pre-built event strategies
  • sources/ - Calendar source adapters
  • index.ts - Exports

Signals

GitHub stars
136
Forks
870
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
economic-calendar
Source
github.com/signal-execution-labs/forex-trading-ai-agent