Algorithmic Trading Platform

Contracts / Interface

Overview

Standard contract for strategy implementations. Shared by both live execution (Strategy Engine) and backtesting (Backtesting Engine).

Contract

Consumers

  • StrategyEngine
  • BacktestingEngine

Types

NameBaseConstraints / ValuesDescription
SignaldataclassTrading signal returned by evaluate()

Operations

strategy_id

Unique identifier for this strategy instance.

Returns: str — Unique strategy identifier

evaluate

Evaluate a market tick and optionally return a trading signal.

ParameterTypeRequiredConstraints
tickMarketTick

Returns: Signal | None — Signal if a trade is warranted; None to hold

Referenced By 1

Architecture