gitmyhub

OctoBot

Python ★ 6.2k updated 19h ago

Free open source crypto trading bot to automate AI, Grid, DCA and TradingView strategies on Binance, Hyperliquid and 15+ exchanges, with a simple interface.

OctoBot is a free, open-source cryptocurrency trading bot that automatically runs your chosen trading strategies around the clock on over 15 exchanges including Binance and Coinbase.

PythonCCXTDockersetup: moderatecomplexity 3/5

OctoBot is a free, open-source program that automatically executes cryptocurrency trading strategies on your behalf. Instead of watching charts and placing orders manually, you configure a strategy once and OctoBot runs it around the clock, connecting directly to your exchange account to buy and sell based on the rules you set. It has been in active development since 2018 and is written in Python.

The bot supports several built-in strategy types. Grid trading divides a price range into a grid and automatically buys when price falls and sells when it rises. DCA (dollar-cost averaging) invests a fixed amount at regular intervals to reduce the impact of price swings. You can also connect OctoBot to TradingView, a popular charting platform, so that alerts from your own indicators or scripts there trigger real trades. There is also an AI connector that lets you hook the bot up to language models from OpenAI or locally-run Ollama models to inform trading decisions. Social signals from sources like Google Trends and Reddit are supported as well.

OctoBot works with more than 15 exchanges including Binance, Coinbase, MEXC, and Hyperliquid, using a library called CCXT to communicate with them. Before committing real money, you can test a strategy using the built-in backtesting engine, which runs your strategy against historical price data, or use paper trading to simulate trades in real time without spending anything.

The bot can be run on your own computer or hosted on a cloud server, and it is manageable through a web interface, a Telegram bot connection, or a mobile app available for iOS and Android. Once running on a server, the web interface lets you monitor open positions, recent trades, and portfolio value from anywhere. Installation is available via Docker, direct Python setup, or through the OctoBot cloud hosting service if you prefer not to manage your own server.

Where it fits