Bo Bo Aung profile photoBo Bo AungPortfolio

CCXT Futures Bot

An automated Binance futures bot using CCXT with EMA-based trend logic, engulfing entries, and bracketed risk controls.

PythonCCXTBinance FuturesEMA StrategyEngulfing PatternTP/SL AutomationLeverage ControlPandasSchedulerUTC to Asia/Yangon
CCXT Futures Bot – 1
CCXT Futures Bot – 2

Project overview

Summary

A production-focused Python trading bot for Binance USDT-M futures built with CCXT. The bot fetches OHLCV on a configurable timeframe (for example, 5m), computes EMA(12/26) for trend detection, and confirms entries with bullish or bearish engulfing and three-line-strike logic. It adjusts leverage via Binance Futures API, sizes orders from a USDT budget, and automatically places bracket risk management using take-profit-market and stop-market orders with a TP to SL ratio. The engine inspects existing positions and open orders to avoid duplicating TP or SL, converts timestamps to Asia/Yangon, and runs on a scheduler loop with robust logging and centralized helpers. Designed for clear separation of concerns and safe defaults, including token-gated namespaces for future alerts if extended.