TradeWorms

Forex trading bot for MetaTrader 5

TradeWorms connects its Python engine to a local MetaTrader 5 terminal. Your broker account stays yours; the terminal provides the market data and trading connection.

MT5 setup requirements

The MetaTrader 5 Python integration needs a supported Windows environment with the terminal installed on the same machine. Sign in to the intended broker server, verify the instruments available to your account, and configure the login and credential environment-variable names described in the setup guide.

Check symbol suffixes, trading sessions, lot sizes and margin requirements with your broker. A broker offering MT5 may have different demo and live permissions. FxPro MT5 accounts use this connection path; MT4 and cTrader accounts need their respective adapters instead.

MT4 and cTrader are separate connections

For MetaTrader 4, the download includes TradeWormsBridge.mq4. Attach it to a terminal chart and configure the file directory used by the bot. This is a file-based bridge, not a native Python MT4 API, and the terminal must remain running.

cTrader support uses broker-provided FIX quote and trade sessions over TLS. Confirm your account has FIX credentials and the instrument identifiers you need. The adapter builds candles from live quotes; it does not fetch historical bars, so use CSV data for historical backtests. This is not a cTrader Automate integration.

Test your forex workflow in paper mode

Keep TradeWorms in its default paper mode while checking signals, sizing and risk settings. A broker demo account offers another rehearsal of the connection, but it is not equivalent to real-market liquidity or execution.

Going live requires explicit configuration and the phrase I ACCEPT LIVE TRADING RISK. Forex and CFDs can involve leverage and substantial losses. Spread changes, swaps, gaps and rejected orders should be part of your evaluation, not assumptions hidden behind a backtest result.

TradeWorms sells trading software, not investment advice. Algorithmic trading involves substantial risk of loss and is not suitable for every investor. Past or simulated performance does not guarantee future results.