All Work
Trading Automation

TradingView Web Bot

Browser automation bot that receives TradingView alerts via webhook and executes trades by simulating manual clicks on the TradingView interface.

Fully automated trade execution through browser simulation, with support for up to 8 concurrent strategy instances

PythonSeleniumTradingViewWebhooksRedisAutomation

The Brief

The client traded with a prop firm that required strictly manual trading. Automated trading via broker APIs or any direct platform integration was not permitted. The challenge was to automate signal execution without triggering the broker’s automated trading detection.

What We Built

The solution routes TradingView alerts through a webhook into a browser automation layer. When a signal fires, the system clicks the buy or sell button directly on the TradingView interface using a real Firefox browser, making each order appear as a manual action from the trader’s perspective.

The architecture runs as three components. A Flask webhook server receives incoming TradingView alerts and pushes them into a Redis queue. A Selenium bot reads from the queue and performs the click actions on the live TradingView page. Ngrok exposes the local webhook endpoint to receive alerts from TradingView’s servers.

Multiple bot instances can run in parallel, each listening to its own strategy queue, allowing multiple strategies to operate simultaneously without interference. The number of instances is limited only by the available system resources.

Interested in a similar project?

Get in touch