Execution

From a closed candle to a live order, in one move.

Every live strategy runs its own engine, the candle close on the broker terminal, the engine reads it, applies the strategy trigger (Deciding if open or not) and in the moment that the signal is born the order goes direct to the execution terminal.

ExecutionEngine.py
# one pass per closed candle, in session
while True:
    m1   = read_live_candles()      # closed candles, shared
    conf = read_confirmation()      # higher timeframe

    manage_open_trade()             # max life, weekend flat
    signal = signal_engine(m1, conf)
    if signal != 0:
        execute(signal)             # order on terminal

    sleep_to_next_candle_close()

One asset, one truth

Many strategies, the same market. The candles, the confirmation, the broker clock and the open positions are read once and shared, so every strategy sees the exact same picture. Saving to repeat the exact process needlessly, we do once, and then we share for that asset.

Read oncethe terminal is read a single time
Shared in memorycandles · confirmation · clock · positions
All the strategies read the same source

The shortest path wins

BEFORE · FIVE STOPS · ~300 ms Chart alert HTTP webhook Bridge app writes a file Terminal robot reads the file Order NOW · ONE STEP The engine that generates the signal on the same machine Order nothing handed between programs, one process

The engine, block by block

The same steps run for every strategy, in order, on every closed candle.

Connection Live Price Monitor Signal Engine Trade Execution Trade Management