propose_strategy_candidate
propose_strategy_candidateProduce a free-form Pine candidate tied to a hypothesis and expected mechanism. Prerequisite: the FIRST call in a session is refused until inspect_market_context and analyze_losing_trades have each succeeded, so run both diagnostics before proposing (the loss diagnostic is waived only when the baseline closed no trades).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rationale | No | ||
| hypothesis | Yes | ||
| caseStudyId | No | Optional: bind this call to one of your case studies. Defaults to the bound run's case study. | |
| researchRunId | No | Optional: bind this call to one of your existing research runs. Defaults to this session's most recent unfinished run. | |
| baselineSource | No | Pine source the candidate derives from. Omit it, or pass "platform_benchmark", to derive from the platform benchmark baseline for the bound scope (EMA 20/50 long-only crossover declaring 1bp commission per side and 2 ticks slippage). Never write your own baseline: a hand-written one with no declared costs is honoured verbatim by every later comparison and fails cost sensitivity. | |
| candidateSource | Yes | ||
| mcpIdempotencyKey | No | Unique key for this logical action. Reuse it only when retrying the same arguments. Required for hosted trust-creating actions when no idempotency header is supplied. | |
| changesFromBaseline | Yes | ||
| similarityThreshold | No | ||
| priorCandidateSources | No |