MT5 Bridge

MT5 Bridge — MT5Bridge

Provider ID96

Make Obermind the venue for MetaTrader 5 clients on Obermind Stream — liquidity provision, market data dissemination and aggregation, and order routing into Obermind. Configure market data (TickAdd publish), execution (dealer against Obermind), or both. TickAdd is the quote path, not the whole product.

  • MT5 Bridge
  • CFD
  • FX
  • Integrations
  • Market Data
  • OMS / EMS
  • Order Execution

Deployment guide

MT5 Bridge for White Label Trading Platforms on Obermind

Deployment guide for MT5Manager, MT5Synced, and MT5Bridge — Obermind as MT5 venue, Stream XML, Dash linking, and dual Synced + Bridge setup.

Read the full guide.

Overview

MT5Bridge is how MetaTrader 5 clients treat Obermind as their venue. It covers liquidity provision, market data dissemination and aggregation, and routing orders into Obermind Stream. It is not limited to pushing prices.

Two switches, used on their own or together:

  • PublishPricesToMt5 sends Obermind bid and ask into MT5 with TickAdd. Obermind is the market data provider.
  • EnableDealer routes MT5 dealer flow into Obermind as the execution venue, against your Obermind Stream liquidity stack.

Keep EnableDealer=False when MT5Synced already owns the dealer queue on another Manager session. Use MT5Manager instead when Obermind must route outbound to MT5 as a venue.

Order Types

  • Market Order
  • Limit Order
  • Stop Order
  • Stop Limit Order

Connectivity

  • Price Publishing to MT5 (TickAdd)
  • MT5 Dealer Execution

Obermind Platform is integrated with the native binary MetaTrader 5 Manager API.

Provider setup

For market data:

  • PublishPricesToMt5=True.
  • Throw in quotes on the Manager login.
  • An AltId for provider 96, with the same venue symbol string as MT5Synced when both run.
  • PricePublishIntervalMs: default 1000 ms; 0 is unthrottled.
  • PublishOnlyOnBidAskChange: default False; True skips ticks when bid and ask are unchanged.
  • UseTickAddStat: default False; True uses TickAddStat with the session bid and ask high and low since the publisher started.

For execution, set EnableDealer=True only if MT5Synced is not already the dealer.

In production, leave Market out of LogType unless you are debugging TickAdd.

Instruments and AltIds

MT5 Bridge publishes prices to the MT5 server for every instrument with an AltId on provider 96, under the symbol in that AltId.

The AltId fields:

  • Provider: 96.
  • Symbol: the MT5 symbol exactly as the server lists it, including any ending, for example EURUSDom. When MT5 Manager, MT5 Synced and MT5 Bridge run together, all three AltIds use the same symbol.
  • Exchange: the first folder of the symbol's path on the MT5 server, for example Forex. Import fills it in.
  • Alt currency: the base currency for FX and crypto (EUR for EURUSDom), otherwise the profit currency.

On connect the log shows MT5: Bridge price publish seeded count=N. A count of 0 means no instrument has an AltId on 96.

Examples:

InstrumentTypeFactorSymbolExchangeAlt currency
EURUSDFX100000EURUSDomForexEUR
GBPUSDFX100000GBPUSDomForexGBP
USDJPYFX100000USDJPYomForexUSD

Adding AltIds in Dash

This provider has no instrument download. Import the instruments on MT5 Manager (provider 94), then add the provider 96 AltId to each:

  1. 1.In Obermind Dash, open Instruments, select the instrument and press Update.
  2. 2.Under Alternative IDs, press Add AltId.
  3. 3.Choose provider 96 under Provider, then fill in Symbol, Exchange and Alt currency as in the examples.
  4. 4.Press Save. A changed symbol resubscribes the instrument straight away, without a restart.

With several instruments selected, editing Alternative IDs replaces the list on all of them. Add AltIds one instrument at a time.

The publisher picks up instruments when provider 96 connects, so reconnect it after adding AltIds.

Assembly registration

Register this provider assembly in Obermind Stream Configuration. The host must be x64.

The native MT5APIManager64.dll must sit beside the Obermind Stream process, or be set in ManagerApiPath.

Only include the assembly for the provider you are enabling on this page.

<Provider>
  <TypeName>OberMind.MT5Manager.MT5Bridge, OberMind.MT5Manager</TypeName>
  <Id>0</Id>
  <X64>true</X64>
</Provider>

Stream provider XML

Sample XmlProviderManagerSettings instance.

Replace the host, logins and passwords with the credentials from your MT5 administrator. Samples use fictional values only.

  • PricePublishIntervalMs defaults to 1000. The minimum is 0, which is unthrottled.
  • PublishOnlyOnBidAskChange and UseTickAddStat default to False.
  • When UseTickAddStat is True, MT5Bridge uses TickAddStat with bid and ask plus the session bid and ask high and low since the publisher started.
<provider>
  <id>96</id>
  <instance>1</instance>
  <properties>
    <property name="Server">mt5-demo.example.com:443</property>
    <property name="ManagerLogin">1002</property>
    <property name="Password">ReplaceWithBridgeManagerPassword!</property>
    <property name="ManagerApiPath"></property>
    <property name="EnableDealer">False</property>
    <property name="PublishPricesToMt5">True</property>
    <property name="PricePublishIntervalMs">250</property>
    <property name="PublishOnlyOnBidAskChange">True</property>
    <property name="UseTickAddStat">False</property>
    <property name="OmnibusAccountId">0</property>
    <property name="DealerTimeoutMs">10000</property>
    <property name="LoggingEnabled">True</property>
    <property name="LogPath"></property>
    <property name="LogType">Info,Error,Connect,Order,Dealer</property>
    <property name="Enabled">True</property>
    <property name="AutoReconnect">True</property>
    <property name="AutoReconnectInterval">10</property>
  </properties>
</provider>

Related MT5 Bridge providers

Also configure:

  • MT5Synced for linked OMS accounts and the dealer.
  • MT5Manager when Obermind treats MT5 as an outbound venue.

MT5Bridge is the opposite direction: Obermind as the venue for MT5. Open those pages from Related integrations below, or follow the MT5 Bridge deployment guide.

可在 Obermind 平台上使用. Use a dedicated Manager for Throw in quotes when publishing. Instruments need AltId for this provider or market-data seed count is zero. Keep EnableDealer=False when MT5Synced owns dealer.

Alipay
Stripe
Eurex
AWS
Azure
Google Cloud
Currenex
Velocity Trade
Bitcoin
CME
Interactive Brokers
Kraken
FIX API
XTX
Bloomberg
Binance

启动您的平台。