Implementation architecture / 03

Trading
Automation

From strategy intent to quantitative definition. From validated rules to live execution.

01

The bridge between STRAT and QUANT

At Infini Capital, the task is to turn strategy intent into working automation inside a closed, proprietary ecosystem. Some strategies arrive as tangible rules and calculations. Others begin as less tangible relationships: context, confluence, timing, or conditions that have not yet been expressed precisely.

The bridge between STRAT and QUANT is the work of making that intent measurable. Observations become defined inputs; judgement becomes explicit conditions; participation and exit decisions become bounded actions. What cannot yet be specified remains a research question—not an assumption quietly embedded in execution.

This is a live implementation use case, not an abstract architecture exercise. Research, validation, execution, and analysis belong to one connected operating environment, with broker APIs providing the external connection to the market.

Trading automationThe translation of strategy intent into measurable conditions and executable workflows, connecting signals, controls, broker interfaces, and outcomes within a defined ecosystem.
02

Research to live implementation

A strategy becomes a candidate for automation when its assumptions can be examined, its decisions can be reproduced, and its behaviour can be evaluated. At Infini Capital, research, backtesting, and live testing form the basis for that translation.

Research specifies the hypothesis and the information available at each decision point. Backtesting examines the resulting rules against historical conditions, with attention to look-ahead bias, execution assumptions, and transaction costs. Live testing then examines the gap between the model and the market: input timing, order responses, actual fills, and realised outcomes.

The implementation must preserve the meaning of the strategy across those stages. A rule tested against one definition of an input cannot silently become a different rule when connected to live data. Discrepancies belong in review, where their source can be identified rather than compensated for with ad hoc changes.

The distinction: STRAT defines the hypothesis and decision logic. QUANT makes them measurable. Engineering connects the validated rules to live execution.
03

Four tools. One connected ecosystem.

A trading ecosystem needs four essential capabilities: a signal generator, an executor, a monitor, and an analyzer. How these are built is a design choice; their responsibilities are not interchangeable. At Infini Capital, these four roles provide the working structure.

They can exist as separate tools or as connected modules. The important design decision is how information moves between them: what a signal means, who owns an action, how its status is established, and how the result returns to analysis.

Signal generator

Converts defined inputs and strategy conditions into structured candidates. Its responsibility is to express the opportunity clearly, not to assume that an order has been placed.

Executor

Translates eligible instructions into broker-supported actions. It connects strategy intent to order handling while distinguishing a request from an acknowledged or completed action.

Monitor

Maintains visibility over relevant account, order, position, and operational status. It identifies discrepancies and exceptions without changing the strategy to explain them away.

Analyzer

Connects decisions to realised outcomes. It separates strategy results from execution effects, giving research and subsequent changes an evidence base.

Design choice: the tools may differ. The connection between opportunity, action, status, and outcome must remain clear.
04

Fail-Safe API Execution

A broker API is an external dependency, not an extension of local intent. Requests can be delayed, rejected, or acknowledged without being fully executed. Fail-safe execution begins by treating those states differently.

Four practices provide a practical foundation for integrating broker interfaces without turning uncertainty into uncontrolled action:

01 / Validate before dispatch

Check the instruction, instrument, quantity, price fields, required permissions, and applicable limits before submitting a request. Invalid or incomplete inputs should not become live orders.

02 / Reconcile before retry

A timeout is an unknown outcome, not proof of failure. Use available broker identifiers and order records to establish what happened before repeating an action that could create duplicate exposure.

03 / Separate acknowledgement from execution

Track accepted, rejected, partially filled, filled, and cancelled states distinctly. Base dependent actions on confirmed quantities and status rather than assuming submission means completion.

04 / Define safe behaviour under uncertainty

Use bounded waits and retries. If required information or connectivity is unavailable, prevent new exposure where appropriate, preserve recovery information, and surface the exception. Do not treat stopping a process as closing a broker position.

05

State: continuity beyond a single run

A live trading workflow does not begin again simply because a process restarts. Orders may already exist at the broker, positions may remain open, and an earlier decision may still require a subsequent action. State carries the operational context needed to connect those events.

At Infini Capital, persisted state provides continuity between decisions, actions, and subsequent runs. It retains the context of work already in progress so that resuming a workflow is not confused with initiating a new one. Together with broker-confirmed information, it helps establish where the workflow stands and what responsibility remains.

This distinction has practical importance. In a live recovery observed at Infini Capital, an entry was already present at the broker when the runner was restarted. The workflow subsequently resumed and placed the associated protective exits. The significance was not the restart itself, but the preservation and recovery of the trade’s operational context.

Operational stateA persisted representation of where a workflow stands: the context it carries, the actions it has recorded, the outcomes it has confirmed, and the responsibilities that remain.

Continuity

Connects an existing trade or workflow to the next run, rather than treating every launch as a fresh start.

Decision context

Retains the relationship between the originating decision and the actions that follow, so later steps remain anchored to the same workflow.

Recovery

Provides a reference for resuming interrupted work. Broker records remain necessary to establish external outcomes that may have changed while the process was unavailable.

Operational clarity

Separates what the workflow currently understands from the historical events that explain how it arrived there. State supports continuation; logs support reconstruction.

Persisted state is not a substitute for broker truth. A locally recorded intention does not prove an order was accepted, and a saved position record does not by itself establish that the position is still open. Its value lies in carrying context forward while external facts are confirmed.

The principle: a disruption should change the running process—not erase the context of the trade.
06

The Infini Capital perspective

Infini Capital brings strategy research, quantitative definition, broker connectivity, and operational analysis into a closed ecosystem. The design is purpose-built around the methods being implemented, rather than forcing those methods into a generic template.

The objective is not architectural complexity. It is a direct path from an understood strategy to a working implementation, with enough structure to test, maintain, and improve that path.

For a quant firm, engineering and reengineering should be as simple as the problem allows. Components should have clear responsibilities, changes should have limited scope, and the reasoning behind a decision should remain understandable after the implementation evolves.

Purpose-built: fit the design to the strategy.
Connected: keep tools aligned through clear interfaces.
Testable: make changes assessable against expected behaviour.
Simple to evolve: improve the relevant part without rebuilding the whole.
The principle: make the strategy explicit, make the execution dependable, and keep the engineering simple enough to improve.