Backend & Data Engineer

← Back to home

Distributed trading RPA

Problem

A trading client needed TradingView alerts turned into coordinated browser actions across machines, with configuration a non-technical person could edit.

Approach

Playwright bots run on multiple machines with concurrent instances. Go webhook endpoints on GCP Cloud Run receive TradingView alerts. Redis Cloud coordinates the bots across networks. A companion Telegram bot SaaS on Railway uses FastAPI, PostgreSQL, and a React Telegram Mini App, with purchases.

Outcome

Playwright bots on multiple machines, Cloud Run webhooks, and Redis are being assembled so TradingView alerts become coordinated browser actions, with a Telegram Mini App for configuration a non-technical person can edit.

Amber flowchart on a black field: a mini app sets bots in Telegram and saves them to a cloud API for bots and accounts, which writes Postgres to store the setup. A cloud function publishes indicator alerts to Redis as a signal channel, which signals a trading robot on the PC. The cloud API sends a plan to the robot and the robot returns a run result. The robot places an order on the trading site.

Skills used

  • Playwright
  • Go
  • Cloud Run
  • Redis
  • FastAPI
  • PostgreSQL
  • React
  • Railway