tradingview-webhook

tradingview-webhook is a skill for Claude Code, Codex from Signal-Execution-Labs/forex-trading-ai-agent. It costs 0 tokens per session (965 once invoked), scanned A, original, MIT.

A webhook server that receives alerts from TradingView and can route them to exchange connectors for automatic trade execution. A webhook is an HTTP request sent by one service to another when an event occurs.

In plain words
What is it for?
It is for receiving JSON or text alerts, parsing TradingView placeholders, selecting a strategy, logging alert history, and sending trades to connected exchanges.
Why use it?
It removes the need to react to every TradingView alert manually. It also records alerts and can direct different strategies to different handling routes.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It is for receiving JSON or text alerts, parsing TradingView placeholders, selecting a strategy, logging alert history, and sending trades to connected exchanges.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/signal-execution-labs/forex-trading-ai-agent/tradingview-webhook
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Signal-Execution-Labs/forex-trading-ai-agent --skill tradingview-webhook
Clone the repo
git clone --depth 1 https://github.com/Signal-Execution-Labs/forex-trading-ai-agent

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for tradingview-webhook

README.md
[![agentmods](https://agentmods.dev/badge/skills/signal-execution-labs/forex-trading-ai-agent/tradingview-webhook/github.svg)](https://agentmods.dev/skills/signal-execution-labs/forex-trading-ai-agent/tradingview-webhook)
Your own site
<a href="https://agentmods.dev/skills/signal-execution-labs/forex-trading-ai-agent/tradingview-webhook"><img src="https://agentmods.dev/badge/skills/signal-execution-labs/forex-trading-ai-agent/tradingview-webhook/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for tradingview-webhook

Your own site · 80×15
<a href="https://agentmods.dev/skills/signal-execution-labs/forex-trading-ai-agent/tradingview-webhook"><img src="https://agentmods.dev/badge/skills/signal-execution-labs/forex-trading-ai-agent/tradingview-webhook.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 965 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00965
Opus 5 $0.00000 $0.00483
Sonnet 5 $0.00000 $0.00193
Haiku 4.5 $0.00000 $0.00097

Measured 8d ago against content hash 9e917625e3ba, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

tradingview-webhook scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (webhook_server.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

1. Check server is running: `curl http://localhost:8080/status`
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/tradingview-webhook/SKILL.md · 168 lines

How it starts

The opening of the file, as written. The whole thing — 168 lines — stays where its author put it; the contents beside it link to each section on GitHub.

TradingView Webhook Receiver

Receive TradingView alerts via webhook and execute trades automatically.

Features

  • HTTP webhook server (configurable port)
  • Parse JSON and text alert formats
  • Support TradingView placeholders ({{strategy.order.*}})
  • Multi-strategy routing
  • Trade execution via exchange connectors
  • Alert logging and history

Setup

1. Start the Webhook Server

# Start webhook server on port 8080 (default)
python webhook_server.py

# Or specify custom port
python webhook_server.py --port 3333

2. Configure TradingView Alert

In TradingView:

  1. Create an alert on your indicator/strategy
  2. Set webhook URL: http://your-server:8080/webhook
  3. Alert message format (JSON recommended):
{
  "action": "{{strategy.order.action}}",
  "symbol": "{{ticker}}",
  "price": {{close}},
  "quantity": {{strategy.order.contracts}},
  "strategy": "my-strategy-name",
  "secret": "your-secret-key"
}

3. Text Format (Alternative)

BUY BTCUSDT @ 45000 qty=0.1 tp=47000 sl=44000

Alert Message Formats

JSON Format (Recommended)

{
  "action": "buy|sell|close",
  "symbol": "BTCUSDT",
  "price": 45000,
  "quantity": 0.1,
  "take_profit": 47000,
  "stop_loss": 44000,
  "strategy": "strategy-name",
  "secret": "your-webhook-secret"
}

Pine Script Strategy Placeholders

Placeholder Description
{{strategy.order.action}} buy, sell
{{strategy.order.contracts}} Position size
{{strategy.order.price}} Order price
{{strategy.order.id}} Order ID
{{strategy.order.alert_message}} Custom message
{{ticker}} Symbol
{{close}} Close price
{{time}} Alert time

Configuration

Edit config.yaml:

webhook:
  port: 8080
  secret: "your-secret-key"  # Optional authentication
  
strategies:
  my-ma-cross:
    exchange: binance
    default_quantity: 0.01
    use_market_orders: true
    
  my-rsi-strategy:
    exchange: bybit
    default_quantity: 100
    use_market_orders: false

logging:
  level: INFO
  file: webhook_alerts.log

Read the full file on GitHub · 168 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 168 lines · 0 tokens per session scan A 9e917625e3ba

Subscribe to this mod's changes

tradingview-webhook is a skill published in the GitHub repository Signal-Execution-Labs/forex-trading-ai-agent (136 stars, last pushed 8d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 965 tokens. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.