Skip to main content

The signal history of your strategy

GET/strategies/{strategyId}/signals

Every book and trade event published into this strategy, by you or by the strategy's source, at every status, newest first: including books that were superseded by a later one on the same trading day and books Treasures could not plan (not_plannable). Pass status to see one status only. Rebooks Treasures issues on its own (a rebalance for a follower who joined late, a retry of a failed order) and the sells that close one follower's position are not listed.

  • summary describes the book: how many positions, the weight deployed, and the five largest positions. null when the stored signal cannot be read; the row is still listed.

  • plan_attempts is how many times Treasures tried to plan the signal into orders.

  • plan_error says why the last attempt gave up, or why the signal lapsed with nothing owed; see PlanError. A reason that describes the followers (no_active_followers, all_follows_in_flight, nothing_owed) is null when fewer than three followers were following when the signal was published, or when fewer than three follow the strategy now. On an SMA strategy (audience: sma) that minimum does not apply, unless anyone other than a separately managed account has ever followed it, when such a reason is always null.

  • orders.by_state counts the orders the signal produced, by state. It is served once the signal has a final status (completed, lapsed or halted), every order on it is terminal and at least three followers hold orders on it; otherwise null, so it is never a count still moving. It is null on every other status, superseded and not_plannable included, and while a lapsed or halted signal still has an order in progress.

    Below three followers the counts would describe one follower's own balance, limits or allocation. On an SMA strategy (audience: sma) that minimum does not apply, unless anyone other than a separately managed account has ever followed it, when orders is always null. States with no orders are left out.

Pass next_cursor back as cursor to page; null means you have seen them all.

Request​

Responses​

OK