Get Confirmation Source
get_confirmation_sourceFetches a submitted confirmation source by id. By default (waitForCompletion: true) polls internally until it finishes, so one call returns one final answer. No trade-outcome fields here at all (no PnlR/WinRate/...) — a confirmation source never opens a position. Once Completed, its id can be used as a confirmationSources sourceId in submit_backtest; its raw signal timeline is available separately via get_confirmation_source_signals.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The id returned by submit_confirmation_source. | |
| pollTimeoutMs | No | Defaults to 120000 (2 minutes). | |
| backtestApiKey | No | Your EmidLabs backtest API key. Not needed if this connector was added with a static 'x-api-key' header. | |
| backtestBaseUrl | No | Defaults to the public production API. | |
| waitForCompletion | No | If true (default), polls internally until the confirmation source finishes or pollTimeoutMs elapses. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| status | No | ||
| assetPair | No | ||
| runtimeMs | No | How long the analyser actually took to compute this confirmation source's signal timeline, in milliseconds. Null until Status is "Completed". | |
| timeframe | No | ||
| errorMessage | No | ||
| unitsConsumed | No | The actual execution-unit cost, same pool/rate as a regular backtest — computing a confirmation source's signal timeline costs the same per candle as simulating trades, it just skips the trade simulation itself. | |
| candlesProcessed | No | Number of candles the analyser processed. Null until Status is "Completed". This is raw volume, not the plan's billing unit — see UnitsConsumed for that. |