Algorithmic Trading Platform

Contracts / Interface

Overview

Backend REST API for UI/Dashboard communication. Covers configuration management, reporting, user administration, and strategy management.

Contract

Consumers

  • UserInterfaceDashboard
  • ExternalClients

Types

NameBaseConstraints / ValuesDescription
ApiResponseobjectStandard JSON response envelope

Operations

GET /positions

Return all current position snapshots.

Returns: list[Position]

GET /orders

Return all orders (open and closed).

Returns: list[Order]

GET /audit

Return audit event log.

ParameterTypeRequiredConstraints
event_typestr
componentstr

Returns: list[AuditEvent]

POST /platform/start

Start the trading platform (paper trading mode).

ParameterTypeRequiredConstraints
symbolslist[str]
ticksint

Returns: ApiResponse

POST /platform/stop

Stop the trading platform.

Returns: ApiResponse

Referenced By 1

Architecture