MFX Hub
Cloud infrastructure for algorithmic trading

Your trading terminals, in the cloud, driven by your code.

MFX Hub runs your MetaTrader 5® terminals and connects your cTrader accounts, keeps them healthy around the clock, and gives your application one signed API and typed SDKs for trading, account data, market data and live events. Any broker. You stay the account holder and the licensee; we provide the infrastructure, the management and the support.

Python · TypeScript · .NET · JavaREST · WebSocket · Webhooks
Your applicationbot · copier · productone SDK, one keysigned RESTevents, webhooksMFX Hubapi.mfxhub.com · ws.mfxhub.comYour terminals · region AYour terminals · region BcTrader accountsopen API, no terminal to runeach bar is one of your terminalsBroker ABroker BBroker C
Your code on one side, your brokers on the other, MFX Hub running your terminals in between.

Trade

Market and pending orders, modify, close, partial close, and a server-side trailing stop. Every write is idempotent, and every rejection carries the broker's own return code and text.

Trading features

Account data

Balance, equity, margin, open positions, pending orders and deal history, read from the live terminal and streamed as they change.

Account features

Market data

Ticks, candles and market depth from your broker's own feed, under your broker's own symbol names, which MFX Hub never renames.

Market data features

Your expert advisors

Upload your own advisor. We build it, audit the code on your behalf, trial it on one terminal and run it beside your terminal with its notes streamed back to you.

How the audit works
The first hour

A terminal in a dozen lines, in your language

Request a terminal, send the credential once, wait for ACTIVE, trade. The private key is shown once at issue and never stored by MFX Hub; secrets render as *** in every log line.

  • Typed end to end, generated from the same contract the API is built from.
  • Execution methods never raise: a timeout or a broker rejection is a result you can read.
  • Broker latency and platform latency reported separately on every call.
import os, anyio, mfx

async def main():
    async with mfx.MfxClient("https://api.mfxhub.com/v1", os.environ["MFX_KEY_ID"], os.environ["MFX_PRIVATE_KEY"]) as client:
        terminal = await client.terminals.create(
            broker_id=BROKER, server_id=SERVER,
            streaming=True, instruments=["EURUSD"],
            idempotency_key="first-terminal-2026-10-20",
        )
        await client.terminals.submit_credentials(
            terminal.id, login=1234567, password=mfx.Secret(os.environ["BROKER_PASSWORD"]),
            server="YourBroker-Live", idempotency_key="first-credential-2026-10-20",
        )
        while (t := await client.terminals.get(terminal.id)).state.value not in ("ACTIVE", "FAILED"):
            print(t.state.value, [c.code for c in t.conditions])
            await anyio.sleep(5)

        result = await client.execution.place_order(
            terminal.id, symbol="EURUSD", side="buy", volume="0.10",
            idempotency_key="order-0001",
        )
        # result.ok, result.reason, result.broker_latency_ms, result.agent_latency_ms

anyio.run(main)
How we compare

MFX Hub against the alternatives

What you get with us, with a hosted API provider, and by running terminals yourself.

What mattersMFX HubHosted API providersYour own VPS
PlatformsMetaTrader 5 and cTraderTypically one platformWhatever you install
Public status page, from the same per-minute record your terminals are graded onYesNone foundNone
Availability commitment with service creditsEnterpriseNone published; terms disclaim uninterrupted serviceNone
SupportAI assistant that reads your own terminals, email, Telegram and chat; a dedicated account manager on EnterpriseTicket and chatYourself
Your own expert advisor, built and audited before it runsYesNot offeredYes, unaudited
Idempotent writes and granular rejection reasonsEvery write; return code, text, reason and raw commentNot documentedYour own
Broker latency and platform latency on every resultYes, separatelyNot documentedUnknown
Copy tradingYes, co-located with your terminalsYesBuild it
Trading analyticsYesYesBuild it
Risk rules enforced on the terminalYesYesBuild it
SDKsPython, TypeScript, .NET and JavaOne to three languagesNone
RegionsSeven, chosen for broker proximitySeveralWhere your VPS is
PricingPer terminal per monthPer account per hour, typicallyVM cost plus your time

The provider column summarises the public documentation of hosted trading-API services as read in October 2026. "Not documented" means we found nothing there.

Expert advisors, hosted

Your advisor, built and audited on your behalf

Most platforms will not run your code at all. We do, and we check it first: for your protection and for everyone else's on the same infrastructure.

1 · Uploadyour source, never a binary2 · Buildby MFX Hub, tied to a hash3 · Automated analysiscredentials · endpoints · loopshandles · interface calls · malicious patterns4 · Reportthreat · practice · performance · security · tradingGreen and greyapproved and deployed automaticallyAmbera person reviews it, with an AI assessment besideRedreturned to you with the report and the reasonsif approved on review5 · Trial on one terminaltrading on, limits held,you are told how it went6 · Live beside your terminalits notes streamed to you and nobody elsedetach at any timeWhile it runsleast-privilege account · processor and memory heldno reach into another customer · every attach recorded

We build it, so we can read it

You upload source; a compiled file cannot be audited. The build is ours, reproducible, and tied to the hash that runs.

Analysed before anything runs

Credentials and tokens in the code, external endpoints, interface calls, unbounded loops and recursion, handle growth, known malicious patterns.

A report you can act on

Five categories, four colours. Green and grey deploy automatically. Amber is read by a person with an AI assessment beside it. Red comes back to you with the reasons.

Policy you can see

The rules and their colours are a published policy with a version, so a verdict is explainable, not a mood.

Trial, then live

A trial on one terminal with trading on and the limits held, then live, with your advisor's own notes streamed to you and to nobody else.

Contained while it runs

A least-privilege account, processor and memory held, no path to another customer, every attach and detach in the record.

Support is the product

Support that already knows your terminals

Every conversation starts with what the platform knows about your account: your terminals, their state, their last hour. You never explain from zero.

Developer

Self-serve

  • Knowledge base with runnable samples
  • AI assistant that answers from the documentation
  • Community on GitHub
ChannelsChat on the site, GitHubHoursAlways on
Standard

Assisted, with your context

  • Everything in Developer
  • AI assistant that reads your own terminals and incidents, signed in
  • Hand-over to an engineer with the diagnosis attached
  • Status page subscriptions and incident emails
ChannelsChat in the portal, email, TelegramFirst replywithin 1 business day
Enterprise

Managed

  • Everything in Standard
  • A dedicated account manager
  • An incident line, around the clock
  • Shared channel with our engineers; onboarding and quarterly reviews
ChannelsAll, plus a shared channel and phoneIncidentacknowledged in 15 min, 24/7

The assistant never acts on a terminal, never reveals another customer, and never gives trading advice. Its answers cite their source.

Built to be operated

You see what we see

Every terminal is graded every minute. A minute nobody measured is shown grey, never green. What we publish is read from the same record our operators read.

Availability, last 90 days · one terminalIllustrative, not a measurement
OperationalDegradedOutageNot measured
Availability i99.93%
Incidents2
Longest14min
Not measured0.4%
Order round trip, last 24 h · median per 15 minIllustrative, not a measurement
Broker latency broker_latency_ms
Platform latency agent_latency_ms

Two figures on every result, so a slow fill is never a mystery: the broker's time and ours, side by side.

Who builds on MFX Hub

One platform, four kinds of customer

Algorithmic traders

Run your strategy from any language against your own terminal, without a VPS to patch or a terminal to babysit.

Copiers and signal services

Follow one account live and mirror its trades to many, with idempotent commands and position events on a stream.

Prop firms and brokers

Dedicated capacity in your region, your own expert advisors audited and hosted, and an availability record you can show your clients.

B2B solutions

Fintech products

Add account connectivity to a portfolio app, a risk dashboard or a trade journal with a single integration.

Start with one terminal, free

A developer account gives you one terminal on a demo server for 24 hours, with the full API and SDK.