بنقرة واحدة
sapphire-webhook
TradingView webhook receiver — validates and routes signals to alpha engine
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
TradingView webhook receiver — validates and routes signals to alpha engine
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
Infrastructure-as-code — GCP Terraform, Pi deployment configs, Docker
Trading engine — signals, risk, execution, self-improvement loop
PM hub — project board, task scoring, event stream, Telegram integration
Send a test trading signal through the Sapphire pipeline
Agent dispatch — OpenClaw, NemoClaw, orchestrator, runtime policy
Aster DEX trading bot — Solana perpetuals, CEX-style API, Shield HFT strategy
| name | sapphire-webhook |
| description | TradingView webhook receiver — validates and routes signals to alpha engine |
| type | service |
| runtime | python |
| deploy_target | windows-pc |
| dependencies | ["sapphire-core"] |
| entry_point | src/receiver.py |
| test_command | pytest tests/ |
Lightweight FastAPI service that receives TradingView alerts and routes them to the alpha engine. Validates webhook secrets, normalizes signal format, and publishes a type:trading event.
{
"symbol": "ETHUSD",
"action": "buy" | "sell" | "close",
"strategy": "v3_ultra" | "multi_screener",
"price": 3200.50,
"confidence": 0.87
}
secret field must match WEBHOOK_SECRET env var).env on Windows PCSignal routing: TradingView → Cloudflare Tunnel → Windows PC:9090 → rari1:18081 + rari2:18081 (Tailscale)
# Set env vars in C:\sapphire\.env
# WEBHOOK_SECRET, ALPHA_ENGINE_RARI1, ALPHA_ENGINE_RARI2, OLLAMA_URL
cd C:\sapphire\webhook
python -m uvicorn src.receiver:app --host 0.0.0.0 --port 9090
# TradingView alert URL: https://webhook.sapphirealpha.xyz/webhook/tradingview
See infra/cloudflare/SETUP.md for public HTTPS ingress setup.