Signal Futures Python
Paper-trading signals for Binance futures, with alerts on Telegram.
- My part
- Sole developer
- Built with
- Python, asyncio, PostgreSQL, WebSocket, Telegram, Docker
- Type
- Personal project

What it does
A personal system for testing trading rules without real money. It produces signals, posts them to Telegram, and tracks each one to its target or stop.
What I built
I built it as a personal project: the scanner, the price monitoring, the database, and the Telegram delivery.
How it works
- Gates before a signal
- After each hourly close it scans about 300 USDT perpetuals and records a signal only if it passes an ATR veto, the four-hour trend, a minimum reward-to-risk, a risk cap, a per-cycle budget, and a cooldown after stop-outs.
- Two ways to watch prices
- A one-minute WebSocket stream is the fast path, and an always-on REST check runs independently, so a hit is still caught when the stream silently stalls.
- An outbox for Telegram
- Messages go through a database outbox claimed with FOR UPDATE SKIP LOCKED, with a lease and an attempt counter. Follow-ups wait for the original signal message so replies stay threaded.
- One code path for tests and live
- New trades commit under a Postgres advisory lock to respect the open-trade cap, and tests check that the backtester and the live scanner run the same code.
Screens


Hiring for a backend role?
Send the position and a little about your team, product, and stack. For a website or app for your business, see my studio, AdityaBuild (opens in a new tab).