Projects
Finance & Trading

Grid Trading Bot & Strategy Backtester

A Python grid trading bot connected to Binance for automated operations, plus backtesting scripts that analyze large amounts of trading pairs with simulated strategy combinations.

Grid Trading Bot & Strategy Backtester

Technologies

Pythonpython-binancePandasNumPyBinance API

A grid trading bot built in Python using the python-binance library, connected directly to Binance for fully automated trading operations. The bot executes grid strategies — placing buy and sell orders at predefined intervals — managing positions and risk in real time.

Alongside the live bot, a separate suite of backtesting scripts was developed to analyze large amounts of trading pairs simultaneously. These scripts calculate statistics across different combinations of trading strategies in a simulated environment built entirely in Python, evaluating profit and loss scenarios before any real capital is deployed.

The backtesting engine processes historical data across hundreds of pairs, testing parameter combinations to find optimal configurations. Results include detailed P&L breakdowns, drawdown analysis, and win rate statistics for each strategy variant.