Skip to content

Strategy labels on trades & positions

Every order in your trade history shows which strategy created it — or "Manual" when you placed it yourself — so you can always tell what your bots did versus what you did.

What you see

  • Orders & transactions — each row carries a strategy chip next to the symbol (or "Manual").
  • Open positions — a held symbol shows the strategy (or strategies) targeting it; a symbol no subscribed strategy targets shows "Manual".

How attribution works

Orders are attributed from a durable log the platform writes for every automated fill, keyed to the Alpaca order — see ADR-0004. If an order has no matching log entry (e.g. you placed it manually), it shows "Manual".

Positions are different: Alpaca aggregates a symbol into one position regardless of which strategy bought it, so a position can't be traced to a single order. bonfire instead attributes each held symbol to the set of subscribed strategies whose intended holdings (shadow_portfolio) target it, scoped to the active environment (decision D6). This is an intentional MVP approximation — intended holdings aren't the exact realized fills — so a lingering or partially-filled position may mis-track; it's refined over time.

Reliability

Attribution completeness is a tracked quality bar: NFR-002 — order attribution completeness. It must hold through the Alpaca Broker API migration.