{"repo":"leionion/tradingview-webhook-to-bybit-lite","free":true,"listed":false,"github":"https://github.com/leionion/tradingview-webhook-to-bybit-lite","clone":"git clone https://github.com/leionion/tradingview-webhook-to-bybit-lite.git","description":"A 50-line Flask bridge that turns any TradingView alert into a live executed trade on Bybit with zero lag.","language":"Python","stars":15,"topics":["algo-trading","automated-trading","bybit","bybit-api","crypto-trading","exchange-api","flask","python","quant-trading","self-hosted"],"license":null,"category":"trading","readme_excerpt":"TradingView Webhook to Bybit Production-ready webhook bridge for executing Bybit orders from TradingView alerts with strong safety defaults. What Is Implemented This project is fully implemented as a robust Flask service (not a minimal prototype). It includes: - TradingView webhook endpoint: POST /webhook - Health endpoint: GET /health - Payload schema validation with Pydantic - Webhook secret authentication via configurable header - Paper vs live execution modes - Live execution gate ( ALLOW LIVE WITHOUT OVERRIDE ) - Bybit V5 request signing and order submission - In-memory replay/duplicate protection (TTL-based) - Structured JSON logging for operations and failures - Automated test suite with success and failure cases Architecture Project Structure Requirements - Python 3.10+ - Bybit API key/secret (only required for live mode) Quick Start 1) Clone and install dependencies: 2) Configure environment: 3) Run the service: 4) Verify health: Environment Variables Core settings (see .env.example for full list): - BYBIT API KEY - BYBIT API SECRET - BYBIT TESTNET ( true false ) - BYBIT RECV WINDOW (default: 5000 ) - HOST (default: 0.0.0.0 ) - PORT (default: 5000 ) - WEBHOOK SECRET (recommended for production) - WEBHOOK SECRET HEADER (default: X-Webhook-Secret ) - DEFAULT MODE ( paper live , default: paper ) - ALLOW LIVE WITHOUT OVERRIDE ( false by default) - ENABLE DEDUP ( true by default) - DEDUP TTL SECONDS (default: 120 ) Webhook Payload Required fields Optional fields - price (","default_branch":null,"files":null,"tree":[],"storefront":"/r/leionion","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/leionion/tradingview-webhook-to-bybit-lite/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}