Skip to main content

publicStrategy

Resolve a share slug to the public strategy projection (a PINNED version). ANONYMOUS — no auth directive, isolated from the authenticated resolver graph. Returns null for any unknown, revoked, expired, or non-strategy link (uniform not-found; no oracle). Tiered by the link's projectionLevel.

publicStrategy(
shareToken: String!
): PublicStrategy

Arguments

publicStrategy.shareToken ● String! non-null scalar

Type

PublicStrategy object

The lean, anonymous, allowlisted projection of a PINNED strategy version. This is the ENTIRE public surface of a shared strategy — it is built field-by-field per tier and NEVER embeds the strategy entity, so it carries no owner/ids, no linked bot/exchange, no secrets, no view-secrets fields, and no mangled codegen class name (the human display name is used).

Tiers (driven by projectionLevel):

  • card: name, description, indicator TYPES, timeframe, market/position mode, and a high-level tree SHAPE summary. No param values, no full tree.
  • visual: card + maskedLogic — the full condition-tree STRUCTURE with every constant/threshold value and indicator param masked.
  • full: card + fullLogic — the complete UI-builder logic including values.