All ProjectsAI Platform · FinTech

QuantPulse

Automated webhook-driven execution engine for Binance Futures

Project Overview

QuantPulse is an automated execution engine that receives alerts from TradingView webhooks and executes trades on Binance Futures. It includes advanced features such as multi-stage take-profit execution (TP1 at 60%, TP2 at 40%), trailing / break-even stop loss, multi-symbol concurrency, daily PnL limit guards, startup state auto-sync, and duplicate signal prevention to avoid double orders during network retries.

Explore our AI-Powered Solutions services

IndustryFinTech
Timeline3 months
ServicesAlgorithmic Trading, Backend Development, API Integration, Risk Management
What We Built

Key Features

Webhook Execution

Receives HTTP POST webhooks from TradingView alerts and processes them asynchronously.

Multi-stage TP/SL

Closes 60% at TP1, the rest at TP2, and shifts the stop loss to break-even automatically.

Duplicate Prevention

Deduplicates signals by symbol, direction, and a 30-second window to prevent double orders.

Risk Controls

Caps concurrent trades and pauses new entries when the daily loss limit is reached.

Auto-Sync Recovery

Rebuilds tracking state on startup from live Binance positions to avoid orphaned trades.

The Journey

Challenges & Solutions

Challenges
Duplicate signals

TradingView retries failed webhooks on timeout, which can cause duplicate trade execution.

Race conditions

Concurrent signals for different symbols (BTC, ETH, TAO) could cause state conflicts.

Orphaned positions

Crashes or restarts could wipe in-memory tracking, leaving active trades unmanaged.

Solutions
Rolling window gate

A 30-second, time-bucketed dedupe window suppresses retries while allowing valid re-entries.

Serialized locks

Symbol-level threading locks run symbols concurrently while serializing same-symbol signals.

Binance auto-sync

A startup routine queries Binance to reconstruct local tracking from actual open positions.

The Impact

%Automated execution
sSignal deduplication
%Order accuracy
xRisk-mgmt efficiency
A Closer Look

Gallery

Built With

Technology Stack

PythonFlaskBinance Futures APIWebhooksThreadingDocker
Let's build together

Ready to Work? Let's Chat.

Our team is ready to collaborate with you at every step from first consultation to launch.

Contact Us Today!