Strategy Lab: start paper trading
polyrank_start_paperWrites to the user's Lab: ask the user before calling, then pass confirm: true. Start paper trading a saved strategy: from now on every signal of its wallets is scored against the real order book (no orders, no keys, no money). The run lasts 10 days unless run_days says otherwise (a whole number of days, 1 to 90, only when the user asked for that length; null = no end, it runs until stopped). The result's ends_at is when it stops by itself (null = no end; open copies still settle after it): tell the user, and that they can change it on the run's page at polyrank.app. One active run per strategy. Needs POLYRANK_API_KEY (plan feature paper_trading).
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": {
"strategy_id": "<strategy_id>",
"confirm": "<confirm>"
},
"name": "polyrank_start_paper"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Required: true, and only after the user agreed to this call in the conversation. | |
| run_days | No | How many days the run lasts (default 10); null = no end, it runs until the user stops it. | |
| strategy_id | Yes |