Datafeeds
Datafeeds
Section titled “Datafeeds”AlgoQuant Studio stores local datafeed and execution broker configurations that the editor, chart view, backtests, and live strategy runs can use.
Where to configure datafeeds
Section titled “Where to configure datafeeds”Open Settings → Data Feed to manage connections.
From this screen you can:
- add built-in or external datafeeds
- add execution broker connections
- give each connection a display name
- test connection settings
- select configured feeds from charts, strategy editor runtime settings, and strategy detail market-data settings
Display names are shown in AQS as Display Name (Provider) so you can keep multiple connections to the same provider clear.
MT5 datafeed setup in AQS
Section titled “MT5 datafeed setup in AQS”To use MetaTrader 5 market data in AQS:
- Open Settings → Data Feed.
- Select Add Broker → MT5.
- Enter an optional display name.
- Enter your MT5 account id, server, password, and
AQE_MT5_BRIDGE_TOKEN. - Leave Bridge Bind Address empty to use the default
127.0.0.1:18080, or set a different local address if you run multiple bridges. - Set an optional test symbol. If omitted, AQS uses
BTCUSD. - Click Test Connection to confirm account access, symbol metadata, and latest quote retrieval.
AQS uses the configured MT5 datafeed for chart candles, current prices in active insight views, and historical data loading where the selected runtime supports it.
MT5 broker setup in AQS
Section titled “MT5 broker setup in AQS”To use MT5 for live execution:
- Add an MT5 Broker connection from Settings → Data Feed.
- Use the same bridge token and bind address as the MT5 datafeed that will provide market data.
- In the editor runtime configuration, select the MT5 datafeed and MT5 broker for live mode.
- Start with a small test size and verify fills, stops, and open positions in the MT5 terminal.
Backtests can use an MT5 datafeed for historical candles, but backtest execution uses the paper broker. Live execution is where the MT5 broker connection is used.
Setting up the MT5 EA
Section titled “Setting up the MT5 EA”The AQS settings above assume the AQE MT5 Expert Advisor is already installed and attached to MetaTrader 5 with matching bridge settings.
For the engine-side bridge and Expert Advisor setup, see Setting up the MT5 integration.
Common checks
Section titled “Common checks”- The MT5 terminal is open and signed in.
- The AQE Expert Advisor is attached to a chart and allowed to run.
- The AQS token matches the Expert Advisor token.
- The bridge bind address matches on both sides.
- The test symbol exists on your broker and uses the exact broker symbol name.
- If another live strategy already owns a bridge port, configure another MT5 datafeed with a different bind address.