Node mode was recently added to OctoBot in version 3. See the getting started guide for more information.
Having multiple OctoBots on one computer
OctoBot is designed to be lightweight. While making OctoBot trade on many pairs and exchanges with a very large amount of trades can make it take a lot of CPU and RAM on your computer, OctoBot usually requires less than 1GB of ram and less than 1% of CPU.
Running as many manual OctoBots as you need on a single computer is most often possible, here is how.
One node process manages your wallet and can run several manual OctoBots (each with its own web UI port in the 5001+ range). To run a second node on the same machine, use a separate install folder and a different node port (see environment variables).
How to run many manual OctoBots from one node?
- Open your node at http://localhost:8000/.
- Click New OctoBot for each additional bot you need. The node assigns a free port in the configured range (5001-5010 by default in Docker).
- Configure each bot from its own manual web interface (for example
http://localhost:5001/andhttp://localhost:5002/).
Both bots can run at the same time and connect to the exchange account of your choice.
Legacy setup: duplicate folders (without node)
If you run standalone OctoBot installs without the node UI:
- Stop your current OctoBot if it is running
- Duplicate the whole folder of your current OctoBot
- From your new folder, start the new OctoBot. It will start on the same web address as the previous bot
- Change the new OctoBot web interface port value (see the web interface guide)
- Restart your new OctoBot
Why each bot needs its own port and data folder?
Each manual OctoBot needs:
- Its own configuration and logs (one node can host several bots; legacy installs use one folder per bot)
- A unique web interface port. Two manual OctoBots cannot share the same port.
Benefits of running multiple OctoBots
While a single OctoBot can be used to trade as many trading pairs as needed on multiple exchanges, running multiple OctoBots enables to:
- Trade on many accounts on the same exchange
- Split an account portfolio into assets that can be traded using different strategies
- Trade both spot and futures markets on the same exchange
- Use multiple strategies at once on real and / or risk-free simulated trading
Limits related to running many bots at once
- Rate limit: Exchanges have rate limit policies that can prevent multiple OctoBots running from the same IP address from properly fetching market data. When using multiple OctoBot on the same exchange, it is important to make sure not to receive rate limit related errors, or your IP might get temporarily banned.
- Bandwidth: Using multiple OctoBot will increase the required bandwidth to fetch and update all the necessary market data. Always make sure that your internet connection can properly handle this increase, or your strategies will run with a delay.
- RAM & CPU: When running multiple OctoBots on a low-end or overloaded computer, your bots might be slowed down if RAM or CPU are insufficient.