duplicate_pie
Clone an existing investment pie with identical instrument allocations and settings to create a variation without rebuilding from scratch, starting with zero invested value.
Instructions
Clone an existing pie into a new one with identical instrument allocations
and settings. The new pie starts with zero invested value.
Use this to create a variation of an existing pie without rebuilding it
from scratch. See also: create_pie for building a pie from scratch.
Args:
pie_id: ID of the source pie to copy (e.g., 6894572). Get this from fetch_pies.
name: Optional custom name for the clone. Defaults to the original name with a suffix.
icon: Optional icon for the clone.
Returns:
PieDetails: Full details of the newly cloned pieInput Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pie_id | Yes | ||
| name | No | ||
| icon | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| settings | No | ||
| instruments | No |