A strategy that works in testing isn’t trading yet. Running it live takes a broker connection, order management, checks before every order, books, reconciliation and alerts. Today’s options solve different parts of that work; this guide shows what each includes, what it costs and who it suits.
The short answer
Those who want to build everything themselves start from a library such as ib_async. Those looking for an open engine with backtesting and many markets choose NautilusTrader or LEAN. Those who prefer a platform with research, data and backtesting work with QuantConnect or QuantRocket. Those who trade technical indicators and want a free platform with a built-in tester use MetaTrader 5, which the broker provides. And those with several Python strategies for US stocks, CME Group futures or spot currencies at Interactive Brokers, who want to run them as one portfolio, can use Athena QS Console, a Windows application that brings together per-strategy books, portfolio controls, reconciliation and alerts; it has no backtester.
What running a strategy live takes
Between a strategy’s decision and the order at the broker sits an operating layer, the same whatever the tool:
- Broker connection: market data, order submission and reconnection when the session drops.
- Order management (OMS): following each order from decision to execution, without duplicating it after a restart.
- Checks before every order: that the order makes sense and that the whole portfolio stays within its limits.
- A book per strategy: when several share an account, the broker sees a single net position per contract.
- Reconciliation: comparing the books with the broker and stopping new risk when they don’t match.
- Monitoring and alerts: knowing what each strategy did and hearing when something fails.
- Safe restarts: resuming without repeating orders or losing state.
- The broker session: Trader Workstation and IB Gateway restart every day and ask for a new login once a week; the system has to reconnect and resume without repeating orders.
- Contract changes: futures expiries and rolls, and stock splits and dividends, which change what each book should hold.
Each option solves part of this list; whatever it doesn’t solve, the user builds and maintains.
A library: ib_async
ib_async, the continuation of ib_insync, is a free library, under a BSD licence, for the Interactive Brokers API, with synchronous and asynchronous interfaces. It provides data, orders and automatic synchronisation with Trader Workstation or IB Gateway. Checks, per-strategy books, portfolio limits and alerts are written in the application that uses it. It leaves the design open, and the rest of the list to write or integrate.
Open-source engines: NautilusTrader and LEAN
NautilusTrader is an open-source trading engine, licensed under LGPL-3.0, with a Rust core, strategies in Python and a large, active community. It brings backtesting with the same code as live trading, execution, per-strategy positions and reconciliation with the broker. It connects to many markets: its Interactive Brokers adapter uses Trader Workstation or IB Gateway and also covers futures and options, and other adapters reach crypto exchanges and more venues. Configuration and start-up are written in code. Its Pro version has a waitlist and its cloud platform is in development.
NautilusTrader’s risk engine, which acts before every order, includes price and quantity validation, per-order notional limits, checks for reduce-only orders and cash accounts, good-till-date expiry, submission and modification rates, and the trading state. In that engine’s public configuration, reviewed on 3 November 2026, limits for the whole portfolio, such as the day’s loss, gross exposure or leverage, don’t appear as built-in parameters. NautilusTrader does calculate exposure, margins and P&L; turning those figures into checks before every order requires implementing and verifying them in each application.
LEAN, QuantConnect’s engine, is also open source, under Apache-2.0, and includes backtesting and live trading.
Platforms: QuantConnect and QuantRocket
QuantConnect adds a platform with data and research to LEAN, and trades live with Interactive Brokers from its own servers. Its free cloud plan includes no live-trading nodes, and using LEAN from its command line requires membership of an organisation on a paid plan.
QuantRocket is a Python platform with research, backtesting and automated trading, integrated with Interactive Brokers. It allocates capital by strategy and tags its orders and positions with a strategy code. Its free version allows neither live nor paper trading; that takes a paid licence.
MetaTrader 5
MetaTrader 5 is free, provided by the broker, and has its own strategy tester. Its automated strategies are written in MQL5, coordinating limits across several is left to whoever programs them, and what is traded is whatever that broker sells: CFDs or, with some brokers, exchange-traded stocks and futures.
A ready-made application: Athena QS Console
Athena QS Console is Windows software that brings together the operating layer for Python strategies at Interactive Brokers: order management; 11 main checks before every order, including limits for the portfolio’s daily loss, gross exposure and leverage; a book per strategy; reconciliation with the broker; and phone alerts. To deploy a strategy, it is written as a Python class from the template, placed in the strategies folder and set up on screen; it runs on the user’s own computer, with their own Trader Workstation or IB Gateway session. It trades US stocks, CME Group futures (today the E-mini S&P 500, the E-mini Nasdaq-100, the 10-year Treasury note, WTI crude, gold, copper and the euro) and spot currencies, on one-minute bars or longer, with one Interactive Brokers account per licence, or several in Ultra, and has no backtester. In futures, Console rolls the position to the next contract before expiry, by a rule set for each strategy. Athena Quantitative Strategies uses it with real capital. For several accounts, the Ultra plan adds risk limits per account, installation and strategy setup by Athena, and direct support.
The 11 checks run in this order: emergency switch, reduce-only, signal age, allowed instrument, fresh price, books reconciled with the broker, daily loss, per-instrument limit, order size, gross exposure and leverage. A rejection stops the evaluation, and each decision is logged with its reason.
The options, side by side
Athena develops and offers Console; what is said here about the other options comes from their public documentation, checked on 3 November 2026.
| Option | What it is | Operating layer included | Price |
|---|---|---|---|
| ib_async | Library, no backtesting | Connection, data, orders and synchronisation | Free |
| NautilusTrader | Open engine, with backtesting | Execution, per-strategy positions, reconciliation and per-order checks | Free |
| QuantConnect and LEAN | Open engine and platform, with backtesting | In its cloud: live trading, data according to plan, email, SMS, Telegram or webhook alerts and portfolio risk models; with Interactive Brokers, a subaccount for each additional algorithm | LEAN free; live trading in its cloud requires a paid plan |
| QuantRocket | Platform, with backtesting | Research, trading with Interactive Brokers, capital and positions by strategy, and comparison with the broker | Paid licence for live or paper trading |
| MetaTrader 5 | Platform provided by the broker, with a tester | Execution through the broker, positions per account, phone alerts and MetaQuotes hosting | Free; hosting from USD 10 a month |
| Athena QS Console | Windows application, no backtesting | Order management, 11 checks with portfolio limits, per-strategy books, reconciliation and alerts | USD 29, 79 or 199 a month + VAT, up to 3, 10 or 50 simultaneous strategies, with every risk control in every plan; Ultra, from USD 1,500, for advisers trading their clients’ accounts; online purchase coming soon |
Prices and availability checked on 3 November 2026. On top of these come the broker’s commissions and, depending on the option, market data and the computer. With a library or an engine, the cost is in the work: writing and testing what’s missing from the list, and maintaining it. With Console, the user writes their strategies from the template, configures the limits and runs the computer and the broker session.
Several strategies in one account: what each option brings
This is where what each option brings matters most. Interactive Brokers keeps a single net position per contract for the whole account, even when several strategies trade it. Each needs its own book, and the whole portfolio needs shared limits: how much can be lost in the day, and how much total exposure and leverage the account accepts.
NautilusTrader and Console both track positions per strategy within one account and reconcile with the broker while they run; both have order management, an OMS. QuantRocket also tracks each strategy’s positions within one account, with a code on every order, and can compare them with the broker’s. In QuantConnect, each additional live algorithm with Interactive Brokers needs its own subaccount, so several strategies in one account have to live inside a single algorithm. Console’s difference is portfolio limits: Console checks the whole portfolio’s daily loss, gross exposure and leverage before every order, with limits that are configured, not programmed. It also crosses opposing orders for the same instrument internally and sends the net balance to the broker, caps every close at what belongs to that strategy and, for stocks and futures, admits no new risk while the books don’t match the broker. And it compares the books with the broker often: positions every two minutes, executions every ten and the day’s result, to the cent, every night.
An example: for the same stock, three strategies buy 300, sell 200 and buy 100. Crossing offsets 200 inside Console, and a single purchase of 200 reaches the broker; each strategy keeps its own book.
What Athena learned taking strategies live
With Console already in development, Athena evaluated NautilusTrader, LEAN and other engines. It judged NautilusTrader the best of those it evaluated and borrowed design ideas from it, such as a stable identity for each order across restarts. From LEAN it took others: a Console strategy can group its one-minute bars into 5-, 15- or 60-minute bars and schedule tasks at set times, as in LEAN. But it put no outside engine on the path of live orders: that way Athena’s own record of executions remains the single source of each strategy’s book, and its risk control the single authority before every order, with no second record of orders and positions to reconcile.
Along the way it found errors that came not from the strategies but from the operating layer, such as old decisions rebuilt after a restart or a near-zero price that passed a dollar limit. They are points on the list above, and worth testing with any tool before trading real capital: provoke a restart mid-day, an absurd price and a trade placed outside the system, and see what each check does.
A case: six strategies in one account
One Interactive Brokers account, six tested Python strategies, all in US stocks on five-minute bars, and a Windows computer. Whoever runs them needs to know which part of each position belongs to which strategy and to control total exposure before every order. With Console, they adapt each strategy to Console’s Python class, which usually takes under an hour, check in plan mode that it works out the expected orders, start on the paper account with the same licence, and trade with the books, the portfolio checks and the reconciliation already built. By strategy count, the first plan that fits all six is Essential, at USD 79 a month + VAT. If instead they need options, or the same engine for backtesting and live trading, NautilusTrader with its Interactive Brokers adapter fits better; to run from servers in the cloud, QuantConnect; with an MQL5 Expert Advisor already written, MetaTrader 5 lets them keep that code.
How to choose
| If the need is… | Start with… |
|---|---|
| Building everything yourself | ib_async |
| Integrated backtesting and many markets | NautilusTrader or LEAN |
| A platform with research, data and backtesting | QuantConnect or QuantRocket |
| Technical indicators, a free platform and a built-in tester | MetaTrader 5 |
| Running several Python strategies as one portfolio, in US stocks, CME Group futures or spot currencies at Interactive Brokers, with the operation included | Athena QS Console |
Before choosing, five questions:
- Are markets beyond US stocks, the seven CME Group futures Console covers and spot currencies, or horizons under one minute, needed?
- Is a built-in backtester needed?
- Who will build and maintain the operation, and what is that time worth?
- What limits does the whole portfolio need, and who writes and tests them?
- What happens to orders if the system restarts mid-day?
Athena QS Console
Athena QS Console runs Python strategies at Interactive Brokers as one portfolio, without building the operating layer: a book per strategy, 11 checks before every order and the books compared with the broker. Athena uses it with real capital. The user installs and operates the software.
Explore Athena QS Console →Questions and answers
What does deploying an algorithmic strategy mean?
Taking it from testing to trading real capital: connecting it to the broker and surrounding it with order management, checks before every order, books, reconciliation and alerts.
When does Athena QS Console fit as an alternative to NautilusTrader?
When the requirement is a Windows application with per-strategy books, portfolio controls, reconciliation and alerts included, for one Interactive Brokers account, or several in Ultra. Its scope is US stocks, CME Group futures and spot currencies, on one-minute bars or longer; it has no backtester. Online purchase will be available soon.
Does NautilusTrader work with Interactive Brokers?
Yes. Its adapter connects to Trader Workstation or IB Gateway through the TWS API, with market data, execution and instrument lookup, and it can manage a Dockerized IB Gateway.
Is NautilusTrader free?
Yes. It is open source under LGPL-3.0. Its Pro version has a waitlist and its cloud platform is in development.
Does Athena QS Console have a backtester?
No. Research and testing happen in Python, with each user’s own tools; plan mode works out orders without sending them, and Interactive Brokers’ simulation accounts allow testing without putting capital at risk, although simulated execution may differ from live.
Can QuantConnect run several strategies in one Interactive Brokers account?
Within one algorithm, yes. For each additional live algorithm, QuantConnect asks for an Interactive Brokers subaccount.
Sources
- ib_async: features and licence
- NautilusTrader: product, Pro and Cloud
- NautilusTrader: code and licence
- NautilusTrader: execution controls
- NautilusTrader: risk configuration (reviewed version)
- NautilusTrader: positions
- NautilusTrader: portfolio
- NautilusTrader: reconciliation
- NautilusTrader: live trading
- NautilusTrader: Interactive Brokers adapter
- QuantConnect LEAN: code and licence
- QuantConnect: plans
- QuantConnect: trading with Interactive Brokers
- QuantConnect: LEAN CLI requirements
- QuantRocket: plans
- QuantRocket: documentation
- MetaTrader 5: free download
- MetaTrader 5: platform and MQL5
- MetaTrader 5: strategy tester
- Interactive Brokers: paper trading accounts
- QuantConnect: Interactive Brokers live trading (a subaccount per additional algorithm)
- QuantConnect: live notifications
- QuantRocket: documentation (blotter and positions by strategy)
- MQL5, MetaQuotes hosting
- Interactive Brokers: TWS and IB Gateway initial setup (daily restart)
Newsletter
Stay up to date with Athena's publications and market insights.
Athena Quantitative Strategies is a quantitative investment firm based in Santiago, Chile: it manages portfolios, publishes its market analysis and offers the software it uses to trade and research. Athena Quantitative Strategies is not registered in the CMF's Register of Portfolio Managers and is not supervised by it. This content is educational and informational; it is not investment advice, a recommendation or an offer of securities. All investing involves risk, including loss of capital.
