Port Check

"Does my strategy fit this platform?" — the machine-checkable half of the Port Report. Classify a draft spec and/or a list of concept TAGS as fits | partial | cant, instead of only accept/reject.

Request: {"spec": <draft spec dict>} and/or {"concepts": ["ratchet", ...]}. Response: {verdict, issues: [{concept, detail, dropped, closest, kind, note}], notes: [truth-box one-liners]}.

  • fits — validates clean / every concept already supported.
  • partial — only mappable losses (take-profit, trailing/ratchet, chosen stop, sizing) — each issue names what's dropped + the closest supported thing (verbatim W1 guidance).
  • cant — a hard wall with no mapping (intraday/minute bars, news/social feeds, empty universe, unknown indicator type, …).

Auth: identity-only, mirroring POST /v1/strategies/build (session OR X-Vega-Key OR account key pair via require_user_or_session); the uid is unused — no user-scoped data is touched. Never 400s on a bad spec (the classification IS the product); a 400 only fires when neither a spec nor a concepts list is supplied.

post/v1/strategies/port-check

Request

  • Base URL: https://api.quantradin.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.quantradin.com/v1/strategies/port-check
  • Auth: none declared

Headers

x-vega-keystring nullable

Request body

object required

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.