calculate_rebalancing_orders
Determine the trades required to rebalance a portfolio to target allocations, optionally using available cash and applying a rebalance threshold.
Instructions
Calculate trades needed to rebalance portfolio to target allocations.
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": {
"target_allocations": "<target_allocations>"
},
"name": "calculate_rebalancing_orders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| use_cash | No | ||
| target_allocations | Yes | ||
| rebalance_threshold | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||