Test a chain
replay_chainReplays a saved alert chain over past days to show when and how often it would have fired, cooldown limits, recent alerts, and simulated take-profit/stop-loss results without changing anything.
Instructions
Replays a saved chain over the past days, like "Run replay" in the editor: how often it would have fired, when first and last, held back by cooldown, the latest alerts with message and price, and how the signals would have done with a take-profit and a stop-loss. Scanners are counted per coin. Changes nothing.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"chainId": "<chainId>"
},
"name": "replay_chain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | How many days the replay looks back; default 90, at most replayDays from get_account. | |
| trade | No | Take-profit and stop-loss for scoring the signals as trades: entry at the close of the alert candle, a candle reaching both counts as SL, every signal on its own. Default: the chain’s or template’s values (meta.trade), otherwise TP and SL 2 : 1 fitting the timeframe, such as 3 % and 1.5 % on hourly candles. | |
| chainId | Yes | ID of the chain, from list_chains. |